@@ -434,6 +434,59 @@ The annotation `kubernetes.io/limit-ranger` records that resource defaults were
434
434
and they were applied successfully.
435
435
For more details, read about [ LimitRanges] ( /docs/concepts/policy/limit-range ) .
436
436
437
+ ### kubernetes.io/config.hash
438
+
439
+ Type: Annotation
440
+
441
+ Example: ` kubernetes.io/config.hash: "df7cc47f8477b6b1226d7d23a904867b" `
442
+
443
+ Used on: Pod
444
+
445
+ When the kubelet creates a static Pod based on a given manifest, it attaches this annotation
446
+ to the static Pod. The value of the annotation is the UID of the Pod.
447
+ Note that the kubelet also sets the ` .spec.nodeName ` to the current node name as if the Pod
448
+ was scheduled to the node.
449
+
450
+ ### kubernetes.io/config.mirror
451
+
452
+ Type: Annotation
453
+
454
+ Example: ` kubernetes.io/config.mirror: "df7cc47f8477b6b1226d7d23a904867b" `
455
+
456
+ Used on: Pod
457
+
458
+ For a static Pod created by the kubelet on a node, a {{< glossary_tooltip text="mirror Pod" term_id="mirror-pod" >}}
459
+ is created on the API server. The kubelet adds an annotation to indicate that this Pod is
460
+ actually a mirror Pod. The annotation value is copied from the [ ` kubernetes.io/config.hash ` ] ( #kubernetes-io-config-hash )
461
+ annotation, which is the UID of the Pod.
462
+
463
+ When updating a Pod with this annotation set, the annotation cannot be changed or removed.
464
+ If a Pod doesn't have this annotation, it cannot be added during a Pod update.
465
+
466
+ ### kubernetes.io/config.source
467
+
468
+ Type: Annotation
469
+
470
+ Example: ` kubernetes.io/config.source: "file" `
471
+
472
+ Used on: Pod
473
+
474
+ This annotation is added by the kubelet to indicate where the Pod comes from.
475
+ For static Pods, the annotation value could be one of ` file ` or ` http ` depending
476
+ on where the Pod manifest is located. For a Pod created on the API server and then
477
+ scheduled to the current node, the annotation value is ` api ` .
478
+
479
+ ### kubernetes.io/config.seen
480
+
481
+ Type: Annotation
482
+
483
+ Example: ` kubernetes.io/config.seen: "2023-10-27T04:04:56.011314488Z" `
484
+
485
+ Used on: Pod
486
+
487
+ When the kubelet sees a Pod for the first time, it may add this annotation to
488
+ the Pod with a value of current timestamp in the RFC3339 format.
489
+
437
490
### addonmanager.kubernetes.io/mode
438
491
439
492
Type: Label
0 commit comments