mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 12:48:51 +00:00
Improve spec.template.spec.restartPolicy description
This commit is contained in:
@@ -5197,7 +5197,7 @@
|
||||
"x-kubernetes-patch-strategy": "merge,retainKeys"
|
||||
},
|
||||
"restartPolicy": {
|
||||
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy",
|
||||
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy",
|
||||
"type": "string"
|
||||
},
|
||||
"runtimeClassName": {
|
||||
@@ -5982,7 +5982,7 @@
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PodTemplateSpec"
|
||||
}
|
||||
],
|
||||
"description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"
|
||||
"description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
|
Reference in New Issue
Block a user