Deployment Targets¶
DeploymentTarget resources correspond to a logical or physical deployment target, e.g. a production Kubernetes cluster, staging Kubernetes cluster, or in the case of logical targets different namespaces in the same physical Kubernetes cluster.
Currently, Deployment Targets are configured statically during installation of Ververica Platform.
Deployment Patch Set (Experimental)¶
Note
This is an experimental feature and there are no guarantees about future API compatability for this feature.
We allow to specify JSON patches that are applied whenever a Deployment is created or modified.
kind: DeploymentTarget
spec:
deploymentPatchSet:
- op: add
path: /spec/template/spec/flinkConfiguration/state.checkpoints.dir
value: s3://my-bucket/checkpoints
- op: add
path: /spec/template/spec/flinkConfiguration/state.savepoints.dir
value: s3://my-bucket/savepoints
This examples adds two entries into the flinkConfiguration
of each Deployment. The provided patches are applied in order. If a patch fails, the complete Deployment operation will fail. You can address any field of a Deployment via the path
attribute.
Please refer to the RFC for details on the supported operations.