54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
# Custom Values for Flink SQL Gateway Helm Chart
|
|
# Configuration for external Python client access with resource settings
|
|
|
|
global:
|
|
namespace: flink-sql-test
|
|
image:
|
|
repository: wbsong111/flink-sql
|
|
tag: 2.0.1
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
# Flink Session Cluster resource configuration
|
|
sessionCluster:
|
|
flinkVersion: v2_0
|
|
jobManager:
|
|
resources:
|
|
memory: 2048m # Increased from default 1024m
|
|
cpu: 1 # Increased from default 0.5
|
|
taskManager:
|
|
resources:
|
|
memory: 4096m # Increased from default 2048m
|
|
cpu: 2 # Increased from default 1
|
|
flinkConfiguration:
|
|
taskmanager.numberOfTaskSlots: "4" # Increased from default "2"
|
|
volumeMounts:
|
|
- name: kafka-certs
|
|
mountPath: /opt/flink/certs
|
|
readOnly: true
|
|
volumes:
|
|
- name: kafka-certs
|
|
secret:
|
|
secretName: kafka-ca-cert
|
|
|
|
# SQL Gateway resource configuration
|
|
sqlGateway:
|
|
resources:
|
|
requests:
|
|
memory: 1Gi # Increased from default 512Mi
|
|
cpu: 0.5 # Increased from default 0.25
|
|
limits:
|
|
memory: 2Gi # Increased from default 1Gi
|
|
cpu: 1 # Increased from default 0.5
|
|
|
|
sqlClient:
|
|
enabled: true
|
|
# Optional: Enable Ingress for external access
|
|
# ingress:
|
|
# enabled: true
|
|
# hosts:
|
|
# - host: flink-sql-gateway.example.com
|
|
# paths:
|
|
# - path: /
|
|
# pathType: Prefix
|