Skip to content

Commit b7013aa

Browse files
authored
Update statefulset pod name docs stating its a label
This well known value is a label, and has always been so. This fixes a typo where it was defined as an annotation See; https://github.com/kubernetes/kubernetes/blob/v1.27.0/pkg/controller/statefulset/stateful_set_utils.go#L137
1 parent 9dba4c5 commit b7013aa

File tree

1 file changed

+1
-1
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+1
-1
lines changed

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ When this annotation is set, the Kubernetes components will "stand-down" and the
689689

690690
### statefulset.kubernetes.io/pod-name {#statefulsetkubernetesiopod-name}
691691

692-
Type: Annotation
692+
Type: Label
693693

694694
Example: `statefulset.kubernetes.io/pod-name: "mystatefulset-7"`
695695

0 commit comments

Comments
 (0)