Skip to main content
Version: 1.0.0

Kubernetes Labels and Annotations in Zeet Deployment

Service Containers & Job Containers

Containers are a standardized and portable way to package software applications and their dependencies. This ensures consistent performance across different computing environments. With Zeet, deploy containers in your cluster, scale them with replicas for high compute power and availability, and take advantage of various cluster types.

When you deploy a container with Zeet, it comes pre-configured with a set of labels and annotations. These preset values facilitate users in identifying and managing Kubernetes objects associated the deployment.

Labels and Annotations Guide

Pod Specifications

Kubernetes Object Type: Pod

TypeNameValue DescriptionExampleStable
Environment VariableZEET_CLUSTER_IDUnique identifier for the Zeet cluster."f47ac10b-58cc-4372-a567-0e02b2c3d479"Yes
Environment VariableZEET_CLUSTER_NAMEName of the Zeet cluster."my-cluster"Yes

Meta Labels

Kubernetes Object Type: Any Kubernetes resource (e.g., Pod, Service, Deployment)

TypeNameValue DescriptionExampleStable
Labelapp.kubernetes.io/nameApplication identifier."my-app"Yes
Labelapp.kubernetes.io/instanceInstance of the application."my-app"Yes
Labelapp.kubernetes.io/managed-byTool managing the operation."zeet"Yes
LabelappApplication identifier."my-app"No
LabelprojectProject name of the application."my-repo"No
LabelbranchBranch name, sanitized for Kubernetes usage."feature-branch"No
LabelrepoIDProject unique identifier."b6f6f7bb-99dc-451d-8aed-a2cfaa0e7ede"No

Selector Labels

Kubernetes Object Type: Service, Deployment, ReplicaSet

TypeNameValue DescriptionExampleStable
Labelapp.kubernetes.io/nameApplication identifier."my-app"Yes
Labelapp.kubernetes.io/instanceInstance of the application."my-app"Yes
Labelapp.kubernetes.io/managed-byTool managing the operation."zeet"Yes

Container Annotations

Kubernetes Object Type: Pod

TypeNameValue DescriptionExampleStable
Annotationcluster-autoscaler.kubernetes.io/safe-to-evictIndicates if the pod can be evicted safely by the cluster autoscaler."false" or "true"Yes
AnnotationprojectIDProject unique identifier."9af3c29b-4f0f-4849-9b61-4099c3c355d0"No
AnnotationprojectNameProject name."my-repo"No
AnnotationdeploymentIDUnique identifier for the deployment."1c0eab8d-9f69-4a5a-904e-1d55e5b2d2e4"No
AnnotationdeploymentBranchBranch name of the deployment."feature-branch"No
AnnotationdeploymentVersionVersion of the deployment."v1.0.0"No
Annotation[custom annotations]Annotations defined in the deployment customization.Varies based on customizationNo