kubernetes/website

API mirroring annotations not registered or documented

Open

#37,999 创建于 2022年11月21日

在 GitHub 查看
 (10 评论) (0 反应) (1 负责人)HTML (13,918 fork)batch import
help wantedkind/buglanguage/enpriority/backlogsig/architecturesig/nodetriage/accepted

仓库指标

Star
 (4,127 star)
PR 合并指标
 (平均合并 16天 13小时) (30 天内合并 160 个 PR)

描述

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

贡献者指南