This topic describes how to use annotations and labels to select objects you defined in your manifests.
To see annotations in action, see Deploy Manifests Separately using Apply Step and Ignore a Manifest File During Deployment.Annotations are a way to pass additional metadata for resources to Harness. For a description of Annotations, see Annotations from Kubernetes.
The following Annotations can be put on resource specifications in the Harness Service Manifests section.
The following labels are applied by Harness during deployment.
|Applied on pods. Harness uses a release name for tracking releases, rollback, etc. You can supply a release name in an Environment's Infrastructure Definition Release Name field.|
|Applied on pods in a Canary deployment.|
|Applied on pods in a Blue/Green deployment.|