@@ -2100,6 +2100,28 @@ spec:
2100
2100
exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
2101
2101
type : object
2102
2102
type : object
2103
+ restartPolicy :
2104
+ description : ' RestartPolicy defines the restart behavior
2105
+ of individual containers in a pod. This field may
2106
+ only be set for init containers, and the only allowed
2107
+ value is "Always". For non-init containers or when
2108
+ this field is not specified, the restart behavior
2109
+ is defined by the Pod'' s restart policy and the container
2110
+ type. Setting the RestartPolicy as "Always" for the
2111
+ init container will have the following effect: this
2112
+ init container will be continually restarted on exit
2113
+ until all regular containers have terminated. Once
2114
+ all regular containers have completed, all init containers
2115
+ with restartPolicy "Always" will be shut down. This
2116
+ lifecycle differs from normal init containers and
2117
+ is often referred to as a "sidecar" container. Although
2118
+ this init container still starts in the init container
2119
+ sequence, it does not wait for the container to complete
2120
+ before proceeding to the next init container. Instead,
2121
+ the next init container starts immediately after this
2122
+ init container is started, or after any startupProbe
2123
+ has successfully completed.'
2124
+ type : string
2103
2125
securityContext :
2104
2126
description : ' SecurityContext defines the security options
2105
2127
the container should be run with. If set, the fields
@@ -2229,7 +2251,8 @@ spec:
2229
2251
The profile must be preconfigured on the node
2230
2252
to work. Must be a descending path, relative
2231
2253
to the kubelet's configured seccomp profile
2232
- location. Must only be set if type is "Localhost".
2254
+ location. Must be set if type is "Localhost".
2255
+ Must NOT be set for any other type.
2233
2256
type : string
2234
2257
type :
2235
2258
description : " type indicates which kind of seccomp
@@ -2265,14 +2288,10 @@ spec:
2265
2288
hostProcess :
2266
2289
description : HostProcess determines if a container
2267
2290
should be run as a 'Host Process' container.
2268
- This field is alpha-level and will only be
2269
- honored by components that enable the WindowsHostProcessContainers
2270
- feature flag. Setting this field without the
2271
- feature flag will result in errors when validating
2272
- the Pod. All of a Pod's containers must have
2273
- the same effective HostProcess value (it is
2274
- not allowed to have a mix of HostProcess containers
2275
- and non-HostProcess containers). In addition,
2291
+ All of a Pod's containers must have the same
2292
+ effective HostProcess value (it is not allowed
2293
+ to have a mix of HostProcess containers and
2294
+ non-HostProcess containers). In addition,
2276
2295
if HostProcess is true then HostNetwork must
2277
2296
also be set to true.
2278
2297
type : boolean
@@ -3029,8 +3048,9 @@ spec:
3029
3048
defined in a file on the node should be used. The
3030
3049
profile must be preconfigured on the node to work.
3031
3050
Must be a descending path, relative to the kubelet's
3032
- configured seccomp profile location. Must only be
3033
- set if type is "Localhost".
3051
+ configured seccomp profile location. Must be set
3052
+ if type is "Localhost". Must NOT be set for any
3053
+ other type.
3034
3054
type : string
3035
3055
type :
3036
3056
description : " type indicates which kind of seccomp
@@ -3098,15 +3118,11 @@ spec:
3098
3118
type : string
3099
3119
hostProcess :
3100
3120
description : HostProcess determines if a container
3101
- should be run as a 'Host Process' container. This
3102
- field is alpha-level and will only be honored by
3103
- components that enable the WindowsHostProcessContainers
3104
- feature flag. Setting this field without the feature
3105
- flag will result in errors when validating the Pod.
3106
- All of a Pod's containers must have the same effective
3121
+ should be run as a 'Host Process' container. All
3122
+ of a Pod's containers must have the same effective
3107
3123
HostProcess value (it is not allowed to have a mix
3108
- of HostProcess containers and non-HostProcess containers). In
3109
- addition, if HostProcess is true then HostNetwork
3124
+ of HostProcess containers and non-HostProcess containers).
3125
+ In addition, if HostProcess is true then HostNetwork
3110
3126
must also be set to true.
3111
3127
type : boolean
3112
3128
runAsUserName :
@@ -4208,6 +4224,28 @@ spec:
4208
4224
exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
4209
4225
type : object
4210
4226
type : object
4227
+ restartPolicy :
4228
+ description : ' RestartPolicy defines the restart behavior
4229
+ of individual containers in a pod. This field may
4230
+ only be set for init containers, and the only allowed
4231
+ value is "Always". For non-init containers or when
4232
+ this field is not specified, the restart behavior
4233
+ is defined by the Pod'' s restart policy and the container
4234
+ type. Setting the RestartPolicy as "Always" for the
4235
+ init container will have the following effect: this
4236
+ init container will be continually restarted on exit
4237
+ until all regular containers have terminated. Once
4238
+ all regular containers have completed, all init containers
4239
+ with restartPolicy "Always" will be shut down. This
4240
+ lifecycle differs from normal init containers and
4241
+ is often referred to as a "sidecar" container. Although
4242
+ this init container still starts in the init container
4243
+ sequence, it does not wait for the container to complete
4244
+ before proceeding to the next init container. Instead,
4245
+ the next init container starts immediately after this
4246
+ init container is started, or after any startupProbe
4247
+ has successfully completed.'
4248
+ type : string
4211
4249
securityContext :
4212
4250
description : ' SecurityContext defines the security options
4213
4251
the container should be run with. If set, the fields
@@ -4337,7 +4375,8 @@ spec:
4337
4375
The profile must be preconfigured on the node
4338
4376
to work. Must be a descending path, relative
4339
4377
to the kubelet's configured seccomp profile
4340
- location. Must only be set if type is "Localhost".
4378
+ location. Must be set if type is "Localhost".
4379
+ Must NOT be set for any other type.
4341
4380
type : string
4342
4381
type :
4343
4382
description : " type indicates which kind of seccomp
@@ -4373,14 +4412,10 @@ spec:
4373
4412
hostProcess :
4374
4413
description : HostProcess determines if a container
4375
4414
should be run as a 'Host Process' container.
4376
- This field is alpha-level and will only be
4377
- honored by components that enable the WindowsHostProcessContainers
4378
- feature flag. Setting this field without the
4379
- feature flag will result in errors when validating
4380
- the Pod. All of a Pod's containers must have
4381
- the same effective HostProcess value (it is
4382
- not allowed to have a mix of HostProcess containers
4383
- and non-HostProcess containers). In addition,
4415
+ All of a Pod's containers must have the same
4416
+ effective HostProcess value (it is not allowed
4417
+ to have a mix of HostProcess containers and
4418
+ non-HostProcess containers). In addition,
4384
4419
if HostProcess is true then HostNetwork must
4385
4420
also be set to true.
4386
4421
type : boolean
0 commit comments