mirror of
https://github.com/bitnami/charts.git
synced 2026-02-24 06:47:26 +08:00
698 lines
30 KiB
YAML
698 lines
30 KiB
YAML
## @section Global parameters
|
|
## Global Docker image parameters
|
|
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
|
|
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
|
|
##
|
|
|
|
## @param global.imageRegistry Global Docker image registry
|
|
## @param global.imagePullSecrets Global Docker registry secret names as an array
|
|
## @param global.storageClass Global StorageClass for Persistent Volume(s)
|
|
##
|
|
global:
|
|
imageRegistry: ""
|
|
## E.g.
|
|
## imagePullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
imagePullSecrets: []
|
|
storageClass: ""
|
|
|
|
## @section Common parameters
|
|
##
|
|
|
|
## @param nameOverride String to partially override common.names.fullname
|
|
##
|
|
nameOverride: ""
|
|
## @param fullnameOverride String to fully override common.names.fullname
|
|
##
|
|
fullnameOverride: ""
|
|
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
|
|
##
|
|
kubeVersion: ""
|
|
## @param commonLabels Labels to add to all deployed objects (sub-charts are not considered)
|
|
##
|
|
commonLabels: {}
|
|
## @param commonAnnotations Annotations to add to all deployed objects
|
|
##
|
|
commonAnnotations: {}
|
|
## @param extraDeploy Array of extra objects to deploy with the release
|
|
##
|
|
extraDeploy: []
|
|
## Enable diagnostic mode in the deployment
|
|
##
|
|
diagnosticMode:
|
|
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
|
|
##
|
|
enabled: false
|
|
## @param diagnosticMode.command Command to override all containers in the deployment
|
|
##
|
|
command:
|
|
- sleep
|
|
## @param diagnosticMode.args Args to override all containers in the deployment
|
|
##
|
|
args:
|
|
- infinity
|
|
|
|
## @section Apache Flink parameters
|
|
##
|
|
|
|
## Bitnami Apache Flink image
|
|
## ref: https://hub.docker.com/r/bitnami/flink/tags/
|
|
## @param image.registry Apache Flink image registry
|
|
## @param image.repository Apache Flink image repository
|
|
## @param image.tag Apache Flink image tag (immutable tags are recommended)
|
|
## @param image.digest Apache Flink image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
|
|
## @param image.pullPolicy image pull policy
|
|
## @param image.pullSecrets Apache Flink image pull secrets
|
|
## @param image.debug Enable image debug mode
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/flink
|
|
tag: 1.17.1-debian-11-r1
|
|
digest: ""
|
|
## Specify a imagePullPolicy
|
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
pullPolicy: IfNotPresent
|
|
## Optionally specify an array of imagePullSecrets.
|
|
## Secrets must be manually created in the namespace.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
## e.g:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## Enable debug mode
|
|
##
|
|
debug: false
|
|
|
|
## @section Jobmanager deployment parameters
|
|
##
|
|
|
|
jobmanager:
|
|
## @param jobmanager.command Command for running the container (set to default if not set). Use array form
|
|
##
|
|
command: []
|
|
## @param jobmanager.args Args for running the container (set to default if not set). Use array form
|
|
##
|
|
args: []
|
|
## @param jobmanager.lifecycleHooks [object] Override default etcd container hooks
|
|
##
|
|
lifecycleHooks: {}
|
|
## @param jobmanager.extraEnvVars Extra environment variables to be set on flink container
|
|
## For example:
|
|
## - name: FOO
|
|
## value: BAR
|
|
##
|
|
extraEnvVars: []
|
|
## @param jobmanager.extraEnvVarsCM Name of existing ConfigMap containing extra env vars
|
|
##
|
|
extraEnvVarsCM: ""
|
|
## @param jobmanager.extraEnvVarsSecret Name of existing Secret containing extra env vars
|
|
##
|
|
extraEnvVarsSecret: ""
|
|
## @param jobmanager.replicaCount Number of Apache Flink Jobmanager replicas
|
|
##
|
|
replicaCount: 1
|
|
## Configure extra options for container's liveness, readiness and startup probes
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
|
|
## @param jobmanager.livenessProbe.enabled Enable livenessProbe on Jobmanager nodes
|
|
## @param jobmanager.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
|
|
## @param jobmanager.livenessProbe.periodSeconds Period seconds for livenessProbe
|
|
## @param jobmanager.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
|
|
## @param jobmanager.livenessProbe.failureThreshold Failure threshold for livenessProbe
|
|
## @param jobmanager.livenessProbe.successThreshold Success threshold for livenessProbe
|
|
##
|
|
livenessProbe:
|
|
enabled: true
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
## @param jobmanager.startupProbe.enabled Enable startupProbe on Jobmanager containers
|
|
## @param jobmanager.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
|
|
## @param jobmanager.startupProbe.periodSeconds Period seconds for startupProbe
|
|
## @param jobmanager.startupProbe.timeoutSeconds Timeout seconds for startupProbe
|
|
## @param jobmanager.startupProbe.failureThreshold Failure threshold for startupProbe
|
|
## @param jobmanager.startupProbe.successThreshold Success threshold for startupProbe
|
|
##
|
|
startupProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
failureThreshold: 15
|
|
successThreshold: 1
|
|
## @param jobmanager.readinessProbe.enabled Enable readinessProbe
|
|
## @param jobmanager.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
|
|
## @param jobmanager.readinessProbe.periodSeconds Period seconds for readinessProbe
|
|
## @param jobmanager.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
|
## @param jobmanager.readinessProbe.failureThreshold Failure threshold for readinessProbe
|
|
## @param jobmanager.readinessProbe.successThreshold Success threshold for readinessProbe
|
|
##
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
failureThreshold: 15
|
|
successThreshold: 1
|
|
## @param jobmanager.customLivenessProbe Custom livenessProbe that overrides the default one
|
|
##
|
|
customLivenessProbe: {}
|
|
## @param jobmanager.customStartupProbe [object] Override default startup probe
|
|
##
|
|
customStartupProbe: {}
|
|
## @param jobmanager.customReadinessProbe [object] Override default readiness probe
|
|
##
|
|
customReadinessProbe: {}
|
|
## Apache Flink pods' resource requests and limits
|
|
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
|
|
## Minimum memory for development is 4GB and 2 CPU cores
|
|
## Minimum memory for production is 8GB and 4 CPU cores
|
|
## ref: http://docs.datastax.com/en/archived/flink/2.0/flink/architecture/architecturePlanningHardware_c.html
|
|
##
|
|
## We usually recommend not to specify default resources and to leave this as a conscious
|
|
## choice for the user. This also increases chances charts run on environments with little
|
|
## resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
## @param jobmanager.resources.limits The resources limits for Apache Flink containers
|
|
## @param jobmanager.resources.requests The requested resources for Apache Flink containers
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 2
|
|
## memory: 4Gi
|
|
##
|
|
limits: {}
|
|
## Examples:
|
|
## requests:
|
|
## cpu: 2
|
|
## memory: 4Gi
|
|
##
|
|
requests: {}
|
|
## @param jobmanager.extraVolumeMounts Optionally specify extra list of additional volumeMounts for flink container
|
|
##
|
|
extraVolumeMounts: []
|
|
## Container ports to expose
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
containerPorts:
|
|
## @param jobmanager.containerPorts.rpc Port for RPC
|
|
##
|
|
rpc: 6123
|
|
## @param jobmanager.containerPorts.http Port for http UI
|
|
##
|
|
http: 8081
|
|
## @param jobmanager.containerPorts.blob Port for blob server
|
|
##
|
|
blob: 6124
|
|
## Apache Flink jobmanager.service parameters
|
|
##
|
|
service:
|
|
## @param jobmanager.service.type Apache Flink service type
|
|
##
|
|
type: ClusterIP
|
|
## Ports to expose
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
ports:
|
|
## @param jobmanager.service.ports.rpc Port for RPC
|
|
##
|
|
rpc: 6123
|
|
## @param jobmanager.service.ports.http Port for http UI
|
|
##
|
|
http: 8081
|
|
## @param jobmanager.service.ports.blob Port for blob server
|
|
## Due the Apache Flink specificities this port should match the jobmanager.containerPorts.blob port. The taskmanager should be
|
|
## able to communicate with the jobmanager through the port jobmanager indicates to the taskmanager, being the jobmanager not aware of the service port.
|
|
blob: 6124
|
|
## Node ports to expose
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
nodePorts:
|
|
## @param jobmanager.service.nodePorts.rpc Node port for RPC
|
|
##
|
|
rpc: ""
|
|
## @param jobmanager.service.nodePorts.http Node port for http UI
|
|
##
|
|
http: ""
|
|
## @param jobmanager.service.nodePorts.blob Port for blob server
|
|
##
|
|
blob: ""
|
|
## @param jobmanager.service.extraPorts Extra ports to expose in the service (normally used with the `sidecar` value)
|
|
##
|
|
extraPorts: []
|
|
## @param jobmanager.service.loadBalancerIP LoadBalancerIP if service type is `LoadBalancer`
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
loadBalancerIP: ""
|
|
## @param jobmanager.service.loadBalancerSourceRanges Service Load Balancer sources
|
|
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
|
## e.g:
|
|
## loadBalancerSourceRanges:
|
|
## - 10.10.10.0/24
|
|
##
|
|
loadBalancerSourceRanges: []
|
|
## @param jobmanager.service.clusterIP Service Cluster IP
|
|
## e.g.:
|
|
## clusterIP: None
|
|
##
|
|
clusterIP: ""
|
|
## @param jobmanager.service.externalTrafficPolicy Service external traffic policy
|
|
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
|
##
|
|
externalTrafficPolicy: Cluster
|
|
## @param jobmanager.service.annotations Provide any additional annotations which may be required.
|
|
## This can be used to set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
annotations: {}
|
|
## @param jobmanager.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
|
|
## If "ClientIP", consecutive client requests will be directed to the same Pod
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
|
|
##
|
|
sessionAffinity: None
|
|
## @param jobmanager.service.sessionAffinityConfig Additional settings for the sessionAffinity
|
|
## sessionAffinityConfig:
|
|
## clientIP:
|
|
## timeoutSeconds: 300
|
|
##
|
|
sessionAffinityConfig: {}
|
|
## Apache Flink Jobmanager serviceAccount parameters
|
|
##
|
|
serviceAccount:
|
|
## @param jobmanager.serviceAccount.create Enables ServiceAccount
|
|
##
|
|
create: true
|
|
## @param jobmanager.serviceAccount.name ServiceAccount name
|
|
##
|
|
name: ""
|
|
## @param jobmanager.serviceAccount.annotations Annotations to add to all deployed objects
|
|
##
|
|
annotations: {}
|
|
## @param jobmanager.serviceAccount.automountServiceAccountToken Automount API credentials for a service account.
|
|
##
|
|
automountServiceAccountToken: true
|
|
## Pod security context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
|
## @param jobmanager.podSecurityContext.enabled Enabled Apache Flink pods' Security Context
|
|
## @param jobmanager.podSecurityContext.fsGroup Set Apache Flink pod's Security Context fsGroup
|
|
## @param jobmanager.podSecurityContext.seccompProfile.type Rules specifying actions to take based on the requested syscall
|
|
##
|
|
podSecurityContext:
|
|
enabled: true
|
|
fsGroup: 1001
|
|
seccompProfile:
|
|
type: "RuntimeDefault"
|
|
## Configure Container Security Context (only main container)
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
|
## @param jobmanager.containerSecurityContext.enabled Enabled Apache Flink containers' Security Context
|
|
## @param jobmanager.containerSecurityContext.runAsUser Set Apache Flink container's Security Context runAsUser
|
|
## @param jobmanager.containerSecurityContext.runAsNonRoot Force the container to be run as non root
|
|
## @param jobmanager.containerSecurityContext.allowPrivilegeEscalation Allows privilege escalation
|
|
## @param jobmanager.containerSecurityContext.capabilities.drop List of capabilities to be dropped
|
|
##
|
|
containerSecurityContext:
|
|
enabled: true
|
|
runAsUser: 1001
|
|
runAsNonRoot: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: [ "ALL" ]
|
|
## @param jobmanager.podAnnotations Additional pod annotations
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
## @param jobmanager.podLabels Additional pod labels
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
##
|
|
podLabels: {}
|
|
## @param jobmanager.podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAffinityPreset: ""
|
|
## @param jobmanager.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAntiAffinityPreset: soft
|
|
## Node affinity preset
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
|
|
##
|
|
nodeAffinityPreset:
|
|
## @param jobmanager.nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
##
|
|
type: ""
|
|
## @param jobmanager.nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set
|
|
##
|
|
key: ""
|
|
## @param jobmanager.nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set
|
|
## E.g.
|
|
## values:
|
|
## - e2e-az1
|
|
## - e2e-az2
|
|
##
|
|
values: []
|
|
## @param jobmanager.priorityClassName Server priorityClassName
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
|
|
##
|
|
priorityClassName: ""
|
|
## @param jobmanager.affinity Affinity for pod assignment
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
## NOTE: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
|
##
|
|
affinity: {}
|
|
## @param jobmanager.nodeSelector Node labels for pod assignment
|
|
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
##
|
|
nodeSelector: {}
|
|
## @param jobmanager.tolerations Tolerations for pod assignment
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: []
|
|
## @param jobmanager.topologySpreadConstraints Topology Spread Constraints for pod assignment
|
|
## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
|
## The value is evaluated as a template
|
|
##
|
|
topologySpreadConstraints: []
|
|
## @param jobmanager.schedulerName Alternative scheduler
|
|
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
|
##
|
|
schedulerName: ""
|
|
## @param jobmanager.updateStrategy.type Apache Flink jobmanager deployment strategy type
|
|
## @param jobmanager.updateStrategy.rollingUpdate Apache Flink jobmanager deployment rolling update configuration parameters
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
|
|
##
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
rollingUpdate: {}
|
|
## @param jobmanager.extraVolumes Optionally specify extra list of additional volumes for flink container
|
|
##
|
|
extraVolumes: []
|
|
## @param jobmanager.initContainers Add additional init containers to the flink pods
|
|
##
|
|
initContainers: []
|
|
## @param jobmanager.sidecars Add additional sidecar containers to the flink pods
|
|
##
|
|
sidecars: []
|
|
|
|
## @section TaskManager deployment parameters
|
|
##
|
|
|
|
taskmanager:
|
|
## @param taskmanager.command Command for running the container (set to default if not set). Use array form
|
|
##
|
|
command: []
|
|
## @param taskmanager.args Args for running the container (set to default if not set). Use array form
|
|
##
|
|
args: []
|
|
## @param taskmanager.lifecycleHooks [object] Override default etcd container hooks
|
|
##
|
|
lifecycleHooks: {}
|
|
## @param taskmanager.extraEnvVars Extra environment variables to be set on flink container
|
|
## For example:
|
|
## - name: FOO
|
|
## value: BAR
|
|
##
|
|
extraEnvVars: []
|
|
## @param taskmanager.extraEnvVarsCM Name of existing ConfigMap containing extra env vars
|
|
##
|
|
extraEnvVarsCM: ""
|
|
## @param taskmanager.extraEnvVarsSecret Name of existing Secret containing extra env vars
|
|
##
|
|
extraEnvVarsSecret: ""
|
|
## @param taskmanager.replicaCount Number of Apache Flink replicas
|
|
##
|
|
replicaCount: 1
|
|
## Configure extra options for container's liveness, readiness and startup probes
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
|
|
## @param taskmanager.livenessProbe.enabled Enable livenessProbe on taskmanager nodes
|
|
## @param taskmanager.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
|
|
## @param taskmanager.livenessProbe.periodSeconds Period seconds for livenessProbe
|
|
## @param taskmanager.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
|
|
## @param taskmanager.livenessProbe.failureThreshold Failure threshold for livenessProbe
|
|
## @param taskmanager.livenessProbe.successThreshold Success threshold for livenessProbe
|
|
##
|
|
livenessProbe:
|
|
enabled: true
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
## @param taskmanager.startupProbe.enabled Enable startupProbe on taskmanager containers
|
|
## @param taskmanager.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
|
|
## @param taskmanager.startupProbe.periodSeconds Period seconds for startupProbe
|
|
## @param taskmanager.startupProbe.timeoutSeconds Timeout seconds for startupProbe
|
|
## @param taskmanager.startupProbe.failureThreshold Failure threshold for startupProbe
|
|
## @param taskmanager.startupProbe.successThreshold Success threshold for startupProbe
|
|
##
|
|
startupProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
failureThreshold: 15
|
|
successThreshold: 1
|
|
## @param taskmanager.readinessProbe.enabled Enable readinessProbe
|
|
## @param taskmanager.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
|
|
## @param taskmanager.readinessProbe.periodSeconds Period seconds for readinessProbe
|
|
## @param taskmanager.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
|
## @param taskmanager.readinessProbe.failureThreshold Failure threshold for readinessProbe
|
|
## @param taskmanager.readinessProbe.successThreshold Success threshold for readinessProbe
|
|
##
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
failureThreshold: 15
|
|
successThreshold: 1
|
|
## @param taskmanager.customLivenessProbe Custom livenessProbe that overrides the default one
|
|
##
|
|
customLivenessProbe: {}
|
|
## @param taskmanager.customStartupProbe [object] Override default startup probe
|
|
##
|
|
customStartupProbe: {}
|
|
## @param taskmanager.customReadinessProbe [object] Override default readiness probe
|
|
##
|
|
customReadinessProbe: {}
|
|
## Apache Flink pods' resource requests and limits
|
|
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
|
|
## Minimum memory for development is 4GB and 2 CPU cores
|
|
## Minimum memory for production is 8GB and 4 CPU cores
|
|
## ref: http://docs.datastax.com/en/archived/flink/2.0/flink/architecture/architecturePlanningHardware_c.html
|
|
##
|
|
## We usually recommend not to specify default resources and to leave this as a conscious
|
|
## choice for the user. This also increases chances charts run on environments with little
|
|
## resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
## @param taskmanager.resources.limits The resources limits for Apache Flink containers
|
|
## @param taskmanager.resources.requests The requested resources for Apache Flink containers
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 2
|
|
## memory: 4Gi
|
|
##
|
|
limits: {}
|
|
## Examples:
|
|
## requests:
|
|
## cpu: 2
|
|
## memory: 4Gi
|
|
##
|
|
requests: {}
|
|
## @param taskmanager.extraVolumeMounts Optionally specify extra list of additional volumeMounts for flink container
|
|
##
|
|
extraVolumeMounts: []
|
|
## Container ports to expose
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
containerPorts:
|
|
## @param taskmanager.containerPorts.data data exchange port
|
|
##
|
|
data: 6121
|
|
## @param taskmanager.containerPorts.rpc Port for RPC
|
|
##
|
|
rpc: 6122
|
|
## Apache Flink taskmanager.service parameters
|
|
##
|
|
service:
|
|
## @param taskmanager.service.type Apache Flink service type
|
|
##
|
|
type: ClusterIP
|
|
## Ports to expose
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
ports:
|
|
## @param taskmanager.service.ports.data data exchange port
|
|
##
|
|
data: 6121
|
|
## @param taskmanager.service.ports.rpc Port for RPC
|
|
##
|
|
rpc: 6122
|
|
## Node ports to expose
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
nodePorts:
|
|
## @param taskmanager.service.nodePorts.data data exchange port
|
|
##
|
|
data: ""
|
|
## @param taskmanager.service.nodePorts.rpc Port for RPC
|
|
##
|
|
rpc: ""
|
|
## @param taskmanager.service.extraPorts Extra ports to expose in the service (normally used with the `sidecar` value)
|
|
##
|
|
extraPorts: []
|
|
## @param taskmanager.service.loadBalancerIP LoadBalancerIP if service type is `LoadBalancer`
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
loadBalancerIP: ""
|
|
## @param taskmanager.service.loadBalancerSourceRanges Service Load Balancer sources
|
|
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
|
## e.g:
|
|
## loadBalancerSourceRanges:
|
|
## - 10.10.10.0/24
|
|
##
|
|
loadBalancerSourceRanges: []
|
|
## @param taskmanager.service.clusterIP Service Cluster IP
|
|
## e.g.:
|
|
## clusterIP: None
|
|
##
|
|
clusterIP: ""
|
|
## @param taskmanager.service.externalTrafficPolicy Service external traffic policy
|
|
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
|
##
|
|
externalTrafficPolicy: Cluster
|
|
## @param taskmanager.service.annotations Provide any additional annotations which may be required.
|
|
## This can be used to set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
annotations: {}
|
|
## @param taskmanager.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
|
|
## If "ClientIP", consecutive client requests will be directed to the same Pod
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
|
|
##
|
|
sessionAffinity: None
|
|
## @param taskmanager.service.sessionAffinityConfig Additional settings for the sessionAffinity
|
|
## sessionAffinityConfig:
|
|
## clientIP:
|
|
## timeoutSeconds: 300
|
|
##
|
|
sessionAffinityConfig: {}
|
|
## Apache Flink taskmanager serviceAccount parameters
|
|
##
|
|
serviceAccount:
|
|
## @param taskmanager.serviceAccount.create Enables ServiceAccount
|
|
##
|
|
create: true
|
|
## @param taskmanager.serviceAccount.name ServiceAccount name
|
|
##
|
|
name: ""
|
|
## @param taskmanager.serviceAccount.annotations Annotations to add to all deployed objects
|
|
##
|
|
annotations: {}
|
|
## @param taskmanager.serviceAccount.automountServiceAccountToken Automount API credentials for a service account.
|
|
##
|
|
automountServiceAccountToken: true
|
|
## Pod security context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
|
## @param taskmanager.podSecurityContext.enabled Enabled Apache Flink pods' Security Context
|
|
## @param taskmanager.podSecurityContext.fsGroup Set Apache Flink pod's Security Context fsGroup
|
|
## @param taskmanager.podSecurityContext.seccompProfile.type Rules specifying actions to take based on the requested syscall
|
|
##
|
|
podSecurityContext:
|
|
enabled: true
|
|
fsGroup: 1001
|
|
seccompProfile:
|
|
type: "RuntimeDefault"
|
|
## Configure Container Security Context (only main container)
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
|
## @param taskmanager.containerSecurityContext.enabled Enabled Apache Flink containers' Security Context
|
|
## @param taskmanager.containerSecurityContext.runAsUser Set Apache Flink container's Security Context runAsUser
|
|
## @param taskmanager.containerSecurityContext.runAsNonRoot Force the container to be run as non root
|
|
## @param taskmanager.containerSecurityContext.allowPrivilegeEscalation Allows privilege escalation
|
|
## @param taskmanager.containerSecurityContext.capabilities.drop List of capabilities to be dropped
|
|
##
|
|
containerSecurityContext:
|
|
enabled: true
|
|
runAsUser: 1001
|
|
runAsNonRoot: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: [ "ALL" ]
|
|
## @param taskmanager.podAnnotations Additional pod annotations
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
## @param taskmanager.podLabels Additional pod labels
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
##
|
|
podLabels: {}
|
|
## @param taskmanager.podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAffinityPreset: ""
|
|
## @param taskmanager.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAntiAffinityPreset: soft
|
|
## Node affinity preset
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
|
|
##
|
|
nodeAffinityPreset:
|
|
## @param taskmanager.nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
##
|
|
type: ""
|
|
## @param taskmanager.nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set
|
|
##
|
|
key: ""
|
|
## @param taskmanager.nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set
|
|
## E.g.
|
|
## values:
|
|
## - e2e-az1
|
|
## - e2e-az2
|
|
##
|
|
values: []
|
|
## @param taskmanager.priorityClassName Server priorityClassName
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
|
|
##
|
|
priorityClassName: ""
|
|
## @param taskmanager.affinity Affinity for pod assignment
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
## NOTE: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
|
##
|
|
affinity: {}
|
|
## @param taskmanager.nodeSelector Node labels for pod assignment
|
|
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
##
|
|
nodeSelector: {}
|
|
## @param taskmanager.tolerations Tolerations for pod assignment
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: []
|
|
## @param taskmanager.topologySpreadConstraints Topology Spread Constraints for pod assignment
|
|
## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
|
## The value is evaluated as a template
|
|
##
|
|
topologySpreadConstraints: []
|
|
## @param taskmanager.schedulerName Alternative scheduler
|
|
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
|
##
|
|
schedulerName: ""
|
|
## @param taskmanager.updateStrategy.type Apache Flink taskmanager deployment strategy type
|
|
## @param taskmanager.updateStrategy.rollingUpdate Apache Flink taskmanager deployment rolling update configuration parameters
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
|
|
##
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
rollingUpdate: {}
|
|
## @param taskmanager.extraVolumes Optionally specify extra list of additional volumes for flink container
|
|
##
|
|
extraVolumes: []
|
|
## @param taskmanager.initContainers Add additional init containers to the flink pods
|
|
##
|
|
initContainers: []
|
|
## @param taskmanager.sidecars Add additional sidecar containers to the flink pods
|
|
##
|
|
sidecars: []
|