kubernetes/website

API mirroring annotations not registered or documented

Open

#37.999 aperta il 21 nov 2022

Vedi su GitHub
 (10 commenti) (0 reazioni) (1 assegnatario)HTML (13.918 fork)batch import
help wantedkind/buglanguage/enpriority/backlogsig/architecturesig/nodetriage/accepted

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.source
  • kubernetes.io/config.seen
  • kubernetes.io/config.hash
  • kubernetes.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

Guida contributor