Kubernetes - Label best practices
Standards for labels in Kubernetes
Common labels
Label | Example | Description |
---|---|---|
app.kubernetes.io/name | nginx | The name of the application |
app.kubernetes.io/instance | myappdeployment | A unique name identifying the instance of an application |
app.kubernetes.io/version | 1.2.0 | The current version of the application (e.g., a semantic version, revision hash, etc.) |
app.kubernetes.io/component | proxy | The component within the architecture |
app.kubernetes.io/part-of | `` | The name of a higher level application this one is part of |
app.kubernetes.io/managed-by | helm | The tool being used to manage the operation of an application |
app.kubernetes.io/created-by | kubectl | The controller/user who created this resource |
See laso: documentation.
Last updated on