Custom Kubernetes Annotations

When using the Kubernetes runtime, Prodvana will create a Kubernetes deployment and a Kubernetes service as part of a Prodvana service deployment. Sometimes, it is necessary to add extra annotations to these created objects, e.g. in order to integrate with a custom load balancer.

In order to add extra annotations, the pvnctl CLI must be used.

Extra Kubernetes Service Annotations

To add extra Kubernetes service annotations, use the CLI to edit the config (e.g. by running pvnctl services --app <app> push <service>), then add a runtime_specific section to the config:

name: my-service
        # add more as needed
      <my-annotation>: <my-value>

This will start a deployment which can then be tracked via the CLI or the UI.

Extra Kubernetes Deployment Annotations

Not yet supported