@@ -1777,6 +1777,27 @@ spec:
17771777 value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
17781778 type : object
17791779 type : object
1780+ restartPolicy :
1781+ description : ' RestartPolicy defines the restart behavior
1782+ of individual containers in a pod. This field may only
1783+ be set for init containers, and the only allowed value
1784+ is "Always". For non-init containers or when this field
1785+ is not specified, the restart behavior is defined by the
1786+ Pod'' s restart policy and the container type. Setting
1787+ the RestartPolicy as "Always" for the init container will
1788+ have the following effect: this init container will be
1789+ continually restarted on exit until all regular containers
1790+ have terminated. Once all regular containers have completed,
1791+ all init containers with restartPolicy "Always" will be
1792+ shut down. This lifecycle differs from normal init containers
1793+ and is often referred to as a "sidecar" container. Although
1794+ this init container still starts in the init container
1795+ sequence, it does not wait for the container to complete
1796+ before proceeding to the next init container. Instead,
1797+ the next init container starts immediately after this
1798+ init container is started, or after any startupProbe has
1799+ successfully completed.'
1800+ type : string
17801801 securityContext :
17811802 description : ' SecurityContext defines the security options
17821803 the container should be run with. If set, the fields of
@@ -1901,7 +1922,8 @@ spec:
19011922 The profile must be preconfigured on the node
19021923 to work. Must be a descending path, relative to
19031924 the kubelet's configured seccomp profile location.
1904- Must only be set if type is "Localhost".
1925+ Must be set if type is "Localhost". Must NOT be
1926+ set for any other type.
19051927 type : string
19061928 type :
19071929 description : " type indicates which kind of seccomp
@@ -1934,15 +1956,11 @@ spec:
19341956 type : string
19351957 hostProcess :
19361958 description : HostProcess determines if a container
1937- should be run as a 'Host Process' container. This
1938- field is alpha-level and will only be honored
1939- by components that enable the WindowsHostProcessContainers
1940- feature flag. Setting this field without the feature
1941- flag will result in errors when validating the
1942- Pod. All of a Pod's containers must have the same
1943- effective HostProcess value (it is not allowed
1944- to have a mix of HostProcess containers and non-HostProcess
1945- containers). In addition, if HostProcess is true
1959+ should be run as a 'Host Process' container. All
1960+ of a Pod's containers must have the same effective
1961+ HostProcess value (it is not allowed to have a
1962+ mix of HostProcess containers and non-HostProcess
1963+ containers). In addition, if HostProcess is true
19461964 then HostNetwork must also be set to true.
19471965 type : boolean
19481966 runAsUserName :
@@ -3127,6 +3145,12 @@ spec:
31273145 value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
31283146 type : object
31293147 type : object
3148+ restartPolicy :
3149+ description : Restart policy for the container to manage
3150+ the restart behavior of each container within a pod. This
3151+ may only be set for init containers. You cannot set this
3152+ field on ephemeral containers.
3153+ type : string
31303154 securityContext :
31313155 description : ' Optional: SecurityContext defines the security
31323156 options the ephemeral container should be run with. If
@@ -3251,7 +3275,8 @@ spec:
32513275 The profile must be preconfigured on the node
32523276 to work. Must be a descending path, relative to
32533277 the kubelet's configured seccomp profile location.
3254- Must only be set if type is "Localhost".
3278+ Must be set if type is "Localhost". Must NOT be
3279+ set for any other type.
32553280 type : string
32563281 type :
32573282 description : " type indicates which kind of seccomp
@@ -3284,15 +3309,11 @@ spec:
32843309 type : string
32853310 hostProcess :
32863311 description : HostProcess determines if a container
3287- should be run as a 'Host Process' container. This
3288- field is alpha-level and will only be honored
3289- by components that enable the WindowsHostProcessContainers
3290- feature flag. Setting this field without the feature
3291- flag will result in errors when validating the
3292- Pod. All of a Pod's containers must have the same
3293- effective HostProcess value (it is not allowed
3294- to have a mix of HostProcess containers and non-HostProcess
3295- containers). In addition, if HostProcess is true
3312+ should be run as a 'Host Process' container. All
3313+ of a Pod's containers must have the same effective
3314+ HostProcess value (it is not allowed to have a
3315+ mix of HostProcess containers and non-HostProcess
3316+ containers). In addition, if HostProcess is true
32963317 then HostNetwork must also be set to true.
32973318 type : boolean
32983319 runAsUserName :
@@ -4510,6 +4531,27 @@ spec:
45104531 value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
45114532 type : object
45124533 type : object
4534+ restartPolicy :
4535+ description : ' RestartPolicy defines the restart behavior
4536+ of individual containers in a pod. This field may only
4537+ be set for init containers, and the only allowed value
4538+ is "Always". For non-init containers or when this field
4539+ is not specified, the restart behavior is defined by the
4540+ Pod'' s restart policy and the container type. Setting
4541+ the RestartPolicy as "Always" for the init container will
4542+ have the following effect: this init container will be
4543+ continually restarted on exit until all regular containers
4544+ have terminated. Once all regular containers have completed,
4545+ all init containers with restartPolicy "Always" will be
4546+ shut down. This lifecycle differs from normal init containers
4547+ and is often referred to as a "sidecar" container. Although
4548+ this init container still starts in the init container
4549+ sequence, it does not wait for the container to complete
4550+ before proceeding to the next init container. Instead,
4551+ the next init container starts immediately after this
4552+ init container is started, or after any startupProbe has
4553+ successfully completed.'
4554+ type : string
45134555 securityContext :
45144556 description : ' SecurityContext defines the security options
45154557 the container should be run with. If set, the fields of
@@ -4634,7 +4676,8 @@ spec:
46344676 The profile must be preconfigured on the node
46354677 to work. Must be a descending path, relative to
46364678 the kubelet's configured seccomp profile location.
4637- Must only be set if type is "Localhost".
4679+ Must be set if type is "Localhost". Must NOT be
4680+ set for any other type.
46384681 type : string
46394682 type :
46404683 description : " type indicates which kind of seccomp
@@ -4667,15 +4710,11 @@ spec:
46674710 type : string
46684711 hostProcess :
46694712 description : HostProcess determines if a container
4670- should be run as a 'Host Process' container. This
4671- field is alpha-level and will only be honored
4672- by components that enable the WindowsHostProcessContainers
4673- feature flag. Setting this field without the feature
4674- flag will result in errors when validating the
4675- Pod. All of a Pod's containers must have the same
4676- effective HostProcess value (it is not allowed
4677- to have a mix of HostProcess containers and non-HostProcess
4678- containers). In addition, if HostProcess is true
4713+ should be run as a 'Host Process' container. All
4714+ of a Pod's containers must have the same effective
4715+ HostProcess value (it is not allowed to have a
4716+ mix of HostProcess containers and non-HostProcess
4717+ containers). In addition, if HostProcess is true
46794718 then HostNetwork must also be set to true.
46804719 type : boolean
46814720 runAsUserName :
@@ -5090,18 +5129,13 @@ spec:
50905129 as this pod. \n The template will be used to create
50915130 a new ResourceClaim, which will be bound to this pod.
50925131 When this pod is deleted, the ResourceClaim will also
5093- be deleted. The name of the ResourceClaim will be
5094- <pod name>-<resource name>, where <resource name>
5095- is the PodResourceClaim.Name. Pod validation will
5096- reject the pod if the concatenated name is not valid
5097- for a ResourceClaim (e.g. too long). \n An existing
5098- ResourceClaim with that name that is not owned by
5099- the pod will not be used for the pod to avoid using
5100- an unrelated resource by mistake. Scheduling and pod
5101- startup are then blocked until the unrelated ResourceClaim
5102- is removed. \n This field is immutable and no changes
5103- will be made to the corresponding ResourceClaim by
5104- the control plane after creating the ResourceClaim."
5132+ be deleted. The pod name and resource name, along
5133+ with a generated component, will be used to form a
5134+ unique name for the ResourceClaim, which will be recorded
5135+ in pod.status.resourceClaimStatuses. \n This field
5136+ is immutable and no changes will be made to the corresponding
5137+ ResourceClaim by the control plane after creating
5138+ the ResourceClaim."
51055139 type : string
51065140 type : object
51075141 required :
@@ -5244,7 +5278,8 @@ spec:
52445278 in a file on the node should be used. The profile must
52455279 be preconfigured on the node to work. Must be a descending
52465280 path, relative to the kubelet's configured seccomp profile
5247- location. Must only be set if type is "Localhost".
5281+ location. Must be set if type is "Localhost". Must NOT
5282+ be set for any other type.
52485283 type : string
52495284 type :
52505285 description : " type indicates which kind of seccomp profile
@@ -5309,15 +5344,12 @@ spec:
53095344 type : string
53105345 hostProcess :
53115346 description : HostProcess determines if a container should
5312- be run as a 'Host Process' container. This field is
5313- alpha-level and will only be honored by components that
5314- enable the WindowsHostProcessContainers feature flag.
5315- Setting this field without the feature flag will result
5316- in errors when validating the Pod. All of a Pod's containers
5317- must have the same effective HostProcess value (it is
5318- not allowed to have a mix of HostProcess containers
5319- and non-HostProcess containers). In addition, if HostProcess
5320- is true then HostNetwork must also be set to true.
5347+ be run as a 'Host Process' container. All of a Pod's
5348+ containers must have the same effective HostProcess
5349+ value (it is not allowed to have a mix of HostProcess
5350+ containers and non-HostProcess containers). In addition,
5351+ if HostProcess is true then HostNetwork must also be
5352+ set to true.
53215353 type : boolean
53225354 runAsUserName :
53235355 description : The UserName in Windows to run the entrypoint
0 commit comments