Merge pull request #6545 from deads2k/clarify

clarify how to name kubernetes label and annotation keys
This commit is contained in:
Kubernetes Prow Robot 2022-03-16 14:14:11 -07:00 committed by GitHub
commit 0d741fd680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1602,6 +1602,8 @@ Kubernetes components and tools:
project.
- Such keys are effectively part of the kubernetes API and may be subject
to deprecation and compatibility policies.
- "kubernetes.io" is the preferred form for labels and annotations, "k8s.io" should not be used
for new map keys.
- Key names, including prefixes, should be precise enough that a user could
plausibly understand where it came from and what it is for.
- Key prefixes should carry as much context as possible.