Defaults
This section explains how to use deployment defaults to develop a job in fully managed Flink, which can make job development more efficient.
Purpose
To help users avoid complex parameter configuration in the development process, all parameters are used by default for all deployments.
Procedure
- In the left navigation, click the Namespace selector and select the namespace that you want to open.
- Click Configurations and choose the Deployment Defaults tab.
- Fill in the starting parameters. All parameters are listed below.
- Click Save Changes.
Starting Parameters
Additional Configuration
Logging
Global Defaults Through Helm Values
In addition to the namespace-level Deployment Defaults described above, Ververica Platform 3.1.2 exposes several install-time default blocks as Helm values, so operators can set platform-wide defaults declaratively in values.yaml.
An override replaces the entire block. Include any field the platform sets by default if you want to keep it alongside your override.
1vvp-appmanager:
2 globalDeploymentDefaults: |-
3 spec:
4 template:
5 spec:
6 resources:
7 jobmanager:
8 cpu: 1
9 memory: 2Gi
10 taskmanager:
11 cpu: 1
12 memory: 2Gi
13 flinkConfigurationStream: |-
14 spec:
15 template:
16 spec:
17 flinkConfiguration:
18 execution.checkpointing.interval: 10s
19 flinkConfigurationBatch: |-
20 spec:
21 template:
22 spec:
23 flinkConfiguration:
24 execution.runtime-mode: BATCHKnown limitations
Kubernetes pod fields, such as volume mounts, and generic flinkConfiguration set directly under globalDeploymentDefaults don't currently reach JobManager and TaskManager pods. For certificate mounts or other pod-level customization, use the namespace-level Deployment Defaults described above, which support these fields today. Global defaults for session clusters aren't available through Helm values yet.
Pod Security Context
Ververica Platform 3.1.2 sets a default file system group on JobManager and TaskManager pods, so a mounted volume such as a PVC or ConfigMap at /mnt is writable by the non-root Flink user with no configuration on your part:
1securityContext:
2 fsGroup: 10999
3 fsGroupChangePolicy: OnRootMismatchThis applies automatically to both deployments and session clusters. You no longer need to set spec.securityContext.runAsGroup: 0 manually for the general case.
Some storage backends, for example NFS-based or other RWX volumes, don't get re-owned by the default file system group and still require an explicit runAsGroup: 0. Set this through the namespace-level Deployment Defaults API or UI described above, not through the Helm globalDeploymentDefaults value: Kubernetes pod fields set there don't yet reach JobManager and TaskManager pods (see the known limitation earlier on this page).