Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.1 KB

DeploymentTargets.md

File metadata and controls

44 lines (37 loc) · 1.1 KB

Deployment Targets

Somewhat more difficult than, namespaces, as arbitrary JSON doesn't seem to play nice with the K8s code generators.

Official Ververica Docs

Ververica Platform Definition

apiVersion: v1
kind: DeploymentTarget
metadata:
    name: String
    namespace: String # defaults to "default"
    id: UUID String
    createdAt: ISO8601 String
    modifiedAt: ISO8601 String
    resourceVersion: Integer
spec:
  kubernetes:
    namespace: String

K8s Definition

apiVersion: ververicaplatform.fintechstudios.com/v1beta2
kind: VpDeploymentTarget
metadata:
  name: String # Required
spec:
  metadata:
    namespace: String # defaults to "default"
    id: UUID String # Dynamic
    createdAt: Time # Dynamic
    modifiedAt: Time  # Dynamic
    resourceVersion: Integer # Dynamic
  spec:
    kubernetes: # Required
      namespace: String # Optional

You can find an example in config/samples/ververicaplatform_v1beta1_vpdeploymenttarget.yaml.