Best practices - Label best practices

Standards for labels in Kubernetes

Common labels

LabelExampleDescription
app.kubernetes.io/namenginxThe name of the application
app.kubernetes.io/instancemyappdeploymentA unique name identifying the instance of an application
app.kubernetes.io/version1.2.0The current version of the application (e.g., a semantic version, revision hash, etc.)
app.kubernetes.io/componentproxyThe 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-byhelmThe tool being used to manage the operation of an application
app.kubernetes.io/created-bykubectlThe controller/user who created this resource

See laso: documentation.