API mirroring annotations not registered or documented
#37.999 aperta il 21 nov 2022
Metriche repository
- Star
- (4127 star)
- Metriche merge PR
- (Merge medio 16g 13h) (160 PR mergiate in 30 g)
Descrizione
This is a Bug Report
Problem:
Kubernetes sets up to three four annotations when mirroring a resource (for example, a mirror pod). These are:
kubernetes.io/config.sourcekubernetes.io/config.seenkubernetes.io/config.hashkubernetes.io/config.mirror
However, those annotations are not documented in https://kubernetes.io/docs/reference/labels-annotations-taints/
Proposed Solution: Document those annotations.
Page to Update: https://kubernetes.io/docs/reference/labels-annotations-taints/
Additional Information:
See https://pkg.go.dev/k8s.io/kubernetes/pkg/kubelet/types for more details on the values that the kubelet sets for kubernetes.io/config.source. I don't think we promise that the kubelet is the only thing that ever sets this annotation, though.
/sig architecture /sig node /language en