mention MutablePVNodeAffinity in the API doc

Kubernetes-commit: 78a8c2e6a35b5621a7afa9066770a819d417f707
This commit is contained in:
胡玮文
2025-10-20 21:22:02 +08:00
committed by Kubernetes Publisher
parent b36e6498c1
commit f8b7fe98c4

View File

@@ -58,6 +58,7 @@ type PersistentVolumeSpecApplyConfiguration struct {
VolumeMode *corev1.PersistentVolumeMode `json:"volumeMode,omitempty"`
// nodeAffinity defines constraints that limit what nodes this volume can be accessed from.
// This field influences the scheduling of pods that use this volume.
// This field is mutable if MutablePVNodeAffinity feature gate is enabled.
NodeAffinity *VolumeNodeAffinityApplyConfiguration `json:"nodeAffinity,omitempty"`
// Name of VolumeAttributesClass to which this persistent volume belongs. Empty value
// is not allowed. When this field is not set, it indicates that this volume does not belong to any