Update API comment for nodeName to match system behavior

Change-Id: I039b441f4525d280b1ea693d782fe0f43794d9f7
This commit is contained in:
Aldo Culquicondor
2024-03-26 16:43:33 +00:00
parent 227c2e7c2b
commit 1a2dba426f
9 changed files with 21 additions and 15 deletions

View File

@@ -27342,7 +27342,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA
},
"nodeName": {
SchemaProps: spec.SchemaProps{
Description: "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.",
Description: "NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename",
Type: []string{"string"},
Format: "",
},