Standard Labels and Naming Conventions
Following the recommended labels and fullname rules.
Why Labels Matter
Every resource your chart creates needs labels so people and tools can find, group, and clean them up later. Good labels are the backbone of a tidy cluster.
The Recommended Label Set
Kubernetes defines recommended labels under the app.kubernetes.io prefix. Helm charts follow them so your resources play nicely with dashboards and other tooling.
labels:
app.kubernetes.io/name: myapp
app.kubernetes.io/instance: myapp-prodAll lessons in this course
- Standard Labels and Naming Conventions
- Sane, Documented Default Values
- Hardening Pods with securityContext
- Pinning Versions and Avoiding latest