nvidia.com_dynamographdeployments.yaml 763 KB
Newer Older
1
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.16.4
22
    helm.sh/resource-policy: keep
23
  name: dynamographdeployments.nvidia.com
24
25
26
spec:
  group: nvidia.com
  names:
27
28
29
    kind: DynamoGraphDeployment
    listKind: DynamoGraphDeploymentList
    plural: dynamographdeployments
30
    shortNames:
31
      - dgd
32
    singular: dynamographdeployment
33
34
  scope: Namespaced
  versions:
35
36
37
    - name: v1alpha1
      schema:
        openAPIV3Schema:
38
          description: DynamoGraphDeployment is the Schema for the dynamographdeployments API.
39
40
          properties:
            apiVersion:
41
42
43
44
45
              description: |-
                APIVersion defines the versioned schema of this representation of an object.
                Servers should convert recognized schemas to the latest internal value, and
                may reject unrecognized values.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
46
47
              type: string
            kind:
48
49
50
51
52
53
              description: |-
                Kind is a string value representing the REST resource this object represents.
                Servers may infer this from the endpoint the client submits requests to.
                Cannot be updated.
                In CamelCase.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
54
55
56
57
              type: string
            metadata:
              type: object
            spec:
58
              description: Spec defines the desired state for this graph deployment.
59
              properties:
60
                backendFramework:
61
                  description: BackendFramework specifies the backend framework (e.g., "sglang", "vllm", "trtllm").
62
63
64
65
66
                  enum:
                    - sglang
                    - vllm
                    - trtllm
                  type: string
67
                envs:
68
                  description: |-
69
                    Envs are environment variables applied to all services in the deployment unless
70
                    overridden by service-specific configuration.
71
                  items:
72
                    description: EnvVar represents an environment variable present in a Container.
73
74
                    properties:
                      name:
75
                        description: Name of the environment variable. Must be a C_IDENTIFIER.
76
                        type: string
77
                      value:
78
79
80
81
82
83
84
85
86
87
                        description: |-
                          Variable references $(VAR_NAME) are expanded
                          using the previously defined environment variables in the container and
                          any service environment variables. If a variable cannot be resolved,
                          the reference in the input string will be unchanged. Double $$ are reduced
                          to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
                          "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
                          Escaped references will never be expanded, regardless of whether the variable
                          exists or not.
                          Defaults to "".
88
89
                        type: string
                      valueFrom:
90
                        description: Source for the environment variable's value. Cannot be used if value is not empty.
91
92
                        properties:
                          configMapKeyRef:
93
                            description: Selects a key of a ConfigMap.
94
                            properties:
95
                              key:
96
                                description: The key to select.
97
98
99
                                type: string
                              name:
                                default: ""
100
101
102
103
104
105
                                description: |-
                                  Name of the referent.
                                  This field is effectively required, but due to backwards compatibility is
                                  allowed to be empty. Instances of this type with an empty value here are
                                  almost certainly wrong.
                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
106
107
                                type: string
                              optional:
108
                                description: Specify whether the ConfigMap or its key must be defined
109
110
111
112
113
114
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                          fieldRef:
115
116
117
                            description: |-
                              Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
                              spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
118
119
                            properties:
                              apiVersion:
120
                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
121
122
                                type: string
                              fieldPath:
123
                                description: Path of the field to select in the specified API version.
124
125
126
127
128
129
                                type: string
                            required:
                              - fieldPath
                            type: object
                            x-kubernetes-map-type: atomic
                          resourceFieldRef:
130
131
132
                            description: |-
                              Selects a resource of the container: only resources limits and requests
                              (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
133
134
                            properties:
                              containerName:
135
                                description: 'Container name: required for volumes, optional for env vars'
136
137
138
139
140
                                type: string
                              divisor:
                                anyOf:
                                  - type: integer
                                  - type: string
141
                                description: Specifies the output format of the exposed resources, defaults to "1"
142
143
                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                x-kubernetes-int-or-string: true
144
                              resource:
145
                                description: 'Required: resource to select'
146
147
                                type: string
                            required:
148
                              - resource
149
                            type: object
150
151
                            x-kubernetes-map-type: atomic
                          secretKeyRef:
152
                            description: Selects a key of a secret in the pod's namespace
153
                            properties:
154
                              key:
155
                                description: The key of the secret to select from.  Must be a valid secret key.
156
157
158
                                type: string
                              name:
                                default: ""
159
160
161
162
163
164
                                description: |-
                                  Name of the referent.
                                  This field is effectively required, but due to backwards compatibility is
                                  allowed to be empty. Instances of this type with an empty value here are
                                  almost certainly wrong.
                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
165
166
                                type: string
                              optional:
167
                                description: Specify whether the Secret or its key must be defined
168
169
170
171
172
173
174
175
176
177
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                        type: object
                    required:
                      - name
                    type: object
                  type: array
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
                pvcs:
                  description: |-
                    PVCs defines a list of persistent volume claims that can be referenced by components.
                    Each PVC must have a unique name that can be referenced in component specifications.
                  items:
                    properties:
                      create:
                        description: Create indicates to create a new PVC
                        type: boolean
                      name:
                        description: Name is the name of the PVC
                        type: string
                      size:
                        anyOf:
                          - type: integer
                          - type: string
                        description: Size of the volume in Gi, used during PVC creation. Required when create is true.
                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                        x-kubernetes-int-or-string: true
                      storageClass:
                        description: StorageClass to be used for PVC creation. Required when create is true.
                        type: string
                      volumeAccessMode:
                        description: VolumeAccessMode is the volume access mode of the PVC. Required when create is true.
                        type: string
                    required:
                      - name
                    type: object
                    x-kubernetes-validations:
                      - message: When create is true, size, storageClass, and volumeAccessMode are required
                        rule: '!has(self.create) || self.create == false || (has(self.size) && has(self.storageClass) && has(self.volumeAccessMode))'
209
                  maxItems: 100
210
                  type: array
211
212
213
214
215
216
                services:
                  additionalProperties:
                    properties:
                      annotations:
                        additionalProperties:
                          type: string
217
218
219
                        description: |-
                          Annotations to add to generated Kubernetes resources for this component
                          (such as Pod, Service, and Ingress when applicable).
220
221
                        type: object
                      autoscaling:
222
223
224
225
                        description: |-
                          Deprecated: This field is deprecated and ignored. Use DynamoGraphDeploymentScalingAdapter
                          with HPA, KEDA, or Planner for autoscaling instead. See docs/kubernetes/autoscaling.md
                          for migration guidance. This field will be removed in a future API version.
226
227
                        properties:
                          behavior:
228
                            description: 'Deprecated: This field is ignored.'
229
230
                            properties:
                              scaleDown:
231
232
233
234
235
                                description: |-
                                  scaleDown is scaling policy for scaling Down.
                                  If not set, the default value is to allow to scale down to minReplicas pods, with a
                                  300 second stabilization window (i.e., the highest recommendation for
                                  the last 300sec is used).
236
                                properties:
237
                                  policies:
238
239
240
241
242
                                    description: |-
                                      policies is a list of potential scaling polices which can be used during scaling.
                                      If not set, use the default values:
                                      - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window.
                                      - For scale down: allow all pods to be removed in a 15s window.
243
                                    items:
244
                                      description: HPAScalingPolicy is a single policy which must hold true for a specified past interval.
245
246
                                      properties:
                                        periodSeconds:
247
248
249
                                          description: |-
                                            periodSeconds specifies the window of time for which the policy should hold true.
                                            PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
250
251
252
                                          format: int32
                                          type: integer
                                        type:
253
                                          description: type is used to specify the scaling policy.
254
255
                                          type: string
                                        value:
256
257
258
                                          description: |-
                                            value contains the amount of change which is permitted by the policy.
                                            It must be greater than zero
259
260
261
262
263
264
265
266
267
268
                                          format: int32
                                          type: integer
                                      required:
                                        - periodSeconds
                                        - type
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  selectPolicy:
269
270
271
                                    description: |-
                                      selectPolicy is used to specify which policy should be used.
                                      If not set, the default value Max is used.
272
                                    type: string
273
                                  stabilizationWindowSeconds:
274
275
276
277
278
279
280
                                    description: |-
                                      stabilizationWindowSeconds is the number of seconds for which past recommendations should be
                                      considered while scaling up or scaling down.
                                      StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
                                      If not set, use the default values:
                                      - For scale up: 0 (i.e. no stabilization is done).
                                      - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
281
282
                                    format: int32
                                    type: integer
283
284
285
286
                                  tolerance:
                                    anyOf:
                                      - type: integer
                                      - type: string
287
288
289
290
291
292
293
294
295
296
297
298
                                    description: |-
                                      tolerance is the tolerance on the ratio between the current and desired
                                      metric value under which no updates are made to the desired number of
                                      replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not
                                      set, the default cluster-wide tolerance is applied (by default 10%).

                                      For example, if autoscaling is configured with a memory consumption target of 100Mi,
                                      and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be
                                      triggered when the actual consumption falls below 95Mi or exceeds 101Mi.

                                      This is an alpha field and requires enabling the HPAConfigurableTolerance
                                      feature gate.
299
300
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
301
                                type: object
302
                              scaleUp:
303
304
305
306
307
308
                                description: |-
                                  scaleUp is scaling policy for scaling Up.
                                  If not set, the default value is the higher of:
                                    * increase no more than 4 pods per 60 seconds
                                    * double the number of pods per 60 seconds
                                  No stabilization is used.
309
                                properties:
310
                                  policies:
311
312
313
314
315
                                    description: |-
                                      policies is a list of potential scaling polices which can be used during scaling.
                                      If not set, use the default values:
                                      - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window.
                                      - For scale down: allow all pods to be removed in a 15s window.
316
                                    items:
317
                                      description: HPAScalingPolicy is a single policy which must hold true for a specified past interval.
318
319
                                      properties:
                                        periodSeconds:
320
321
322
                                          description: |-
                                            periodSeconds specifies the window of time for which the policy should hold true.
                                            PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
323
324
325
                                          format: int32
                                          type: integer
                                        type:
326
                                          description: type is used to specify the scaling policy.
327
328
                                          type: string
                                        value:
329
330
331
                                          description: |-
                                            value contains the amount of change which is permitted by the policy.
                                            It must be greater than zero
332
333
334
335
336
337
338
339
340
341
                                          format: int32
                                          type: integer
                                      required:
                                        - periodSeconds
                                        - type
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  selectPolicy:
342
343
344
                                    description: |-
                                      selectPolicy is used to specify which policy should be used.
                                      If not set, the default value Max is used.
345
                                    type: string
346
                                  stabilizationWindowSeconds:
347
348
349
350
351
352
353
                                    description: |-
                                      stabilizationWindowSeconds is the number of seconds for which past recommendations should be
                                      considered while scaling up or scaling down.
                                      StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
                                      If not set, use the default values:
                                      - For scale up: 0 (i.e. no stabilization is done).
                                      - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
354
355
                                    format: int32
                                    type: integer
356
357
358
359
                                  tolerance:
                                    anyOf:
                                      - type: integer
                                      - type: string
360
361
362
363
364
365
366
367
368
369
370
371
                                    description: |-
                                      tolerance is the tolerance on the ratio between the current and desired
                                      metric value under which no updates are made to the desired number of
                                      replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not
                                      set, the default cluster-wide tolerance is applied (by default 10%).

                                      For example, if autoscaling is configured with a memory consumption target of 100Mi,
                                      and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be
                                      triggered when the actual consumption falls below 95Mi or exceeds 101Mi.

                                      This is an alpha field and requires enabling the HPAConfigurableTolerance
                                      feature gate.
372
373
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
374
375
                                type: object
                            type: object
376
                          enabled:
377
                            description: 'Deprecated: This field is ignored.'
378
379
                            type: boolean
                          maxReplicas:
380
                            description: 'Deprecated: This field is ignored.'
381
382
                            type: integer
                          metrics:
383
                            description: 'Deprecated: This field is ignored.'
384
                            items:
385
386
387
                              description: |-
                                MetricSpec specifies how to scale based on a single metric
                                (only `type` and one other matching field should be set at once).
388
389
                              properties:
                                containerResource:
390
391
392
393
394
395
                                  description: |-
                                    containerResource refers to a resource metric (such as those specified in
                                    requests and limits) known to Kubernetes describing a single container in
                                    each pod of the current scale target (e.g. CPU or memory). Such metrics are
                                    built in to Kubernetes, and have special scaling options on top of those
                                    available to normal per-pod metrics using the "pods" source.
396
397
                                  properties:
                                    container:
398
                                      description: container is the name of the container in the pods of the scaling target
399
400
                                      type: string
                                    name:
401
                                      description: name is the name of the resource in question.
402
403
                                      type: string
                                    target:
404
                                      description: target specifies the target value for the given metric
405
406
                                      properties:
                                        averageUtilization:
407
408
409
410
411
                                          description: |-
                                            averageUtilization is the target value of the average of the
                                            resource metric across all relevant pods, represented as a percentage of
                                            the requested value of the resource for the pods.
                                            Currently only valid for Resource metric source type
412
413
414
415
416
417
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
418
419
420
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
421
422
423
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
424
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
425
426
427
428
429
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
430
                                          description: value is the target value of the metric (as a quantity).
431
432
433
434
435
436
437
438
439
440
441
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - type
                                      type: object
                                  required:
                                    - container
                                    - name
                                    - target
                                  type: object
                                external:
442
443
444
445
446
447
                                  description: |-
                                    external refers to a global metric that is not associated
                                    with any Kubernetes object. It allows autoscaling based on information
                                    coming from components running outside of cluster
                                    (for example length of queue in cloud messaging service, or
                                    QPS from loadbalancer running outside of cluster).
448
449
                                  properties:
                                    metric:
450
                                      description: metric identifies the target metric by name and selector
451
452
                                      properties:
                                        name:
453
                                          description: name is the name of the given metric
454
455
                                          type: string
                                        selector:
456
457
458
459
                                          description: |-
                                            selector is the string-encoded form of a standard kubernetes label selector for the given metric
                                            When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
                                            When unset, just the metricName will be used to gather metrics.
460
461
                                          properties:
                                            matchExpressions:
462
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
463
                                              items:
464
465
466
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
467
468
                                                properties:
                                                  key:
469
                                                    description: key is the label key that the selector applies to.
470
471
                                                    type: string
                                                  operator:
472
473
474
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
475
476
                                                    type: string
                                                  values:
477
478
479
480
481
                                                    description: |-
                                                      values is an array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. This array is replaced during a strategic
                                                      merge patch.
482
483
484
485
486
487
488
489
490
491
492
493
494
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
495
496
497
498
                                              description: |-
                                                matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                operator is "In", and the values array contains only "value". The requirements are ANDed.
499
500
501
502
503
504
505
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
506
                                      description: target specifies the target value for the given metric
507
508
                                      properties:
                                        averageUtilization:
509
510
511
512
513
                                          description: |-
                                            averageUtilization is the target value of the average of the
                                            resource metric across all relevant pods, represented as a percentage of
                                            the requested value of the resource for the pods.
                                            Currently only valid for Resource metric source type
514
515
516
517
518
519
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
520
521
522
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
523
524
525
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
526
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
527
528
529
530
531
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
532
                                          description: value is the target value of the metric (as a quantity).
533
534
535
536
537
538
539
540
541
542
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - type
                                      type: object
                                  required:
                                    - metric
                                    - target
                                  type: object
                                object:
543
544
545
                                  description: |-
                                    object refers to a metric describing a single kubernetes object
                                    (for example, hits-per-second on an Ingress object).
546
547
                                  properties:
                                    describedObject:
548
                                      description: describedObject specifies the descriptions of a object,such as kind,name apiVersion
549
550
                                      properties:
                                        apiVersion:
551
                                          description: apiVersion is the API version of the referent
552
553
                                          type: string
                                        kind:
554
                                          description: 'kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
555
556
                                          type: string
                                        name:
557
                                          description: 'name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
558
559
560
561
562
563
                                          type: string
                                      required:
                                        - kind
                                        - name
                                      type: object
                                    metric:
564
                                      description: metric identifies the target metric by name and selector
565
566
                                      properties:
                                        name:
567
                                          description: name is the name of the given metric
568
569
                                          type: string
                                        selector:
570
571
572
573
                                          description: |-
                                            selector is the string-encoded form of a standard kubernetes label selector for the given metric
                                            When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
                                            When unset, just the metricName will be used to gather metrics.
574
575
                                          properties:
                                            matchExpressions:
576
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
577
                                              items:
578
579
580
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
581
582
                                                properties:
                                                  key:
583
                                                    description: key is the label key that the selector applies to.
584
585
                                                    type: string
                                                  operator:
586
587
588
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
589
590
                                                    type: string
                                                  values:
591
592
593
594
595
                                                    description: |-
                                                      values is an array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. This array is replaced during a strategic
                                                      merge patch.
596
597
598
599
600
601
602
603
604
605
606
607
608
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
609
610
611
612
                                              description: |-
                                                matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                operator is "In", and the values array contains only "value". The requirements are ANDed.
613
614
615
616
617
618
619
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
620
                                      description: target specifies the target value for the given metric
621
622
                                      properties:
                                        averageUtilization:
623
624
625
626
627
                                          description: |-
                                            averageUtilization is the target value of the average of the
                                            resource metric across all relevant pods, represented as a percentage of
                                            the requested value of the resource for the pods.
                                            Currently only valid for Resource metric source type
628
629
630
631
632
633
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
634
635
636
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
637
638
639
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
640
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
641
642
643
644
645
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
646
                                          description: value is the target value of the metric (as a quantity).
647
648
649
650
651
652
653
654
655
656
657
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - type
                                      type: object
                                  required:
                                    - describedObject
                                    - metric
                                    - target
                                  type: object
                                pods:
658
659
660
661
                                  description: |-
                                    pods refers to a metric describing each pod in the current scale target
                                    (for example, transactions-processed-per-second).  The values will be
                                    averaged together before being compared to the target value.
662
663
                                  properties:
                                    metric:
664
                                      description: metric identifies the target metric by name and selector
665
666
                                      properties:
                                        name:
667
                                          description: name is the name of the given metric
668
669
                                          type: string
                                        selector:
670
671
672
673
                                          description: |-
                                            selector is the string-encoded form of a standard kubernetes label selector for the given metric
                                            When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
                                            When unset, just the metricName will be used to gather metrics.
674
675
                                          properties:
                                            matchExpressions:
676
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
677
                                              items:
678
679
680
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
681
682
                                                properties:
                                                  key:
683
                                                    description: key is the label key that the selector applies to.
684
685
                                                    type: string
                                                  operator:
686
687
688
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
689
690
                                                    type: string
                                                  values:
691
692
693
694
695
                                                    description: |-
                                                      values is an array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. This array is replaced during a strategic
                                                      merge patch.
696
697
698
699
700
701
702
703
704
705
706
707
708
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
709
710
711
712
                                              description: |-
                                                matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                operator is "In", and the values array contains only "value". The requirements are ANDed.
713
714
715
716
717
718
719
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
720
                                      description: target specifies the target value for the given metric
721
722
                                      properties:
                                        averageUtilization:
723
724
725
726
727
                                          description: |-
                                            averageUtilization is the target value of the average of the
                                            resource metric across all relevant pods, represented as a percentage of
                                            the requested value of the resource for the pods.
                                            Currently only valid for Resource metric source type
728
729
730
731
732
733
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
734
735
736
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
737
738
739
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
740
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
741
742
743
744
745
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
746
                                          description: value is the target value of the metric (as a quantity).
747
748
749
750
751
752
753
754
755
756
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - type
                                      type: object
                                  required:
                                    - metric
                                    - target
                                  type: object
                                resource:
757
758
759
760
761
762
                                  description: |-
                                    resource refers to a resource metric (such as those specified in
                                    requests and limits) known to Kubernetes describing each pod in the
                                    current scale target (e.g. CPU or memory). Such metrics are built in to
                                    Kubernetes, and have special scaling options on top of those available
                                    to normal per-pod metrics using the "pods" source.
763
764
                                  properties:
                                    name:
765
                                      description: name is the name of the resource in question.
766
767
                                      type: string
                                    target:
768
                                      description: target specifies the target value for the given metric
769
770
                                      properties:
                                        averageUtilization:
771
772
773
774
775
                                          description: |-
                                            averageUtilization is the target value of the average of the
                                            resource metric across all relevant pods, represented as a percentage of
                                            the requested value of the resource for the pods.
                                            Currently only valid for Resource metric source type
776
777
778
779
780
781
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
782
783
784
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
785
786
787
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
788
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
789
790
791
792
793
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
794
                                          description: value is the target value of the metric (as a quantity).
795
796
797
798
799
800
801
802
803
804
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - type
                                      type: object
                                  required:
                                    - name
                                    - target
                                  type: object
                                type:
805
806
807
                                  description: |-
                                    type is the type of metric source.  It should be one of "ContainerResource", "External",
                                    "Object", "Pods" or "Resource", each mapping to a matching field in the object.
808
809
810
811
812
813
                                  type: string
                              required:
                                - type
                              type: object
                            type: array
                          minReplicas:
814
                            description: 'Deprecated: This field is ignored.'
815
                            type: integer
816
                        type: object
817
                      componentType:
818
                        description: ComponentType indicates the role of this component (for example, "main").
819
820
                        type: string
                      dynamoNamespace:
821
822
823
                        description: |-
                          DynamoNamespace is deprecated and will be removed in a future version.
                          The DGD Kubernetes namespace and DynamoGraphDeployment name are used to construct the Dynamo namespace for each component
824
825
                        type: string
                      envFromSecret:
826
827
828
                        description: |-
                          EnvFromSecret references a Secret whose key/value pairs will be exposed as
                          environment variables in the component containers.
829
830
                        type: string
                      envs:
831
                        description: Envs defines additional environment variables to inject into the component containers.
832
                        items:
833
                          description: EnvVar represents an environment variable present in a Container.
834
                          properties:
835
                            name:
836
                              description: Name of the environment variable. Must be a C_IDENTIFIER.
837
838
                              type: string
                            value:
839
840
841
842
843
844
845
846
847
848
                              description: |-
                                Variable references $(VAR_NAME) are expanded
                                using the previously defined environment variables in the container and
                                any service environment variables. If a variable cannot be resolved,
                                the reference in the input string will be unchanged. Double $$ are reduced
                                to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
                                "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
                                Escaped references will never be expanded, regardless of whether the variable
                                exists or not.
                                Defaults to "".
849
850
                              type: string
                            valueFrom:
851
                              description: Source for the environment variable's value. Cannot be used if value is not empty.
852
                              properties:
853
                                configMapKeyRef:
854
                                  description: Selects a key of a ConfigMap.
855
856
                                  properties:
                                    key:
857
                                      description: The key to select.
858
859
860
                                      type: string
                                    name:
                                      default: ""
861
862
863
864
865
866
                                      description: |-
                                        Name of the referent.
                                        This field is effectively required, but due to backwards compatibility is
                                        allowed to be empty. Instances of this type with an empty value here are
                                        almost certainly wrong.
                                        More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
867
868
                                      type: string
                                    optional:
869
                                      description: Specify whether the ConfigMap or its key must be defined
870
871
872
873
874
875
                                      type: boolean
                                  required:
                                    - key
                                  type: object
                                  x-kubernetes-map-type: atomic
                                fieldRef:
876
877
878
                                  description: |-
                                    Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
                                    spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
879
880
                                  properties:
                                    apiVersion:
881
                                      description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
882
883
                                      type: string
                                    fieldPath:
884
                                      description: Path of the field to select in the specified API version.
885
886
887
888
889
890
                                      type: string
                                  required:
                                    - fieldPath
                                  type: object
                                  x-kubernetes-map-type: atomic
                                resourceFieldRef:
891
892
893
                                  description: |-
                                    Selects a resource of the container: only resources limits and requests
                                    (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
894
895
                                  properties:
                                    containerName:
896
                                      description: 'Container name: required for volumes, optional for env vars'
897
898
899
900
901
                                      type: string
                                    divisor:
                                      anyOf:
                                        - type: integer
                                        - type: string
902
                                      description: Specifies the output format of the exposed resources, defaults to "1"
903
904
905
                                      pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                      x-kubernetes-int-or-string: true
                                    resource:
906
                                      description: 'Required: resource to select'
907
908
909
910
911
912
                                      type: string
                                  required:
                                    - resource
                                  type: object
                                  x-kubernetes-map-type: atomic
                                secretKeyRef:
913
                                  description: Selects a key of a secret in the pod's namespace
914
915
                                  properties:
                                    key:
916
                                      description: The key of the secret to select from.  Must be a valid secret key.
917
918
919
                                      type: string
                                    name:
                                      default: ""
920
921
922
923
924
925
                                      description: |-
                                        Name of the referent.
                                        This field is effectively required, but due to backwards compatibility is
                                        allowed to be empty. Instances of this type with an empty value here are
                                        almost certainly wrong.
                                        More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
926
927
                                      type: string
                                    optional:
928
                                      description: Specify whether the Secret or its key must be defined
929
930
931
932
933
934
935
936
937
938
939
                                      type: boolean
                                  required:
                                    - key
                                  type: object
                                  x-kubernetes-map-type: atomic
                              type: object
                          required:
                            - name
                          type: object
                        type: array
                      extraPodMetadata:
940
                        description: ExtraPodMetadata adds labels/annotations to the created Pods.
941
942
943
944
945
946
947
948
949
950
951
                        properties:
                          annotations:
                            additionalProperties:
                              type: string
                            type: object
                          labels:
                            additionalProperties:
                              type: string
                            type: object
                        type: object
                      extraPodSpec:
952
                        description: |-
953
954
955
                          ExtraPodSpec allows to override the main pod spec configuration.
                          It is a k8s standard PodSpec. It also contains a MainContainer (standard k8s Container) field
                          that allows overriding the main container configuration.
956
                        properties:
957
                          activeDeadlineSeconds:
958
959
960
961
                            description: |-
                              Optional duration in seconds the pod may be active on the node relative to
                              StartTime before the system will actively try to mark it failed and kill associated containers.
                              Value must be a positive integer.
962
963
                            format: int64
                            type: integer
964
                          affinity:
965
                            description: If specified, the pod's scheduling constraints
966
967
                            properties:
                              nodeAffinity:
968
                                description: Describes node affinity scheduling rules for the pod.
969
970
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
971
972
973
974
975
976
977
978
979
980
                                    description: |-
                                      The scheduler will prefer to schedule pods to nodes that satisfy
                                      the affinity expressions specified by this field, but it may choose
                                      a node that violates one or more of the expressions. The node that is
                                      most preferred is the one with the greatest sum of weights, i.e.
                                      for each node that meets all of the scheduling requirements (resource
                                      request, requiredDuringScheduling affinity expressions, etc.),
                                      compute a sum by iterating through the elements of this field and adding
                                      "weight" to the sum if the node matches the corresponding matchExpressions; the
                                      node(s) with the highest sum are the most preferred.
981
                                    items:
982
983
984
                                      description: |-
                                        An empty preferred scheduling term matches all objects with implicit weight 0
                                        (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
985
986
                                      properties:
                                        preference:
987
                                          description: A node selector term, associated with the corresponding weight.
988
989
                                          properties:
                                            matchExpressions:
990
                                              description: A list of node selector requirements by node's labels.
991
                                              items:
992
993
994
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
995
996
                                                properties:
                                                  key:
997
                                                    description: The label key that the selector applies to.
998
999
                                                    type: string
                                                  operator:
1000
1001
1002
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1003
1004
                                                    type: string
                                                  values:
1005
1006
1007
1008
1009
1010
                                                    description: |-
                                                      An array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. If the operator is Gt or Lt, the values
                                                      array must have a single element, which will be interpreted as an integer.
                                                      This array is replaced during a strategic merge patch.
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchFields:
1022
                                              description: A list of node selector requirements by node's fields.
1023
                                              items:
1024
1025
1026
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1027
1028
                                                properties:
                                                  key:
1029
                                                    description: The label key that the selector applies to.
1030
1031
                                                    type: string
                                                  operator:
1032
1033
1034
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1035
1036
                                                    type: string
                                                  values:
1037
1038
1039
1040
1041
1042
                                                    description: |-
                                                      An array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. If the operator is Gt or Lt, the values
                                                      array must have a single element, which will be interpreted as an integer.
                                                      This array is replaced during a strategic merge patch.
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        weight:
1056
                                          description: Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
1057
1058
1059
1060
1061
1062
1063
1064
1065
                                          format: int32
                                          type: integer
                                      required:
                                        - preference
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1066
1067
1068
1069
1070
1071
                                    description: |-
                                      If the affinity requirements specified by this field are not met at
                                      scheduling time, the pod will not be scheduled onto the node.
                                      If the affinity requirements specified by this field cease to be met
                                      at some point during pod execution (e.g. due to an update), the system
                                      may or may not try to eventually evict the pod from its node.
1072
                                    properties:
1073
                                      nodeSelectorTerms:
1074
                                        description: Required. A list of node selector terms. The terms are ORed.
1075
                                        items:
1076
1077
1078
1079
                                          description: |-
                                            A null or empty node selector term matches no objects. The requirements of
                                            them are ANDed.
                                            The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
1080
1081
                                          properties:
                                            matchExpressions:
1082
                                              description: A list of node selector requirements by node's labels.
1083
                                              items:
1084
1085
1086
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1087
1088
                                                properties:
                                                  key:
1089
                                                    description: The label key that the selector applies to.
1090
                                                    type: string
1091
                                                  operator:
1092
1093
1094
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1095
                                                    type: string
1096
                                                  values:
1097
1098
1099
1100
1101
1102
                                                    description: |-
                                                      An array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. If the operator is Gt or Lt, the values
                                                      array must have a single element, which will be interpreted as an integer.
                                                      This array is replaced during a strategic merge patch.
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchFields:
1114
                                              description: A list of node selector requirements by node's fields.
1115
                                              items:
1116
1117
1118
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1119
1120
                                                properties:
                                                  key:
1121
                                                    description: The label key that the selector applies to.
1122
1123
                                                    type: string
                                                  operator:
1124
1125
1126
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1127
1128
                                                    type: string
                                                  values:
1129
1130
1131
1132
1133
1134
                                                    description: |-
                                                      An array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. If the operator is Gt or Lt, the values
                                                      array must have a single element, which will be interpreted as an integer.
                                                      This array is replaced during a strategic merge patch.
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        type: array
                                        x-kubernetes-list-type: atomic
1149
                                    required:
1150
                                      - nodeSelectorTerms
1151
                                    type: object
1152
1153
1154
                                    x-kubernetes-map-type: atomic
                                type: object
                              podAffinity:
1155
                                description: Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
1156
1157
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
                                    description: |-
                                      The scheduler will prefer to schedule pods to nodes that satisfy
                                      the affinity expressions specified by this field, but it may choose
                                      a node that violates one or more of the expressions. The node that is
                                      most preferred is the one with the greatest sum of weights, i.e.
                                      for each node that meets all of the scheduling requirements (resource
                                      request, requiredDuringScheduling affinity expressions, etc.),
                                      compute a sum by iterating through the elements of this field and adding
                                      "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
                                      node(s) with the highest sum are the most preferred.
1168
                                    items:
1169
                                      description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1170
1171
                                      properties:
                                        podAffinityTerm:
1172
                                          description: Required. A pod affinity term, associated with the corresponding weight.
1173
1174
                                          properties:
                                            labelSelector:
1175
1176
1177
                                              description: |-
                                                A label query over a set of resources, in this case pods.
                                                If it's null, this PodAffinityTerm matches with no Pods.
1178
                                              properties:
1179
                                                matchExpressions:
1180
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1181
                                                  items:
1182
1183
1184
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1185
1186
                                                    properties:
                                                      key:
1187
                                                        description: key is the label key that the selector applies to.
1188
1189
                                                        type: string
                                                      operator:
1190
1191
1192
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1193
1194
                                                        type: string
                                                      values:
1195
1196
1197
1198
1199
                                                        description: |-
                                                          values is an array of string values. If the operator is In or NotIn,
                                                          the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                          the values array must be empty. This array is replaced during a strategic
                                                          merge patch.
1200
1201
1202
1203
1204
1205
1206
1207
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1208
1209
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1210
1211
1212
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1213
1214
1215
1216
                                                  description: |-
                                                    matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                    map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                    operator is "In", and the values array contains only "value". The requirements are ANDed.
1217
                                                  type: object
1218
                                              type: object
1219
1220
                                              x-kubernetes-map-type: atomic
                                            matchLabelKeys:
1221
1222
1223
1224
1225
1226
1227
1228
1229
                                              description: |-
                                                MatchLabelKeys is a set of pod label keys to select which pods will
                                                be taken into consideration. The keys are used to lookup values from the
                                                incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
                                                to select the group of existing pods which pods will be taken into consideration
                                                for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
                                                pod labels will be ignored. The default value is empty.
                                                The same key is forbidden to exist in both matchLabelKeys and labelSelector.
                                                Also, matchLabelKeys cannot be set when labelSelector isn't set.
1230
1231
1232
1233
1234
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            mismatchLabelKeys:
1235
1236
1237
1238
1239
1240
1241
1242
1243
                                              description: |-
                                                MismatchLabelKeys is a set of pod label keys to select which pods will
                                                be taken into consideration. The keys are used to lookup values from the
                                                incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
                                                to select the group of existing pods which pods will be taken into consideration
                                                for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
                                                pod labels will be ignored. The default value is empty.
                                                The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
                                                Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
1244
1245
1246
1247
1248
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            namespaceSelector:
1249
1250
1251
1252
1253
1254
                                              description: |-
                                                A label query over the set of namespaces that the term applies to.
                                                The term is applied to the union of the namespaces selected by this field
                                                and the ones listed in the namespaces field.
                                                null selector and null or empty namespaces list means "this pod's namespace".
                                                An empty selector ({}) matches all namespaces.
1255
                                              properties:
1256
                                                matchExpressions:
1257
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1258
                                                  items:
1259
1260
1261
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1262
1263
                                                    properties:
                                                      key:
1264
                                                        description: key is the label key that the selector applies to.
1265
1266
                                                        type: string
                                                      operator:
1267
1268
1269
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1270
1271
                                                        type: string
                                                      values:
1272
1273
1274
1275
1276
                                                        description: |-
                                                          values is an array of string values. If the operator is In or NotIn,
                                                          the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                          the values array must be empty. This array is replaced during a strategic
                                                          merge patch.
1277
1278
1279
1280
1281
1282
1283
1284
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1285
1286
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1287
1288
1289
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1290
1291
1292
1293
                                                  description: |-
                                                    matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                    map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                    operator is "In", and the values array contains only "value". The requirements are ANDed.
1294
                                                  type: object
1295
                                              type: object
1296
1297
                                              x-kubernetes-map-type: atomic
                                            namespaces:
1298
1299
1300
1301
1302
                                              description: |-
                                                namespaces specifies a static list of namespace names that the term applies to.
                                                The term is applied to the union of the namespaces listed in this field
                                                and the ones selected by namespaceSelector.
                                                null or empty namespaces list and null namespaceSelector means "this pod's namespace".
1303
1304
1305
1306
1307
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            topologyKey:
1308
1309
1310
1311
1312
1313
                                              description: |-
                                                This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
                                                the labelSelector in the specified namespaces, where co-located is defined as running on a node
                                                whose value of the label with key topologyKey matches that of any node on which any of the
                                                selected pods is running.
                                                Empty topologyKey is not allowed.
1314
1315
1316
1317
1318
                                              type: string
                                          required:
                                            - topologyKey
                                          type: object
                                        weight:
1319
1320
1321
                                          description: |-
                                            weight associated with matching the corresponding podAffinityTerm,
                                            in the range 1-100.
1322
1323
1324
1325
1326
1327
1328
1329
1330
                                          format: int32
                                          type: integer
                                      required:
                                        - podAffinityTerm
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1331
1332
1333
1334
1335
1336
1337
1338
                                    description: |-
                                      If the affinity requirements specified by this field are not met at
                                      scheduling time, the pod will not be scheduled onto the node.
                                      If the affinity requirements specified by this field cease to be met
                                      at some point during pod execution (e.g. due to a pod label update), the
                                      system may or may not try to eventually evict the pod from its node.
                                      When there are multiple elements, the lists of nodes corresponding to each
                                      podAffinityTerm are intersected, i.e. all terms must be satisfied.
1339
                                    items:
1340
1341
1342
1343
1344
1345
1346
                                      description: |-
                                        Defines a set of pods (namely those matching the labelSelector
                                        relative to the given namespace(s)) that this pod should be
                                        co-located (affinity) or not co-located (anti-affinity) with,
                                        where co-located is defined as running on a node whose value of
                                        the label with key <topologyKey> matches that of any node on which
                                        a pod of the set of pods is running
1347
1348
                                      properties:
                                        labelSelector:
1349
1350
1351
                                          description: |-
                                            A label query over a set of resources, in this case pods.
                                            If it's null, this PodAffinityTerm matches with no Pods.
1352
1353
                                          properties:
                                            matchExpressions:
1354
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1355
                                              items:
1356
1357
1358
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1359
1360
                                                properties:
                                                  key:
1361
                                                    description: key is the label key that the selector applies to.
1362
1363
                                                    type: string
                                                  operator:
1364
1365
1366
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1367
1368
                                                    type: string
                                                  values:
1369
1370
1371
1372
1373
                                                    description: |-
                                                      values is an array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. This array is replaced during a strategic
                                                      merge patch.
1374
                                                    items:
1375
                                                      type: string
1376
1377
1378
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
1379
1380
1381
                                                  - key
                                                  - operator
                                                type: object
1382
1383
1384
1385
1386
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1387
1388
1389
1390
                                              description: |-
                                                matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                operator is "In", and the values array contains only "value". The requirements are ANDed.
1391
1392
1393
1394
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        matchLabelKeys:
1395
1396
1397
1398
1399
1400
1401
1402
1403
                                          description: |-
                                            MatchLabelKeys is a set of pod label keys to select which pods will
                                            be taken into consideration. The keys are used to lookup values from the
                                            incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
                                            to select the group of existing pods which pods will be taken into consideration
                                            for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
                                            pod labels will be ignored. The default value is empty.
                                            The same key is forbidden to exist in both matchLabelKeys and labelSelector.
                                            Also, matchLabelKeys cannot be set when labelSelector isn't set.
1404
1405
1406
1407
1408
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        mismatchLabelKeys:
1409
1410
1411
1412
1413
1414
1415
1416
1417
                                          description: |-
                                            MismatchLabelKeys is a set of pod label keys to select which pods will
                                            be taken into consideration. The keys are used to lookup values from the
                                            incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
                                            to select the group of existing pods which pods will be taken into consideration
                                            for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
                                            pod labels will be ignored. The default value is empty.
                                            The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
                                            Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
1418
1419
1420
1421
1422
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        namespaceSelector:
1423
1424
1425
1426
1427
1428
                                          description: |-
                                            A label query over the set of namespaces that the term applies to.
                                            The term is applied to the union of the namespaces selected by this field
                                            and the ones listed in the namespaces field.
                                            null selector and null or empty namespaces list means "this pod's namespace".
                                            An empty selector ({}) matches all namespaces.
1429
1430
                                          properties:
                                            matchExpressions:
1431
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1432
                                              items:
1433
1434
1435
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1436
1437
                                                properties:
                                                  key:
1438
                                                    description: key is the label key that the selector applies to.
1439
1440
                                                    type: string
                                                  operator:
1441
1442
1443
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1444
1445
                                                    type: string
                                                  values:
1446
1447
1448
1449
1450
                                                    description: |-
                                                      values is an array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. This array is replaced during a strategic
                                                      merge patch.
1451
                                                    items:
1452
                                                      type: string
1453
1454
1455
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
1456
1457
1458
                                                  - key
                                                  - operator
                                                type: object
1459
1460
1461
1462
1463
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1464
1465
1466
1467
                                              description: |-
                                                matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                operator is "In", and the values array contains only "value". The requirements are ANDed.
1468
1469
1470
1471
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        namespaces:
1472
1473
1474
1475
1476
                                          description: |-
                                            namespaces specifies a static list of namespace names that the term applies to.
                                            The term is applied to the union of the namespaces listed in this field
                                            and the ones selected by namespaceSelector.
                                            null or empty namespaces list and null namespaceSelector means "this pod's namespace".
1477
                                          items:
1478
                                            type: string
1479
1480
1481
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        topologyKey:
1482
1483
1484
1485
1486
1487
                                          description: |-
                                            This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
                                            the labelSelector in the specified namespaces, where co-located is defined as running on a node
                                            whose value of the label with key topologyKey matches that of any node on which any of the
                                            selected pods is running.
                                            Empty topologyKey is not allowed.
1488
1489
                                          type: string
                                      required:
1490
                                        - topologyKey
1491
1492
1493
1494
1495
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              podAntiAffinity:
1496
                                description: Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
1497
1498
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
                                    description: |-
                                      The scheduler will prefer to schedule pods to nodes that satisfy
                                      the anti-affinity expressions specified by this field, but it may choose
                                      a node that violates one or more of the expressions. The node that is
                                      most preferred is the one with the greatest sum of weights, i.e.
                                      for each node that meets all of the scheduling requirements (resource
                                      request, requiredDuringScheduling anti-affinity expressions, etc.),
                                      compute a sum by iterating through the elements of this field and adding
                                      "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
                                      node(s) with the highest sum are the most preferred.
1509
                                    items:
1510
                                      description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1511
1512
                                      properties:
                                        podAffinityTerm:
1513
                                          description: Required. A pod affinity term, associated with the corresponding weight.
1514
1515
                                          properties:
                                            labelSelector:
1516
1517
1518
                                              description: |-
                                                A label query over a set of resources, in this case pods.
                                                If it's null, this PodAffinityTerm matches with no Pods.
1519
                                              properties:
1520
                                                matchExpressions:
1521
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1522
                                                  items:
1523
1524
1525
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1526
1527
                                                    properties:
                                                      key:
1528
                                                        description: key is the label key that the selector applies to.
1529
1530
                                                        type: string
                                                      operator:
1531
1532
1533
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1534
1535
                                                        type: string
                                                      values:
1536
1537
1538
1539
1540
                                                        description: |-
                                                          values is an array of string values. If the operator is In or NotIn,
                                                          the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                          the values array must be empty. This array is replaced during a strategic
                                                          merge patch.
1541
1542
1543
1544
1545
1546
1547
1548
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1549
1550
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1551
1552
1553
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1554
1555
1556
1557
                                                  description: |-
                                                    matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                    map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                    operator is "In", and the values array contains only "value". The requirements are ANDed.
1558
                                                  type: object
1559
                                              type: object
1560
1561
                                              x-kubernetes-map-type: atomic
                                            matchLabelKeys:
1562
1563
1564
1565
1566
1567
1568
1569
1570
                                              description: |-
                                                MatchLabelKeys is a set of pod label keys to select which pods will
                                                be taken into consideration. The keys are used to lookup values from the
                                                incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
                                                to select the group of existing pods which pods will be taken into consideration
                                                for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
                                                pod labels will be ignored. The default value is empty.
                                                The same key is forbidden to exist in both matchLabelKeys and labelSelector.
                                                Also, matchLabelKeys cannot be set when labelSelector isn't set.
1571
1572
1573
1574
1575
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            mismatchLabelKeys:
1576
1577
1578
1579
1580
1581
1582
1583
1584
                                              description: |-
                                                MismatchLabelKeys is a set of pod label keys to select which pods will
                                                be taken into consideration. The keys are used to lookup values from the
                                                incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
                                                to select the group of existing pods which pods will be taken into consideration
                                                for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
                                                pod labels will be ignored. The default value is empty.
                                                The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
                                                Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
1585
1586
1587
1588
1589
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            namespaceSelector:
1590
1591
1592
1593
1594
1595
                                              description: |-
                                                A label query over the set of namespaces that the term applies to.
                                                The term is applied to the union of the namespaces selected by this field
                                                and the ones listed in the namespaces field.
                                                null selector and null or empty namespaces list means "this pod's namespace".
                                                An empty selector ({}) matches all namespaces.
1596
                                              properties:
1597
                                                matchExpressions:
1598
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1599
                                                  items:
1600
1601
1602
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1603
1604
                                                    properties:
                                                      key:
1605
                                                        description: key is the label key that the selector applies to.
1606
1607
                                                        type: string
                                                      operator:
1608
1609
1610
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1611
1612
                                                        type: string
                                                      values:
1613
1614
1615
1616
1617
                                                        description: |-
                                                          values is an array of string values. If the operator is In or NotIn,
                                                          the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                          the values array must be empty. This array is replaced during a strategic
                                                          merge patch.
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
                                                  type: array
                                                  x-kubernetes-list-type: atomic
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1631
1632
1633
1634
                                                  description: |-
                                                    matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                    map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                    operator is "In", and the values array contains only "value". The requirements are ANDed.
1635
1636
1637
1638
                                                  type: object
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            namespaces:
1639
1640
1641
1642
1643
                                              description: |-
                                                namespaces specifies a static list of namespace names that the term applies to.
                                                The term is applied to the union of the namespaces listed in this field
                                                and the ones selected by namespaceSelector.
                                                null or empty namespaces list and null namespaceSelector means "this pod's namespace".
1644
1645
1646
1647
1648
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            topologyKey:
1649
1650
1651
1652
1653
1654
                                              description: |-
                                                This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
                                                the labelSelector in the specified namespaces, where co-located is defined as running on a node
                                                whose value of the label with key topologyKey matches that of any node on which any of the
                                                selected pods is running.
                                                Empty topologyKey is not allowed.
1655
1656
1657
1658
1659
                                              type: string
                                          required:
                                            - topologyKey
                                          type: object
                                        weight:
1660
1661
1662
                                          description: |-
                                            weight associated with matching the corresponding podAffinityTerm,
                                            in the range 1-100.
1663
1664
1665
1666
1667
1668
1669
1670
1671
                                          format: int32
                                          type: integer
                                      required:
                                        - podAffinityTerm
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1672
1673
1674
1675
1676
1677
1678
1679
                                    description: |-
                                      If the anti-affinity requirements specified by this field are not met at
                                      scheduling time, the pod will not be scheduled onto the node.
                                      If the anti-affinity requirements specified by this field cease to be met
                                      at some point during pod execution (e.g. due to a pod label update), the
                                      system may or may not try to eventually evict the pod from its node.
                                      When there are multiple elements, the lists of nodes corresponding to each
                                      podAffinityTerm are intersected, i.e. all terms must be satisfied.
1680
                                    items:
1681
1682
1683
1684
1685
1686
1687
                                      description: |-
                                        Defines a set of pods (namely those matching the labelSelector
                                        relative to the given namespace(s)) that this pod should be
                                        co-located (affinity) or not co-located (anti-affinity) with,
                                        where co-located is defined as running on a node whose value of
                                        the label with key <topologyKey> matches that of any node on which
                                        a pod of the set of pods is running
1688
1689
                                      properties:
                                        labelSelector:
1690
1691
1692
                                          description: |-
                                            A label query over a set of resources, in this case pods.
                                            If it's null, this PodAffinityTerm matches with no Pods.
1693
1694
                                          properties:
                                            matchExpressions:
1695
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1696
                                              items:
1697
1698
1699
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1700
1701
                                                properties:
                                                  key:
1702
                                                    description: key is the label key that the selector applies to.
1703
1704
                                                    type: string
                                                  operator:
1705
1706
1707
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1708
1709
                                                    type: string
                                                  values:
1710
1711
1712
1713
1714
                                                    description: |-
                                                      values is an array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. This array is replaced during a strategic
                                                      merge patch.
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1728
1729
1730
1731
                                              description: |-
                                                matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                operator is "In", and the values array contains only "value". The requirements are ANDed.
1732
1733
1734
1735
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        matchLabelKeys:
1736
1737
1738
1739
1740
1741
1742
1743
1744
                                          description: |-
                                            MatchLabelKeys is a set of pod label keys to select which pods will
                                            be taken into consideration. The keys are used to lookup values from the
                                            incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
                                            to select the group of existing pods which pods will be taken into consideration
                                            for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
                                            pod labels will be ignored. The default value is empty.
                                            The same key is forbidden to exist in both matchLabelKeys and labelSelector.
                                            Also, matchLabelKeys cannot be set when labelSelector isn't set.
1745
1746
1747
1748
1749
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        mismatchLabelKeys:
1750
1751
1752
1753
1754
1755
1756
1757
1758
                                          description: |-
                                            MismatchLabelKeys is a set of pod label keys to select which pods will
                                            be taken into consideration. The keys are used to lookup values from the
                                            incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
                                            to select the group of existing pods which pods will be taken into consideration
                                            for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
                                            pod labels will be ignored. The default value is empty.
                                            The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
                                            Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
1759
1760
1761
1762
1763
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        namespaceSelector:
1764
1765
1766
1767
1768
1769
                                          description: |-
                                            A label query over the set of namespaces that the term applies to.
                                            The term is applied to the union of the namespaces selected by this field
                                            and the ones listed in the namespaces field.
                                            null selector and null or empty namespaces list means "this pod's namespace".
                                            An empty selector ({}) matches all namespaces.
1770
1771
                                          properties:
                                            matchExpressions:
1772
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1773
                                              items:
1774
1775
1776
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1777
1778
                                                properties:
                                                  key:
1779
                                                    description: key is the label key that the selector applies to.
1780
                                                    type: string
1781
                                                  operator:
1782
1783
1784
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1785
1786
                                                    type: string
                                                  values:
1787
1788
1789
1790
1791
                                                    description: |-
                                                      values is an array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. This array is replaced during a strategic
                                                      merge patch.
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1805
1806
1807
1808
                                              description: |-
                                                matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                operator is "In", and the values array contains only "value". The requirements are ANDed.
1809
                                              type: object
1810
1811
1812
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        namespaces:
1813
1814
1815
1816
1817
                                          description: |-
                                            namespaces specifies a static list of namespace names that the term applies to.
                                            The term is applied to the union of the namespaces listed in this field
                                            and the ones selected by namespaceSelector.
                                            null or empty namespaces list and null namespaceSelector means "this pod's namespace".
1818
1819
1820
1821
1822
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        topologyKey:
1823
1824
1825
1826
1827
1828
                                          description: |-
                                            This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
                                            the labelSelector in the specified namespaces, where co-located is defined as running on a node
                                            whose value of the label with key topologyKey matches that of any node on which any of the
                                            selected pods is running.
                                            Empty topologyKey is not allowed.
1829
                                          type: string
1830
1831
1832
1833
1834
1835
1836
                                      required:
                                        - topologyKey
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                            type: object
1837
                          automountServiceAccountToken:
1838
                            description: AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
1839
                            type: boolean
1840
                          containers:
1841
1842
1843
1844
1845
                            description: |-
                              List of containers belonging to the pod.
                              Containers cannot currently be added or removed.
                              There must be at least one container in a Pod.
                              Cannot be updated.
1846
                            items:
1847
                              description: A single application container that you want to run within a pod.
1848
1849
                              properties:
                                args:
1850
1851
1852
1853
1854
1855
1856
1857
1858
                                  description: |-
                                    Arguments to the entrypoint.
                                    The container image's CMD is used if this is not provided.
                                    Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
                                    cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
                                    to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
                                    produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
                                    of whether the variable exists or not. Cannot be updated.
                                    More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
1859
1860
                                  items:
                                    type: string
1861
1862
                                  type: array
                                  x-kubernetes-list-type: atomic
1863
                                command:
1864
1865
1866
1867
1868
1869
1870
1871
1872
                                  description: |-
                                    Entrypoint array. Not executed within a shell.
                                    The container image's ENTRYPOINT is used if this is not provided.
                                    Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
                                    cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
                                    to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
                                    produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
                                    of whether the variable exists or not. Cannot be updated.
                                    More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
1873
1874
1875
1876
1877
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
1878
1879
1880
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
1881
                                  items:
1882
                                    description: EnvVar represents an environment variable present in a Container.
1883
                                    properties:
1884
                                      name:
1885
                                        description: Name of the environment variable. Must be a C_IDENTIFIER.
1886
1887
                                        type: string
                                      value:
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
                                        description: |-
                                          Variable references $(VAR_NAME) are expanded
                                          using the previously defined environment variables in the container and
                                          any service environment variables. If a variable cannot be resolved,
                                          the reference in the input string will be unchanged. Double $$ are reduced
                                          to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
                                          "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
                                          Escaped references will never be expanded, regardless of whether the variable
                                          exists or not.
                                          Defaults to "".
1898
1899
                                        type: string
                                      valueFrom:
1900
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
1901
                                        properties:
1902
                                          configMapKeyRef:
1903
                                            description: Selects a key of a ConfigMap.
1904
                                            properties:
1905
                                              key:
1906
                                                description: The key to select.
1907
1908
1909
                                                type: string
                                              name:
                                                default: ""
1910
1911
1912
1913
1914
1915
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1916
1917
                                                type: string
                                              optional:
1918
                                                description: Specify whether the ConfigMap or its key must be defined
1919
1920
1921
                                                type: boolean
                                            required:
                                              - key
1922
1923
                                            type: object
                                            x-kubernetes-map-type: atomic
1924
                                          fieldRef:
1925
1926
1927
                                            description: |-
                                              Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
                                              spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
1928
                                            properties:
1929
                                              apiVersion:
1930
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
1931
1932
                                                type: string
                                              fieldPath:
1933
                                                description: Path of the field to select in the specified API version.
1934
1935
1936
1937
1938
1939
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          resourceFieldRef:
1940
1941
1942
                                            description: |-
                                              Selects a resource of the container: only resources limits and requests
                                              (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
1943
1944
                                            properties:
                                              containerName:
1945
                                                description: 'Container name: required for volumes, optional for env vars'
1946
1947
1948
1949
1950
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
1951
                                                description: Specifies the output format of the exposed resources, defaults to "1"
1952
1953
1954
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
1955
                                                description: 'Required: resource to select'
1956
1957
1958
1959
1960
1961
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
1962
                                            description: Selects a key of a secret in the pod's namespace
1963
1964
                                            properties:
                                              key:
1965
                                                description: The key of the secret to select from.  Must be a valid secret key.
1966
1967
1968
                                                type: string
                                              name:
                                                default: ""
1969
1970
1971
1972
1973
1974
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1975
1976
                                                type: string
                                              optional:
1977
                                                description: Specify whether the Secret or its key must be defined
1978
1979
1980
                                                type: boolean
                                            required:
                                              - key
1981
1982
                                            type: object
                                            x-kubernetes-map-type: atomic
1983
1984
                                        type: object
                                    required:
1985
                                      - name
1986
1987
                                    type: object
                                  type: array
1988
1989
1990
1991
                                  x-kubernetes-list-map-keys:
                                    - name
                                  x-kubernetes-list-type: map
                                envFrom:
1992
1993
1994
1995
1996
1997
1998
                                  description: |-
                                    List of sources to populate environment variables in the container.
                                    The keys defined within a source must be a C_IDENTIFIER. All invalid keys
                                    will be reported as an event when the container is starting. When a key exists in multiple
                                    sources, the value associated with the last source will take precedence.
                                    Values defined by an Env with a duplicate key will take precedence.
                                    Cannot be updated.
1999
                                  items:
2000
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
2001
                                    properties:
2002
                                      configMapRef:
2003
                                        description: The ConfigMap to select from
2004
                                        properties:
2005
2006
                                          name:
                                            default: ""
2007
2008
2009
2010
2011
2012
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2013
2014
                                            type: string
                                          optional:
2015
                                            description: Specify whether the ConfigMap must be defined
2016
                                            type: boolean
2017
                                        type: object
2018
                                        x-kubernetes-map-type: atomic
2019
                                      prefix:
2020
                                        description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
2021
2022
                                        type: string
                                      secretRef:
2023
                                        description: The Secret to select from
2024
                                        properties:
2025
2026
                                          name:
                                            default: ""
2027
2028
2029
2030
2031
2032
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2033
2034
                                            type: string
                                          optional:
2035
                                            description: Specify whether the Secret must be defined
2036
                                            type: boolean
2037
                                        type: object
2038
2039
2040
2041
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
2042
                                image:
2043
2044
2045
2046
2047
                                  description: |-
                                    Container image name.
                                    More info: https://kubernetes.io/docs/concepts/containers/images
                                    This field is optional to allow higher level config management to default or override
                                    container images in workload controllers like Deployments and StatefulSets.
2048
                                  type: string
2049
                                imagePullPolicy:
2050
2051
2052
2053
2054
2055
                                  description: |-
                                    Image pull policy.
                                    One of Always, Never, IfNotPresent.
                                    Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
2056
                                  type: string
2057
                                lifecycle:
2058
2059
2060
                                  description: |-
                                    Actions that the management system should take in response to container lifecycle events.
                                    Cannot be updated.
2061
                                  properties:
2062
                                    postStart:
2063
2064
2065
2066
2067
                                      description: |-
                                        PostStart is called immediately after a container is created. If the handler fails,
                                        the container is terminated and restarted according to its restart policy.
                                        Other management of the container blocks until the hook completes.
                                        More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
2068
                                      properties:
2069
                                        exec:
2070
                                          description: Exec specifies a command to execute in the container.
2071
                                          properties:
2072
                                            command:
2073
2074
2075
2076
2077
2078
                                              description: |-
                                                Command is the command line to execute inside the container, the working directory for the
                                                command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                                not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                                a shell, you need to explicitly call out to that shell.
                                                Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
2079
2080
2081
2082
2083
2084
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
2085
                                          description: HTTPGet specifies an HTTP GET request to perform.
2086
2087
                                          properties:
                                            host:
2088
2089
2090
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
2091
                                              type: string
2092
                                            httpHeaders:
2093
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
2094
                                              items:
2095
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
2096
2097
                                                properties:
                                                  name:
2098
2099
2100
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
2101
2102
                                                    type: string
                                                  value:
2103
                                                    description: The header field value
2104
2105
2106
2107
2108
2109
2110
2111
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
2112
                                              description: Path to access on the HTTP server.
2113
2114
2115
2116
2117
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2118
2119
2120
2121
                                              description: |-
                                                Name or number of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
2122
2123
                                              x-kubernetes-int-or-string: true
                                            scheme:
2124
2125
2126
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
2127
                                              type: string
2128
                                          required:
2129
                                            - port
2130
                                          type: object
2131
                                        sleep:
2132
                                          description: Sleep represents a duration that the container should sleep.
2133
                                          properties:
2134
                                            seconds:
2135
                                              description: Seconds is the number of seconds to sleep.
2136
2137
2138
2139
2140
2141
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
2142
2143
2144
2145
                                          description: |-
                                            Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
                                            for backward compatibility. There is no validation of this field and
                                            lifecycle hooks will fail at runtime when it is specified.
2146
2147
                                          properties:
                                            host:
2148
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
2149
                                              type: string
2150
2151
2152
2153
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2154
2155
2156
2157
                                              description: |-
                                                Number or name of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
2158
                                              x-kubernetes-int-or-string: true
2159
                                          required:
2160
                                            - port
2161
                                          type: object
2162
2163
                                      type: object
                                    preStop:
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
                                      description: |-
                                        PreStop is called immediately before a container is terminated due to an
                                        API request or management event such as liveness/startup probe failure,
                                        preemption, resource contention, etc. The handler is not called if the
                                        container crashes or exits. The Pod's termination grace period countdown begins before the
                                        PreStop hook is executed. Regardless of the outcome of the handler, the
                                        container will eventually terminate within the Pod's termination grace
                                        period (unless delayed by finalizers). Other management of the container blocks until the hook completes
                                        or until the termination grace period is reached.
                                        More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
2174
2175
                                      properties:
                                        exec:
2176
                                          description: Exec specifies a command to execute in the container.
2177
                                          properties:
2178
                                            command:
2179
2180
2181
2182
2183
2184
                                              description: |-
                                                Command is the command line to execute inside the container, the working directory for the
                                                command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                                not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                                a shell, you need to explicitly call out to that shell.
                                                Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
2185
2186
2187
2188
2189
2190
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
2191
                                          description: HTTPGet specifies an HTTP GET request to perform.
2192
2193
                                          properties:
                                            host:
2194
2195
2196
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
2197
                                              type: string
2198
                                            httpHeaders:
2199
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
2200
                                              items:
2201
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
2202
2203
                                                properties:
                                                  name:
2204
2205
2206
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
2207
2208
                                                    type: string
                                                  value:
2209
                                                    description: The header field value
2210
2211
2212
2213
2214
2215
2216
2217
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
2218
                                              description: Path to access on the HTTP server.
2219
2220
                                              type: string
                                            port:
2221
                                              anyOf:
2222
2223
                                                - type: integer
                                                - type: string
2224
2225
2226
2227
                                              description: |-
                                                Name or number of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
2228
                                              x-kubernetes-int-or-string: true
2229
                                            scheme:
2230
2231
2232
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
2233
2234
                                              type: string
                                          required:
2235
                                            - port
2236
                                          type: object
2237
                                        sleep:
2238
                                          description: Sleep represents a duration that the container should sleep.
2239
                                          properties:
2240
                                            seconds:
2241
                                              description: Seconds is the number of seconds to sleep.
2242
2243
2244
2245
2246
2247
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
2248
2249
2250
2251
                                          description: |-
                                            Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
                                            for backward compatibility. There is no validation of this field and
                                            lifecycle hooks will fail at runtime when it is specified.
2252
2253
                                          properties:
                                            host:
2254
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
2255
                                              type: string
2256
2257
2258
2259
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2260
2261
2262
2263
                                              description: |-
                                                Number or name of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
2264
                                              x-kubernetes-int-or-string: true
2265
                                          required:
2266
                                            - port
2267
2268
                                          type: object
                                      type: object
2269
                                    stopSignal:
2270
2271
2272
2273
                                      description: |-
                                        StopSignal defines which signal will be sent to a container when it is being stopped.
                                        If not specified, the default is defined by the container runtime in use.
                                        StopSignal can only be set for Pods with a non-empty .spec.os.name
2274
                                      type: string
2275
                                  type: object
2276
                                livenessProbe:
2277
2278
2279
2280
2281
                                  description: |-
                                    Periodic probe of container liveness.
                                    Container will be restarted if the probe fails.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2282
                                  properties:
2283
                                    exec:
2284
                                      description: Exec specifies a command to execute in the container.
2285
2286
                                      properties:
                                        command:
2287
2288
2289
2290
2291
2292
                                          description: |-
                                            Command is the command line to execute inside the container, the working directory for the
                                            command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                            not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                            a shell, you need to explicitly call out to that shell.
                                            Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
2293
2294
2295
2296
2297
2298
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2299
2300
2301
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2302
2303
2304
                                      format: int32
                                      type: integer
                                    grpc:
2305
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2306
                                      properties:
2307
                                        port:
2308
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2309
2310
2311
                                          format: int32
                                          type: integer
                                        service:
2312
                                          default: ""
2313
2314
2315
2316
2317
                                          description: |-
                                            Service is the name of the service to place in the gRPC HealthCheckRequest
                                            (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                            If this is not specified, the default behavior is defined by gRPC.
2318
                                          type: string
2319
2320
                                      required:
                                        - port
2321
                                      type: object
2322
                                    httpGet:
2323
                                      description: HTTPGet specifies an HTTP GET request to perform.
2324
                                      properties:
2325
                                        host:
2326
2327
2328
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2329
                                          type: string
2330
                                        httpHeaders:
2331
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2332
                                          items:
2333
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2334
2335
                                            properties:
                                              name:
2336
2337
2338
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2339
2340
                                                type: string
                                              value:
2341
                                                description: The header field value
2342
2343
                                                type: string
                                            required:
2344
2345
                                              - name
                                              - value
2346
2347
2348
2349
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2350
                                          description: Path to access on the HTTP server.
2351
2352
2353
                                          type: string
                                        port:
                                          anyOf:
2354
2355
                                            - type: integer
                                            - type: string
2356
2357
2358
2359
                                          description: |-
                                            Name or number of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
2360
2361
                                          x-kubernetes-int-or-string: true
                                        scheme:
2362
2363
2364
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2365
2366
                                          type: string
                                      required:
2367
                                        - port
2368
2369
                                      type: object
                                    initialDelaySeconds:
2370
2371
2372
                                      description: |-
                                        Number of seconds after the container has started before liveness probes are initiated.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2373
2374
2375
                                      format: int32
                                      type: integer
                                    periodSeconds:
2376
2377
2378
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2379
2380
2381
                                      format: int32
                                      type: integer
                                    successThreshold:
2382
2383
2384
                                      description: |-
                                        Minimum consecutive successes for the probe to be considered successful after having failed.
                                        Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
2385
2386
2387
                                      format: int32
                                      type: integer
                                    tcpSocket:
2388
                                      description: TCPSocket specifies a connection to a TCP port.
2389
2390
                                      properties:
                                        host:
2391
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2392
2393
2394
                                          type: string
                                        port:
                                          anyOf:
2395
2396
                                            - type: integer
                                            - type: string
2397
2398
2399
2400
                                          description: |-
                                            Number or name of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
2401
2402
                                          x-kubernetes-int-or-string: true
                                      required:
2403
                                        - port
2404
2405
                                      type: object
                                    terminationGracePeriodSeconds:
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
                                      description: |-
                                        Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                        The grace period is the duration in seconds after the processes running in the pod are sent
                                        a termination signal and the time when the processes are forcibly halted with a kill signal.
                                        Set this value longer than the expected cleanup time for your process.
                                        If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                        value overrides the value provided by the pod spec.
                                        Value must be non-negative integer. The value zero indicates stop immediately via
                                        the kill signal (no opportunity to shut down).
                                        This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                        Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
2417
2418
2419
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
2420
2421
2422
2423
                                      description: |-
                                        Number of seconds after which the probe times out.
                                        Defaults to 1 second. Minimum value is 1.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2424
2425
2426
2427
                                      format: int32
                                      type: integer
                                  type: object
                                name:
2428
2429
2430
2431
                                  description: |-
                                    Name of the container specified as a DNS_LABEL.
                                    Each container in a pod must have a unique name (DNS_LABEL).
                                    Cannot be updated.
2432
2433
                                  type: string
                                ports:
2434
2435
2436
2437
2438
2439
2440
2441
                                  description: |-
                                    List of ports to expose from the container. Not specifying a port here
                                    DOES NOT prevent that port from being exposed. Any port which is
                                    listening on the default "0.0.0.0" address inside a container will be
                                    accessible from the network.
                                    Modifying this array with strategic merge patch may corrupt the data.
                                    For more information See https://github.com/kubernetes/kubernetes/issues/108255.
                                    Cannot be updated.
2442
                                  items:
2443
                                    description: ContainerPort represents a network port in a single container.
2444
                                    properties:
2445
                                      containerPort:
2446
2447
2448
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
2449
2450
2451
                                        format: int32
                                        type: integer
                                      hostIP:
2452
                                        description: What host IP to bind the external port to.
2453
2454
                                        type: string
                                      hostPort:
2455
2456
2457
2458
2459
                                        description: |-
                                          Number of port to expose on the host.
                                          If specified, this must be a valid port number, 0 < x < 65536.
                                          If HostNetwork is specified, this must match ContainerPort.
                                          Most containers do not need this.
2460
2461
2462
                                        format: int32
                                        type: integer
                                      name:
2463
2464
2465
2466
                                        description: |-
                                          If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
                                          named port in a pod must have a unique name. Name for the port that can be
                                          referred to by services.
2467
2468
2469
                                        type: string
                                      protocol:
                                        default: TCP
2470
2471
2472
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
                                        type: string
                                    required:
                                      - containerPort
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
2483
2484
2485
2486
2487
                                  description: |-
                                    Periodic probe of container service readiness.
                                    Container will be removed from service endpoints if the probe fails.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2488
2489
                                  properties:
                                    exec:
2490
                                      description: Exec specifies a command to execute in the container.
2491
2492
                                      properties:
                                        command:
2493
2494
2495
2496
2497
2498
                                          description: |-
                                            Command is the command line to execute inside the container, the working directory for the
                                            command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                            not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                            a shell, you need to explicitly call out to that shell.
                                            Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
2499
                                          items:
2500
                                            type: string
2501
2502
2503
2504
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2505
2506
2507
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2508
2509
2510
                                      format: int32
                                      type: integer
                                    grpc:
2511
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2512
2513
                                      properties:
                                        port:
2514
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2515
2516
2517
2518
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
2519
2520
2521
2522
2523
                                          description: |-
                                            Service is the name of the service to place in the gRPC HealthCheckRequest
                                            (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                            If this is not specified, the default behavior is defined by gRPC.
2524
2525
2526
2527
2528
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
2529
                                      description: HTTPGet specifies an HTTP GET request to perform.
2530
2531
                                      properties:
                                        host:
2532
2533
2534
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2535
2536
                                          type: string
                                        httpHeaders:
2537
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2538
                                          items:
2539
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2540
2541
                                            properties:
                                              name:
2542
2543
2544
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2545
2546
                                                type: string
                                              value:
2547
                                                description: The header field value
2548
2549
                                                type: string
                                            required:
2550
2551
                                              - name
                                              - value
2552
2553
2554
2555
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2556
                                          description: Path to access on the HTTP server.
2557
2558
2559
                                          type: string
                                        port:
                                          anyOf:
2560
2561
                                            - type: integer
                                            - type: string
2562
2563
2564
2565
                                          description: |-
                                            Name or number of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
2566
2567
                                          x-kubernetes-int-or-string: true
                                        scheme:
2568
2569
2570
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2571
2572
                                          type: string
                                      required:
2573
                                        - port
2574
2575
                                      type: object
                                    initialDelaySeconds:
2576
2577
2578
                                      description: |-
                                        Number of seconds after the container has started before liveness probes are initiated.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2579
2580
2581
                                      format: int32
                                      type: integer
                                    periodSeconds:
2582
2583
2584
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2585
2586
2587
                                      format: int32
                                      type: integer
                                    successThreshold:
2588
2589
2590
                                      description: |-
                                        Minimum consecutive successes for the probe to be considered successful after having failed.
                                        Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
2591
2592
2593
                                      format: int32
                                      type: integer
                                    tcpSocket:
2594
                                      description: TCPSocket specifies a connection to a TCP port.
2595
2596
                                      properties:
                                        host:
2597
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2598
                                          type: string
2599
2600
2601
2602
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
2603
2604
2605
2606
                                          description: |-
                                            Number or name of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
2607
2608
2609
2610
2611
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
                                      description: |-
                                        Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                        The grace period is the duration in seconds after the processes running in the pod are sent
                                        a termination signal and the time when the processes are forcibly halted with a kill signal.
                                        Set this value longer than the expected cleanup time for your process.
                                        If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                        value overrides the value provided by the pod spec.
                                        Value must be non-negative integer. The value zero indicates stop immediately via
                                        the kill signal (no opportunity to shut down).
                                        This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                        Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
2623
2624
2625
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
2626
2627
2628
2629
                                      description: |-
                                        Number of seconds after which the probe times out.
                                        Defaults to 1 second. Minimum value is 1.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2630
2631
2632
2633
                                      format: int32
                                      type: integer
                                  type: object
                                resizePolicy:
2634
                                  description: Resources resize policy for the container.
2635
                                  items:
2636
                                    description: ContainerResizePolicy represents resource resize policy for the container.
2637
                                    properties:
2638
                                      resourceName:
2639
2640
2641
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
2642
2643
                                        type: string
                                      restartPolicy:
2644
2645
2646
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
2647
2648
                                        type: string
                                    required:
2649
2650
                                      - resourceName
                                      - restartPolicy
2651
                                    type: object
2652
2653
2654
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
2655
2656
2657
2658
                                  description: |-
                                    Compute Resources required by this container.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2659
2660
                                  properties:
                                    claims:
2661
2662
2663
2664
2665
2666
2667
2668
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

                                        This is an alpha field and requires enabling the
                                        DynamicResourceAllocation feature gate.

                                        This field is immutable. It can only be set for containers.
2669
                                      items:
2670
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
2671
2672
                                        properties:
                                          name:
2673
2674
2675
2676
                                            description: |-
                                              Name must match the name of one entry in pod.spec.resourceClaims of
                                              the Pod where this field is used. It makes that resource available
                                              inside a container.
2677
2678
                                            type: string
                                          request:
2679
2680
2681
2682
                                            description: |-
                                              Request is the name chosen for a request in the referenced claim.
                                              If empty, everything from the claim is made available, otherwise
                                              only the result of this request.
2683
2684
                                            type: string
                                        required:
2685
                                          - name
2686
2687
2688
2689
2690
2691
2692
                                        type: object
                                      type: array
                                      x-kubernetes-list-map-keys:
                                        - name
                                      x-kubernetes-list-type: map
                                    limits:
                                      additionalProperties:
2693
                                        anyOf:
2694
2695
2696
                                          - type: integer
                                          - type: string
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
2697
                                        x-kubernetes-int-or-string: true
2698
2699
2700
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2701
2702
2703
                                      type: object
                                    requests:
                                      additionalProperties:
2704
                                        anyOf:
2705
2706
2707
                                          - type: integer
                                          - type: string
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
2708
                                        x-kubernetes-int-or-string: true
2709
2710
2711
2712
2713
                                      description: |-
                                        Requests describes the minimum amount of compute resources required.
                                        If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
                                        otherwise to an implementation-defined value. Requests cannot exceed Limits.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2714
2715
2716
                                      type: object
                                  type: object
                                restartPolicy:
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
                                  description: |-
                                    RestartPolicy defines the restart behavior of individual containers in a pod.
                                    This field may only be set for init containers, and the only allowed value is "Always".
                                    For non-init containers or when this field is not specified,
                                    the restart behavior is defined by the Pod's restart policy and the container type.
                                    Setting the RestartPolicy as "Always" for the init container will have the following effect:
                                    this init container will be continually restarted on
                                    exit until all regular containers have terminated. Once all regular
                                    containers have completed, all init containers with restartPolicy "Always"
                                    will be shut down. This lifecycle differs from normal init containers and
                                    is often referred to as a "sidecar" container. Although this init
                                    container still starts in the init container sequence, it does not wait
                                    for the container to complete before proceeding to the next init
                                    container. Instead, the next init container starts immediately after this
                                    init container is started, or after any startupProbe has successfully
                                    completed.
2733
2734
                                  type: string
                                securityContext:
2735
2736
2737
2738
                                  description: |-
                                    SecurityContext defines the security options the container should be run with.
                                    If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
                                    More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
2739
                                  properties:
2740
                                    allowPrivilegeEscalation:
2741
2742
2743
2744
2745
2746
2747
2748
                                      description: |-
                                        AllowPrivilegeEscalation controls whether a process can gain more
                                        privileges than its parent process. This bool directly controls if
                                        the no_new_privs flag will be set on the container process.
                                        AllowPrivilegeEscalation is true always when the container is:
                                        1) run as Privileged
                                        2) has CAP_SYS_ADMIN
                                        Note that this field cannot be set when spec.os.name is windows.
2749
2750
                                      type: boolean
                                    appArmorProfile:
2751
2752
2753
2754
                                      description: |-
                                        appArmorProfile is the AppArmor options to use by this container. If set, this profile
                                        overrides the pod's appArmorProfile.
                                        Note that this field cannot be set when spec.os.name is windows.
2755
2756
                                      properties:
                                        localhostProfile:
2757
2758
2759
2760
2761
                                          description: |-
                                            localhostProfile indicates a profile loaded on the node that should be used.
                                            The profile must be preconfigured on the node to work.
                                            Must match the loaded name of the profile.
                                            Must be set if and only if type is "Localhost".
2762
2763
                                          type: string
                                        type:
2764
2765
2766
2767
2768
2769
                                          description: |-
                                            type indicates which kind of AppArmor profile will be applied.
                                            Valid options are:
                                              Localhost - a profile pre-loaded on the node.
                                              RuntimeDefault - the container runtime's default profile.
                                              Unconfined - no AppArmor enforcement.
2770
2771
2772
2773
2774
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
2775
2776
2777
2778
                                      description: |-
                                        The capabilities to add/drop when running containers.
                                        Defaults to the default set of capabilities granted by the container runtime.
                                        Note that this field cannot be set when spec.os.name is windows.
2779
2780
                                      properties:
                                        add:
2781
                                          description: Added capabilities
2782
                                          items:
2783
                                            description: Capability represent POSIX capabilities type
2784
2785
2786
2787
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
2788
                                          description: Removed capabilities
2789
                                          items:
2790
                                            description: Capability represent POSIX capabilities type
2791
2792
2793
2794
2795
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
2796
2797
2798
2799
2800
                                      description: |-
                                        Run container in privileged mode.
                                        Processes in privileged containers are essentially equivalent to root on the host.
                                        Defaults to false.
                                        Note that this field cannot be set when spec.os.name is windows.
2801
2802
                                      type: boolean
                                    procMount:
2803
2804
2805
2806
2807
2808
                                      description: |-
                                        procMount denotes the type of proc mount to use for the containers.
                                        The default value is Default which uses the container runtime defaults for
                                        readonly paths and masked paths.
                                        This requires the ProcMountType feature flag to be enabled.
                                        Note that this field cannot be set when spec.os.name is windows.
2809
2810
                                      type: string
                                    readOnlyRootFilesystem:
2811
2812
2813
2814
                                      description: |-
                                        Whether this container has a read-only root filesystem.
                                        Default is false.
                                        Note that this field cannot be set when spec.os.name is windows.
2815
2816
                                      type: boolean
                                    runAsGroup:
2817
2818
2819
2820
2821
2822
                                      description: |-
                                        The GID to run the entrypoint of the container process.
                                        Uses runtime default if unset.
                                        May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is windows.
2823
2824
2825
                                      format: int64
                                      type: integer
                                    runAsNonRoot:
2826
2827
2828
2829
2830
2831
2832
                                      description: |-
                                        Indicates that the container must run as a non-root user.
                                        If true, the Kubelet will validate the image at runtime to ensure that it
                                        does not run as UID 0 (root) and fail to start the container if it does.
                                        If unset or false, no such validation will be performed.
                                        May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
2833
2834
                                      type: boolean
                                    runAsUser:
2835
2836
2837
2838
2839
2840
                                      description: |-
                                        The UID to run the entrypoint of the container process.
                                        Defaults to user specified in image metadata if unspecified.
                                        May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is windows.
2841
2842
2843
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
2844
2845
2846
2847
2848
2849
                                      description: |-
                                        The SELinux context to be applied to the container.
                                        If unspecified, the container runtime will allocate a random SELinux context for each
                                        container.  May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is windows.
2850
2851
                                      properties:
                                        level:
2852
                                          description: Level is SELinux level label that applies to the container.
2853
2854
                                          type: string
                                        role:
2855
                                          description: Role is a SELinux role label that applies to the container.
2856
2857
                                          type: string
                                        type:
2858
                                          description: Type is a SELinux type label that applies to the container.
2859
2860
                                          type: string
                                        user:
2861
                                          description: User is a SELinux user label that applies to the container.
2862
2863
2864
                                          type: string
                                      type: object
                                    seccompProfile:
2865
2866
2867
2868
2869
                                      description: |-
                                        The seccomp options to use by this container. If seccomp options are
                                        provided at both the pod & container level, the container options
                                        override the pod options.
                                        Note that this field cannot be set when spec.os.name is windows.
2870
2871
                                      properties:
                                        localhostProfile:
2872
2873
2874
2875
2876
                                          description: |-
                                            localhostProfile indicates a profile defined in a file on the node should be used.
                                            The profile must be preconfigured on the node to work.
                                            Must be a descending path, relative to the kubelet's configured seccomp profile location.
                                            Must be set if type is "Localhost". Must NOT be set for any other type.
2877
2878
                                          type: string
                                        type:
2879
2880
2881
2882
2883
2884
2885
                                          description: |-
                                            type indicates which kind of seccomp profile will be applied.
                                            Valid options are:

                                            Localhost - a profile defined in a file on the node should be used.
                                            RuntimeDefault - the container runtime default profile should be used.
                                            Unconfined - no profile should be applied.
2886
2887
2888
2889
2890
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
2891
2892
2893
2894
2895
                                      description: |-
                                        The Windows specific settings applied to all containers.
                                        If unspecified, the options from the PodSecurityContext will be used.
                                        If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is linux.
2896
2897
                                      properties:
                                        gmsaCredentialSpec:
2898
2899
2900
2901
                                          description: |-
                                            GMSACredentialSpec is where the GMSA admission webhook
                                            (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
                                            GMSA credential spec named by the GMSACredentialSpecName field.
2902
2903
                                          type: string
                                        gmsaCredentialSpecName:
2904
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
2905
2906
                                          type: string
                                        hostProcess:
2907
2908
2909
2910
2911
                                          description: |-
                                            HostProcess determines if a container should be run as a 'Host Process' container.
                                            All of a Pod's containers must have the same effective HostProcess value
                                            (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
                                            In addition, if HostProcess is true then HostNetwork must also be set to true.
2912
2913
                                          type: boolean
                                        runAsUserName:
2914
2915
2916
2917
2918
                                          description: |-
                                            The UserName in Windows to run the entrypoint of the container process.
                                            Defaults to the user specified in image metadata if unspecified.
                                            May also be set in PodSecurityContext. If set in both SecurityContext and
                                            PodSecurityContext, the value specified in SecurityContext takes precedence.
2919
2920
2921
2922
                                          type: string
                                      type: object
                                  type: object
                                startupProbe:
2923
2924
2925
2926
2927
2928
2929
2930
                                  description: |-
                                    StartupProbe indicates that the Pod has successfully initialized.
                                    If specified, no other probes are executed until this completes successfully.
                                    If this probe fails, the Pod will be restarted, just as if the livenessProbe failed.
                                    This can be used to provide different probe parameters at the beginning of a Pod's lifecycle,
                                    when it might take a long time to load data or warm a cache, than during steady-state operation.
                                    This cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2931
2932
                                  properties:
                                    exec:
2933
                                      description: Exec specifies a command to execute in the container.
2934
2935
                                      properties:
                                        command:
2936
2937
2938
2939
2940
2941
                                          description: |-
                                            Command is the command line to execute inside the container, the working directory for the
                                            command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                            not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                            a shell, you need to explicitly call out to that shell.
                                            Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
2942
2943
2944
2945
2946
2947
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2948
2949
2950
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2951
2952
                                      format: int32
                                      type: integer
2953
                                    grpc:
2954
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2955
2956
                                      properties:
                                        port:
2957
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2958
2959
2960
2961
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
2962
2963
2964
2965
2966
                                          description: |-
                                            Service is the name of the service to place in the gRPC HealthCheckRequest
                                            (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                            If this is not specified, the default behavior is defined by gRPC.
2967
2968
2969
2970
2971
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
2972
                                      description: HTTPGet specifies an HTTP GET request to perform.
2973
2974
                                      properties:
                                        host:
2975
2976
2977
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2978
2979
                                          type: string
                                        httpHeaders:
2980
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2981
                                          items:
2982
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2983
2984
                                            properties:
                                              name:
2985
2986
2987
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2988
2989
                                                type: string
                                              value:
2990
                                                description: The header field value
2991
2992
2993
2994
2995
2996
2997
2998
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2999
                                          description: Path to access on the HTTP server.
3000
3001
3002
3003
3004
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3005
3006
3007
3008
                                          description: |-
                                            Name or number of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
3009
3010
                                          x-kubernetes-int-or-string: true
                                        scheme:
3011
3012
3013
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
3014
3015
3016
3017
3018
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
3019
3020
3021
                                      description: |-
                                        Number of seconds after the container has started before liveness probes are initiated.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
3022
3023
                                      format: int32
                                      type: integer
3024
                                    periodSeconds:
3025
3026
3027
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
3028
3029
3030
                                      format: int32
                                      type: integer
                                    successThreshold:
3031
3032
3033
                                      description: |-
                                        Minimum consecutive successes for the probe to be considered successful after having failed.
                                        Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
3034
3035
3036
                                      format: int32
                                      type: integer
                                    tcpSocket:
3037
                                      description: TCPSocket specifies a connection to a TCP port.
3038
3039
                                      properties:
                                        host:
3040
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
3041
                                          type: string
3042
3043
3044
3045
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3046
3047
3048
3049
                                          description: |-
                                            Number or name of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
3050
3051
3052
3053
3054
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
                                      description: |-
                                        Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                        The grace period is the duration in seconds after the processes running in the pod are sent
                                        a termination signal and the time when the processes are forcibly halted with a kill signal.
                                        Set this value longer than the expected cleanup time for your process.
                                        If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                        value overrides the value provided by the pod spec.
                                        Value must be non-negative integer. The value zero indicates stop immediately via
                                        the kill signal (no opportunity to shut down).
                                        This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                        Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
3066
3067
3068
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
3069
3070
3071
3072
                                      description: |-
                                        Number of seconds after which the probe times out.
                                        Defaults to 1 second. Minimum value is 1.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
3073
3074
3075
3076
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
3077
3078
3079
3080
                                  description: |-
                                    Whether this container should allocate a buffer for stdin in the container runtime. If this
                                    is not set, reads from stdin in the container will always result in EOF.
                                    Default is false.
3081
3082
                                  type: boolean
                                stdinOnce:
3083
3084
3085
3086
3087
3088
3089
3090
                                  description: |-
                                    Whether the container runtime should close the stdin channel after it has been opened by
                                    a single attach. When stdin is true the stdin stream will remain open across multiple attach
                                    sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
                                    first client attaches to stdin, and then remains open and accepts data until the client disconnects,
                                    at which time stdin is closed and remains closed until the container is restarted. If this
                                    flag is false, a container processes that reads from stdin will never receive an EOF.
                                    Default is false
3091
3092
                                  type: boolean
                                terminationMessagePath:
3093
3094
3095
3096
3097
3098
3099
3100
                                  description: |-
                                    Optional: Path at which the file to which the container's termination message
                                    will be written is mounted into the container's filesystem.
                                    Message written is intended to be brief final status, such as an assertion failure message.
                                    Will be truncated by the node if greater than 4096 bytes. The total message length across
                                    all containers will be limited to 12kb.
                                    Defaults to /dev/termination-log.
                                    Cannot be updated.
3101
3102
                                  type: string
                                terminationMessagePolicy:
3103
3104
3105
3106
3107
3108
3109
3110
                                  description: |-
                                    Indicate how the termination message should be populated. File will use the contents of
                                    terminationMessagePath to populate the container status message on both success and failure.
                                    FallbackToLogsOnError will use the last chunk of container log output if the termination
                                    message file is empty and the container exited with an error.
                                    The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
                                    Defaults to File.
                                    Cannot be updated.
3111
3112
                                  type: string
                                tty:
3113
3114
3115
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
3116
3117
                                  type: boolean
                                volumeDevices:
3118
                                  description: volumeDevices is the list of block devices to be used by the container.
3119
                                  items:
3120
                                    description: volumeDevice describes a mapping of a raw block device within a container.
3121
3122
                                    properties:
                                      devicePath:
3123
                                        description: devicePath is the path inside of the container that the device will be mapped to.
3124
                                        type: string
3125
                                      name:
3126
                                        description: name must match the name of a persistentVolumeClaim in the pod
3127
3128
                                        type: string
                                    required:
3129
3130
                                      - devicePath
                                      - name
3131
                                    type: object
3132
3133
3134
3135
3136
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
3137
3138
3139
                                  description: |-
                                    Pod volumes to mount into the container's filesystem.
                                    Cannot be updated.
3140
                                  items:
3141
                                    description: VolumeMount describes a mounting of a Volume within a container.
3142
                                    properties:
3143
                                      mountPath:
3144
3145
3146
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
3147
3148
                                        type: string
                                      mountPropagation:
3149
3150
3151
3152
3153
3154
3155
                                        description: |-
                                          mountPropagation determines how mounts are propagated from the host
                                          to container and the other way around.
                                          When not set, MountPropagationNone is used.
                                          This field is beta in 1.10.
                                          When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
                                          (which defaults to None).
3156
3157
                                        type: string
                                      name:
3158
                                        description: This must match the Name of a Volume.
3159
3160
                                        type: string
                                      readOnly:
3161
3162
3163
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
3164
3165
                                        type: boolean
                                      recursiveReadOnly:
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
                                        description: |-
                                          RecursiveReadOnly specifies whether read-only mounts should be handled
                                          recursively.

                                          If ReadOnly is false, this field has no meaning and must be unspecified.

                                          If ReadOnly is true, and this field is set to Disabled, the mount is not made
                                          recursively read-only.  If this field is set to IfPossible, the mount is made
                                          recursively read-only, if it is supported by the container runtime.  If this
                                          field is set to Enabled, the mount is made recursively read-only if it is
                                          supported by the container runtime, otherwise the pod will not be started and
                                          an error will be generated to indicate the reason.

                                          If this field is set to IfPossible or Enabled, MountPropagation must be set to
                                          None (or be unspecified, which defaults to None).

                                          If this field is not specified, it is treated as an equivalent of Disabled.
3183
3184
                                        type: string
                                      subPath:
3185
3186
3187
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
3188
3189
                                        type: string
                                      subPathExpr:
3190
3191
3192
3193
3194
                                        description: |-
                                          Expanded path within the volume from which the container's volume should be mounted.
                                          Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
                                          Defaults to "" (volume's root).
                                          SubPathExpr and SubPath are mutually exclusive.
3195
3196
                                        type: string
                                    required:
3197
3198
                                      - mountPath
                                      - name
3199
                                    type: object
3200
3201
3202
3203
3204
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
3205
3206
3207
3208
3209
                                  description: |-
                                    Container's working directory.
                                    If not specified, the container runtime's default will be used, which
                                    might be configured in the container image.
                                    Cannot be updated.
3210
3211
3212
3213
3214
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
3215
3216
3217
3218
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          dnsConfig:
3219
3220
3221
3222
                            description: |-
                              Specifies the DNS parameters of a pod.
                              Parameters specified here will be merged to the generated DNS
                              configuration based on DNSPolicy.
3223
                            properties:
3224
                              nameservers:
3225
3226
3227
3228
                                description: |-
                                  A list of DNS name server IP addresses.
                                  This will be appended to the base nameservers generated from DNSPolicy.
                                  Duplicated nameservers will be removed.
3229
3230
3231
3232
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
3233
                              options:
3234
3235
3236
3237
3238
                                description: |-
                                  A list of DNS resolver options.
                                  This will be merged with the base options generated from DNSPolicy.
                                  Duplicated entries will be removed. Resolution options given in Options
                                  will override those that appear in the base DNSPolicy.
3239
                                items:
3240
                                  description: PodDNSConfigOption defines DNS resolver options of a pod.
3241
                                  properties:
3242
                                    name:
3243
3244
3245
                                      description: |-
                                        Name is this DNS resolver option's name.
                                        Required.
3246
                                      type: string
3247
                                    value:
3248
                                      description: Value is this DNS resolver option's value.
3249
                                      type: string
3250
3251
3252
3253
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              searches:
3254
3255
3256
3257
                                description: |-
                                  A list of DNS search domains for host-name lookup.
                                  This will be appended to the base search paths generated from DNSPolicy.
                                  Duplicated search paths will be removed.
3258
3259
3260
3261
3262
3263
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          dnsPolicy:
3264
3265
3266
3267
3268
3269
3270
                            description: |-
                              Set DNS policy for the pod.
                              Defaults to "ClusterFirst".
                              Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
                              DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
                              To have DNS options set along with hostNetwork, you have to specify DNS policy
                              explicitly to 'ClusterFirstWithHostNet'.
3271
3272
                            type: string
                          enableServiceLinks:
3273
3274
3275
3276
                            description: |-
                              EnableServiceLinks indicates whether information about services should be injected into pod's
                              environment variables, matching the syntax of Docker links.
                              Optional: Defaults to true.
3277
3278
                            type: boolean
                          ephemeralContainers:
3279
3280
3281
3282
3283
                            description: |-
                              List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing
                              pod to perform user-initiated actions such as debugging. This list cannot be specified when
                              creating a pod, and it cannot be modified by updating the pod spec. In order to add an
                              ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.
3284
                            items:
3285
3286
3287
3288
3289
3290
3291
3292
3293
                              description: |-
                                An EphemeralContainer is a temporary container that you may add to an existing Pod for
                                user-initiated activities such as debugging. Ephemeral containers have no resource or
                                scheduling guarantees, and they will not be restarted when they exit or when a Pod is
                                removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the
                                Pod to exceed its resource allocation.

                                To add an ephemeral container, use the ephemeralcontainers subresource of an existing
                                Pod. Ephemeral containers may not be removed or restarted.
3294
3295
                              properties:
                                args:
3296
3297
3298
3299
3300
3301
3302
3303
3304
                                  description: |-
                                    Arguments to the entrypoint.
                                    The image's CMD is used if this is not provided.
                                    Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
                                    cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
                                    to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
                                    produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
                                    of whether the variable exists or not. Cannot be updated.
                                    More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
3305
3306
3307
3308
3309
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                command:
3310
3311
3312
3313
3314
3315
3316
3317
3318
                                  description: |-
                                    Entrypoint array. Not executed within a shell.
                                    The image's ENTRYPOINT is used if this is not provided.
                                    Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
                                    cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
                                    to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
                                    produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
                                    of whether the variable exists or not. Cannot be updated.
                                    More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
3319
3320
3321
3322
3323
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
3324
3325
3326
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
3327
                                  items:
3328
                                    description: EnvVar represents an environment variable present in a Container.
3329
3330
                                    properties:
                                      name:
3331
                                        description: Name of the environment variable. Must be a C_IDENTIFIER.
3332
3333
                                        type: string
                                      value:
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
                                        description: |-
                                          Variable references $(VAR_NAME) are expanded
                                          using the previously defined environment variables in the container and
                                          any service environment variables. If a variable cannot be resolved,
                                          the reference in the input string will be unchanged. Double $$ are reduced
                                          to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
                                          "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
                                          Escaped references will never be expanded, regardless of whether the variable
                                          exists or not.
                                          Defaults to "".
3344
3345
                                        type: string
                                      valueFrom:
3346
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
3347
3348
                                        properties:
                                          configMapKeyRef:
3349
                                            description: Selects a key of a ConfigMap.
3350
3351
                                            properties:
                                              key:
3352
                                                description: The key to select.
3353
3354
3355
                                                type: string
                                              name:
                                                default: ""
3356
3357
3358
3359
3360
3361
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
3362
3363
                                                type: string
                                              optional:
3364
                                                description: Specify whether the ConfigMap or its key must be defined
3365
3366
3367
3368
3369
3370
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          fieldRef:
3371
3372
3373
                                            description: |-
                                              Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
                                              spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
3374
3375
                                            properties:
                                              apiVersion:
3376
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
3377
3378
                                                type: string
                                              fieldPath:
3379
                                                description: Path of the field to select in the specified API version.
3380
3381
3382
3383
3384
3385
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          resourceFieldRef:
3386
3387
3388
                                            description: |-
                                              Selects a resource of the container: only resources limits and requests
                                              (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
3389
3390
                                            properties:
                                              containerName:
3391
                                                description: 'Container name: required for volumes, optional for env vars'
3392
3393
3394
3395
3396
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
3397
                                                description: Specifies the output format of the exposed resources, defaults to "1"
3398
3399
3400
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
3401
                                                description: 'Required: resource to select'
3402
3403
3404
3405
3406
3407
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
3408
                                            description: Selects a key of a secret in the pod's namespace
3409
3410
                                            properties:
                                              key:
3411
                                                description: The key of the secret to select from.  Must be a valid secret key.
3412
3413
3414
                                                type: string
                                              name:
                                                default: ""
3415
3416
3417
3418
3419
3420
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
3421
3422
                                                type: string
                                              optional:
3423
                                                description: Specify whether the Secret or its key must be defined
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                        type: object
                                    required:
                                      - name
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - name
                                  x-kubernetes-list-type: map
                                envFrom:
3438
3439
3440
3441
3442
3443
3444
                                  description: |-
                                    List of sources to populate environment variables in the container.
                                    The keys defined within a source must be a C_IDENTIFIER. All invalid keys
                                    will be reported as an event when the container is starting. When a key exists in multiple
                                    sources, the value associated with the last source will take precedence.
                                    Values defined by an Env with a duplicate key will take precedence.
                                    Cannot be updated.
3445
                                  items:
3446
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
3447
3448
                                    properties:
                                      configMapRef:
3449
                                        description: The ConfigMap to select from
3450
3451
3452
                                        properties:
                                          name:
                                            default: ""
3453
3454
3455
3456
3457
3458
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
3459
3460
                                            type: string
                                          optional:
3461
                                            description: Specify whether the ConfigMap must be defined
3462
3463
3464
3465
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      prefix:
3466
                                        description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
3467
3468
                                        type: string
                                      secretRef:
3469
                                        description: The Secret to select from
3470
3471
3472
                                        properties:
                                          name:
                                            default: ""
3473
3474
3475
3476
3477
3478
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
3479
3480
                                            type: string
                                          optional:
3481
                                            description: Specify whether the Secret must be defined
3482
3483
3484
3485
3486
3487
3488
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                image:
3489
3490
3491
                                  description: |-
                                    Container image name.
                                    More info: https://kubernetes.io/docs/concepts/containers/images
3492
3493
                                  type: string
                                imagePullPolicy:
3494
3495
3496
3497
3498
3499
                                  description: |-
                                    Image pull policy.
                                    One of Always, Never, IfNotPresent.
                                    Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
3500
3501
                                  type: string
                                lifecycle:
3502
                                  description: Lifecycle is not allowed for ephemeral containers.
3503
3504
                                  properties:
                                    postStart:
3505
3506
3507
3508
3509
                                      description: |-
                                        PostStart is called immediately after a container is created. If the handler fails,
                                        the container is terminated and restarted according to its restart policy.
                                        Other management of the container blocks until the hook completes.
                                        More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
3510
                                      properties:
3511
                                        exec:
3512
                                          description: Exec specifies a command to execute in the container.
3513
                                          properties:
3514
                                            command:
3515
3516
3517
3518
3519
3520
                                              description: |-
                                                Command is the command line to execute inside the container, the working directory for the
                                                command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                                not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                                a shell, you need to explicitly call out to that shell.
                                                Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
3521
3522
3523
3524
3525
3526
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
3527
                                          description: HTTPGet specifies an HTTP GET request to perform.
3528
3529
                                          properties:
                                            host:
3530
3531
3532
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
3533
                                              type: string
3534
                                            httpHeaders:
3535
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
3536
                                              items:
3537
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
3538
3539
                                                properties:
                                                  name:
3540
3541
3542
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
3543
3544
                                                    type: string
                                                  value:
3545
                                                    description: The header field value
3546
3547
3548
3549
3550
3551
3552
3553
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
3554
                                              description: Path to access on the HTTP server.
3555
3556
3557
3558
3559
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
3560
3561
3562
3563
                                              description: |-
                                                Name or number of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
3564
3565
                                              x-kubernetes-int-or-string: true
                                            scheme:
3566
3567
3568
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
3569
3570
                                              type: string
                                          required:
3571
                                            - port
3572
                                          type: object
3573
                                        sleep:
3574
                                          description: Sleep represents a duration that the container should sleep.
3575
                                          properties:
3576
                                            seconds:
3577
                                              description: Seconds is the number of seconds to sleep.
3578
3579
                                              format: int64
                                              type: integer
3580
                                          required:
3581
                                            - seconds
3582
                                          type: object
3583
                                        tcpSocket:
3584
3585
3586
3587
                                          description: |-
                                            Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
                                            for backward compatibility. There is no validation of this field and
                                            lifecycle hooks will fail at runtime when it is specified.
3588
                                          properties:
3589
                                            host:
3590
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
3591
                                              type: string
3592
                                            port:
3593
3594
3595
                                              anyOf:
                                                - type: integer
                                                - type: string
3596
3597
3598
3599
                                              description: |-
                                                Number or name of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
3600
3601
                                              x-kubernetes-int-or-string: true
                                          required:
3602
                                            - port
3603
                                          type: object
3604
3605
                                      type: object
                                    preStop:
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
                                      description: |-
                                        PreStop is called immediately before a container is terminated due to an
                                        API request or management event such as liveness/startup probe failure,
                                        preemption, resource contention, etc. The handler is not called if the
                                        container crashes or exits. The Pod's termination grace period countdown begins before the
                                        PreStop hook is executed. Regardless of the outcome of the handler, the
                                        container will eventually terminate within the Pod's termination grace
                                        period (unless delayed by finalizers). Other management of the container blocks until the hook completes
                                        or until the termination grace period is reached.
                                        More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
3616
3617
                                      properties:
                                        exec:
3618
                                          description: Exec specifies a command to execute in the container.
3619
                                          properties:
3620
                                            command:
3621
3622
3623
3624
3625
3626
                                              description: |-
                                                Command is the command line to execute inside the container, the working directory for the
                                                command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                                not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                                a shell, you need to explicitly call out to that shell.
                                                Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
3627
3628
3629
3630
3631
3632
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
3633
                                          description: HTTPGet specifies an HTTP GET request to perform.
3634
3635
                                          properties:
                                            host:
3636
3637
3638
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
3639
                                              type: string
3640
                                            httpHeaders:
3641
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
3642
                                              items:
3643
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
3644
3645
                                                properties:
                                                  name:
3646
3647
3648
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
3649
3650
                                                    type: string
                                                  value:
3651
                                                    description: The header field value
3652
3653
3654
3655
3656
3657
3658
3659
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
3660
                                              description: Path to access on the HTTP server.
3661
3662
3663
3664
3665
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
3666
3667
3668
3669
                                              description: |-
                                                Name or number of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
3670
3671
                                              x-kubernetes-int-or-string: true
                                            scheme:
3672
3673
3674
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
3675
3676
                                              type: string
                                          required:
3677
                                            - port
3678
                                          type: object
3679
                                        sleep:
3680
                                          description: Sleep represents a duration that the container should sleep.
3681
3682
                                          properties:
                                            seconds:
3683
                                              description: Seconds is the number of seconds to sleep.
3684
3685
3686
3687
3688
3689
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
3690
3691
3692
3693
                                          description: |-
                                            Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
                                            for backward compatibility. There is no validation of this field and
                                            lifecycle hooks will fail at runtime when it is specified.
3694
3695
                                          properties:
                                            host:
3696
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
3697
3698
3699
3700
3701
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
3702
3703
3704
3705
                                              description: |-
                                                Number or name of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
3706
3707
3708
3709
3710
3711
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    stopSignal:
3712
3713
3714
3715
                                      description: |-
                                        StopSignal defines which signal will be sent to a container when it is being stopped.
                                        If not specified, the default is defined by the container runtime in use.
                                        StopSignal can only be set for Pods with a non-empty .spec.os.name
3716
3717
3718
                                      type: string
                                  type: object
                                livenessProbe:
3719
                                  description: Probes are not allowed for ephemeral containers.
3720
3721
                                  properties:
                                    exec:
3722
                                      description: Exec specifies a command to execute in the container.
3723
3724
                                      properties:
                                        command:
3725
3726
3727
3728
3729
3730
                                          description: |-
                                            Command is the command line to execute inside the container, the working directory for the
                                            command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                            not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                            a shell, you need to explicitly call out to that shell.
                                            Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
3731
3732
3733
3734
3735
3736
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
3737
3738
3739
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
3740
3741
3742
                                      format: int32
                                      type: integer
                                    grpc:
3743
                                      description: GRPC specifies a GRPC HealthCheckRequest.
3744
3745
                                      properties:
                                        port:
3746
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3747
3748
3749
                                          format: int32
                                          type: integer
                                        service:
3750
                                          default: ""
3751
3752
3753
3754
3755
                                          description: |-
                                            Service is the name of the service to place in the gRPC HealthCheckRequest
                                            (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                            If this is not specified, the default behavior is defined by gRPC.
3756
                                          type: string
3757
3758
                                      required:
                                        - port
3759
                                      type: object
3760
                                    httpGet:
3761
                                      description: HTTPGet specifies an HTTP GET request to perform.
3762
                                      properties:
3763
                                        host:
3764
3765
3766
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
3767
3768
                                          type: string
                                        httpHeaders:
3769
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
3770
                                          items:
3771
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
3772
3773
                                            properties:
                                              name:
3774
3775
3776
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
3777
3778
                                                type: string
                                              value:
3779
                                                description: The header field value
3780
3781
3782
3783
3784
3785
3786
3787
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
3788
                                          description: Path to access on the HTTP server.
3789
3790
3791
3792
3793
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3794
3795
3796
3797
                                          description: |-
                                            Name or number of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
3798
3799
                                          x-kubernetes-int-or-string: true
                                        scheme:
3800
3801
3802
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
3803
3804
3805
3806
3807
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
3808
3809
3810
                                      description: |-
                                        Number of seconds after the container has started before liveness probes are initiated.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
3811
3812
3813
                                      format: int32
                                      type: integer
                                    periodSeconds:
3814
3815
3816
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
3817
3818
3819
                                      format: int32
                                      type: integer
                                    successThreshold:
3820
3821
3822
                                      description: |-
                                        Minimum consecutive successes for the probe to be considered successful after having failed.
                                        Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
3823
3824
3825
                                      format: int32
                                      type: integer
                                    tcpSocket:
3826
                                      description: TCPSocket specifies a connection to a TCP port.
3827
3828
                                      properties:
                                        host:
3829
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
3830
3831
3832
3833
3834
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3835
3836
3837
3838
                                          description: |-
                                            Number or name of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
3839
3840
3841
3842
3843
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
                                      description: |-
                                        Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                        The grace period is the duration in seconds after the processes running in the pod are sent
                                        a termination signal and the time when the processes are forcibly halted with a kill signal.
                                        Set this value longer than the expected cleanup time for your process.
                                        If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                        value overrides the value provided by the pod spec.
                                        Value must be non-negative integer. The value zero indicates stop immediately via
                                        the kill signal (no opportunity to shut down).
                                        This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                        Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
3855
3856
3857
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
3858
3859
3860
3861
                                      description: |-
                                        Number of seconds after which the probe times out.
                                        Defaults to 1 second. Minimum value is 1.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
3862
3863
3864
3865
                                      format: int32
                                      type: integer
                                  type: object
                                name:
3866
3867
3868
                                  description: |-
                                    Name of the ephemeral container specified as a DNS_LABEL.
                                    This name must be unique among all containers, init containers and ephemeral containers.
3869
3870
                                  type: string
                                ports:
3871
                                  description: Ports are not allowed for ephemeral containers.
3872
                                  items:
3873
                                    description: ContainerPort represents a network port in a single container.
3874
3875
                                    properties:
                                      containerPort:
3876
3877
3878
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
3879
3880
3881
                                        format: int32
                                        type: integer
                                      hostIP:
3882
                                        description: What host IP to bind the external port to.
3883
3884
                                        type: string
                                      hostPort:
3885
3886
3887
3888
3889
                                        description: |-
                                          Number of port to expose on the host.
                                          If specified, this must be a valid port number, 0 < x < 65536.
                                          If HostNetwork is specified, this must match ContainerPort.
                                          Most containers do not need this.
3890
3891
3892
                                        format: int32
                                        type: integer
                                      name:
3893
3894
3895
3896
                                        description: |-
                                          If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
                                          named port in a pod must have a unique name. Name for the port that can be
                                          referred to by services.
3897
3898
3899
                                        type: string
                                      protocol:
                                        default: TCP
3900
3901
3902
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
                                        type: string
                                    required:
                                      - containerPort
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
3913
                                  description: Probes are not allowed for ephemeral containers.
3914
3915
                                  properties:
                                    exec:
3916
                                      description: Exec specifies a command to execute in the container.
3917
3918
                                      properties:
                                        command:
3919
3920
3921
3922
3923
3924
                                          description: |-
                                            Command is the command line to execute inside the container, the working directory for the
                                            command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                            not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                            a shell, you need to explicitly call out to that shell.
                                            Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
3925
3926
3927
3928
3929
3930
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
3931
3932
3933
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
3934
3935
3936
                                      format: int32
                                      type: integer
                                    grpc:
3937
                                      description: GRPC specifies a GRPC HealthCheckRequest.
3938
3939
                                      properties:
                                        port:
3940
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3941
3942
3943
                                          format: int32
                                          type: integer
                                        service:
3944
                                          default: ""
3945
3946
3947
3948
3949
                                          description: |-
                                            Service is the name of the service to place in the gRPC HealthCheckRequest
                                            (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                            If this is not specified, the default behavior is defined by gRPC.
3950
                                          type: string
3951
3952
                                      required:
                                        - port
3953
                                      type: object
3954
                                    httpGet:
3955
                                      description: HTTPGet specifies an HTTP GET request to perform.
3956
3957
                                      properties:
                                        host:
3958
3959
3960
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
3961
3962
                                          type: string
                                        httpHeaders:
3963
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
3964
                                          items:
3965
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
3966
3967
                                            properties:
                                              name:
3968
3969
3970
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
3971
3972
                                                type: string
                                              value:
3973
                                                description: The header field value
3974
3975
3976
3977
3978
3979
3980
3981
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
3982
                                          description: Path to access on the HTTP server.
3983
3984
3985
3986
3987
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3988
3989
3990
3991
                                          description: |-
                                            Name or number of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
3992
3993
                                          x-kubernetes-int-or-string: true
                                        scheme:
3994
3995
3996
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
3997
3998
3999
4000
4001
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
4002
4003
4004
                                      description: |-
                                        Number of seconds after the container has started before liveness probes are initiated.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4005
4006
4007
                                      format: int32
                                      type: integer
                                    periodSeconds:
4008
4009
4010
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
4011
4012
4013
                                      format: int32
                                      type: integer
                                    successThreshold:
4014
4015
4016
                                      description: |-
                                        Minimum consecutive successes for the probe to be considered successful after having failed.
                                        Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
4017
4018
4019
                                      format: int32
                                      type: integer
                                    tcpSocket:
4020
                                      description: TCPSocket specifies a connection to a TCP port.
4021
4022
                                      properties:
                                        host:
4023
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
4024
4025
4026
4027
4028
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4029
4030
4031
4032
                                          description: |-
                                            Number or name of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
4033
4034
4035
4036
4037
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
                                      description: |-
                                        Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                        The grace period is the duration in seconds after the processes running in the pod are sent
                                        a termination signal and the time when the processes are forcibly halted with a kill signal.
                                        Set this value longer than the expected cleanup time for your process.
                                        If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                        value overrides the value provided by the pod spec.
                                        Value must be non-negative integer. The value zero indicates stop immediately via
                                        the kill signal (no opportunity to shut down).
                                        This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                        Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
4049
4050
4051
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
4052
4053
4054
4055
                                      description: |-
                                        Number of seconds after which the probe times out.
                                        Defaults to 1 second. Minimum value is 1.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4056
4057
                                      format: int32
                                      type: integer
4058
                                  type: object
4059
                                resizePolicy:
4060
                                  description: Resources resize policy for the container.
4061
                                  items:
4062
                                    description: ContainerResizePolicy represents resource resize policy for the container.
4063
                                    properties:
4064
                                      resourceName:
4065
4066
4067
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
4068
4069
                                        type: string
                                      restartPolicy:
4070
4071
4072
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
4073
4074
4075
4076
4077
4078
4079
4080
                                        type: string
                                    required:
                                      - resourceName
                                      - restartPolicy
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
4081
4082
4083
                                  description: |-
                                    Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
                                    already allocated to the pod.
4084
4085
                                  properties:
                                    claims:
4086
4087
4088
4089
4090
4091
4092
4093
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

                                        This is an alpha field and requires enabling the
                                        DynamicResourceAllocation feature gate.

                                        This field is immutable. It can only be set for containers.
4094
                                      items:
4095
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
4096
                                        properties:
4097
                                          name:
4098
4099
4100
4101
                                            description: |-
                                              Name must match the name of one entry in pod.spec.resourceClaims of
                                              the Pod where this field is used. It makes that resource available
                                              inside a container.
4102
                                            type: string
4103
                                          request:
4104
4105
4106
4107
                                            description: |-
                                              Request is the name chosen for a request in the referenced claim.
                                              If empty, everything from the claim is made available, otherwise
                                              only the result of this request.
4108
4109
                                            type: string
                                        required:
4110
                                          - name
4111
                                        type: object
4112
4113
4114
4115
4116
4117
                                      type: array
                                      x-kubernetes-list-map-keys:
                                        - name
                                      x-kubernetes-list-type: map
                                    limits:
                                      additionalProperties:
4118
                                        anyOf:
4119
4120
                                          - type: integer
                                          - type: string
4121
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4122
                                        x-kubernetes-int-or-string: true
4123
4124
4125
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
4126
4127
4128
                                      type: object
                                    requests:
                                      additionalProperties:
4129
                                        anyOf:
4130
4131
                                          - type: integer
                                          - type: string
4132
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4133
                                        x-kubernetes-int-or-string: true
4134
4135
4136
4137
4138
                                      description: |-
                                        Requests describes the minimum amount of compute resources required.
                                        If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
                                        otherwise to an implementation-defined value. Requests cannot exceed Limits.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
4139
4140
4141
                                      type: object
                                  type: object
                                restartPolicy:
4142
4143
4144
4145
4146
                                  description: |-
                                    Restart policy for the container to manage the restart behavior of each
                                    container within a pod.
                                    This may only be set for init containers. You cannot set this field on
                                    ephemeral containers.
4147
4148
                                  type: string
                                securityContext:
4149
4150
4151
                                  description: |-
                                    Optional: SecurityContext defines the security options the ephemeral container should be run with.
                                    If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
4152
                                  properties:
4153
                                    allowPrivilegeEscalation:
4154
4155
4156
4157
4158
4159
4160
4161
                                      description: |-
                                        AllowPrivilegeEscalation controls whether a process can gain more
                                        privileges than its parent process. This bool directly controls if
                                        the no_new_privs flag will be set on the container process.
                                        AllowPrivilegeEscalation is true always when the container is:
                                        1) run as Privileged
                                        2) has CAP_SYS_ADMIN
                                        Note that this field cannot be set when spec.os.name is windows.
4162
4163
                                      type: boolean
                                    appArmorProfile:
4164
4165
4166
4167
                                      description: |-
                                        appArmorProfile is the AppArmor options to use by this container. If set, this profile
                                        overrides the pod's appArmorProfile.
                                        Note that this field cannot be set when spec.os.name is windows.
4168
4169
                                      properties:
                                        localhostProfile:
4170
4171
4172
4173
4174
                                          description: |-
                                            localhostProfile indicates a profile loaded on the node that should be used.
                                            The profile must be preconfigured on the node to work.
                                            Must match the loaded name of the profile.
                                            Must be set if and only if type is "Localhost".
4175
4176
                                          type: string
                                        type:
4177
4178
4179
4180
4181
4182
                                          description: |-
                                            type indicates which kind of AppArmor profile will be applied.
                                            Valid options are:
                                              Localhost - a profile pre-loaded on the node.
                                              RuntimeDefault - the container runtime's default profile.
                                              Unconfined - no AppArmor enforcement.
4183
4184
4185
4186
4187
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
4188
4189
4190
4191
                                      description: |-
                                        The capabilities to add/drop when running containers.
                                        Defaults to the default set of capabilities granted by the container runtime.
                                        Note that this field cannot be set when spec.os.name is windows.
4192
4193
                                      properties:
                                        add:
4194
                                          description: Added capabilities
4195
                                          items:
4196
                                            description: Capability represent POSIX capabilities type
4197
4198
4199
4200
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
4201
                                          description: Removed capabilities
4202
                                          items:
4203
                                            description: Capability represent POSIX capabilities type
4204
4205
4206
4207
4208
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
4209
4210
4211
4212
4213
                                      description: |-
                                        Run container in privileged mode.
                                        Processes in privileged containers are essentially equivalent to root on the host.
                                        Defaults to false.
                                        Note that this field cannot be set when spec.os.name is windows.
4214
4215
                                      type: boolean
                                    procMount:
4216
4217
4218
4219
4220
4221
                                      description: |-
                                        procMount denotes the type of proc mount to use for the containers.
                                        The default value is Default which uses the container runtime defaults for
                                        readonly paths and masked paths.
                                        This requires the ProcMountType feature flag to be enabled.
                                        Note that this field cannot be set when spec.os.name is windows.
4222
                                      type: string
4223
                                    readOnlyRootFilesystem:
4224
4225
4226
4227
                                      description: |-
                                        Whether this container has a read-only root filesystem.
                                        Default is false.
                                        Note that this field cannot be set when spec.os.name is windows.
4228
4229
                                      type: boolean
                                    runAsGroup:
4230
4231
4232
4233
4234
4235
                                      description: |-
                                        The GID to run the entrypoint of the container process.
                                        Uses runtime default if unset.
                                        May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is windows.
4236
                                      format: int64
4237
                                      type: integer
4238
                                    runAsNonRoot:
4239
4240
4241
4242
4243
4244
4245
                                      description: |-
                                        Indicates that the container must run as a non-root user.
                                        If true, the Kubelet will validate the image at runtime to ensure that it
                                        does not run as UID 0 (root) and fail to start the container if it does.
                                        If unset or false, no such validation will be performed.
                                        May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
4246
4247
                                      type: boolean
                                    runAsUser:
4248
4249
4250
4251
4252
4253
                                      description: |-
                                        The UID to run the entrypoint of the container process.
                                        Defaults to user specified in image metadata if unspecified.
                                        May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is windows.
4254
4255
4256
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
4257
4258
4259
4260
4261
4262
                                      description: |-
                                        The SELinux context to be applied to the container.
                                        If unspecified, the container runtime will allocate a random SELinux context for each
                                        container.  May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is windows.
4263
4264
                                      properties:
                                        level:
4265
                                          description: Level is SELinux level label that applies to the container.
4266
4267
                                          type: string
                                        role:
4268
                                          description: Role is a SELinux role label that applies to the container.
4269
4270
                                          type: string
                                        type:
4271
                                          description: Type is a SELinux type label that applies to the container.
4272
4273
                                          type: string
                                        user:
4274
                                          description: User is a SELinux user label that applies to the container.
4275
4276
4277
                                          type: string
                                      type: object
                                    seccompProfile:
4278
4279
4280
4281
4282
                                      description: |-
                                        The seccomp options to use by this container. If seccomp options are
                                        provided at both the pod & container level, the container options
                                        override the pod options.
                                        Note that this field cannot be set when spec.os.name is windows.
4283
4284
                                      properties:
                                        localhostProfile:
4285
4286
4287
4288
4289
                                          description: |-
                                            localhostProfile indicates a profile defined in a file on the node should be used.
                                            The profile must be preconfigured on the node to work.
                                            Must be a descending path, relative to the kubelet's configured seccomp profile location.
                                            Must be set if type is "Localhost". Must NOT be set for any other type.
4290
4291
                                          type: string
                                        type:
4292
4293
4294
4295
4296
4297
4298
                                          description: |-
                                            type indicates which kind of seccomp profile will be applied.
                                            Valid options are:

                                            Localhost - a profile defined in a file on the node should be used.
                                            RuntimeDefault - the container runtime default profile should be used.
                                            Unconfined - no profile should be applied.
4299
4300
4301
4302
4303
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
4304
4305
4306
4307
4308
                                      description: |-
                                        The Windows specific settings applied to all containers.
                                        If unspecified, the options from the PodSecurityContext will be used.
                                        If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is linux.
4309
4310
                                      properties:
                                        gmsaCredentialSpec:
4311
4312
4313
4314
                                          description: |-
                                            GMSACredentialSpec is where the GMSA admission webhook
                                            (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
                                            GMSA credential spec named by the GMSACredentialSpecName field.
4315
4316
                                          type: string
                                        gmsaCredentialSpecName:
4317
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
4318
4319
                                          type: string
                                        hostProcess:
4320
4321
4322
4323
4324
                                          description: |-
                                            HostProcess determines if a container should be run as a 'Host Process' container.
                                            All of a Pod's containers must have the same effective HostProcess value
                                            (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
                                            In addition, if HostProcess is true then HostNetwork must also be set to true.
4325
4326
                                          type: boolean
                                        runAsUserName:
4327
4328
4329
4330
4331
                                          description: |-
                                            The UserName in Windows to run the entrypoint of the container process.
                                            Defaults to the user specified in image metadata if unspecified.
                                            May also be set in PodSecurityContext. If set in both SecurityContext and
                                            PodSecurityContext, the value specified in SecurityContext takes precedence.
4332
4333
                                          type: string
                                      type: object
4334
                                  type: object
4335
                                startupProbe:
4336
                                  description: Probes are not allowed for ephemeral containers.
4337
4338
                                  properties:
                                    exec:
4339
                                      description: Exec specifies a command to execute in the container.
4340
                                      properties:
4341
                                        command:
4342
4343
4344
4345
4346
4347
                                          description: |-
                                            Command is the command line to execute inside the container, the working directory for the
                                            command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                            not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                            a shell, you need to explicitly call out to that shell.
                                            Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
4348
4349
4350
4351
4352
4353
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
4354
4355
4356
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
4357
4358
4359
                                      format: int32
                                      type: integer
                                    grpc:
4360
                                      description: GRPC specifies a GRPC HealthCheckRequest.
4361
4362
                                      properties:
                                        port:
4363
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4364
4365
4366
4367
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
4368
4369
4370
4371
4372
                                          description: |-
                                            Service is the name of the service to place in the gRPC HealthCheckRequest
                                            (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                            If this is not specified, the default behavior is defined by gRPC.
4373
                                          type: string
4374
4375
4376
4377
                                      required:
                                        - port
                                      type: object
                                    httpGet:
4378
                                      description: HTTPGet specifies an HTTP GET request to perform.
4379
4380
                                      properties:
                                        host:
4381
4382
4383
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
4384
4385
                                          type: string
                                        httpHeaders:
4386
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
4387
                                          items:
4388
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
4389
4390
                                            properties:
                                              name:
4391
4392
4393
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
4394
4395
                                                type: string
                                              value:
4396
                                                description: The header field value
4397
4398
4399
4400
4401
4402
4403
4404
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
4405
                                          description: Path to access on the HTTP server.
4406
4407
4408
4409
4410
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4411
4412
4413
4414
                                          description: |-
                                            Name or number of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
4415
4416
                                          x-kubernetes-int-or-string: true
                                        scheme:
4417
4418
4419
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
4420
4421
                                          type: string
                                      required:
4422
                                        - port
4423
                                      type: object
4424
                                    initialDelaySeconds:
4425
4426
4427
                                      description: |-
                                        Number of seconds after the container has started before liveness probes are initiated.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4428
4429
4430
                                      format: int32
                                      type: integer
                                    periodSeconds:
4431
4432
4433
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
4434
4435
4436
                                      format: int32
                                      type: integer
                                    successThreshold:
4437
4438
4439
                                      description: |-
                                        Minimum consecutive successes for the probe to be considered successful after having failed.
                                        Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
4440
4441
4442
                                      format: int32
                                      type: integer
                                    tcpSocket:
4443
                                      description: TCPSocket specifies a connection to a TCP port.
4444
4445
                                      properties:
                                        host:
4446
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
4447
4448
4449
4450
4451
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4452
4453
4454
4455
                                          description: |-
                                            Number or name of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
4456
4457
4458
4459
4460
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
                                      description: |-
                                        Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                        The grace period is the duration in seconds after the processes running in the pod are sent
                                        a termination signal and the time when the processes are forcibly halted with a kill signal.
                                        Set this value longer than the expected cleanup time for your process.
                                        If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                        value overrides the value provided by the pod spec.
                                        Value must be non-negative integer. The value zero indicates stop immediately via
                                        the kill signal (no opportunity to shut down).
                                        This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                        Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
4472
4473
4474
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
4475
4476
4477
4478
                                      description: |-
                                        Number of seconds after which the probe times out.
                                        Defaults to 1 second. Minimum value is 1.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4479
4480
4481
4482
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
4483
4484
4485
4486
                                  description: |-
                                    Whether this container should allocate a buffer for stdin in the container runtime. If this
                                    is not set, reads from stdin in the container will always result in EOF.
                                    Default is false.
4487
4488
                                  type: boolean
                                stdinOnce:
4489
4490
4491
4492
4493
4494
4495
4496
                                  description: |-
                                    Whether the container runtime should close the stdin channel after it has been opened by
                                    a single attach. When stdin is true the stdin stream will remain open across multiple attach
                                    sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
                                    first client attaches to stdin, and then remains open and accepts data until the client disconnects,
                                    at which time stdin is closed and remains closed until the container is restarted. If this
                                    flag is false, a container processes that reads from stdin will never receive an EOF.
                                    Default is false
4497
4498
                                  type: boolean
                                targetContainerName:
4499
4500
4501
4502
4503
4504
4505
                                  description: |-
                                    If set, the name of the container from PodSpec that this ephemeral container targets.
                                    The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container.
                                    If not set then the ephemeral container uses the namespaces configured in the Pod spec.

                                    The container runtime must implement support for this feature. If the runtime does not
                                    support namespace targeting then the result of setting this field is undefined.
4506
4507
                                  type: string
                                terminationMessagePath:
4508
4509
4510
4511
4512
4513
4514
4515
                                  description: |-
                                    Optional: Path at which the file to which the container's termination message
                                    will be written is mounted into the container's filesystem.
                                    Message written is intended to be brief final status, such as an assertion failure message.
                                    Will be truncated by the node if greater than 4096 bytes. The total message length across
                                    all containers will be limited to 12kb.
                                    Defaults to /dev/termination-log.
                                    Cannot be updated.
4516
4517
                                  type: string
                                terminationMessagePolicy:
4518
4519
4520
4521
4522
4523
4524
4525
                                  description: |-
                                    Indicate how the termination message should be populated. File will use the contents of
                                    terminationMessagePath to populate the container status message on both success and failure.
                                    FallbackToLogsOnError will use the last chunk of container log output if the termination
                                    message file is empty and the container exited with an error.
                                    The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
                                    Defaults to File.
                                    Cannot be updated.
4526
4527
                                  type: string
                                tty:
4528
4529
4530
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
4531
4532
                                  type: boolean
                                volumeDevices:
4533
                                  description: volumeDevices is the list of block devices to be used by the container.
4534
                                  items:
4535
                                    description: volumeDevice describes a mapping of a raw block device within a container.
4536
                                    properties:
4537
                                      devicePath:
4538
                                        description: devicePath is the path inside of the container that the device will be mapped to.
4539
                                        type: string
4540
                                      name:
4541
                                        description: name must match the name of a persistentVolumeClaim in the pod
4542
4543
                                        type: string
                                    required:
4544
4545
                                      - devicePath
                                      - name
4546
                                    type: object
4547
4548
4549
4550
4551
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
4552
4553
4554
                                  description: |-
                                    Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
                                    Cannot be updated.
4555
                                  items:
4556
                                    description: VolumeMount describes a mounting of a Volume within a container.
4557
                                    properties:
4558
                                      mountPath:
4559
4560
4561
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
4562
                                        type: string
4563
                                      mountPropagation:
4564
4565
4566
4567
4568
4569
4570
                                        description: |-
                                          mountPropagation determines how mounts are propagated from the host
                                          to container and the other way around.
                                          When not set, MountPropagationNone is used.
                                          This field is beta in 1.10.
                                          When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
                                          (which defaults to None).
4571
                                        type: string
4572
                                      name:
4573
                                        description: This must match the Name of a Volume.
4574
                                        type: string
4575
                                      readOnly:
4576
4577
4578
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
4579
4580
                                        type: boolean
                                      recursiveReadOnly:
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
                                        description: |-
                                          RecursiveReadOnly specifies whether read-only mounts should be handled
                                          recursively.

                                          If ReadOnly is false, this field has no meaning and must be unspecified.

                                          If ReadOnly is true, and this field is set to Disabled, the mount is not made
                                          recursively read-only.  If this field is set to IfPossible, the mount is made
                                          recursively read-only, if it is supported by the container runtime.  If this
                                          field is set to Enabled, the mount is made recursively read-only if it is
                                          supported by the container runtime, otherwise the pod will not be started and
                                          an error will be generated to indicate the reason.

                                          If this field is set to IfPossible or Enabled, MountPropagation must be set to
                                          None (or be unspecified, which defaults to None).

                                          If this field is not specified, it is treated as an equivalent of Disabled.
4598
                                        type: string
4599
                                      subPath:
4600
4601
4602
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
4603
                                        type: string
4604
                                      subPathExpr:
4605
4606
4607
4608
4609
                                        description: |-
                                          Expanded path within the volume from which the container's volume should be mounted.
                                          Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
                                          Defaults to "" (volume's root).
                                          SubPathExpr and SubPath are mutually exclusive.
4610
4611
                                        type: string
                                    required:
4612
4613
                                      - mountPath
                                      - name
4614
                                    type: object
4615
4616
4617
4618
4619
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
4620
4621
4622
4623
4624
                                  description: |-
                                    Container's working directory.
                                    If not specified, the container runtime's default will be used, which
                                    might be configured in the container image.
                                    Cannot be updated.
4625
4626
4627
4628
4629
4630
4631
4632
4633
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          hostAliases:
4634
4635
4636
                            description: |-
                              HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
                              file if specified.
4637
                            items:
4638
4639
4640
                              description: |-
                                HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the
                                pod's hosts file.
4641
4642
                              properties:
                                hostnames:
4643
                                  description: Hostnames for the above IP address.
4644
4645
4646
4647
4648
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                ip:
4649
                                  description: IP address of the host file entry.
4650
4651
4652
4653
4654
4655
4656
4657
4658
                                  type: string
                              required:
                                - ip
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - ip
                            x-kubernetes-list-type: map
                          hostIPC:
4659
4660
4661
                            description: |-
                              Use the host's ipc namespace.
                              Optional: Default to false.
4662
4663
                            type: boolean
                          hostNetwork:
4664
4665
4666
4667
                            description: |-
                              Host networking requested for this pod. Use the host's network namespace.
                              If this option is set, the ports that will be used must be specified.
                              Default to false.
4668
4669
                            type: boolean
                          hostPID:
4670
4671
4672
                            description: |-
                              Use the host's pid namespace.
                              Optional: Default to false.
4673
4674
                            type: boolean
                          hostUsers:
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
                            description: |-
                              Use the host's user namespace.
                              Optional: Default to true.
                              If set to true or not present, the pod will be run in the host user namespace, useful
                              for when the pod needs a feature only available to the host user namespace, such as
                              loading a kernel module with CAP_SYS_MODULE.
                              When set to false, a new userns is created for the pod. Setting false is useful for
                              mitigating container breakout vulnerabilities even allowing users to run their
                              containers as root without actually having root privileges on the host.
                              This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
4685
4686
                            type: boolean
                          hostname:
4687
4688
4689
                            description: |-
                              Specifies the hostname of the Pod
                              If not specified, the pod's hostname will be set to a system-defined value.
4690
4691
                            type: string
                          imagePullSecrets:
4692
4693
4694
4695
                            description: |-
                              ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
                              If specified, these secrets will be passed to individual puller implementations for them to use.
                              More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
4696
                            items:
4697
4698
4699
                              description: |-
                                LocalObjectReference contains enough information to let you locate the
                                referenced object inside the same namespace.
4700
4701
4702
                              properties:
                                name:
                                  default: ""
4703
4704
4705
4706
4707
4708
                                  description: |-
                                    Name of the referent.
                                    This field is effectively required, but due to backwards compatibility is
                                    allowed to be empty. Instances of this type with an empty value here are
                                    almost certainly wrong.
                                    More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4709
4710
4711
4712
4713
4714
4715
4716
                                  type: string
                              type: object
                              x-kubernetes-map-type: atomic
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          initContainers:
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
                            description: |-
                              List of initialization containers belonging to the pod.
                              Init containers are executed in order prior to containers being started. If any
                              init container fails, the pod is considered to have failed and is handled according
                              to its restartPolicy. The name for an init container or normal container must be
                              unique among all containers.
                              Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
                              The resourceRequirements of an init container are taken into account during scheduling
                              by finding the highest request/limit for each resource type, and then using the max of
                              that value or the sum of the normal containers. Limits are applied to init containers
                              in a similar fashion.
                              Init containers cannot currently be added or removed.
                              Cannot be updated.
                              More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
4731
                            items:
4732
                              description: A single application container that you want to run within a pod.
4733
4734
                              properties:
                                args:
4735
4736
4737
4738
4739
4740
4741
4742
4743
                                  description: |-
                                    Arguments to the entrypoint.
                                    The container image's CMD is used if this is not provided.
                                    Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
                                    cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
                                    to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
                                    produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
                                    of whether the variable exists or not. Cannot be updated.
                                    More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
4744
4745
4746
4747
4748
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                command:
4749
4750
4751
4752
4753
4754
4755
4756
4757
                                  description: |-
                                    Entrypoint array. Not executed within a shell.
                                    The container image's ENTRYPOINT is used if this is not provided.
                                    Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
                                    cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
                                    to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
                                    produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
                                    of whether the variable exists or not. Cannot be updated.
                                    More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
4758
4759
4760
4761
4762
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
4763
4764
4765
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
4766
                                  items:
4767
                                    description: EnvVar represents an environment variable present in a Container.
4768
                                    properties:
4769
                                      name:
4770
                                        description: Name of the environment variable. Must be a C_IDENTIFIER.
4771
                                        type: string
4772
                                      value:
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
                                        description: |-
                                          Variable references $(VAR_NAME) are expanded
                                          using the previously defined environment variables in the container and
                                          any service environment variables. If a variable cannot be resolved,
                                          the reference in the input string will be unchanged. Double $$ are reduced
                                          to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
                                          "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
                                          Escaped references will never be expanded, regardless of whether the variable
                                          exists or not.
                                          Defaults to "".
4783
                                        type: string
4784
                                      valueFrom:
4785
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
4786
4787
                                        properties:
                                          configMapKeyRef:
4788
                                            description: Selects a key of a ConfigMap.
4789
4790
                                            properties:
                                              key:
4791
                                                description: The key to select.
4792
4793
4794
                                                type: string
                                              name:
                                                default: ""
4795
4796
4797
4798
4799
4800
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4801
4802
                                                type: string
                                              optional:
4803
                                                description: Specify whether the ConfigMap or its key must be defined
4804
4805
4806
4807
4808
4809
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          fieldRef:
4810
4811
4812
                                            description: |-
                                              Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
                                              spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
4813
4814
                                            properties:
                                              apiVersion:
4815
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
4816
4817
                                                type: string
                                              fieldPath:
4818
                                                description: Path of the field to select in the specified API version.
4819
4820
4821
4822
4823
4824
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          resourceFieldRef:
4825
4826
4827
                                            description: |-
                                              Selects a resource of the container: only resources limits and requests
                                              (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
4828
4829
                                            properties:
                                              containerName:
4830
                                                description: 'Container name: required for volumes, optional for env vars'
4831
4832
4833
4834
4835
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
4836
                                                description: Specifies the output format of the exposed resources, defaults to "1"
4837
4838
4839
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
4840
                                                description: 'Required: resource to select'
4841
4842
4843
4844
4845
4846
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
4847
                                            description: Selects a key of a secret in the pod's namespace
4848
4849
                                            properties:
                                              key:
4850
                                                description: The key of the secret to select from.  Must be a valid secret key.
4851
4852
4853
                                                type: string
                                              name:
                                                default: ""
4854
4855
4856
4857
4858
4859
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4860
4861
                                                type: string
                                              optional:
4862
                                                description: Specify whether the Secret or its key must be defined
4863
4864
4865
4866
4867
4868
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                        type: object
4869
                                    required:
4870
                                      - name
4871
                                    type: object
4872
4873
4874
4875
4876
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - name
                                  x-kubernetes-list-type: map
                                envFrom:
4877
4878
4879
4880
4881
4882
4883
                                  description: |-
                                    List of sources to populate environment variables in the container.
                                    The keys defined within a source must be a C_IDENTIFIER. All invalid keys
                                    will be reported as an event when the container is starting. When a key exists in multiple
                                    sources, the value associated with the last source will take precedence.
                                    Values defined by an Env with a duplicate key will take precedence.
                                    Cannot be updated.
4884
                                  items:
4885
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
4886
                                    properties:
4887
                                      configMapRef:
4888
                                        description: The ConfigMap to select from
4889
4890
4891
                                        properties:
                                          name:
                                            default: ""
4892
4893
4894
4895
4896
4897
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4898
4899
                                            type: string
                                          optional:
4900
                                            description: Specify whether the ConfigMap must be defined
4901
4902
4903
4904
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      prefix:
4905
                                        description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
4906
                                        type: string
4907
                                      secretRef:
4908
                                        description: The Secret to select from
4909
4910
4911
                                        properties:
                                          name:
                                            default: ""
4912
4913
4914
4915
4916
4917
                                            description: |-
                                              Name of the referent.
                                              This field is effectively required, but due to backwards compatibility is
                                              allowed to be empty. Instances of this type with an empty value here are
                                              almost certainly wrong.
                                              More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4918
4919
                                            type: string
                                          optional:
4920
                                            description: Specify whether the Secret must be defined
4921
4922
4923
4924
4925
4926
4927
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                image:
4928
4929
4930
4931
4932
                                  description: |-
                                    Container image name.
                                    More info: https://kubernetes.io/docs/concepts/containers/images
                                    This field is optional to allow higher level config management to default or override
                                    container images in workload controllers like Deployments and StatefulSets.
4933
4934
                                  type: string
                                imagePullPolicy:
4935
4936
4937
4938
4939
4940
                                  description: |-
                                    Image pull policy.
                                    One of Always, Never, IfNotPresent.
                                    Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
4941
4942
                                  type: string
                                lifecycle:
4943
4944
4945
                                  description: |-
                                    Actions that the management system should take in response to container lifecycle events.
                                    Cannot be updated.
4946
4947
                                  properties:
                                    postStart:
4948
4949
4950
4951
4952
                                      description: |-
                                        PostStart is called immediately after a container is created. If the handler fails,
                                        the container is terminated and restarted according to its restart policy.
                                        Other management of the container blocks until the hook completes.
                                        More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
4953
4954
                                      properties:
                                        exec:
4955
                                          description: Exec specifies a command to execute in the container.
4956
                                          properties:
4957
                                            command:
4958
4959
4960
4961
4962
4963
                                              description: |-
                                                Command is the command line to execute inside the container, the working directory for the
                                                command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                                not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                                a shell, you need to explicitly call out to that shell.
                                                Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
4964
4965
4966
4967
4968
4969
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
4970
                                          description: HTTPGet specifies an HTTP GET request to perform.
4971
4972
                                          properties:
                                            host:
4973
4974
4975
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
4976
                                              type: string
4977
                                            httpHeaders:
4978
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
4979
                                              items:
4980
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
4981
4982
                                                properties:
                                                  name:
4983
4984
4985
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
4986
4987
                                                    type: string
                                                  value:
4988
                                                    description: The header field value
4989
4990
4991
4992
4993
4994
4995
4996
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
4997
                                              description: Path to access on the HTTP server.
4998
4999
5000
5001
5002
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5003
5004
5005
5006
                                              description: |-
                                                Name or number of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
5007
5008
                                              x-kubernetes-int-or-string: true
                                            scheme:
5009
5010
5011
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
5012
5013
                                              type: string
                                          required:
5014
                                            - port
5015
                                          type: object
5016
                                        sleep:
5017
                                          description: Sleep represents a duration that the container should sleep.
5018
5019
                                          properties:
                                            seconds:
5020
                                              description: Seconds is the number of seconds to sleep.
5021
5022
5023
5024
5025
5026
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
5027
5028
5029
5030
                                          description: |-
                                            Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
                                            for backward compatibility. There is no validation of this field and
                                            lifecycle hooks will fail at runtime when it is specified.
5031
5032
                                          properties:
                                            host:
5033
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
5034
5035
5036
5037
5038
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5039
5040
5041
5042
                                              description: |-
                                                Number or name of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
5043
5044
5045
5046
5047
5048
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    preStop:
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
                                      description: |-
                                        PreStop is called immediately before a container is terminated due to an
                                        API request or management event such as liveness/startup probe failure,
                                        preemption, resource contention, etc. The handler is not called if the
                                        container crashes or exits. The Pod's termination grace period countdown begins before the
                                        PreStop hook is executed. Regardless of the outcome of the handler, the
                                        container will eventually terminate within the Pod's termination grace
                                        period (unless delayed by finalizers). Other management of the container blocks until the hook completes
                                        or until the termination grace period is reached.
                                        More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
5059
5060
                                      properties:
                                        exec:
5061
                                          description: Exec specifies a command to execute in the container.
5062
5063
                                          properties:
                                            command:
5064
5065
5066
5067
5068
5069
                                              description: |-
                                                Command is the command line to execute inside the container, the working directory for the
                                                command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                                not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                                a shell, you need to explicitly call out to that shell.
                                                Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
5070
5071
5072
5073
5074
5075
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
5076
                                          description: HTTPGet specifies an HTTP GET request to perform.
5077
5078
                                          properties:
                                            host:
5079
5080
5081
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
5082
5083
                                              type: string
                                            httpHeaders:
5084
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
5085
                                              items:
5086
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
5087
5088
                                                properties:
                                                  name:
5089
5090
5091
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
5092
5093
                                                    type: string
                                                  value:
5094
                                                    description: The header field value
5095
5096
5097
5098
5099
5100
5101
5102
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
5103
                                              description: Path to access on the HTTP server.
5104
5105
5106
5107
5108
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5109
5110
5111
5112
                                              description: |-
                                                Name or number of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
5113
5114
                                              x-kubernetes-int-or-string: true
                                            scheme:
5115
5116
5117
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
5118
5119
5120
5121
5122
                                              type: string
                                          required:
                                            - port
                                          type: object
                                        sleep:
5123
                                          description: Sleep represents a duration that the container should sleep.
5124
5125
                                          properties:
                                            seconds:
5126
                                              description: Seconds is the number of seconds to sleep.
5127
5128
5129
5130
5131
5132
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
5133
5134
5135
5136
                                          description: |-
                                            Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
                                            for backward compatibility. There is no validation of this field and
                                            lifecycle hooks will fail at runtime when it is specified.
5137
5138
                                          properties:
                                            host:
5139
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
5140
5141
5142
5143
5144
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5145
5146
5147
5148
                                              description: |-
                                                Number or name of the port to access on the container.
                                                Number must be in the range 1 to 65535.
                                                Name must be an IANA_SVC_NAME.
5149
5150
5151
5152
5153
5154
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    stopSignal:
5155
5156
5157
5158
                                      description: |-
                                        StopSignal defines which signal will be sent to a container when it is being stopped.
                                        If not specified, the default is defined by the container runtime in use.
                                        StopSignal can only be set for Pods with a non-empty .spec.os.name
5159
5160
5161
                                      type: string
                                  type: object
                                livenessProbe:
5162
5163
5164
5165
5166
                                  description: |-
                                    Periodic probe of container liveness.
                                    Container will be restarted if the probe fails.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5167
5168
                                  properties:
                                    exec:
5169
                                      description: Exec specifies a command to execute in the container.
5170
5171
                                      properties:
                                        command:
5172
5173
5174
5175
5176
5177
                                          description: |-
                                            Command is the command line to execute inside the container, the working directory for the
                                            command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                            not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                            a shell, you need to explicitly call out to that shell.
                                            Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
5178
5179
5180
5181
5182
5183
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
5184
5185
5186
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
5187
5188
5189
                                      format: int32
                                      type: integer
                                    grpc:
5190
                                      description: GRPC specifies a GRPC HealthCheckRequest.
5191
5192
                                      properties:
                                        port:
5193
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5194
5195
5196
5197
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
5198
5199
5200
5201
5202
                                          description: |-
                                            Service is the name of the service to place in the gRPC HealthCheckRequest
                                            (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                            If this is not specified, the default behavior is defined by gRPC.
5203
5204
5205
5206
5207
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
5208
                                      description: HTTPGet specifies an HTTP GET request to perform.
5209
5210
                                      properties:
                                        host:
5211
5212
5213
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
5214
5215
                                          type: string
                                        httpHeaders:
5216
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
5217
                                          items:
5218
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
5219
5220
                                            properties:
                                              name:
5221
5222
5223
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
5224
5225
                                                type: string
                                              value:
5226
                                                description: The header field value
5227
5228
5229
5230
5231
5232
5233
5234
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
5235
                                          description: Path to access on the HTTP server.
5236
5237
5238
5239
5240
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5241
5242
5243
5244
                                          description: |-
                                            Name or number of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
5245
5246
                                          x-kubernetes-int-or-string: true
                                        scheme:
5247
5248
5249
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
5250
5251
5252
5253
5254
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
5255
5256
5257
                                      description: |-
                                        Number of seconds after the container has started before liveness probes are initiated.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5258
5259
5260
                                      format: int32
                                      type: integer
                                    periodSeconds:
5261
5262
5263
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
5264
5265
5266
                                      format: int32
                                      type: integer
                                    successThreshold:
5267
5268
5269
                                      description: |-
                                        Minimum consecutive successes for the probe to be considered successful after having failed.
                                        Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
5270
5271
5272
                                      format: int32
                                      type: integer
                                    tcpSocket:
5273
                                      description: TCPSocket specifies a connection to a TCP port.
5274
5275
                                      properties:
                                        host:
5276
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
5277
5278
5279
5280
5281
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5282
5283
5284
5285
                                          description: |-
                                            Number or name of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
5286
5287
5288
5289
5290
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
                                      description: |-
                                        Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                        The grace period is the duration in seconds after the processes running in the pod are sent
                                        a termination signal and the time when the processes are forcibly halted with a kill signal.
                                        Set this value longer than the expected cleanup time for your process.
                                        If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                        value overrides the value provided by the pod spec.
                                        Value must be non-negative integer. The value zero indicates stop immediately via
                                        the kill signal (no opportunity to shut down).
                                        This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                        Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
5302
5303
5304
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
5305
5306
5307
5308
                                      description: |-
                                        Number of seconds after which the probe times out.
                                        Defaults to 1 second. Minimum value is 1.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5309
5310
5311
5312
                                      format: int32
                                      type: integer
                                  type: object
                                name:
5313
5314
5315
5316
                                  description: |-
                                    Name of the container specified as a DNS_LABEL.
                                    Each container in a pod must have a unique name (DNS_LABEL).
                                    Cannot be updated.
5317
5318
                                  type: string
                                ports:
5319
5320
5321
5322
5323
5324
5325
5326
                                  description: |-
                                    List of ports to expose from the container. Not specifying a port here
                                    DOES NOT prevent that port from being exposed. Any port which is
                                    listening on the default "0.0.0.0" address inside a container will be
                                    accessible from the network.
                                    Modifying this array with strategic merge patch may corrupt the data.
                                    For more information See https://github.com/kubernetes/kubernetes/issues/108255.
                                    Cannot be updated.
5327
                                  items:
5328
                                    description: ContainerPort represents a network port in a single container.
5329
5330
                                    properties:
                                      containerPort:
5331
5332
5333
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
5334
5335
5336
                                        format: int32
                                        type: integer
                                      hostIP:
5337
                                        description: What host IP to bind the external port to.
5338
                                        type: string
5339
                                      hostPort:
5340
5341
5342
5343
5344
                                        description: |-
                                          Number of port to expose on the host.
                                          If specified, this must be a valid port number, 0 < x < 65536.
                                          If HostNetwork is specified, this must match ContainerPort.
                                          Most containers do not need this.
5345
5346
5347
                                        format: int32
                                        type: integer
                                      name:
5348
5349
5350
5351
                                        description: |-
                                          If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
                                          named port in a pod must have a unique name. Name for the port that can be
                                          referred to by services.
5352
                                        type: string
5353
5354
                                      protocol:
                                        default: TCP
5355
5356
5357
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
5358
5359
                                        type: string
                                    required:
5360
                                      - containerPort
5361
                                    type: object
5362
5363
5364
5365
5366
5367
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
5368
5369
5370
5371
5372
                                  description: |-
                                    Periodic probe of container service readiness.
                                    Container will be removed from service endpoints if the probe fails.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5373
5374
                                  properties:
                                    exec:
5375
                                      description: Exec specifies a command to execute in the container.
5376
5377
                                      properties:
                                        command:
5378
5379
5380
5381
5382
5383
                                          description: |-
                                            Command is the command line to execute inside the container, the working directory for the
                                            command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                            not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                            a shell, you need to explicitly call out to that shell.
                                            Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
5384
5385
5386
5387
5388
5389
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
5390
5391
5392
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
5393
5394
5395
                                      format: int32
                                      type: integer
                                    grpc:
5396
                                      description: GRPC specifies a GRPC HealthCheckRequest.
5397
5398
                                      properties:
                                        port:
5399
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5400
5401
5402
5403
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
5404
5405
5406
5407
5408
                                          description: |-
                                            Service is the name of the service to place in the gRPC HealthCheckRequest
                                            (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                            If this is not specified, the default behavior is defined by gRPC.
5409
5410
5411
5412
5413
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
5414
                                      description: HTTPGet specifies an HTTP GET request to perform.
5415
5416
                                      properties:
                                        host:
5417
5418
5419
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
5420
5421
                                          type: string
                                        httpHeaders:
5422
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
5423
                                          items:
5424
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
5425
5426
                                            properties:
                                              name:
5427
5428
5429
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
5430
5431
                                                type: string
                                              value:
5432
                                                description: The header field value
5433
5434
5435
5436
5437
5438
5439
5440
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
5441
                                          description: Path to access on the HTTP server.
5442
5443
5444
5445
5446
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5447
5448
5449
5450
                                          description: |-
                                            Name or number of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
5451
5452
                                          x-kubernetes-int-or-string: true
                                        scheme:
5453
5454
5455
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
5456
5457
5458
5459
5460
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
5461
5462
5463
                                      description: |-
                                        Number of seconds after the container has started before liveness probes are initiated.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5464
5465
5466
                                      format: int32
                                      type: integer
                                    periodSeconds:
5467
5468
5469
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
5470
5471
5472
                                      format: int32
                                      type: integer
                                    successThreshold:
5473
5474
5475
                                      description: |-
                                        Minimum consecutive successes for the probe to be considered successful after having failed.
                                        Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
5476
5477
5478
                                      format: int32
                                      type: integer
                                    tcpSocket:
5479
                                      description: TCPSocket specifies a connection to a TCP port.
5480
5481
                                      properties:
                                        host:
5482
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
5483
5484
5485
5486
5487
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5488
5489
5490
5491
                                          description: |-
                                            Number or name of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
5492
5493
5494
5495
5496
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
                                      description: |-
                                        Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                        The grace period is the duration in seconds after the processes running in the pod are sent
                                        a termination signal and the time when the processes are forcibly halted with a kill signal.
                                        Set this value longer than the expected cleanup time for your process.
                                        If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                        value overrides the value provided by the pod spec.
                                        Value must be non-negative integer. The value zero indicates stop immediately via
                                        the kill signal (no opportunity to shut down).
                                        This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                        Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
5508
5509
5510
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
5511
5512
5513
5514
                                      description: |-
                                        Number of seconds after which the probe times out.
                                        Defaults to 1 second. Minimum value is 1.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5515
5516
5517
5518
                                      format: int32
                                      type: integer
                                  type: object
                                resizePolicy:
5519
                                  description: Resources resize policy for the container.
5520
                                  items:
5521
                                    description: ContainerResizePolicy represents resource resize policy for the container.
5522
5523
                                    properties:
                                      resourceName:
5524
5525
5526
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
5527
5528
                                        type: string
                                      restartPolicy:
5529
5530
5531
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
5532
5533
5534
5535
5536
5537
5538
5539
                                        type: string
                                    required:
                                      - resourceName
                                      - restartPolicy
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
5540
5541
5542
5543
                                  description: |-
                                    Compute Resources required by this container.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
5544
5545
                                  properties:
                                    claims:
5546
5547
5548
5549
5550
5551
5552
5553
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

                                        This is an alpha field and requires enabling the
                                        DynamicResourceAllocation feature gate.

                                        This field is immutable. It can only be set for containers.
5554
                                      items:
5555
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
5556
5557
                                        properties:
                                          name:
5558
5559
5560
5561
                                            description: |-
                                              Name must match the name of one entry in pod.spec.resourceClaims of
                                              the Pod where this field is used. It makes that resource available
                                              inside a container.
5562
5563
                                            type: string
                                          request:
5564
5565
5566
5567
                                            description: |-
                                              Request is the name chosen for a request in the referenced claim.
                                              If empty, everything from the claim is made available, otherwise
                                              only the result of this request.
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
                                            type: string
                                        required:
                                          - name
                                        type: object
                                      type: array
                                      x-kubernetes-list-map-keys:
                                        - name
                                      x-kubernetes-list-type: map
                                    limits:
                                      additionalProperties:
                                        anyOf:
                                          - type: integer
                                          - type: string
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                        x-kubernetes-int-or-string: true
5583
5584
5585
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
5586
5587
5588
5589
5590
5591
5592
5593
                                      type: object
                                    requests:
                                      additionalProperties:
                                        anyOf:
                                          - type: integer
                                          - type: string
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                        x-kubernetes-int-or-string: true
5594
5595
5596
5597
5598
                                      description: |-
                                        Requests describes the minimum amount of compute resources required.
                                        If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
                                        otherwise to an implementation-defined value. Requests cannot exceed Limits.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
5599
5600
5601
                                      type: object
                                  type: object
                                restartPolicy:
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
                                  description: |-
                                    RestartPolicy defines the restart behavior of individual containers in a pod.
                                    This field may only be set for init containers, and the only allowed value is "Always".
                                    For non-init containers or when this field is not specified,
                                    the restart behavior is defined by the Pod's restart policy and the container type.
                                    Setting the RestartPolicy as "Always" for the init container will have the following effect:
                                    this init container will be continually restarted on
                                    exit until all regular containers have terminated. Once all regular
                                    containers have completed, all init containers with restartPolicy "Always"
                                    will be shut down. This lifecycle differs from normal init containers and
                                    is often referred to as a "sidecar" container. Although this init
                                    container still starts in the init container sequence, it does not wait
                                    for the container to complete before proceeding to the next init
                                    container. Instead, the next init container starts immediately after this
                                    init container is started, or after any startupProbe has successfully
                                    completed.
5618
5619
                                  type: string
                                securityContext:
5620
5621
5622
5623
                                  description: |-
                                    SecurityContext defines the security options the container should be run with.
                                    If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
                                    More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
5624
5625
                                  properties:
                                    allowPrivilegeEscalation:
5626
5627
5628
5629
5630
5631
5632
5633
                                      description: |-
                                        AllowPrivilegeEscalation controls whether a process can gain more
                                        privileges than its parent process. This bool directly controls if
                                        the no_new_privs flag will be set on the container process.
                                        AllowPrivilegeEscalation is true always when the container is:
                                        1) run as Privileged
                                        2) has CAP_SYS_ADMIN
                                        Note that this field cannot be set when spec.os.name is windows.
5634
5635
                                      type: boolean
                                    appArmorProfile:
5636
5637
5638
5639
                                      description: |-
                                        appArmorProfile is the AppArmor options to use by this container. If set, this profile
                                        overrides the pod's appArmorProfile.
                                        Note that this field cannot be set when spec.os.name is windows.
5640
5641
                                      properties:
                                        localhostProfile:
5642
5643
5644
5645
5646
                                          description: |-
                                            localhostProfile indicates a profile loaded on the node that should be used.
                                            The profile must be preconfigured on the node to work.
                                            Must match the loaded name of the profile.
                                            Must be set if and only if type is "Localhost".
5647
5648
                                          type: string
                                        type:
5649
5650
5651
5652
5653
5654
                                          description: |-
                                            type indicates which kind of AppArmor profile will be applied.
                                            Valid options are:
                                              Localhost - a profile pre-loaded on the node.
                                              RuntimeDefault - the container runtime's default profile.
                                              Unconfined - no AppArmor enforcement.
5655
5656
5657
5658
5659
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
5660
5661
5662
5663
                                      description: |-
                                        The capabilities to add/drop when running containers.
                                        Defaults to the default set of capabilities granted by the container runtime.
                                        Note that this field cannot be set when spec.os.name is windows.
5664
5665
                                      properties:
                                        add:
5666
                                          description: Added capabilities
5667
                                          items:
5668
                                            description: Capability represent POSIX capabilities type
5669
5670
5671
5672
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
5673
                                          description: Removed capabilities
5674
                                          items:
5675
                                            description: Capability represent POSIX capabilities type
5676
5677
5678
5679
5680
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
5681
5682
5683
5684
5685
                                      description: |-
                                        Run container in privileged mode.
                                        Processes in privileged containers are essentially equivalent to root on the host.
                                        Defaults to false.
                                        Note that this field cannot be set when spec.os.name is windows.
5686
5687
                                      type: boolean
                                    procMount:
5688
5689
5690
5691
5692
5693
                                      description: |-
                                        procMount denotes the type of proc mount to use for the containers.
                                        The default value is Default which uses the container runtime defaults for
                                        readonly paths and masked paths.
                                        This requires the ProcMountType feature flag to be enabled.
                                        Note that this field cannot be set when spec.os.name is windows.
5694
5695
                                      type: string
                                    readOnlyRootFilesystem:
5696
5697
5698
5699
                                      description: |-
                                        Whether this container has a read-only root filesystem.
                                        Default is false.
                                        Note that this field cannot be set when spec.os.name is windows.
5700
5701
                                      type: boolean
                                    runAsGroup:
5702
5703
5704
5705
5706
5707
                                      description: |-
                                        The GID to run the entrypoint of the container process.
                                        Uses runtime default if unset.
                                        May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is windows.
5708
5709
5710
                                      format: int64
                                      type: integer
                                    runAsNonRoot:
5711
5712
5713
5714
5715
5716
5717
                                      description: |-
                                        Indicates that the container must run as a non-root user.
                                        If true, the Kubelet will validate the image at runtime to ensure that it
                                        does not run as UID 0 (root) and fail to start the container if it does.
                                        If unset or false, no such validation will be performed.
                                        May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
5718
5719
                                      type: boolean
                                    runAsUser:
5720
5721
5722
5723
5724
5725
                                      description: |-
                                        The UID to run the entrypoint of the container process.
                                        Defaults to user specified in image metadata if unspecified.
                                        May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is windows.
5726
5727
5728
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
5729
5730
5731
5732
5733
5734
                                      description: |-
                                        The SELinux context to be applied to the container.
                                        If unspecified, the container runtime will allocate a random SELinux context for each
                                        container.  May also be set in PodSecurityContext.  If set in both SecurityContext and
                                        PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is windows.
5735
5736
                                      properties:
                                        level:
5737
                                          description: Level is SELinux level label that applies to the container.
5738
5739
                                          type: string
                                        role:
5740
                                          description: Role is a SELinux role label that applies to the container.
5741
5742
                                          type: string
                                        type:
5743
                                          description: Type is a SELinux type label that applies to the container.
5744
5745
                                          type: string
                                        user:
5746
                                          description: User is a SELinux user label that applies to the container.
5747
5748
5749
                                          type: string
                                      type: object
                                    seccompProfile:
5750
5751
5752
5753
5754
                                      description: |-
                                        The seccomp options to use by this container. If seccomp options are
                                        provided at both the pod & container level, the container options
                                        override the pod options.
                                        Note that this field cannot be set when spec.os.name is windows.
5755
5756
                                      properties:
                                        localhostProfile:
5757
5758
5759
5760
5761
                                          description: |-
                                            localhostProfile indicates a profile defined in a file on the node should be used.
                                            The profile must be preconfigured on the node to work.
                                            Must be a descending path, relative to the kubelet's configured seccomp profile location.
                                            Must be set if type is "Localhost". Must NOT be set for any other type.
5762
5763
                                          type: string
                                        type:
5764
5765
5766
5767
5768
5769
5770
                                          description: |-
                                            type indicates which kind of seccomp profile will be applied.
                                            Valid options are:

                                            Localhost - a profile defined in a file on the node should be used.
                                            RuntimeDefault - the container runtime default profile should be used.
                                            Unconfined - no profile should be applied.
5771
5772
5773
5774
5775
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
5776
5777
5778
5779
5780
                                      description: |-
                                        The Windows specific settings applied to all containers.
                                        If unspecified, the options from the PodSecurityContext will be used.
                                        If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
                                        Note that this field cannot be set when spec.os.name is linux.
5781
5782
                                      properties:
                                        gmsaCredentialSpec:
5783
5784
5785
5786
                                          description: |-
                                            GMSACredentialSpec is where the GMSA admission webhook
                                            (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
                                            GMSA credential spec named by the GMSACredentialSpecName field.
5787
5788
                                          type: string
                                        gmsaCredentialSpecName:
5789
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
5790
5791
                                          type: string
                                        hostProcess:
5792
5793
5794
5795
5796
                                          description: |-
                                            HostProcess determines if a container should be run as a 'Host Process' container.
                                            All of a Pod's containers must have the same effective HostProcess value
                                            (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
                                            In addition, if HostProcess is true then HostNetwork must also be set to true.
5797
5798
                                          type: boolean
                                        runAsUserName:
5799
5800
5801
5802
5803
                                          description: |-
                                            The UserName in Windows to run the entrypoint of the container process.
                                            Defaults to the user specified in image metadata if unspecified.
                                            May also be set in PodSecurityContext. If set in both SecurityContext and
                                            PodSecurityContext, the value specified in SecurityContext takes precedence.
5804
5805
5806
5807
                                          type: string
                                      type: object
                                  type: object
                                startupProbe:
5808
5809
5810
5811
5812
5813
5814
5815
                                  description: |-
                                    StartupProbe indicates that the Pod has successfully initialized.
                                    If specified, no other probes are executed until this completes successfully.
                                    If this probe fails, the Pod will be restarted, just as if the livenessProbe failed.
                                    This can be used to provide different probe parameters at the beginning of a Pod's lifecycle,
                                    when it might take a long time to load data or warm a cache, than during steady-state operation.
                                    This cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5816
5817
                                  properties:
                                    exec:
5818
                                      description: Exec specifies a command to execute in the container.
5819
5820
                                      properties:
                                        command:
5821
5822
5823
5824
5825
5826
                                          description: |-
                                            Command is the command line to execute inside the container, the working directory for the
                                            command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                            not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                            a shell, you need to explicitly call out to that shell.
                                            Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
5827
5828
5829
5830
5831
5832
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
5833
5834
5835
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
5836
5837
5838
                                      format: int32
                                      type: integer
                                    grpc:
5839
                                      description: GRPC specifies a GRPC HealthCheckRequest.
5840
5841
                                      properties:
                                        port:
5842
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5843
5844
5845
5846
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
5847
5848
5849
5850
5851
                                          description: |-
                                            Service is the name of the service to place in the gRPC HealthCheckRequest
                                            (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                            If this is not specified, the default behavior is defined by gRPC.
5852
5853
5854
5855
5856
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
5857
                                      description: HTTPGet specifies an HTTP GET request to perform.
5858
5859
                                      properties:
                                        host:
5860
5861
5862
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
5863
5864
                                          type: string
                                        httpHeaders:
5865
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
5866
                                          items:
5867
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
5868
5869
                                            properties:
                                              name:
5870
5871
5872
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
5873
5874
                                                type: string
                                              value:
5875
                                                description: The header field value
5876
5877
5878
5879
5880
5881
5882
5883
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
5884
                                          description: Path to access on the HTTP server.
5885
5886
5887
5888
5889
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5890
5891
5892
5893
                                          description: |-
                                            Name or number of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
5894
5895
                                          x-kubernetes-int-or-string: true
                                        scheme:
5896
5897
5898
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
5899
5900
5901
5902
5903
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
5904
5905
5906
                                      description: |-
                                        Number of seconds after the container has started before liveness probes are initiated.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5907
5908
5909
                                      format: int32
                                      type: integer
                                    periodSeconds:
5910
5911
5912
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
5913
5914
5915
                                      format: int32
                                      type: integer
                                    successThreshold:
5916
5917
5918
                                      description: |-
                                        Minimum consecutive successes for the probe to be considered successful after having failed.
                                        Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
5919
5920
5921
                                      format: int32
                                      type: integer
                                    tcpSocket:
5922
                                      description: TCPSocket specifies a connection to a TCP port.
5923
5924
                                      properties:
                                        host:
5925
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
5926
5927
5928
5929
5930
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5931
5932
5933
5934
                                          description: |-
                                            Number or name of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
5935
5936
5937
5938
5939
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
                                      description: |-
                                        Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                        The grace period is the duration in seconds after the processes running in the pod are sent
                                        a termination signal and the time when the processes are forcibly halted with a kill signal.
                                        Set this value longer than the expected cleanup time for your process.
                                        If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                        value overrides the value provided by the pod spec.
                                        Value must be non-negative integer. The value zero indicates stop immediately via
                                        the kill signal (no opportunity to shut down).
                                        This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                        Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
5951
5952
5953
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
5954
5955
5956
5957
                                      description: |-
                                        Number of seconds after which the probe times out.
                                        Defaults to 1 second. Minimum value is 1.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5958
5959
5960
5961
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
5962
5963
5964
5965
                                  description: |-
                                    Whether this container should allocate a buffer for stdin in the container runtime. If this
                                    is not set, reads from stdin in the container will always result in EOF.
                                    Default is false.
5966
5967
                                  type: boolean
                                stdinOnce:
5968
5969
5970
5971
5972
5973
5974
5975
                                  description: |-
                                    Whether the container runtime should close the stdin channel after it has been opened by
                                    a single attach. When stdin is true the stdin stream will remain open across multiple attach
                                    sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
                                    first client attaches to stdin, and then remains open and accepts data until the client disconnects,
                                    at which time stdin is closed and remains closed until the container is restarted. If this
                                    flag is false, a container processes that reads from stdin will never receive an EOF.
                                    Default is false
5976
5977
                                  type: boolean
                                terminationMessagePath:
5978
5979
5980
5981
5982
5983
5984
5985
                                  description: |-
                                    Optional: Path at which the file to which the container's termination message
                                    will be written is mounted into the container's filesystem.
                                    Message written is intended to be brief final status, such as an assertion failure message.
                                    Will be truncated by the node if greater than 4096 bytes. The total message length across
                                    all containers will be limited to 12kb.
                                    Defaults to /dev/termination-log.
                                    Cannot be updated.
5986
5987
                                  type: string
                                terminationMessagePolicy:
5988
5989
5990
5991
5992
5993
5994
5995
                                  description: |-
                                    Indicate how the termination message should be populated. File will use the contents of
                                    terminationMessagePath to populate the container status message on both success and failure.
                                    FallbackToLogsOnError will use the last chunk of container log output if the termination
                                    message file is empty and the container exited with an error.
                                    The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
                                    Defaults to File.
                                    Cannot be updated.
5996
5997
                                  type: string
                                tty:
5998
5999
6000
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
6001
6002
                                  type: boolean
                                volumeDevices:
6003
                                  description: volumeDevices is the list of block devices to be used by the container.
6004
                                  items:
6005
                                    description: volumeDevice describes a mapping of a raw block device within a container.
6006
6007
                                    properties:
                                      devicePath:
6008
                                        description: devicePath is the path inside of the container that the device will be mapped to.
6009
6010
                                        type: string
                                      name:
6011
                                        description: name must match the name of a persistentVolumeClaim in the pod
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
                                        type: string
                                    required:
                                      - devicePath
                                      - name
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
6022
6023
6024
                                  description: |-
                                    Pod volumes to mount into the container's filesystem.
                                    Cannot be updated.
6025
                                  items:
6026
                                    description: VolumeMount describes a mounting of a Volume within a container.
6027
6028
                                    properties:
                                      mountPath:
6029
6030
6031
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
6032
6033
                                        type: string
                                      mountPropagation:
6034
6035
6036
6037
6038
6039
6040
                                        description: |-
                                          mountPropagation determines how mounts are propagated from the host
                                          to container and the other way around.
                                          When not set, MountPropagationNone is used.
                                          This field is beta in 1.10.
                                          When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
                                          (which defaults to None).
6041
6042
                                        type: string
                                      name:
6043
                                        description: This must match the Name of a Volume.
6044
6045
                                        type: string
                                      readOnly:
6046
6047
6048
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
6049
6050
                                        type: boolean
                                      recursiveReadOnly:
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
                                        description: |-
                                          RecursiveReadOnly specifies whether read-only mounts should be handled
                                          recursively.

                                          If ReadOnly is false, this field has no meaning and must be unspecified.

                                          If ReadOnly is true, and this field is set to Disabled, the mount is not made
                                          recursively read-only.  If this field is set to IfPossible, the mount is made
                                          recursively read-only, if it is supported by the container runtime.  If this
                                          field is set to Enabled, the mount is made recursively read-only if it is
                                          supported by the container runtime, otherwise the pod will not be started and
                                          an error will be generated to indicate the reason.

                                          If this field is set to IfPossible or Enabled, MountPropagation must be set to
                                          None (or be unspecified, which defaults to None).

                                          If this field is not specified, it is treated as an equivalent of Disabled.
6068
6069
                                        type: string
                                      subPath:
6070
6071
6072
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
6073
6074
                                        type: string
                                      subPathExpr:
6075
6076
6077
6078
6079
                                        description: |-
                                          Expanded path within the volume from which the container's volume should be mounted.
                                          Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
                                          Defaults to "" (volume's root).
                                          SubPathExpr and SubPath are mutually exclusive.
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
                                        type: string
                                    required:
                                      - mountPath
                                      - name
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
6090
6091
6092
6093
6094
                                  description: |-
                                    Container's working directory.
                                    If not specified, the container runtime's default will be used, which
                                    might be configured in the container image.
                                    Cannot be updated.
6095
6096
6097
6098
6099
6100
6101
6102
6103
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          mainContainer:
6104
                            description: A single application container that you want to run within a pod.
6105
6106
                            properties:
                              args:
6107
6108
6109
6110
6111
6112
6113
6114
6115
                                description: |-
                                  Arguments to the entrypoint.
                                  The container image's CMD is used if this is not provided.
                                  Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
                                  cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
                                  to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
                                  produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
                                  of whether the variable exists or not. Cannot be updated.
                                  More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
6116
6117
6118
6119
6120
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              command:
6121
6122
6123
6124
6125
6126
6127
6128
6129
                                description: |-
                                  Entrypoint array. Not executed within a shell.
                                  The container image's ENTRYPOINT is used if this is not provided.
                                  Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
                                  cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
                                  to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
                                  produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
                                  of whether the variable exists or not. Cannot be updated.
                                  More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
6130
6131
6132
6133
6134
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              env:
6135
6136
6137
                                description: |-
                                  List of environment variables to set in the container.
                                  Cannot be updated.
6138
                                items:
6139
                                  description: EnvVar represents an environment variable present in a Container.
6140
6141
                                  properties:
                                    name:
6142
                                      description: Name of the environment variable. Must be a C_IDENTIFIER.
6143
6144
                                      type: string
                                    value:
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
                                      description: |-
                                        Variable references $(VAR_NAME) are expanded
                                        using the previously defined environment variables in the container and
                                        any service environment variables. If a variable cannot be resolved,
                                        the reference in the input string will be unchanged. Double $$ are reduced
                                        to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
                                        "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
                                        Escaped references will never be expanded, regardless of whether the variable
                                        exists or not.
                                        Defaults to "".
6155
6156
                                      type: string
                                    valueFrom:
6157
                                      description: Source for the environment variable's value. Cannot be used if value is not empty.
6158
6159
                                      properties:
                                        configMapKeyRef:
6160
                                          description: Selects a key of a ConfigMap.
6161
6162
                                          properties:
                                            key:
6163
                                              description: The key to select.
6164
6165
6166
                                              type: string
                                            name:
                                              default: ""
6167
6168
6169
6170
6171
6172
                                              description: |-
                                                Name of the referent.
                                                This field is effectively required, but due to backwards compatibility is
                                                allowed to be empty. Instances of this type with an empty value here are
                                                almost certainly wrong.
                                                More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
6173
6174
                                              type: string
                                            optional:
6175
                                              description: Specify whether the ConfigMap or its key must be defined
6176
6177
6178
6179
6180
6181
                                              type: boolean
                                          required:
                                            - key
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        fieldRef:
6182
6183
6184
                                          description: |-
                                            Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
                                            spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
6185
6186
                                          properties:
                                            apiVersion:
6187
                                              description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
6188
6189
                                              type: string
                                            fieldPath:
6190
                                              description: Path of the field to select in the specified API version.
6191
6192
6193
6194
6195
6196
                                              type: string
                                          required:
                                            - fieldPath
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        resourceFieldRef:
6197
6198
6199
                                          description: |-
                                            Selects a resource of the container: only resources limits and requests
                                            (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
6200
6201
                                          properties:
                                            containerName:
6202
                                              description: 'Container name: required for volumes, optional for env vars'
6203
6204
6205
6206
6207
                                              type: string
                                            divisor:
                                              anyOf:
                                                - type: integer
                                                - type: string
6208
                                              description: Specifies the output format of the exposed resources, defaults to "1"
6209
6210
6211
                                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                              x-kubernetes-int-or-string: true
                                            resource:
6212
                                              description: 'Required: resource to select'
6213
6214
6215
6216
6217
6218
                                              type: string
                                          required:
                                            - resource
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        secretKeyRef:
6219
                                          description: Selects a key of a secret in the pod's namespace
6220
6221
                                          properties:
                                            key:
6222
                                              description: The key of the secret to select from.  Must be a valid secret key.
6223
6224
6225
                                              type: string
                                            name:
                                              default: ""
6226
6227
6228
6229
6230
6231
                                              description: |-
                                                Name of the referent.
                                                This field is effectively required, but due to backwards compatibility is
                                                allowed to be empty. Instances of this type with an empty value here are
                                                almost certainly wrong.
                                                More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
6232
6233
                                              type: string
                                            optional:
6234
                                              description: Specify whether the Secret or its key must be defined
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
                                              type: boolean
                                          required:
                                            - key
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      type: object
                                  required:
                                    - name
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - name
                                x-kubernetes-list-type: map
                              envFrom:
6249
6250
6251
6252
6253
6254
6255
                                description: |-
                                  List of sources to populate environment variables in the container.
                                  The keys defined within a source must be a C_IDENTIFIER. All invalid keys
                                  will be reported as an event when the container is starting. When a key exists in multiple
                                  sources, the value associated with the last source will take precedence.
                                  Values defined by an Env with a duplicate key will take precedence.
                                  Cannot be updated.
6256
                                items:
6257
                                  description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
6258
6259
                                  properties:
                                    configMapRef:
6260
                                      description: The ConfigMap to select from
6261
6262
6263
                                      properties:
                                        name:
                                          default: ""
6264
6265
6266
6267
6268
6269
                                          description: |-
                                            Name of the referent.
                                            This field is effectively required, but due to backwards compatibility is
                                            allowed to be empty. Instances of this type with an empty value here are
                                            almost certainly wrong.
                                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
6270
6271
                                          type: string
                                        optional:
6272
                                          description: Specify whether the ConfigMap must be defined
6273
6274
6275
6276
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    prefix:
6277
                                      description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
6278
6279
                                      type: string
                                    secretRef:
6280
                                      description: The Secret to select from
6281
6282
6283
                                      properties:
                                        name:
                                          default: ""
6284
6285
6286
6287
6288
6289
                                          description: |-
                                            Name of the referent.
                                            This field is effectively required, but due to backwards compatibility is
                                            allowed to be empty. Instances of this type with an empty value here are
                                            almost certainly wrong.
                                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
6290
6291
                                          type: string
                                        optional:
6292
                                          description: Specify whether the Secret must be defined
6293
6294
6295
6296
6297
6298
6299
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              image:
6300
6301
6302
6303
6304
                                description: |-
                                  Container image name.
                                  More info: https://kubernetes.io/docs/concepts/containers/images
                                  This field is optional to allow higher level config management to default or override
                                  container images in workload controllers like Deployments and StatefulSets.
6305
6306
                                type: string
                              imagePullPolicy:
6307
6308
6309
6310
6311
6312
                                description: |-
                                  Image pull policy.
                                  One of Always, Never, IfNotPresent.
                                  Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
                                  Cannot be updated.
                                  More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
6313
6314
                                type: string
                              lifecycle:
6315
6316
6317
                                description: |-
                                  Actions that the management system should take in response to container lifecycle events.
                                  Cannot be updated.
6318
6319
                                properties:
                                  postStart:
6320
6321
6322
6323
6324
                                    description: |-
                                      PostStart is called immediately after a container is created. If the handler fails,
                                      the container is terminated and restarted according to its restart policy.
                                      Other management of the container blocks until the hook completes.
                                      More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
6325
6326
                                    properties:
                                      exec:
6327
                                        description: Exec specifies a command to execute in the container.
6328
6329
                                        properties:
                                          command:
6330
6331
6332
6333
6334
6335
                                            description: |-
                                              Command is the command line to execute inside the container, the working directory for the
                                              command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                              not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                              a shell, you need to explicitly call out to that shell.
                                              Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
6336
6337
6338
6339
6340
6341
                                            items:
                                              type: string
                                            type: array
                                            x-kubernetes-list-type: atomic
                                        type: object
                                      httpGet:
6342
                                        description: HTTPGet specifies an HTTP GET request to perform.
6343
6344
                                        properties:
                                          host:
6345
6346
6347
                                            description: |-
                                              Host name to connect to, defaults to the pod IP. You probably want to set
                                              "Host" in httpHeaders instead.
6348
6349
                                            type: string
                                          httpHeaders:
6350
                                            description: Custom headers to set in the request. HTTP allows repeated headers.
6351
                                            items:
6352
                                              description: HTTPHeader describes a custom header to be used in HTTP probes
6353
6354
                                              properties:
                                                name:
6355
6356
6357
                                                  description: |-
                                                    The header field name.
                                                    This will be canonicalized upon output, so case-variant names will be understood as the same header.
6358
6359
                                                  type: string
                                                value:
6360
                                                  description: The header field value
6361
6362
6363
6364
6365
6366
6367
6368
                                                  type: string
                                              required:
                                                - name
                                                - value
                                              type: object
                                            type: array
                                            x-kubernetes-list-type: atomic
                                          path:
6369
                                            description: Path to access on the HTTP server.
6370
6371
6372
6373
6374
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
6375
6376
6377
6378
                                            description: |-
                                              Name or number of the port to access on the container.
                                              Number must be in the range 1 to 65535.
                                              Name must be an IANA_SVC_NAME.
6379
6380
                                            x-kubernetes-int-or-string: true
                                          scheme:
6381
6382
6383
                                            description: |-
                                              Scheme to use for connecting to the host.
                                              Defaults to HTTP.
6384
6385
6386
6387
6388
                                            type: string
                                        required:
                                          - port
                                        type: object
                                      sleep:
6389
                                        description: Sleep represents a duration that the container should sleep.
6390
6391
                                        properties:
                                          seconds:
6392
                                            description: Seconds is the number of seconds to sleep.
6393
6394
6395
6396
6397
6398
                                            format: int64
                                            type: integer
                                        required:
                                          - seconds
                                        type: object
                                      tcpSocket:
6399
6400
6401
6402
                                        description: |-
                                          Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
                                          for backward compatibility. There is no validation of this field and
                                          lifecycle hooks will fail at runtime when it is specified.
6403
6404
                                        properties:
                                          host:
6405
                                            description: 'Optional: Host name to connect to, defaults to the pod IP.'
6406
6407
6408
6409
6410
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
6411
6412
6413
6414
                                            description: |-
                                              Number or name of the port to access on the container.
                                              Number must be in the range 1 to 65535.
                                              Name must be an IANA_SVC_NAME.
6415
6416
6417
6418
6419
6420
                                            x-kubernetes-int-or-string: true
                                        required:
                                          - port
                                        type: object
                                    type: object
                                  preStop:
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
                                    description: |-
                                      PreStop is called immediately before a container is terminated due to an
                                      API request or management event such as liveness/startup probe failure,
                                      preemption, resource contention, etc. The handler is not called if the
                                      container crashes or exits. The Pod's termination grace period countdown begins before the
                                      PreStop hook is executed. Regardless of the outcome of the handler, the
                                      container will eventually terminate within the Pod's termination grace
                                      period (unless delayed by finalizers). Other management of the container blocks until the hook completes
                                      or until the termination grace period is reached.
                                      More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
6431
6432
                                    properties:
                                      exec:
6433
                                        description: Exec specifies a command to execute in the container.
6434
6435
                                        properties:
                                          command:
6436
6437
6438
6439
6440
6441
                                            description: |-
                                              Command is the command line to execute inside the container, the working directory for the
                                              command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                              not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                              a shell, you need to explicitly call out to that shell.
                                              Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
6442
6443
6444
6445
6446
6447
                                            items:
                                              type: string
                                            type: array
                                            x-kubernetes-list-type: atomic
                                        type: object
                                      httpGet:
6448
                                        description: HTTPGet specifies an HTTP GET request to perform.
6449
6450
                                        properties:
                                          host:
6451
6452
6453
                                            description: |-
                                              Host name to connect to, defaults to the pod IP. You probably want to set
                                              "Host" in httpHeaders instead.
6454
6455
                                            type: string
                                          httpHeaders:
6456
                                            description: Custom headers to set in the request. HTTP allows repeated headers.
6457
                                            items:
6458
                                              description: HTTPHeader describes a custom header to be used in HTTP probes
6459
6460
                                              properties:
                                                name:
6461
6462
6463
                                                  description: |-
                                                    The header field name.
                                                    This will be canonicalized upon output, so case-variant names will be understood as the same header.
6464
6465
                                                  type: string
                                                value:
6466
                                                  description: The header field value
6467
6468
6469
6470
6471
6472
6473
6474
                                                  type: string
                                              required:
                                                - name
                                                - value
                                              type: object
                                            type: array
                                            x-kubernetes-list-type: atomic
                                          path:
6475
                                            description: Path to access on the HTTP server.
6476
6477
6478
6479
6480
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
6481
6482
6483
6484
                                            description: |-
                                              Name or number of the port to access on the container.
                                              Number must be in the range 1 to 65535.
                                              Name must be an IANA_SVC_NAME.
6485
6486
                                            x-kubernetes-int-or-string: true
                                          scheme:
6487
6488
6489
                                            description: |-
                                              Scheme to use for connecting to the host.
                                              Defaults to HTTP.
6490
6491
6492
6493
6494
                                            type: string
                                        required:
                                          - port
                                        type: object
                                      sleep:
6495
                                        description: Sleep represents a duration that the container should sleep.
6496
6497
                                        properties:
                                          seconds:
6498
                                            description: Seconds is the number of seconds to sleep.
6499
6500
6501
6502
6503
6504
                                            format: int64
                                            type: integer
                                        required:
                                          - seconds
                                        type: object
                                      tcpSocket:
6505
6506
6507
6508
                                        description: |-
                                          Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
                                          for backward compatibility. There is no validation of this field and
                                          lifecycle hooks will fail at runtime when it is specified.
6509
6510
                                        properties:
                                          host:
6511
                                            description: 'Optional: Host name to connect to, defaults to the pod IP.'
6512
6513
6514
6515
6516
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
6517
6518
6519
6520
                                            description: |-
                                              Number or name of the port to access on the container.
                                              Number must be in the range 1 to 65535.
                                              Name must be an IANA_SVC_NAME.
6521
6522
6523
6524
6525
6526
                                            x-kubernetes-int-or-string: true
                                        required:
                                          - port
                                        type: object
                                    type: object
                                  stopSignal:
6527
6528
6529
6530
                                    description: |-
                                      StopSignal defines which signal will be sent to a container when it is being stopped.
                                      If not specified, the default is defined by the container runtime in use.
                                      StopSignal can only be set for Pods with a non-empty .spec.os.name
6531
6532
6533
                                    type: string
                                type: object
                              livenessProbe:
6534
6535
6536
6537
6538
                                description: |-
                                  Periodic probe of container liveness.
                                  Container will be restarted if the probe fails.
                                  Cannot be updated.
                                  More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
6539
6540
                                properties:
                                  exec:
6541
                                    description: Exec specifies a command to execute in the container.
6542
6543
                                    properties:
                                      command:
6544
6545
6546
6547
6548
6549
                                        description: |-
                                          Command is the command line to execute inside the container, the working directory for the
                                          command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                          not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                          a shell, you need to explicitly call out to that shell.
                                          Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
6550
6551
6552
6553
6554
6555
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
6556
6557
6558
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
6559
6560
6561
                                    format: int32
                                    type: integer
                                  grpc:
6562
                                    description: GRPC specifies a GRPC HealthCheckRequest.
6563
6564
                                    properties:
                                      port:
6565
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
6566
6567
6568
6569
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
6570
6571
6572
6573
6574
                                        description: |-
                                          Service is the name of the service to place in the gRPC HealthCheckRequest
                                          (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                          If this is not specified, the default behavior is defined by gRPC.
6575
6576
6577
6578
6579
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
6580
                                    description: HTTPGet specifies an HTTP GET request to perform.
6581
6582
                                    properties:
                                      host:
6583
6584
6585
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
6586
6587
                                        type: string
                                      httpHeaders:
6588
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
6589
                                        items:
6590
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
6591
6592
                                          properties:
                                            name:
6593
6594
6595
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
6596
6597
                                              type: string
                                            value:
6598
                                              description: The header field value
6599
6600
6601
6602
6603
6604
6605
6606
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
6607
                                        description: Path to access on the HTTP server.
6608
6609
6610
6611
6612
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
6613
6614
6615
6616
                                        description: |-
                                          Name or number of the port to access on the container.
                                          Number must be in the range 1 to 65535.
                                          Name must be an IANA_SVC_NAME.
6617
6618
                                        x-kubernetes-int-or-string: true
                                      scheme:
6619
6620
6621
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
6622
6623
6624
6625
6626
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
6627
6628
6629
                                    description: |-
                                      Number of seconds after the container has started before liveness probes are initiated.
                                      More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
6630
6631
6632
                                    format: int32
                                    type: integer
                                  periodSeconds:
6633
6634
6635
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
6636
6637
6638
                                    format: int32
                                    type: integer
                                  successThreshold:
6639
6640
6641
                                    description: |-
                                      Minimum consecutive successes for the probe to be considered successful after having failed.
                                      Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
6642
6643
6644
                                    format: int32
                                    type: integer
                                  tcpSocket:
6645
                                    description: TCPSocket specifies a connection to a TCP port.
6646
6647
                                    properties:
                                      host:
6648
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
6649
6650
6651
6652
6653
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
6654
6655
6656
6657
                                        description: |-
                                          Number or name of the port to access on the container.
                                          Number must be in the range 1 to 65535.
                                          Name must be an IANA_SVC_NAME.
6658
6659
6660
6661
6662
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
                                    description: |-
                                      Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                      The grace period is the duration in seconds after the processes running in the pod are sent
                                      a termination signal and the time when the processes are forcibly halted with a kill signal.
                                      Set this value longer than the expected cleanup time for your process.
                                      If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                      value overrides the value provided by the pod spec.
                                      Value must be non-negative integer. The value zero indicates stop immediately via
                                      the kill signal (no opportunity to shut down).
                                      This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                      Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
6674
6675
6676
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
6677
6678
6679
6680
                                    description: |-
                                      Number of seconds after which the probe times out.
                                      Defaults to 1 second. Minimum value is 1.
                                      More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
6681
6682
6683
6684
                                    format: int32
                                    type: integer
                                type: object
                              name:
6685
6686
6687
6688
                                description: |-
                                  Name of the container specified as a DNS_LABEL.
                                  Each container in a pod must have a unique name (DNS_LABEL).
                                  Cannot be updated.
6689
6690
                                type: string
                              ports:
6691
6692
6693
6694
6695
6696
6697
6698
                                description: |-
                                  List of ports to expose from the container. Not specifying a port here
                                  DOES NOT prevent that port from being exposed. Any port which is
                                  listening on the default "0.0.0.0" address inside a container will be
                                  accessible from the network.
                                  Modifying this array with strategic merge patch may corrupt the data.
                                  For more information See https://github.com/kubernetes/kubernetes/issues/108255.
                                  Cannot be updated.
6699
                                items:
6700
                                  description: ContainerPort represents a network port in a single container.
6701
6702
                                  properties:
                                    containerPort:
6703
6704
6705
                                      description: |-
                                        Number of port to expose on the pod's IP address.
                                        This must be a valid port number, 0 < x < 65536.
6706
6707
6708
                                      format: int32
                                      type: integer
                                    hostIP:
6709
                                      description: What host IP to bind the external port to.
6710
6711
                                      type: string
                                    hostPort:
6712
6713
6714
6715
6716
                                      description: |-
                                        Number of port to expose on the host.
                                        If specified, this must be a valid port number, 0 < x < 65536.
                                        If HostNetwork is specified, this must match ContainerPort.
                                        Most containers do not need this.
6717
6718
6719
                                      format: int32
                                      type: integer
                                    name:
6720
6721
6722
6723
                                      description: |-
                                        If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
                                        named port in a pod must have a unique name. Name for the port that can be
                                        referred to by services.
6724
6725
6726
                                      type: string
                                    protocol:
                                      default: TCP
6727
6728
6729
                                      description: |-
                                        Protocol for port. Must be UDP, TCP, or SCTP.
                                        Defaults to "TCP".
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
                                      type: string
                                  required:
                                    - containerPort
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - containerPort
                                  - protocol
                                x-kubernetes-list-type: map
                              readinessProbe:
6740
6741
6742
6743
6744
                                description: |-
                                  Periodic probe of container service readiness.
                                  Container will be removed from service endpoints if the probe fails.
                                  Cannot be updated.
                                  More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
6745
6746
                                properties:
                                  exec:
6747
                                    description: Exec specifies a command to execute in the container.
6748
6749
                                    properties:
                                      command:
6750
6751
6752
6753
6754
6755
                                        description: |-
                                          Command is the command line to execute inside the container, the working directory for the
                                          command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                          not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                          a shell, you need to explicitly call out to that shell.
                                          Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
6756
6757
6758
6759
6760
6761
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
6762
6763
6764
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
6765
6766
6767
                                    format: int32
                                    type: integer
                                  grpc:
6768
                                    description: GRPC specifies a GRPC HealthCheckRequest.
6769
6770
                                    properties:
                                      port:
6771
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
6772
6773
6774
6775
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
6776
6777
6778
6779
6780
                                        description: |-
                                          Service is the name of the service to place in the gRPC HealthCheckRequest
                                          (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                          If this is not specified, the default behavior is defined by gRPC.
6781
6782
6783
6784
6785
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
6786
                                    description: HTTPGet specifies an HTTP GET request to perform.
6787
6788
                                    properties:
                                      host:
6789
6790
6791
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
6792
6793
                                        type: string
                                      httpHeaders:
6794
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
6795
                                        items:
6796
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
6797
6798
                                          properties:
                                            name:
6799
6800
6801
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
6802
6803
                                              type: string
                                            value:
6804
                                              description: The header field value
6805
6806
6807
6808
6809
6810
6811
6812
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
6813
                                        description: Path to access on the HTTP server.
6814
6815
6816
6817
6818
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
6819
6820
6821
6822
                                        description: |-
                                          Name or number of the port to access on the container.
                                          Number must be in the range 1 to 65535.
                                          Name must be an IANA_SVC_NAME.
6823
6824
                                        x-kubernetes-int-or-string: true
                                      scheme:
6825
6826
6827
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
6828
6829
6830
6831
6832
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
6833
6834
6835
                                    description: |-
                                      Number of seconds after the container has started before liveness probes are initiated.
                                      More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
6836
6837
6838
                                    format: int32
                                    type: integer
                                  periodSeconds:
6839
6840
6841
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
6842
6843
6844
                                    format: int32
                                    type: integer
                                  successThreshold:
6845
6846
6847
                                    description: |-
                                      Minimum consecutive successes for the probe to be considered successful after having failed.
                                      Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
6848
6849
6850
                                    format: int32
                                    type: integer
                                  tcpSocket:
6851
                                    description: TCPSocket specifies a connection to a TCP port.
6852
6853
                                    properties:
                                      host:
6854
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
6855
6856
6857
6858
6859
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
6860
6861
6862
6863
                                        description: |-
                                          Number or name of the port to access on the container.
                                          Number must be in the range 1 to 65535.
                                          Name must be an IANA_SVC_NAME.
6864
6865
6866
6867
6868
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
                                    description: |-
                                      Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                      The grace period is the duration in seconds after the processes running in the pod are sent
                                      a termination signal and the time when the processes are forcibly halted with a kill signal.
                                      Set this value longer than the expected cleanup time for your process.
                                      If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                      value overrides the value provided by the pod spec.
                                      Value must be non-negative integer. The value zero indicates stop immediately via
                                      the kill signal (no opportunity to shut down).
                                      This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                      Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
6880
6881
6882
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
6883
6884
6885
6886
                                    description: |-
                                      Number of seconds after which the probe times out.
                                      Defaults to 1 second. Minimum value is 1.
                                      More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
6887
6888
6889
6890
                                    format: int32
                                    type: integer
                                type: object
                              resizePolicy:
6891
                                description: Resources resize policy for the container.
6892
                                items:
6893
                                  description: ContainerResizePolicy represents resource resize policy for the container.
6894
6895
                                  properties:
                                    resourceName:
6896
6897
6898
                                      description: |-
                                        Name of the resource to which this resource resize policy applies.
                                        Supported values: cpu, memory.
6899
6900
                                      type: string
                                    restartPolicy:
6901
6902
6903
                                      description: |-
                                        Restart policy to apply when specified resource is resized.
                                        If not specified, it defaults to NotRequired.
6904
6905
6906
6907
6908
6909
6910
6911
                                      type: string
                                  required:
                                    - resourceName
                                    - restartPolicy
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              resources:
6912
6913
6914
6915
                                description: |-
                                  Compute Resources required by this container.
                                  Cannot be updated.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6916
6917
                                properties:
                                  claims:
6918
6919
6920
6921
6922
6923
6924
6925
                                    description: |-
                                      Claims lists the names of resources, defined in spec.resourceClaims,
                                      that are used by this container.

                                      This is an alpha field and requires enabling the
                                      DynamicResourceAllocation feature gate.

                                      This field is immutable. It can only be set for containers.
6926
                                    items:
6927
                                      description: ResourceClaim references one entry in PodSpec.ResourceClaims.
6928
6929
                                      properties:
                                        name:
6930
6931
6932
6933
                                          description: |-
                                            Name must match the name of one entry in pod.spec.resourceClaims of
                                            the Pod where this field is used. It makes that resource available
                                            inside a container.
6934
6935
                                          type: string
                                        request:
6936
6937
6938
6939
                                          description: |-
                                            Request is the name chosen for a request in the referenced claim.
                                            If empty, everything from the claim is made available, otherwise
                                            only the result of this request.
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
                                          type: string
                                      required:
                                        - name
                                      type: object
                                    type: array
                                    x-kubernetes-list-map-keys:
                                      - name
                                    x-kubernetes-list-type: map
                                  limits:
                                    additionalProperties:
                                      anyOf:
                                        - type: integer
                                        - type: string
                                      pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                      x-kubernetes-int-or-string: true
6955
6956
6957
                                    description: |-
                                      Limits describes the maximum amount of compute resources allowed.
                                      More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6958
6959
6960
6961
6962
6963
6964
6965
                                    type: object
                                  requests:
                                    additionalProperties:
                                      anyOf:
                                        - type: integer
                                        - type: string
                                      pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                      x-kubernetes-int-or-string: true
6966
6967
6968
6969
6970
                                    description: |-
                                      Requests describes the minimum amount of compute resources required.
                                      If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
                                      otherwise to an implementation-defined value. Requests cannot exceed Limits.
                                      More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6971
6972
6973
                                    type: object
                                type: object
                              restartPolicy:
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
                                description: |-
                                  RestartPolicy defines the restart behavior of individual containers in a pod.
                                  This field may only be set for init containers, and the only allowed value is "Always".
                                  For non-init containers or when this field is not specified,
                                  the restart behavior is defined by the Pod's restart policy and the container type.
                                  Setting the RestartPolicy as "Always" for the init container will have the following effect:
                                  this init container will be continually restarted on
                                  exit until all regular containers have terminated. Once all regular
                                  containers have completed, all init containers with restartPolicy "Always"
                                  will be shut down. This lifecycle differs from normal init containers and
                                  is often referred to as a "sidecar" container. Although this init
                                  container still starts in the init container sequence, it does not wait
                                  for the container to complete before proceeding to the next init
                                  container. Instead, the next init container starts immediately after this
                                  init container is started, or after any startupProbe has successfully
                                  completed.
6990
6991
                                type: string
                              securityContext:
6992
6993
6994
6995
                                description: |-
                                  SecurityContext defines the security options the container should be run with.
                                  If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
                                  More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
6996
6997
                                properties:
                                  allowPrivilegeEscalation:
6998
6999
7000
7001
7002
7003
7004
7005
                                    description: |-
                                      AllowPrivilegeEscalation controls whether a process can gain more
                                      privileges than its parent process. This bool directly controls if
                                      the no_new_privs flag will be set on the container process.
                                      AllowPrivilegeEscalation is true always when the container is:
                                      1) run as Privileged
                                      2) has CAP_SYS_ADMIN
                                      Note that this field cannot be set when spec.os.name is windows.
7006
7007
                                    type: boolean
                                  appArmorProfile:
7008
7009
7010
7011
                                    description: |-
                                      appArmorProfile is the AppArmor options to use by this container. If set, this profile
                                      overrides the pod's appArmorProfile.
                                      Note that this field cannot be set when spec.os.name is windows.
7012
7013
                                    properties:
                                      localhostProfile:
7014
7015
7016
7017
7018
                                        description: |-
                                          localhostProfile indicates a profile loaded on the node that should be used.
                                          The profile must be preconfigured on the node to work.
                                          Must match the loaded name of the profile.
                                          Must be set if and only if type is "Localhost".
7019
7020
                                        type: string
                                      type:
7021
7022
7023
7024
7025
7026
                                        description: |-
                                          type indicates which kind of AppArmor profile will be applied.
                                          Valid options are:
                                            Localhost - a profile pre-loaded on the node.
                                            RuntimeDefault - the container runtime's default profile.
                                            Unconfined - no AppArmor enforcement.
7027
7028
7029
7030
7031
                                        type: string
                                    required:
                                      - type
                                    type: object
                                  capabilities:
7032
7033
7034
7035
                                    description: |-
                                      The capabilities to add/drop when running containers.
                                      Defaults to the default set of capabilities granted by the container runtime.
                                      Note that this field cannot be set when spec.os.name is windows.
7036
7037
                                    properties:
                                      add:
7038
                                        description: Added capabilities
7039
                                        items:
7040
                                          description: Capability represent POSIX capabilities type
7041
7042
7043
7044
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      drop:
7045
                                        description: Removed capabilities
7046
                                        items:
7047
                                          description: Capability represent POSIX capabilities type
7048
7049
7050
7051
7052
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  privileged:
7053
7054
7055
7056
7057
                                    description: |-
                                      Run container in privileged mode.
                                      Processes in privileged containers are essentially equivalent to root on the host.
                                      Defaults to false.
                                      Note that this field cannot be set when spec.os.name is windows.
7058
7059
                                    type: boolean
                                  procMount:
7060
7061
7062
7063
7064
7065
                                    description: |-
                                      procMount denotes the type of proc mount to use for the containers.
                                      The default value is Default which uses the container runtime defaults for
                                      readonly paths and masked paths.
                                      This requires the ProcMountType feature flag to be enabled.
                                      Note that this field cannot be set when spec.os.name is windows.
7066
7067
                                    type: string
                                  readOnlyRootFilesystem:
7068
7069
7070
7071
                                    description: |-
                                      Whether this container has a read-only root filesystem.
                                      Default is false.
                                      Note that this field cannot be set when spec.os.name is windows.
7072
7073
                                    type: boolean
                                  runAsGroup:
7074
7075
7076
7077
7078
7079
                                    description: |-
                                      The GID to run the entrypoint of the container process.
                                      Uses runtime default if unset.
                                      May also be set in PodSecurityContext.  If set in both SecurityContext and
                                      PodSecurityContext, the value specified in SecurityContext takes precedence.
                                      Note that this field cannot be set when spec.os.name is windows.
7080
7081
7082
                                    format: int64
                                    type: integer
                                  runAsNonRoot:
7083
7084
7085
7086
7087
7088
7089
                                    description: |-
                                      Indicates that the container must run as a non-root user.
                                      If true, the Kubelet will validate the image at runtime to ensure that it
                                      does not run as UID 0 (root) and fail to start the container if it does.
                                      If unset or false, no such validation will be performed.
                                      May also be set in PodSecurityContext.  If set in both SecurityContext and
                                      PodSecurityContext, the value specified in SecurityContext takes precedence.
7090
7091
                                    type: boolean
                                  runAsUser:
7092
7093
7094
7095
7096
7097
                                    description: |-
                                      The UID to run the entrypoint of the container process.
                                      Defaults to user specified in image metadata if unspecified.
                                      May also be set in PodSecurityContext.  If set in both SecurityContext and
                                      PodSecurityContext, the value specified in SecurityContext takes precedence.
                                      Note that this field cannot be set when spec.os.name is windows.
7098
7099
7100
                                    format: int64
                                    type: integer
                                  seLinuxOptions:
7101
7102
7103
7104
7105
7106
                                    description: |-
                                      The SELinux context to be applied to the container.
                                      If unspecified, the container runtime will allocate a random SELinux context for each
                                      container.  May also be set in PodSecurityContext.  If set in both SecurityContext and
                                      PodSecurityContext, the value specified in SecurityContext takes precedence.
                                      Note that this field cannot be set when spec.os.name is windows.
7107
7108
                                    properties:
                                      level:
7109
                                        description: Level is SELinux level label that applies to the container.
7110
7111
                                        type: string
                                      role:
7112
                                        description: Role is a SELinux role label that applies to the container.
7113
7114
                                        type: string
                                      type:
7115
                                        description: Type is a SELinux type label that applies to the container.
7116
7117
                                        type: string
                                      user:
7118
                                        description: User is a SELinux user label that applies to the container.
7119
7120
7121
                                        type: string
                                    type: object
                                  seccompProfile:
7122
7123
7124
7125
7126
                                    description: |-
                                      The seccomp options to use by this container. If seccomp options are
                                      provided at both the pod & container level, the container options
                                      override the pod options.
                                      Note that this field cannot be set when spec.os.name is windows.
7127
7128
                                    properties:
                                      localhostProfile:
7129
7130
7131
7132
7133
                                        description: |-
                                          localhostProfile indicates a profile defined in a file on the node should be used.
                                          The profile must be preconfigured on the node to work.
                                          Must be a descending path, relative to the kubelet's configured seccomp profile location.
                                          Must be set if type is "Localhost". Must NOT be set for any other type.
7134
7135
                                        type: string
                                      type:
7136
7137
7138
7139
7140
7141
7142
                                        description: |-
                                          type indicates which kind of seccomp profile will be applied.
                                          Valid options are:

                                          Localhost - a profile defined in a file on the node should be used.
                                          RuntimeDefault - the container runtime default profile should be used.
                                          Unconfined - no profile should be applied.
7143
7144
7145
7146
7147
                                        type: string
                                    required:
                                      - type
                                    type: object
                                  windowsOptions:
7148
7149
7150
7151
7152
                                    description: |-
                                      The Windows specific settings applied to all containers.
                                      If unspecified, the options from the PodSecurityContext will be used.
                                      If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
                                      Note that this field cannot be set when spec.os.name is linux.
7153
7154
                                    properties:
                                      gmsaCredentialSpec:
7155
7156
7157
7158
                                        description: |-
                                          GMSACredentialSpec is where the GMSA admission webhook
                                          (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
                                          GMSA credential spec named by the GMSACredentialSpecName field.
7159
7160
                                        type: string
                                      gmsaCredentialSpecName:
7161
                                        description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
7162
7163
                                        type: string
                                      hostProcess:
7164
7165
7166
7167
7168
                                        description: |-
                                          HostProcess determines if a container should be run as a 'Host Process' container.
                                          All of a Pod's containers must have the same effective HostProcess value
                                          (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
                                          In addition, if HostProcess is true then HostNetwork must also be set to true.
7169
7170
                                        type: boolean
                                      runAsUserName:
7171
7172
7173
7174
7175
                                        description: |-
                                          The UserName in Windows to run the entrypoint of the container process.
                                          Defaults to the user specified in image metadata if unspecified.
                                          May also be set in PodSecurityContext. If set in both SecurityContext and
                                          PodSecurityContext, the value specified in SecurityContext takes precedence.
7176
7177
7178
7179
                                        type: string
                                    type: object
                                type: object
                              startupProbe:
7180
7181
7182
7183
7184
7185
7186
7187
                                description: |-
                                  StartupProbe indicates that the Pod has successfully initialized.
                                  If specified, no other probes are executed until this completes successfully.
                                  If this probe fails, the Pod will be restarted, just as if the livenessProbe failed.
                                  This can be used to provide different probe parameters at the beginning of a Pod's lifecycle,
                                  when it might take a long time to load data or warm a cache, than during steady-state operation.
                                  This cannot be updated.
                                  More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
7188
7189
                                properties:
                                  exec:
7190
                                    description: Exec specifies a command to execute in the container.
7191
7192
                                    properties:
                                      command:
7193
7194
7195
7196
7197
7198
                                        description: |-
                                          Command is the command line to execute inside the container, the working directory for the
                                          command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                          not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                          a shell, you need to explicitly call out to that shell.
                                          Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
7199
7200
7201
7202
7203
7204
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
7205
7206
7207
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
7208
7209
7210
                                    format: int32
                                    type: integer
                                  grpc:
7211
                                    description: GRPC specifies a GRPC HealthCheckRequest.
7212
7213
                                    properties:
                                      port:
7214
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
7215
7216
7217
7218
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
7219
7220
7221
7222
7223
                                        description: |-
                                          Service is the name of the service to place in the gRPC HealthCheckRequest
                                          (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                          If this is not specified, the default behavior is defined by gRPC.
7224
7225
7226
7227
7228
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
7229
                                    description: HTTPGet specifies an HTTP GET request to perform.
7230
7231
                                    properties:
                                      host:
7232
7233
7234
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
7235
7236
                                        type: string
                                      httpHeaders:
7237
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
7238
                                        items:
7239
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
7240
7241
                                          properties:
                                            name:
7242
7243
7244
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
7245
7246
                                              type: string
                                            value:
7247
                                              description: The header field value
7248
7249
7250
7251
7252
7253
7254
7255
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
7256
                                        description: Path to access on the HTTP server.
7257
7258
7259
7260
7261
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7262
7263
7264
7265
                                        description: |-
                                          Name or number of the port to access on the container.
                                          Number must be in the range 1 to 65535.
                                          Name must be an IANA_SVC_NAME.
7266
7267
                                        x-kubernetes-int-or-string: true
                                      scheme:
7268
7269
7270
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
7271
7272
7273
7274
7275
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
7276
7277
7278
                                    description: |-
                                      Number of seconds after the container has started before liveness probes are initiated.
                                      More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
7279
7280
7281
                                    format: int32
                                    type: integer
                                  periodSeconds:
7282
7283
7284
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
7285
7286
7287
                                    format: int32
                                    type: integer
                                  successThreshold:
7288
7289
7290
                                    description: |-
                                      Minimum consecutive successes for the probe to be considered successful after having failed.
                                      Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
7291
7292
7293
                                    format: int32
                                    type: integer
                                  tcpSocket:
7294
                                    description: TCPSocket specifies a connection to a TCP port.
7295
7296
                                    properties:
                                      host:
7297
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
7298
7299
7300
7301
7302
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7303
7304
7305
7306
                                        description: |-
                                          Number or name of the port to access on the container.
                                          Number must be in the range 1 to 65535.
                                          Name must be an IANA_SVC_NAME.
7307
7308
7309
7310
7311
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
                                    description: |-
                                      Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                      The grace period is the duration in seconds after the processes running in the pod are sent
                                      a termination signal and the time when the processes are forcibly halted with a kill signal.
                                      Set this value longer than the expected cleanup time for your process.
                                      If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                      value overrides the value provided by the pod spec.
                                      Value must be non-negative integer. The value zero indicates stop immediately via
                                      the kill signal (no opportunity to shut down).
                                      This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                      Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
7323
7324
7325
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
7326
7327
7328
7329
                                    description: |-
                                      Number of seconds after which the probe times out.
                                      Defaults to 1 second. Minimum value is 1.
                                      More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
7330
7331
7332
7333
                                    format: int32
                                    type: integer
                                type: object
                              stdin:
7334
7335
7336
7337
                                description: |-
                                  Whether this container should allocate a buffer for stdin in the container runtime. If this
                                  is not set, reads from stdin in the container will always result in EOF.
                                  Default is false.
7338
7339
                                type: boolean
                              stdinOnce:
7340
7341
7342
7343
7344
7345
7346
7347
                                description: |-
                                  Whether the container runtime should close the stdin channel after it has been opened by
                                  a single attach. When stdin is true the stdin stream will remain open across multiple attach
                                  sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
                                  first client attaches to stdin, and then remains open and accepts data until the client disconnects,
                                  at which time stdin is closed and remains closed until the container is restarted. If this
                                  flag is false, a container processes that reads from stdin will never receive an EOF.
                                  Default is false
7348
7349
                                type: boolean
                              terminationMessagePath:
7350
7351
7352
7353
7354
7355
7356
7357
                                description: |-
                                  Optional: Path at which the file to which the container's termination message
                                  will be written is mounted into the container's filesystem.
                                  Message written is intended to be brief final status, such as an assertion failure message.
                                  Will be truncated by the node if greater than 4096 bytes. The total message length across
                                  all containers will be limited to 12kb.
                                  Defaults to /dev/termination-log.
                                  Cannot be updated.
7358
7359
                                type: string
                              terminationMessagePolicy:
7360
7361
7362
7363
7364
7365
7366
7367
                                description: |-
                                  Indicate how the termination message should be populated. File will use the contents of
                                  terminationMessagePath to populate the container status message on both success and failure.
                                  FallbackToLogsOnError will use the last chunk of container log output if the termination
                                  message file is empty and the container exited with an error.
                                  The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
                                  Defaults to File.
                                  Cannot be updated.
7368
7369
                                type: string
                              tty:
7370
7371
7372
                                description: |-
                                  Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                  Default is false.
7373
7374
                                type: boolean
                              volumeDevices:
7375
                                description: volumeDevices is the list of block devices to be used by the container.
7376
                                items:
7377
                                  description: volumeDevice describes a mapping of a raw block device within a container.
7378
7379
                                  properties:
                                    devicePath:
7380
                                      description: devicePath is the path inside of the container that the device will be mapped to.
7381
7382
                                      type: string
                                    name:
7383
                                      description: name must match the name of a persistentVolumeClaim in the pod
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
                                      type: string
                                  required:
                                    - devicePath
                                    - name
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - devicePath
                                x-kubernetes-list-type: map
                              volumeMounts:
7394
7395
7396
                                description: |-
                                  Pod volumes to mount into the container's filesystem.
                                  Cannot be updated.
7397
                                items:
7398
                                  description: VolumeMount describes a mounting of a Volume within a container.
7399
7400
                                  properties:
                                    mountPath:
7401
7402
7403
                                      description: |-
                                        Path within the container at which the volume should be mounted.  Must
                                        not contain ':'.
7404
7405
                                      type: string
                                    mountPropagation:
7406
7407
7408
7409
7410
7411
7412
                                      description: |-
                                        mountPropagation determines how mounts are propagated from the host
                                        to container and the other way around.
                                        When not set, MountPropagationNone is used.
                                        This field is beta in 1.10.
                                        When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
                                        (which defaults to None).
7413
7414
                                      type: string
                                    name:
7415
                                      description: This must match the Name of a Volume.
7416
7417
                                      type: string
                                    readOnly:
7418
7419
7420
                                      description: |-
                                        Mounted read-only if true, read-write otherwise (false or unspecified).
                                        Defaults to false.
7421
7422
                                      type: boolean
                                    recursiveReadOnly:
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
                                      description: |-
                                        RecursiveReadOnly specifies whether read-only mounts should be handled
                                        recursively.

                                        If ReadOnly is false, this field has no meaning and must be unspecified.

                                        If ReadOnly is true, and this field is set to Disabled, the mount is not made
                                        recursively read-only.  If this field is set to IfPossible, the mount is made
                                        recursively read-only, if it is supported by the container runtime.  If this
                                        field is set to Enabled, the mount is made recursively read-only if it is
                                        supported by the container runtime, otherwise the pod will not be started and
                                        an error will be generated to indicate the reason.

                                        If this field is set to IfPossible or Enabled, MountPropagation must be set to
                                        None (or be unspecified, which defaults to None).

                                        If this field is not specified, it is treated as an equivalent of Disabled.
7440
7441
                                      type: string
                                    subPath:
7442
7443
7444
                                      description: |-
                                        Path within the volume from which the container's volume should be mounted.
                                        Defaults to "" (volume's root).
7445
7446
                                      type: string
                                    subPathExpr:
7447
7448
7449
7450
7451
                                      description: |-
                                        Expanded path within the volume from which the container's volume should be mounted.
                                        Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
                                        Defaults to "" (volume's root).
                                        SubPathExpr and SubPath are mutually exclusive.
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
                                      type: string
                                  required:
                                    - mountPath
                                    - name
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - mountPath
                                x-kubernetes-list-type: map
                              workingDir:
7462
7463
7464
7465
7466
                                description: |-
                                  Container's working directory.
                                  If not specified, the container runtime's default will be used, which
                                  might be configured in the container image.
                                  Cannot be updated.
7467
7468
7469
7470
                                type: string
                            required: []
                            type: object
                          nodeName:
7471
7472
7473
7474
7475
7476
                            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
7477
7478
7479
7480
                            type: string
                          nodeSelector:
                            additionalProperties:
                              type: string
7481
7482
7483
7484
                            description: |-
                              NodeSelector is a selector which must be true for the pod to fit on a node.
                              Selector which must match a node's labels for the pod to be scheduled on that node.
                              More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
7485
7486
7487
                            type: object
                            x-kubernetes-map-type: atomic
                          os:
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
                            description: |-
                              Specifies the OS of the containers in the pod.
                              Some pod and container fields are restricted if this is set.

                              If the OS field is set to linux, the following fields must be unset:
                              -securityContext.windowsOptions

                              If the OS field is set to windows, following fields must be unset:
                              - spec.hostPID
                              - spec.hostIPC
                              - spec.hostUsers
                              - spec.securityContext.appArmorProfile
                              - spec.securityContext.seLinuxOptions
                              - spec.securityContext.seccompProfile
                              - spec.securityContext.fsGroup
                              - spec.securityContext.fsGroupChangePolicy
                              - spec.securityContext.sysctls
                              - spec.shareProcessNamespace
                              - spec.securityContext.runAsUser
                              - spec.securityContext.runAsGroup
                              - spec.securityContext.supplementalGroups
                              - spec.securityContext.supplementalGroupsPolicy
                              - spec.containers[*].securityContext.appArmorProfile
                              - spec.containers[*].securityContext.seLinuxOptions
                              - spec.containers[*].securityContext.seccompProfile
                              - spec.containers[*].securityContext.capabilities
                              - spec.containers[*].securityContext.readOnlyRootFilesystem
                              - spec.containers[*].securityContext.privileged
                              - spec.containers[*].securityContext.allowPrivilegeEscalation
                              - spec.containers[*].securityContext.procMount
                              - spec.containers[*].securityContext.runAsUser
                              - spec.containers[*].securityContext.runAsGroup
7520
7521
                            properties:
                              name:
7522
7523
7524
7525
7526
                                description: |-
                                  Name is the name of the operating system. The currently supported values are linux and windows.
                                  Additional value may be defined in future and can be one of:
                                  https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration
                                  Clients should expect to handle additional values and treat unrecognized values in this field as os: null
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
                                type: string
                            required:
                              - name
                            type: object
                          overhead:
                            additionalProperties:
                              anyOf:
                                - type: integer
                                - type: string
                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                              x-kubernetes-int-or-string: true
7538
7539
7540
7541
7542
7543
7544
7545
                            description: |-
                              Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.
                              This field will be autopopulated at admission time by the RuntimeClass admission controller. If
                              the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests.
                              The RuntimeClass admission controller will reject Pod create requests which have the overhead already
                              set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value
                              defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero.
                              More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
7546
7547
                            type: object
                          preemptionPolicy:
7548
7549
7550
7551
                            description: |-
                              PreemptionPolicy is the Policy for preempting pods with lower priority.
                              One of Never, PreemptLowerPriority.
                              Defaults to PreemptLowerPriority if unset.
7552
7553
                            type: string
                          priority:
7554
7555
7556
7557
7558
7559
                            description: |-
                              The priority value. Various system components use this field to find the
                              priority of the pod. When Priority Admission Controller is enabled, it
                              prevents users from setting this field. The admission controller populates
                              this field from PriorityClassName.
                              The higher the value, the higher the priority.
7560
7561
7562
                            format: int32
                            type: integer
                          priorityClassName:
7563
7564
7565
7566
7567
7568
7569
                            description: |-
                              If specified, indicates the pod's priority. "system-node-critical" and
                              "system-cluster-critical" are two special keywords which indicate the
                              highest priorities with the former being the highest priority. Any other
                              name must be defined by creating a PriorityClass object with that name.
                              If not specified, the pod priority will be default or zero if there is no
                              default.
7570
7571
                            type: string
                          readinessGates:
7572
7573
7574
7575
7576
                            description: |-
                              If specified, all readiness gates will be evaluated for pod readiness.
                              A pod is ready when all its containers are ready AND
                              all conditions specified in the readiness gates have status equal to "True"
                              More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates
7577
                            items:
7578
                              description: PodReadinessGate contains the reference to a pod condition
7579
7580
                              properties:
                                conditionType:
7581
                                  description: ConditionType refers to a condition in the pod's condition list with matching type.
7582
7583
7584
7585
7586
7587
7588
                                  type: string
                              required:
                                - conditionType
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          resourceClaims:
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
                            description: |-
                              ResourceClaims defines which ResourceClaims must be allocated
                              and reserved before the Pod is allowed to start. The resources
                              will be made available to those containers which consume them
                              by name.

                              This is an alpha field and requires enabling the
                              DynamicResourceAllocation feature gate.

                              This field is immutable.
7599
                            items:
7600
7601
7602
7603
7604
7605
7606
                              description: |-
                                PodResourceClaim references exactly one ResourceClaim, either directly
                                or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim
                                for the pod.

                                It adds a name to it that uniquely identifies the ResourceClaim inside the Pod.
                                Containers that need access to the ResourceClaim reference it with this name.
7607
7608
                              properties:
                                name:
7609
7610
7611
                                  description: |-
                                    Name uniquely identifies this resource claim inside the pod.
                                    This must be a DNS_LABEL.
7612
7613
                                  type: string
                                resourceClaimName:
7614
7615
7616
7617
7618
7619
                                  description: |-
                                    ResourceClaimName is the name of a ResourceClaim object in the same
                                    namespace as this pod.

                                    Exactly one of ResourceClaimName and ResourceClaimTemplateName must
                                    be set.
7620
7621
                                  type: string
                                resourceClaimTemplateName:
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
                                  description: |-
                                    ResourceClaimTemplateName is the name of a ResourceClaimTemplate
                                    object in the same namespace as this pod.

                                    The template will be used to create a new ResourceClaim, which will
                                    be bound to this pod. When this pod is deleted, the ResourceClaim
                                    will also be deleted. The pod name and resource name, along with a
                                    generated component, will be used to form a unique name for the
                                    ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.

                                    This field is immutable and no changes will be made to the
                                    corresponding ResourceClaim by the control plane after creating the
                                    ResourceClaim.

                                    Exactly one of ResourceClaimName and ResourceClaimTemplateName must
                                    be set.
7638
7639
7640
7641
7642
7643
7644
7645
7646
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          resources:
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
                            description: |-
                              Resources is the total amount of CPU and Memory resources required by all
                              containers in the pod. It supports specifying Requests and Limits for
                              "cpu" and "memory" resource names only. ResourceClaims are not supported.

                              This field enables fine-grained control over resource allocation for the
                              entire pod, allowing resource sharing among containers in a pod.

                              This is an alpha field and requires enabling the PodLevelResources feature
                              gate.
7657
7658
                            properties:
                              claims:
7659
7660
7661
7662
7663
7664
7665
7666
                                description: |-
                                  Claims lists the names of resources, defined in spec.resourceClaims,
                                  that are used by this container.

                                  This is an alpha field and requires enabling the
                                  DynamicResourceAllocation feature gate.

                                  This field is immutable. It can only be set for containers.
7667
                                items:
7668
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
7669
7670
                                  properties:
                                    name:
7671
7672
7673
7674
                                      description: |-
                                        Name must match the name of one entry in pod.spec.resourceClaims of
                                        the Pod where this field is used. It makes that resource available
                                        inside a container.
7675
7676
                                      type: string
                                    request:
7677
7678
7679
7680
                                      description: |-
                                        Request is the name chosen for a request in the referenced claim.
                                        If empty, everything from the claim is made available, otherwise
                                        only the result of this request.
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
                                      type: string
                                  required:
                                    - name
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - name
                                x-kubernetes-list-type: map
                              limits:
                                additionalProperties:
                                  anyOf:
                                    - type: integer
                                    - type: string
                                  pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                  x-kubernetes-int-or-string: true
7696
7697
7698
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
7699
7700
7701
7702
7703
7704
7705
7706
                                type: object
                              requests:
                                additionalProperties:
                                  anyOf:
                                    - type: integer
                                    - type: string
                                  pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                  x-kubernetes-int-or-string: true
7707
7708
7709
7710
7711
                                description: |-
                                  Requests describes the minimum amount of compute resources required.
                                  If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
                                  otherwise to an implementation-defined value. Requests cannot exceed Limits.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
7712
7713
7714
                                type: object
                            type: object
                          restartPolicy:
7715
7716
7717
7718
7719
                            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
7720
7721
                            type: string
                          runtimeClassName:
7722
7723
7724
7725
7726
7727
                            description: |-
                              RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
                              to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run.
                              If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an
                              empty definition that uses the default runtime handler.
                              More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
7728
7729
                            type: string
                          schedulerName:
7730
7731
7732
                            description: |-
                              If specified, the pod will be dispatched by specified scheduler.
                              If not specified, the pod will be dispatched by default scheduler.
7733
7734
                            type: string
                          schedulingGates:
7735
7736
7737
7738
7739
7740
                            description: |-
                              SchedulingGates is an opaque list of values that if specified will block scheduling the pod.
                              If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the
                              scheduler will not attempt to schedule the pod.

                              SchedulingGates can only be set at pod creation time, and be removed only afterwards.
7741
                            items:
7742
                              description: PodSchedulingGate is associated to a Pod to guard its scheduling.
7743
7744
                              properties:
                                name:
7745
7746
7747
                                  description: |-
                                    Name of the scheduling gate.
                                    Each scheduling gate must have a unique name field.
7748
7749
7750
7751
7752
7753
7754
7755
7756
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          securityContext:
7757
7758
7759
                            description: |-
                              SecurityContext holds pod-level security attributes and common container settings.
                              Optional: Defaults to empty.  See type description for default values of each field.
7760
7761
                            properties:
                              appArmorProfile:
7762
7763
7764
                                description: |-
                                  appArmorProfile is the AppArmor options to use by the containers in this pod.
                                  Note that this field cannot be set when spec.os.name is windows.
7765
7766
                                properties:
                                  localhostProfile:
7767
7768
7769
7770
7771
                                    description: |-
                                      localhostProfile indicates a profile loaded on the node that should be used.
                                      The profile must be preconfigured on the node to work.
                                      Must match the loaded name of the profile.
                                      Must be set if and only if type is "Localhost".
7772
7773
                                    type: string
                                  type:
7774
7775
7776
7777
7778
7779
                                    description: |-
                                      type indicates which kind of AppArmor profile will be applied.
                                      Valid options are:
                                        Localhost - a profile pre-loaded on the node.
                                        RuntimeDefault - the container runtime's default profile.
                                        Unconfined - no AppArmor enforcement.
7780
7781
7782
7783
7784
                                    type: string
                                required:
                                  - type
                                type: object
                              fsGroup:
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
                                description: |-
                                  A special supplemental group that applies to all containers in a pod.
                                  Some volume types allow the Kubelet to change the ownership of that volume
                                  to be owned by the pod:

                                  1. The owning GID will be the FSGroup
                                  2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
                                  3. The permission bits are OR'd with rw-rw----

                                  If unset, the Kubelet will not modify the ownership and permissions of any volume.
                                  Note that this field cannot be set when spec.os.name is windows.
7796
7797
7798
                                format: int64
                                type: integer
                              fsGroupChangePolicy:
7799
7800
7801
7802
7803
7804
7805
7806
                                description: |-
                                  fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
                                  before being exposed inside Pod. This field will only apply to
                                  volume types which support fsGroup based ownership(and permissions).
                                  It will have no effect on ephemeral volume types such as: secret, configmaps
                                  and emptydir.
                                  Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
                                  Note that this field cannot be set when spec.os.name is windows.
7807
7808
                                type: string
                              runAsGroup:
7809
7810
7811
7812
7813
7814
7815
                                description: |-
                                  The GID to run the entrypoint of the container process.
                                  Uses runtime default if unset.
                                  May also be set in SecurityContext.  If set in both SecurityContext and
                                  PodSecurityContext, the value specified in SecurityContext takes precedence
                                  for that container.
                                  Note that this field cannot be set when spec.os.name is windows.
7816
7817
7818
                                format: int64
                                type: integer
                              runAsNonRoot:
7819
7820
7821
7822
7823
7824
7825
                                description: |-
                                  Indicates that the container must run as a non-root user.
                                  If true, the Kubelet will validate the image at runtime to ensure that it
                                  does not run as UID 0 (root) and fail to start the container if it does.
                                  If unset or false, no such validation will be performed.
                                  May also be set in SecurityContext.  If set in both SecurityContext and
                                  PodSecurityContext, the value specified in SecurityContext takes precedence.
7826
7827
                                type: boolean
                              runAsUser:
7828
7829
7830
7831
7832
7833
7834
                                description: |-
                                  The UID to run the entrypoint of the container process.
                                  Defaults to user specified in image metadata if unspecified.
                                  May also be set in SecurityContext.  If set in both SecurityContext and
                                  PodSecurityContext, the value specified in SecurityContext takes precedence
                                  for that container.
                                  Note that this field cannot be set when spec.os.name is windows.
7835
7836
7837
                                format: int64
                                type: integer
                              seLinuxChangePolicy:
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
                                description: |-
                                  seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod.
                                  It has no effect on nodes that do not support SELinux or to volumes does not support SELinux.
                                  Valid values are "MountOption" and "Recursive".

                                  "Recursive" means relabeling of all files on all Pod volumes by the container runtime.
                                  This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.

                                  "MountOption" mounts all eligible Pod volumes with `-o context` mount option.
                                  This requires all Pods that share the same volume to use the same SELinux label.
                                  It is not possible to share the same volume among privileged and unprivileged Pods.
                                  Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes
                                  whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their
                                  CSIDriver instance. Other volumes are always re-labelled recursively.
                                  "MountOption" value is allowed only when SELinuxMount feature gate is enabled.

                                  If not specified and SELinuxMount feature gate is enabled, "MountOption" is used.
                                  If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes
                                  and "Recursive" for all other volumes.

                                  This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.

                                  All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state.
                                  Note that this field cannot be set when spec.os.name is windows.
7862
7863
                                type: string
                              seLinuxOptions:
7864
7865
7866
7867
7868
7869
7870
                                description: |-
                                  The SELinux context to be applied to all containers.
                                  If unspecified, the container runtime will allocate a random SELinux context for each
                                  container.  May also be set in SecurityContext.  If set in
                                  both SecurityContext and PodSecurityContext, the value specified in SecurityContext
                                  takes precedence for that container.
                                  Note that this field cannot be set when spec.os.name is windows.
7871
7872
                                properties:
                                  level:
7873
                                    description: Level is SELinux level label that applies to the container.
7874
7875
                                    type: string
                                  role:
7876
                                    description: Role is a SELinux role label that applies to the container.
7877
7878
                                    type: string
                                  type:
7879
                                    description: Type is a SELinux type label that applies to the container.
7880
7881
                                    type: string
                                  user:
7882
                                    description: User is a SELinux user label that applies to the container.
7883
7884
7885
                                    type: string
                                type: object
                              seccompProfile:
7886
7887
7888
                                description: |-
                                  The seccomp options to use by the containers in this pod.
                                  Note that this field cannot be set when spec.os.name is windows.
7889
7890
                                properties:
                                  localhostProfile:
7891
7892
7893
7894
7895
                                    description: |-
                                      localhostProfile indicates a profile defined in a file on the node should be used.
                                      The profile must be preconfigured on the node to work.
                                      Must be a descending path, relative to the kubelet's configured seccomp profile location.
                                      Must be set if type is "Localhost". Must NOT be set for any other type.
7896
7897
                                    type: string
                                  type:
7898
7899
7900
7901
7902
7903
7904
                                    description: |-
                                      type indicates which kind of seccomp profile will be applied.
                                      Valid options are:

                                      Localhost - a profile defined in a file on the node should be used.
                                      RuntimeDefault - the container runtime default profile should be used.
                                      Unconfined - no profile should be applied.
7905
7906
7907
7908
7909
                                    type: string
                                required:
                                  - type
                                type: object
                              supplementalGroups:
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
                                description: |-
                                  A list of groups applied to the first process run in each container, in
                                  addition to the container's primary GID and fsGroup (if specified).  If
                                  the SupplementalGroupsPolicy feature is enabled, the
                                  supplementalGroupsPolicy field determines whether these are in addition
                                  to or instead of any group memberships defined in the container image.
                                  If unspecified, no additional groups are added, though group memberships
                                  defined in the container image may still be used, depending on the
                                  supplementalGroupsPolicy field.
                                  Note that this field cannot be set when spec.os.name is windows.
7920
7921
7922
7923
7924
7925
                                items:
                                  format: int64
                                  type: integer
                                type: array
                                x-kubernetes-list-type: atomic
                              supplementalGroupsPolicy:
7926
7927
7928
7929
7930
7931
                                description: |-
                                  Defines how supplemental groups of the first container processes are calculated.
                                  Valid values are "Merge" and "Strict". If not specified, "Merge" is used.
                                  (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled
                                  and the container runtime must implement support for this feature.
                                  Note that this field cannot be set when spec.os.name is windows.
7932
7933
                                type: string
                              sysctls:
7934
7935
7936
7937
                                description: |-
                                  Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
                                  sysctls (by the container runtime) might fail to launch.
                                  Note that this field cannot be set when spec.os.name is windows.
7938
                                items:
7939
                                  description: Sysctl defines a kernel parameter to be set
7940
7941
                                  properties:
                                    name:
7942
                                      description: Name of a property to set
7943
7944
                                      type: string
                                    value:
7945
                                      description: Value of a property to set
7946
7947
7948
7949
7950
7951
7952
7953
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              windowsOptions:
7954
7955
7956
7957
7958
                                description: |-
                                  The Windows specific settings applied to all containers.
                                  If unspecified, the options within a container's SecurityContext will be used.
                                  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
                                  Note that this field cannot be set when spec.os.name is linux.
7959
7960
                                properties:
                                  gmsaCredentialSpec:
7961
7962
7963
7964
                                    description: |-
                                      GMSACredentialSpec is where the GMSA admission webhook
                                      (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
                                      GMSA credential spec named by the GMSACredentialSpecName field.
7965
7966
                                    type: string
                                  gmsaCredentialSpecName:
7967
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
7968
7969
                                    type: string
                                  hostProcess:
7970
7971
7972
7973
7974
                                    description: |-
                                      HostProcess determines if a container should be run as a 'Host Process' container.
                                      All of a Pod's containers must have the same effective HostProcess value
                                      (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
                                      In addition, if HostProcess is true then HostNetwork must also be set to true.
7975
7976
                                    type: boolean
                                  runAsUserName:
7977
7978
7979
7980
7981
                                    description: |-
                                      The UserName in Windows to run the entrypoint of the container process.
                                      Defaults to the user specified in image metadata if unspecified.
                                      May also be set in PodSecurityContext. If set in both SecurityContext and
                                      PodSecurityContext, the value specified in SecurityContext takes precedence.
7982
7983
7984
7985
                                    type: string
                                type: object
                            type: object
                          serviceAccount:
7986
7987
7988
                            description: |-
                              DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.
                              Deprecated: Use serviceAccountName instead.
7989
7990
                            type: string
                          serviceAccountName:
7991
7992
7993
                            description: |-
                              ServiceAccountName is the name of the ServiceAccount to use to run this pod.
                              More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
7994
7995
                            type: string
                          setHostnameAsFQDN:
7996
7997
7998
7999
8000
8001
                            description: |-
                              If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default).
                              In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname).
                              In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN.
                              If a pod does not have FQDN, this has no effect.
                              Default to false.
8002
8003
                            type: boolean
                          shareProcessNamespace:
8004
8005
8006
8007
8008
8009
                            description: |-
                              Share a single process namespace between all of the containers in a pod.
                              When this is set containers will be able to view and signal processes from other containers
                              in the same pod, and the first process in each container will not be assigned PID 1.
                              HostPID and ShareProcessNamespace cannot both be set.
                              Optional: Default to false.
8010
8011
                            type: boolean
                          subdomain:
8012
8013
8014
                            description: |-
                              If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
                              If not specified, the pod will not have a domainname at all.
8015
8016
                            type: string
                          terminationGracePeriodSeconds:
8017
8018
8019
8020
8021
8022
8023
8024
8025
                            description: |-
                              Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.
                              Value must be non-negative integer. The value zero indicates stop immediately via
                              the kill signal (no opportunity to shut down).
                              If this value is nil, the default grace period will be used instead.
                              The grace period is the duration in seconds after the processes running in the pod are sent
                              a termination signal and the time when the processes are forcibly halted with a kill signal.
                              Set this value longer than the expected cleanup time for your process.
                              Defaults to 30 seconds.
8026
8027
8028
                            format: int64
                            type: integer
                          tolerations:
8029
                            description: If specified, the pod's tolerations.
8030
                            items:
8031
8032
8033
                              description: |-
                                The pod this Toleration is attached to tolerates any taint that matches
                                the triple <key,value,effect> using the matching operator <operator>.
8034
8035
                              properties:
                                effect:
8036
8037
8038
                                  description: |-
                                    Effect indicates the taint effect to match. Empty means match all taint effects.
                                    When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
8039
8040
                                  type: string
                                key:
8041
8042
8043
                                  description: |-
                                    Key is the taint key that the toleration applies to. Empty means match all taint keys.
                                    If the key is empty, operator must be Exists; this combination means to match all values and all keys.
8044
8045
                                  type: string
                                operator:
8046
8047
8048
8049
8050
                                  description: |-
                                    Operator represents a key's relationship to the value.
                                    Valid operators are Exists and Equal. Defaults to Equal.
                                    Exists is equivalent to wildcard for value, so that a pod can
                                    tolerate all taints of a particular category.
8051
8052
                                  type: string
                                tolerationSeconds:
8053
8054
8055
8056
8057
                                  description: |-
                                    TolerationSeconds represents the period of time the toleration (which must be
                                    of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
                                    it is not set, which means tolerate the taint forever (do not evict). Zero and
                                    negative values will be treated as 0 (evict immediately) by the system.
8058
8059
8060
                                  format: int64
                                  type: integer
                                value:
8061
8062
8063
                                  description: |-
                                    Value is the taint value the toleration matches to.
                                    If the operator is Exists, the value should be empty, otherwise just a regular string.
8064
8065
8066
8067
8068
                                  type: string
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          topologySpreadConstraints:
8069
8070
8071
8072
                            description: |-
                              TopologySpreadConstraints describes how a group of pods ought to spread across topology
                              domains. Scheduler will schedule pods in a way which abides by the constraints.
                              All topologySpreadConstraints are ANDed.
8073
                            items:
8074
                              description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
8075
8076
                              properties:
                                labelSelector:
8077
8078
8079
8080
                                  description: |-
                                    LabelSelector is used to find matching pods.
                                    Pods that match this label selector are counted to determine the number of pods
                                    in their corresponding topology domain.
8081
8082
                                  properties:
                                    matchExpressions:
8083
                                      description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
8084
                                      items:
8085
8086
8087
                                        description: |-
                                          A label selector requirement is a selector that contains values, a key, and an operator that
                                          relates the key and values.
8088
8089
                                        properties:
                                          key:
8090
                                            description: key is the label key that the selector applies to.
8091
8092
                                            type: string
                                          operator:
8093
8094
8095
                                            description: |-
                                              operator represents a key's relationship to a set of values.
                                              Valid operators are In, NotIn, Exists and DoesNotExist.
8096
8097
                                            type: string
                                          values:
8098
8099
8100
8101
8102
                                            description: |-
                                              values is an array of string values. If the operator is In or NotIn,
                                              the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                              the values array must be empty. This array is replaced during a strategic
                                              merge patch.
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
                                            items:
                                              type: string
                                            type: array
                                            x-kubernetes-list-type: atomic
                                        required:
                                          - key
                                          - operator
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    matchLabels:
                                      additionalProperties:
                                        type: string
8116
8117
8118
8119
                                      description: |-
                                        matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                        map is equivalent to an element of matchExpressions, whose key field is "key", the
                                        operator is "In", and the values array contains only "value". The requirements are ANDed.
8120
8121
8122
8123
                                      type: object
                                  type: object
                                  x-kubernetes-map-type: atomic
                                matchLabelKeys:
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
                                  description: |-
                                    MatchLabelKeys is a set of pod label keys to select the pods over which
                                    spreading will be calculated. The keys are used to lookup values from the
                                    incoming pod labels, those key-value labels are ANDed with labelSelector
                                    to select the group of existing pods over which spreading will be calculated
                                    for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
                                    MatchLabelKeys cannot be set when LabelSelector isn't set.
                                    Keys that don't exist in the incoming pod labels will
                                    be ignored. A null or empty list means only match against labelSelector.

                                    This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
8135
8136
8137
8138
8139
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                maxSkew:
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
                                  description: |-
                                    MaxSkew describes the degree to which pods may be unevenly distributed.
                                    When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference
                                    between the number of matching pods in the target topology and the global minimum.
                                    The global minimum is the minimum number of matching pods in an eligible domain
                                    or zero if the number of eligible domains is less than MinDomains.
                                    For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
                                    labelSelector spread as 2/2/1:
                                    In this case, the global minimum is 1.
                                    | zone1 | zone2 | zone3 |
                                    |  P P  |  P P  |   P   |
                                    - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;
                                    scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
                                    violate MaxSkew(1).
                                    - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
                                    When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
                                    to topologies that satisfy it.
                                    It's a required field. Default value is 1 and 0 is not allowed.
8158
8159
8160
                                  format: int32
                                  type: integer
                                minDomains:
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
                                  description: |-
                                    MinDomains indicates a minimum number of eligible domains.
                                    When the number of eligible domains with matching topology keys is less than minDomains,
                                    Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
                                    And when the number of eligible domains with matching topology keys equals or greater than minDomains,
                                    this value has no effect on scheduling.
                                    As a result, when the number of eligible domains is less than minDomains,
                                    scheduler won't schedule more than maxSkew Pods to those domains.
                                    If value is nil, the constraint behaves as if MinDomains is equal to 1.
                                    Valid values are integers greater than 0.
                                    When value is not nil, WhenUnsatisfiable must be DoNotSchedule.

                                    For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same
                                    labelSelector spread as 2/2/2:
                                    | zone1 | zone2 | zone3 |
                                    |  P P  |  P P  |  P P  |
                                    The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.
                                    In this situation, new pod with the same labelSelector cannot be scheduled,
                                    because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
                                    it will violate MaxSkew.
8181
8182
8183
                                  format: int32
                                  type: integer
                                nodeAffinityPolicy:
8184
8185
8186
8187
8188
8189
8190
                                  description: |-
                                    NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
                                    when calculating pod topology spread skew. Options are:
                                    - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
                                    - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.

                                    If this value is nil, the behavior is equivalent to the Honor policy.
8191
8192
                                  type: string
                                nodeTaintsPolicy:
8193
8194
8195
8196
8197
8198
8199
8200
                                  description: |-
                                    NodeTaintsPolicy indicates how we will treat node taints when calculating
                                    pod topology spread skew. Options are:
                                    - Honor: nodes without taints, along with tainted nodes for which the incoming pod
                                    has a toleration, are included.
                                    - Ignore: node taints are ignored. All nodes are included.

                                    If this value is nil, the behavior is equivalent to the Ignore policy.
8201
8202
                                  type: string
                                topologyKey:
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
                                  description: |-
                                    TopologyKey is the key of node labels. Nodes that have a label with this key
                                    and identical values are considered to be in the same topology.
                                    We consider each <key, value> as a "bucket", and try to put balanced number
                                    of pods into each bucket.
                                    We define a domain as a particular instance of a topology.
                                    Also, we define an eligible domain as a domain whose nodes meet the requirements of
                                    nodeAffinityPolicy and nodeTaintsPolicy.
                                    e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology.
                                    And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology.
                                    It's a required field.
8214
8215
                                  type: string
                                whenUnsatisfiable:
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
                                  description: |-
                                    WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy
                                    the spread constraint.
                                    - DoNotSchedule (default) tells the scheduler not to schedule it.
                                    - ScheduleAnyway tells the scheduler to schedule the pod in any location,
                                      but giving higher precedence to topologies that would help reduce the
                                      skew.
                                    A constraint is considered "Unsatisfiable" for an incoming pod
                                    if and only if every possible node assignment for that pod would violate
                                    "MaxSkew" on some topology.
                                    For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
                                    labelSelector spread as 3/1/1:
                                    | zone1 | zone2 | zone3 |
                                    | P P P |   P   |   P   |
                                    If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
                                    to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
                                    MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
                                    won't make it *more* imbalanced.
                                    It's a required field.
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
                                  type: string
                              required:
                                - maxSkew
                                - topologyKey
                                - whenUnsatisfiable
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - topologyKey
                              - whenUnsatisfiable
                            x-kubernetes-list-type: map
                          volumes:
8247
8248
8249
                            description: |-
                              List of volumes that can be mounted by containers belonging to the pod.
                              More info: https://kubernetes.io/docs/concepts/storage/volumes
8250
                            items:
8251
                              description: Volume represents a named volume in a pod that may be accessed by any container in the pod.
8252
8253
                              properties:
                                awsElasticBlockStore:
8254
8255
8256
8257
8258
8259
                                  description: |-
                                    awsElasticBlockStore represents an AWS Disk resource that is attached to a
                                    kubelet's host machine and then exposed to the pod.
                                    Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree
                                    awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
8260
8261
                                  properties:
                                    fsType:
8262
8263
8264
8265
8266
                                      description: |-
                                        fsType is the filesystem type of the volume that you want to mount.
                                        Tip: Ensure that the filesystem type is supported by the host operating system.
                                        Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
8267
8268
                                      type: string
                                    partition:
8269
8270
8271
8272
8273
                                      description: |-
                                        partition is the partition in the volume that you want to mount.
                                        If omitted, the default is to mount by volume name.
                                        Examples: For volume /dev/sda1, you specify the partition as "1".
                                        Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
8274
8275
8276
                                      format: int32
                                      type: integer
                                    readOnly:
8277
8278
8279
                                      description: |-
                                        readOnly value true will force the readOnly setting in VolumeMounts.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
8280
8281
                                      type: boolean
                                    volumeID:
8282
8283
8284
                                      description: |-
                                        volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
8285
8286
8287
8288
8289
                                      type: string
                                  required:
                                    - volumeID
                                  type: object
                                azureDisk:
8290
8291
8292
8293
                                  description: |-
                                    azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
                                    Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type
                                    are redirected to the disk.csi.azure.com CSI driver.
8294
8295
                                  properties:
                                    cachingMode:
8296
                                      description: 'cachingMode is the Host Caching mode: None, Read Only, Read Write.'
8297
8298
                                      type: string
                                    diskName:
8299
                                      description: diskName is the Name of the data disk in the blob storage
8300
8301
                                      type: string
                                    diskURI:
8302
                                      description: diskURI is the URI of data disk in the blob storage
8303
8304
8305
                                      type: string
                                    fsType:
                                      default: ext4
8306
8307
8308
8309
                                      description: |-
                                        fsType is Filesystem type to mount.
                                        Must be a filesystem type supported by the host operating system.
                                        Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
8310
8311
                                      type: string
                                    kind:
8312
                                      description: 'kind expected values are Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set). defaults to shared'
8313
8314
8315
                                      type: string
                                    readOnly:
                                      default: false
8316
8317
8318
                                      description: |-
                                        readOnly Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
8319
8320
8321
8322
8323
8324
                                      type: boolean
                                  required:
                                    - diskName
                                    - diskURI
                                  type: object
                                azureFile:
8325
8326
8327
8328
                                  description: |-
                                    azureFile represents an Azure File Service mount on the host and bind mount to the pod.
                                    Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type
                                    are redirected to the file.csi.azure.com CSI driver.
8329
8330
                                  properties:
                                    readOnly:
8331
8332
8333
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
8334
8335
                                      type: boolean
                                    secretName:
8336
                                      description: secretName is the  name of secret that contains Azure Storage Account Name and Key
8337
8338
                                      type: string
                                    shareName:
8339
                                      description: shareName is the azure share Name
8340
8341
8342
8343
8344
8345
                                      type: string
                                  required:
                                    - secretName
                                    - shareName
                                  type: object
                                cephfs:
8346
8347
8348
                                  description: |-
                                    cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.
                                    Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.
8349
8350
                                  properties:
                                    monitors:
8351
8352
8353
                                      description: |-
                                        monitors is Required: Monitors is a collection of Ceph monitors
                                        More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
8354
8355
8356
8357
8358
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    path:
8359
                                      description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /'
8360
8361
                                      type: string
                                    readOnly:
8362
8363
8364
8365
                                      description: |-
                                        readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
                                        More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
8366
8367
                                      type: boolean
                                    secretFile:
8368
8369
8370
                                      description: |-
                                        secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
                                        More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
8371
8372
                                      type: string
                                    secretRef:
8373
8374
8375
                                      description: |-
                                        secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
                                        More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
8376
8377
8378
                                      properties:
                                        name:
                                          default: ""
8379
8380
8381
8382
8383
8384
                                          description: |-
                                            Name of the referent.
                                            This field is effectively required, but due to backwards compatibility is
                                            allowed to be empty. Instances of this type with an empty value here are
                                            almost certainly wrong.
                                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
8385
8386
8387
8388
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    user:
8389
8390
8391
                                      description: |-
                                        user is optional: User is the rados user name, default is admin
                                        More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
8392
8393
8394
8395
8396
                                      type: string
                                  required:
                                    - monitors
                                  type: object
                                cinder:
8397
8398
8399
8400
8401
                                  description: |-
                                    cinder represents a cinder volume attached and mounted on kubelets host machine.
                                    Deprecated: Cinder is deprecated. All operations for the in-tree cinder type
                                    are redirected to the cinder.csi.openstack.org CSI driver.
                                    More info: https://examples.k8s.io/mysql-cinder-pd/README.md
8402
8403
                                  properties:
                                    fsType:
8404
8405
8406
8407
8408
                                      description: |-
                                        fsType is the filesystem type to mount.
                                        Must be a filesystem type supported by the host operating system.
                                        Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
                                        More info: https://examples.k8s.io/mysql-cinder-pd/README.md
8409
8410
                                      type: string
                                    readOnly:
8411
8412
8413
8414
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
                                        More info: https://examples.k8s.io/mysql-cinder-pd/README.md
8415
8416
                                      type: boolean
                                    secretRef:
8417
8418
8419
                                      description: |-
                                        secretRef is optional: points to a secret object containing parameters used to connect
                                        to OpenStack.
8420
8421
8422
                                      properties:
                                        name:
                                          default: ""
8423
8424
8425
8426
8427
8428
                                          description: |-
                                            Name of the referent.
                                            This field is effectively required, but due to backwards compatibility is
                                            allowed to be empty. Instances of this type with an empty value here are
                                            almost certainly wrong.
                                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
8429
8430
8431
8432
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    volumeID:
8433
8434
8435
                                      description: |-
                                        volumeID used to identify the volume in cinder.
                                        More info: https://examples.k8s.io/mysql-cinder-pd/README.md
8436
8437
8438
8439
8440
                                      type: string
                                  required:
                                    - volumeID
                                  type: object
                                configMap:
8441
                                  description: configMap represents a configMap that should populate this volume
8442
8443
                                  properties:
                                    defaultMode:
8444
8445
8446
8447
8448
8449
8450
8451
                                      description: |-
                                        defaultMode is optional: mode bits used to set permissions on created files by default.
                                        Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
                                        YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
                                        Defaults to 0644.
                                        Directories within the path are not affected by this setting.
                                        This might be in conflict with other options that affect the file
                                        mode, like fsGroup, and the result can be other mode bits set.
8452
8453
8454
                                      format: int32
                                      type: integer
                                    items:
8455
8456
8457
8458
8459
8460
8461
8462
                                      description: |-
                                        items if unspecified, each key-value pair in the Data field of the referenced
                                        ConfigMap will be projected into the volume as a file whose name is the
                                        key and content is the value. If specified, the listed keys will be
                                        projected into the specified paths, and unlisted keys will not be
                                        present. If a key is specified which is not present in the ConfigMap,
                                        the volume setup will error unless it is marked optional. Paths must be
                                        relative and may not contain the '..' path or start with '..'.
8463
                                      items:
8464
                                        description: Maps a string key to a path within a volume.
8465
8466
                                        properties:
                                          key:
8467
                                            description: key is the key to project.
8468
8469
                                            type: string
                                          mode:
8470
8471
8472
8473
8474
8475
8476
                                            description: |-
                                              mode is Optional: mode bits used to set permissions on this file.
                                              Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
                                              YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
                                              If not specified, the volume defaultMode will be used.
                                              This might be in conflict with other options that affect the file
                                              mode, like fsGroup, and the result can be other mode bits set.
8477
8478
8479
                                            format: int32
                                            type: integer
                                          path:
8480
8481
8482
8483
8484
                                            description: |-
                                              path is the relative path of the file to map the key to.
                                              May not be an absolute path.
                                              May not contain the path element '..'.
                                              May not start with the string '..'.
8485
8486
8487
8488
8489
8490
8491
8492
8493
                                            type: string
                                        required:
                                          - key
                                          - path
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    name:
                                      default: ""
8494
8495
8496
8497
8498
8499
                                      description: |-
                                        Name of the referent.
                                        This field is effectively required, but due to backwards compatibility is
                                        allowed to be empty. Instances of this type with an empty value here are
                                        almost certainly wrong.
                                        More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
8500
8501
                                      type: string
                                    optional:
8502
                                      description: optional specify whether the ConfigMap or its keys must be defined
8503
8504
8505
8506
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                                csi:
8507
                                  description: csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
8508
8509
                                  properties:
                                    driver:
8510
8511
8512
                                      description: |-
                                        driver is the name of the CSI driver that handles this volume.
                                        Consult with your admin for the correct name as registered in the cluster.
8513
8514
                                      type: string
                                    fsType:
8515
8516
8517
8518
                                      description: |-
                                        fsType to mount. Ex. "ext4", "xfs", "ntfs".
                                        If not provided, the empty value is passed to the associated CSI driver
                                        which will determine the default filesystem to apply.
8519
8520
                                      type: string
                                    nodePublishSecretRef:
8521
8522
8523
8524
8525
8526
                                      description: |-
                                        nodePublishSecretRef is a reference to the secret object containing
                                        sensitive information to pass to the CSI driver to complete the CSI
                                        NodePublishVolume and NodeUnpublishVolume calls.
                                        This field is optional, and  may be empty if no secret is required. If the
                                        secret object contains more than one secret, all secret references are passed.
8527
8528
8529
                                      properties:
                                        name:
                                          default: ""
8530
8531
8532
8533
8534
8535
                                          description: |-
                                            Name of the referent.
                                            This field is effectively required, but due to backwards compatibility is
                                            allowed to be empty. Instances of this type with an empty value here are
                                            almost certainly wrong.
                                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
8536
8537
8538
8539
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    readOnly:
8540
8541
8542
                                      description: |-
                                        readOnly specifies a read-only configuration for the volume.
                                        Defaults to false (read/write).
8543
8544
8545
8546
                                      type: boolean
                                    volumeAttributes:
                                      additionalProperties:
                                        type: string
8547
8548
8549
                                      description: |-
                                        volumeAttributes stores driver-specific properties that are passed to the CSI
                                        driver. Consult your driver's documentation for supported values.
8550
8551
8552
8553
8554
                                      type: object
                                  required:
                                    - driver
                                  type: object
                                downwardAPI:
8555
                                  description: downwardAPI represents downward API about the pod that should populate this volume
8556
8557
                                  properties:
                                    defaultMode:
8558
8559
8560
8561
8562
8563
8564
8565
8566
                                      description: |-
                                        Optional: mode bits to use on created files by default. Must be a
                                        Optional: mode bits used to set permissions on created files by default.
                                        Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
                                        YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
                                        Defaults to 0644.
                                        Directories within the path are not affected by this setting.
                                        This might be in conflict with other options that affect the file
                                        mode, like fsGroup, and the result can be other mode bits set.
8567
8568
8569
                                      format: int32
                                      type: integer
                                    items:
8570
                                      description: Items is a list of downward API volume file
8571
                                      items:
8572
                                        description: DownwardAPIVolumeFile represents information to create the file containing the pod field
8573
8574
                                        properties:
                                          fieldRef:
8575
                                            description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
8576
8577
                                            properties:
                                              apiVersion:
8578
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
8579
8580
                                                type: string
                                              fieldPath:
8581
                                                description: Path of the field to select in the specified API version.
8582
8583
8584
8585
8586
8587
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          mode:
8588
8589
8590
8591
8592
8593
8594
                                            description: |-
                                              Optional: mode bits used to set permissions on this file, must be an octal value
                                              between 0000 and 0777 or a decimal value between 0 and 511.
                                              YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
                                              If not specified, the volume defaultMode will be used.
                                              This might be in conflict with other options that affect the file
                                              mode, like fsGroup, and the result can be other mode bits set.
8595
8596
8597
                                            format: int32
                                            type: integer
                                          path:
8598
                                            description: 'Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the ''..'' path. Must be utf-8 encoded. The first item of the relative path must not start with ''..'''
8599
8600
                                            type: string
                                          resourceFieldRef:
8601
8602
8603
                                            description: |-
                                              Selects a resource of the container: only resources limits and requests
                                              (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
8604
8605
                                            properties:
                                              containerName:
8606
                                                description: 'Container name: required for volumes, optional for env vars'
8607
8608
8609
8610
8611
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
8612
                                                description: Specifies the output format of the exposed resources, defaults to "1"
8613
8614
8615
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
8616
                                                description: 'Required: resource to select'
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                        required:
                                          - path
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                emptyDir:
8629
8630
8631
                                  description: |-
                                    emptyDir represents a temporary directory that shares a pod's lifetime.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
8632
8633
                                  properties:
                                    medium:
8634
8635
8636
8637
8638
                                      description: |-
                                        medium represents what type of storage medium should back this directory.
                                        The default is "" which means to use the node's default medium.
                                        Must be an empty string (default) or Memory.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
8639
8640
8641
8642
8643
                                      type: string
                                    sizeLimit:
                                      anyOf:
                                        - type: integer
                                        - type: string
8644
8645
8646
8647
8648
8649
8650
                                      description: |-
                                        sizeLimit is the total amount of local storage required for this EmptyDir volume.
                                        The size limit is also applicable for memory medium.
                                        The maximum usage on memory medium EmptyDir would be the minimum value between
                                        the SizeLimit specified here and the sum of memory limits of all containers in a pod.
                                        The default is nil which means that the limit is undefined.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
8651
8652
8653
8654
                                      pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                      x-kubernetes-int-or-string: true
                                  type: object
                                ephemeral:
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
                                  description: |-
                                    ephemeral represents a volume that is handled by a cluster storage driver.
                                    The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
                                    and deleted when the pod is removed.

                                    Use this if:
                                    a) the volume is only needed while the pod runs,
                                    b) features of normal volumes like restoring from snapshot or capacity
                                       tracking are needed,
                                    c) the storage driver is specified through a storage class, and
                                    d) the storage driver supports dynamic volume provisioning through
                                       a PersistentVolumeClaim (see EphemeralVolumeSource for more
                                       information on the connection between this volume type
                                       and PersistentVolumeClaim).

                                    Use PersistentVolumeClaim or one of the vendor-specific
                                    APIs for volumes that persist for longer than the lifecycle
                                    of an individual pod.

                                    Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
                                    be used that way - see the documentation of the driver for
                                    more information.

                                    A pod can use both types of ephemeral volumes and
                                    persistent volumes at the same time.
8680
8681
                                  properties:
                                    volumeClaimTemplate:
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
                                      description: |-
                                        Will be used to create a stand-alone PVC to provision the volume.
                                        The pod in which this EphemeralVolumeSource is embedded will be the
                                        owner of the PVC, i.e. the PVC will be deleted together with the
                                        pod.  The name of the PVC will be `<pod name>-<volume name>` where
                                        `<volume name>` is the name from the `PodSpec.Volumes` array
                                        entry. Pod validation will reject the pod if the concatenated name
                                        is not valid for a PVC (for example, too long).

                                        An existing PVC with that name that is not owned by the pod
                                        will *not* be used for the pod to avoid using an unrelated
                                        volume by mistake. Starting the pod is then blocked until
                                        the unrelated PVC is removed. If such a pre-created PVC is
                                        meant to be used by the pod, the PVC has to updated with an
                                        owner reference to the pod once the pod exists. Normally
                                        this should not be necessary, but it may be useful when
                                        manually reconstructing a broken cluster.

                                        This field is read-only and no changes will be made by Kubernetes
                                        to the PVC after it has been created.

                                        Required, must not be nil.
8704
8705
                                      properties:
                                        metadata:
8706
8707
8708
8709
                                          description: |-
                                            May contain labels and annotations that will be copied into the PVC
                                            when creating it. No other fields are allowed and will be rejected during
                                            validation.
8710
8711
                                          type: object
                                        spec:
8712
8713
8714
8715
8716
                                          description: |-
                                            The specification for the PersistentVolumeClaim. The entire content is
                                            copied unchanged into the PVC that gets created from this
                                            template. The same fields as in a PersistentVolumeClaim
                                            are also valid here.
8717
8718
                                          properties:
                                            accessModes:
8719
8720
8721
                                              description: |-
                                                accessModes contains the desired access modes the volume should have.
                                                More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
8722
8723
8724
8725
8726
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            dataSource:
8727
8728
8729
8730
8731
8732
8733
8734
8735
                                              description: |-
                                                dataSource field can be used to specify either:
                                                * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
                                                * An existing PVC (PersistentVolumeClaim)
                                                If the provisioner or an external controller can support the specified data source,
                                                it will create a new volume based on the contents of the specified data source.
                                                When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
                                                and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
                                                If the namespace is specified, then dataSourceRef will not be copied to dataSource.
8736
8737
                                              properties:
                                                apiGroup:
8738
8739
8740
8741
                                                  description: |-
                                                    APIGroup is the group for the resource being referenced.
                                                    If APIGroup is not specified, the specified Kind must be in the core API group.
                                                    For any other third-party types, APIGroup is required.
8742
8743
                                                  type: string
                                                kind:
8744
                                                  description: Kind is the type of resource being referenced
8745
8746
                                                  type: string
                                                name:
8747
                                                  description: Name is the name of resource being referenced
8748
8749
8750
8751
8752
8753
8754
                                                  type: string
                                              required:
                                                - kind
                                                - name
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            dataSourceRef:
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
                                              description: |-
                                                dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
                                                volume is desired. This may be any object from a non-empty API group (non
                                                core object) or a PersistentVolumeClaim object.
                                                When this field is specified, volume binding will only succeed if the type of
                                                the specified object matches some installed volume populator or dynamic
                                                provisioner.
                                                This field will replace the functionality of the dataSource field and as such
                                                if both fields are non-empty, they must have the same value. For backwards
                                                compatibility, when namespace isn't specified in dataSourceRef,
                                                both fields (dataSource and dataSourceRef) will be set to the same
                                                value automatically if one of them is empty and the other is non-empty.
                                                When namespace is specified in dataSourceRef,
                                                dataSource isn't set to the same value and must be empty.
                                                There are three important differences between dataSource and dataSourceRef:
                                                * While dataSource only allows two specific types of objects, dataSourceRef
                                                  allows any non-core object, as well as PersistentVolumeClaim objects.
                                                * While dataSource ignores disallowed values (dropping them), dataSourceRef
                                                  preserves all values, and generates an error if a disallowed value is
                                                  specified.
                                                * While dataSource only allows local objects, dataSourceRef allows objects
                                                  in any namespaces.
                                                (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
                                                (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
8779
8780
                                              properties:
                                                apiGroup:
8781
8782
8783
8784
                                                  description: |-
                                                    APIGroup is the group for the resource being referenced.
                                                    If APIGroup is not specified, the specified Kind must be in the core API group.
                                                    For any other third-party types, APIGroup is required.
8785
8786
                                                  type: string
                                                kind:
8787
                                                  description: Kind is the type of resource being referenced
8788
8789
                                                  type: string
                                                name:
8790
                                                  description: Name is the name of resource being referenced
8791
8792
                                                  type: string
                                                namespace:
8793
8794
8795
8796
                                                  description: |-
                                                    Namespace is the namespace of resource being referenced
                                                    Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.
                                                    (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
8797
8798
8799
8800
8801
8802
                                                  type: string
                                              required:
                                                - kind
                                                - name
                                              type: object
                                            resources:
8803
8804
8805
8806
8807
8808
                                              description: |-
                                                resources represents the minimum resources the volume should have.
                                                If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements
                                                that are lower than previous value but must still be higher than capacity recorded in the
                                                status field of the claim.
                                                More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
8809
8810
8811
8812
8813
8814
8815
8816
                                              properties:
                                                limits:
                                                  additionalProperties:
                                                    anyOf:
                                                      - type: integer
                                                      - type: string
                                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                    x-kubernetes-int-or-string: true
8817
8818
8819
                                                  description: |-
                                                    Limits describes the maximum amount of compute resources allowed.
                                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
8820
8821
8822
8823
8824
8825
8826
8827
                                                  type: object
                                                requests:
                                                  additionalProperties:
                                                    anyOf:
                                                      - type: integer
                                                      - type: string
                                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                    x-kubernetes-int-or-string: true
8828
8829
8830
8831
8832
                                                  description: |-
                                                    Requests describes the minimum amount of compute resources required.
                                                    If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
                                                    otherwise to an implementation-defined value. Requests cannot exceed Limits.
                                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
8833
8834
8835
                                                  type: object
                                              type: object
                                            selector:
8836
                                              description: selector is a label query over volumes to consider for binding.
8837
8838
                                              properties:
                                                matchExpressions:
8839
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
8840
                                                  items:
8841
8842
8843
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
8844
8845
                                                    properties:
                                                      key:
8846
                                                        description: key is the label key that the selector applies to.
8847
8848
                                                        type: string
                                                      operator:
8849
8850
8851
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
8852
8853
                                                        type: string
                                                      values:
8854
8855
8856
8857
8858
                                                        description: |-
                                                          values is an array of string values. If the operator is In or NotIn,
                                                          the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                          the values array must be empty. This array is replaced during a strategic
                                                          merge patch.
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
                                                  type: array
                                                  x-kubernetes-list-type: atomic
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
8872
8873
8874
8875
                                                  description: |-
                                                    matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                    map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                    operator is "In", and the values array contains only "value". The requirements are ANDed.
8876
8877
8878
8879
                                                  type: object
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            storageClassName:
8880
8881
8882
                                              description: |-
                                                storageClassName is the name of the StorageClass required by the claim.
                                                More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
8883
8884
                                              type: string
                                            volumeAttributesClassName:
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
                                              description: |-
                                                volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
                                                If specified, the CSI driver will create or update the volume with the attributes defined
                                                in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,
                                                it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass
                                                will be applied to the claim but it's not allowed to reset this field to empty string once it is set.
                                                If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass
                                                will be set by the persistentvolume controller if it exists.
                                                If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
                                                set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
                                                exists.
                                                More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
                                                (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).
8898
8899
                                              type: string
                                            volumeMode:
8900
8901
8902
                                              description: |-
                                                volumeMode defines what type of volume is required by the claim.
                                                Value of Filesystem is implied when not included in claim spec.
8903
8904
                                              type: string
                                            volumeName:
8905
                                              description: volumeName is the binding reference to the PersistentVolume backing this claim.
8906
8907
8908
8909
8910
8911
8912
                                              type: string
                                          type: object
                                      required:
                                        - spec
                                      type: object
                                  type: object
                                fc:
8913
                                  description: fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
8914
8915
                                  properties:
                                    fsType:
8916
8917
8918
8919
                                      description: |-
                                        fsType is the filesystem type to mount.
                                        Must be a filesystem type supported by the host operating system.
                                        Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
8920
8921
                                      type: string
                                    lun:
8922
                                      description: 'lun is Optional: FC target lun number'
8923
8924
8925
                                      format: int32
                                      type: integer
                                    readOnly:
8926
8927
8928
                                      description: |-
                                        readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
8929
8930
                                      type: boolean
                                    targetWWNs:
8931
                                      description: 'targetWWNs is Optional: FC target worldwide names (WWNs)'
8932
8933
8934
8935
8936
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    wwids:
8937
8938
8939
                                      description: |-
                                        wwids Optional: FC volume world wide identifiers (wwids)
                                        Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
8940
8941
8942
8943
8944
8945
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                flexVolume:
8946
8947
8948
8949
                                  description: |-
                                    flexVolume represents a generic volume resource that is
                                    provisioned/attached using an exec based plugin.
                                    Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
8950
8951
                                  properties:
                                    driver:
8952
                                      description: driver is the name of the driver to use for this volume.
8953
8954
                                      type: string
                                    fsType:
8955
8956
8957
8958
                                      description: |-
                                        fsType is the filesystem type to mount.
                                        Must be a filesystem type supported by the host operating system.
                                        Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
8959
8960
8961
8962
                                      type: string
                                    options:
                                      additionalProperties:
                                        type: string
8963
                                      description: 'options is Optional: this field holds extra command options if any.'
8964
8965
                                      type: object
                                    readOnly:
8966
8967
8968
                                      description: |-
                                        readOnly is Optional: defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
8969
8970
                                      type: boolean
                                    secretRef:
8971
8972
8973
8974
8975
8976
                                      description: |-
                                        secretRef is Optional: secretRef is reference to the secret object containing
                                        sensitive information to pass to the plugin scripts. This may be
                                        empty if no secret object is specified. If the secret object
                                        contains more than one secret, all secrets are passed to the plugin
                                        scripts.
8977
8978
8979
                                      properties:
                                        name:
                                          default: ""
8980
8981
8982
8983
8984
8985
                                          description: |-
                                            Name of the referent.
                                            This field is effectively required, but due to backwards compatibility is
                                            allowed to be empty. Instances of this type with an empty value here are
                                            almost certainly wrong.
                                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
8986
8987
8988
8989
8990
8991
8992
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                  required:
                                    - driver
                                  type: object
                                flocker:
8993
8994
8995
                                  description: |-
                                    flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running.
                                    Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
8996
8997
                                  properties:
                                    datasetName:
8998
8999
9000
                                      description: |-
                                        datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
                                        should be considered as deprecated
9001
9002
                                      type: string
                                    datasetUUID:
9003
                                      description: datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
9004
9005
9006
                                      type: string
                                  type: object
                                gcePersistentDisk:
9007
9008
9009
9010
9011
9012
                                  description: |-
                                    gcePersistentDisk represents a GCE Disk resource that is attached to a
                                    kubelet's host machine and then exposed to the pod.
                                    Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree
                                    gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
9013
9014
                                  properties:
                                    fsType:
9015
9016
9017
9018
9019
                                      description: |-
                                        fsType is filesystem type of the volume that you want to mount.
                                        Tip: Ensure that the filesystem type is supported by the host operating system.
                                        Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
9020
9021
                                      type: string
                                    partition:
9022
9023
9024
9025
9026
9027
                                      description: |-
                                        partition is the partition in the volume that you want to mount.
                                        If omitted, the default is to mount by volume name.
                                        Examples: For volume /dev/sda1, you specify the partition as "1".
                                        Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
9028
9029
9030
                                      format: int32
                                      type: integer
                                    pdName:
9031
9032
9033
                                      description: |-
                                        pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
9034
9035
                                      type: string
                                    readOnly:
9036
9037
9038
9039
                                      description: |-
                                        readOnly here will force the ReadOnly setting in VolumeMounts.
                                        Defaults to false.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
9040
9041
9042
9043
9044
                                      type: boolean
                                  required:
                                    - pdName
                                  type: object
                                gitRepo:
9045
9046
9047
9048
9049
                                  description: |-
                                    gitRepo represents a git repository at a particular revision.
                                    Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an
                                    EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
                                    into the Pod's container.
9050
9051
                                  properties:
                                    directory:
9052
9053
9054
9055
9056
                                      description: |-
                                        directory is the target directory name.
                                        Must not contain or start with '..'.  If '.' is supplied, the volume directory will be the
                                        git repository.  Otherwise, if specified, the volume will contain the git repository in
                                        the subdirectory with the given name.
9057
9058
                                      type: string
                                    repository:
9059
                                      description: repository is the URL
9060
9061
                                      type: string
                                    revision:
9062
                                      description: revision is the commit hash for the specified revision.
9063
9064
9065
9066
9067
                                      type: string
                                  required:
                                    - repository
                                  type: object
                                glusterfs:
9068
9069
9070
9071
                                  description: |-
                                    glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
                                    Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
                                    More info: https://examples.k8s.io/volumes/glusterfs/README.md
9072
9073
                                  properties:
                                    endpoints:
9074
9075
9076
                                      description: |-
                                        endpoints is the endpoint name that details Glusterfs topology.
                                        More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
9077
9078
                                      type: string
                                    path:
9079
9080
9081
                                      description: |-
                                        path is the Glusterfs volume path.
                                        More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
9082
9083
                                      type: string
                                    readOnly:
9084
9085
9086
9087
                                      description: |-
                                        readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
                                        Defaults to false.
                                        More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
9088
9089
9090
9091
9092
9093
                                      type: boolean
                                  required:
                                    - endpoints
                                    - path
                                  type: object
                                hostPath:
9094
9095
9096
9097
9098
9099
                                  description: |-
                                    hostPath represents a pre-existing file or directory on the host
                                    machine that is directly exposed to the container. This is generally
                                    used for system agents or other privileged things that are allowed
                                    to see the host machine. Most containers will NOT need this.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
9100
9101
                                  properties:
                                    path:
9102
9103
9104
9105
                                      description: |-
                                        path of the directory on the host.
                                        If the path is a symlink, it will follow the link to the real path.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
9106
9107
                                      type: string
                                    type:
9108
9109
9110
9111
                                      description: |-
                                        type for HostPath Volume
                                        Defaults to ""
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
9112
9113
9114
9115
9116
                                      type: string
                                  required:
                                    - path
                                  type: object
                                image:
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
                                  description: |-
                                    image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.
                                    The volume is resolved at pod startup depending on which PullPolicy value is provided:

                                    - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
                                    - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
                                    - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.

                                    The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.
                                    A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
                                    The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
                                    The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
                                    The volume will be mounted read-only (ro) and non-executable files (noexec).
                                    Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
                                    The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
9132
9133
                                  properties:
                                    pullPolicy:
9134
9135
9136
9137
9138
9139
                                      description: |-
                                        Policy for pulling OCI objects. Possible values are:
                                        Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
                                        Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
                                        IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
                                        Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
9140
9141
                                      type: string
                                    reference:
9142
9143
9144
9145
9146
9147
9148
                                      description: |-
                                        Required: Image or artifact reference to be used.
                                        Behaves in the same way as pod.spec.containers[*].image.
                                        Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.
                                        More info: https://kubernetes.io/docs/concepts/containers/images
                                        This field is optional to allow higher level config management to default or override
                                        container images in workload controllers like Deployments and StatefulSets.
9149
9150
9151
                                      type: string
                                  type: object
                                iscsi:
9152
9153
9154
9155
                                  description: |-
                                    iscsi represents an ISCSI Disk resource that is attached to a
                                    kubelet's host machine and then exposed to the pod.
                                    More info: https://examples.k8s.io/volumes/iscsi/README.md
9156
9157
                                  properties:
                                    chapAuthDiscovery:
9158
                                      description: chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
9159
9160
                                      type: boolean
                                    chapAuthSession:
9161
                                      description: chapAuthSession defines whether support iSCSI Session CHAP authentication
9162
9163
                                      type: boolean
                                    fsType:
9164
9165
9166
9167
9168
                                      description: |-
                                        fsType is the filesystem type of the volume that you want to mount.
                                        Tip: Ensure that the filesystem type is supported by the host operating system.
                                        Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
9169
9170
                                      type: string
                                    initiatorName:
9171
9172
9173
9174
                                      description: |-
                                        initiatorName is the custom iSCSI Initiator Name.
                                        If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
                                        <target portal>:<volume name> will be created for the connection.
9175
9176
                                      type: string
                                    iqn:
9177
                                      description: iqn is the target iSCSI Qualified Name.
9178
9179
9180
                                      type: string
                                    iscsiInterface:
                                      default: default
9181
9182
9183
                                      description: |-
                                        iscsiInterface is the interface Name that uses an iSCSI transport.
                                        Defaults to 'default' (tcp).
9184
9185
                                      type: string
                                    lun:
9186
                                      description: lun represents iSCSI Target Lun number.
9187
9188
9189
                                      format: int32
                                      type: integer
                                    portals:
9190
9191
9192
                                      description: |-
                                        portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
                                        is other than default (typically TCP ports 860 and 3260).
9193
9194
9195
9196
9197
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    readOnly:
9198
9199
9200
                                      description: |-
                                        readOnly here will force the ReadOnly setting in VolumeMounts.
                                        Defaults to false.
9201
9202
                                      type: boolean
                                    secretRef:
9203
                                      description: secretRef is the CHAP Secret for iSCSI target and initiator authentication
9204
9205
9206
                                      properties:
                                        name:
                                          default: ""
9207
9208
9209
9210
9211
9212
                                          description: |-
                                            Name of the referent.
                                            This field is effectively required, but due to backwards compatibility is
                                            allowed to be empty. Instances of this type with an empty value here are
                                            almost certainly wrong.
                                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
9213
9214
9215
9216
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    targetPortal:
9217
9218
9219
                                      description: |-
                                        targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
                                        is other than default (typically TCP ports 860 and 3260).
9220
9221
9222
9223
9224
9225
9226
                                      type: string
                                  required:
                                    - iqn
                                    - lun
                                    - targetPortal
                                  type: object
                                name:
9227
9228
9229
9230
                                  description: |-
                                    name of the volume.
                                    Must be a DNS_LABEL and unique within the pod.
                                    More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
9231
9232
                                  type: string
                                nfs:
9233
9234
9235
                                  description: |-
                                    nfs represents an NFS mount on the host that shares a pod's lifetime
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9236
                                  properties:
9237
                                    path:
9238
9239
9240
                                      description: |-
                                        path that is exported by the NFS server.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9241
                                      type: string
9242
                                    readOnly:
9243
9244
9245
9246
                                      description: |-
                                        readOnly here will force the NFS export to be mounted with read-only permissions.
                                        Defaults to false.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9247
9248
                                      type: boolean
                                    server:
9249
9250
9251
                                      description: |-
                                        server is the hostname or IP address of the NFS server.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9252
9253
                                      type: string
                                  required:
9254
9255
                                    - path
                                    - server
9256
                                  type: object
9257
                                persistentVolumeClaim:
9258
9259
9260
9261
                                  description: |-
                                    persistentVolumeClaimVolumeSource represents a reference to a
                                    PersistentVolumeClaim in the same namespace.
                                    More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
9262
                                  properties:
9263
                                    claimName:
9264
9265
9266
                                      description: |-
                                        claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
                                        More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
9267
                                      type: string
9268
                                    readOnly:
9269
9270
9271
                                      description: |-
                                        readOnly Will force the ReadOnly setting in VolumeMounts.
                                        Default false.
9272
9273
9274
9275
9276
                                      type: boolean
                                  required:
                                    - claimName
                                  type: object
                                photonPersistentDisk:
9277
9278
9279
                                  description: |-
                                    photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.
                                    Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
9280
9281
                                  properties:
                                    fsType:
9282
9283
9284
9285
                                      description: |-
                                        fsType is the filesystem type to mount.
                                        Must be a filesystem type supported by the host operating system.
                                        Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
9286
                                      type: string
9287
                                    pdID:
9288
                                      description: pdID is the ID that identifies Photon Controller persistent disk
9289
9290
9291
9292
9293
                                      type: string
                                  required:
                                    - pdID
                                  type: object
                                portworxVolume:
9294
9295
9296
9297
9298
                                  description: |-
                                    portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
                                    Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
                                    are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
                                    is on.
9299
9300
                                  properties:
                                    fsType:
9301
9302
9303
9304
                                      description: |-
                                        fSType represents the filesystem type to mount
                                        Must be a filesystem type supported by the host operating system.
                                        Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
9305
                                      type: string
9306
                                    readOnly:
9307
9308
9309
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9310
                                      type: boolean
9311
                                    volumeID:
9312
                                      description: volumeID uniquely identifies a Portworx volume
9313
                                      type: string
9314
9315
9316
9317
                                  required:
                                    - volumeID
                                  type: object
                                projected:
9318
                                  description: projected items for all in one resources secrets, configmaps, and downward API
9319
9320
                                  properties:
                                    defaultMode:
9321
9322
9323
9324
9325
9326
9327
                                      description: |-
                                        defaultMode are the mode bits used to set permissions on created files by default.
                                        Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
                                        YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
                                        Directories within the path are not affected by this setting.
                                        This might be in conflict with other options that affect the file
                                        mode, like fsGroup, and the result can be other mode bits set.
9328
9329
9330
                                      format: int32
                                      type: integer
                                    sources:
9331
9332
9333
                                      description: |-
                                        sources is the list of volume projections. Each entry in this list
                                        handles one source.
9334
                                      items:
9335
9336
9337
                                        description: |-
                                          Projection that may be projected along with other supported volume types.
                                          Exactly one of these fields must be set.
9338
9339
                                        properties:
                                          clusterTrustBundle:
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
                                            description: |-
                                              ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field
                                              of ClusterTrustBundle objects in an auto-updating file.

                                              Alpha, gated by the ClusterTrustBundleProjection feature gate.

                                              ClusterTrustBundle objects can either be selected by name, or by the
                                              combination of signer name and a label selector.

                                              Kubelet performs aggressive normalization of the PEM contents written
                                              into the pod filesystem.  Esoteric PEM features such as inter-block
                                              comments and block headers are stripped.  Certificates are deduplicated.
                                              The ordering of certificates within the file is arbitrary, and Kubelet
                                              may change the order over time.
9354
9355
                                            properties:
                                              labelSelector:
9356
9357
9358
9359
9360
                                                description: |-
                                                  Select all ClusterTrustBundles that match this label selector.  Only has
                                                  effect if signerName is set.  Mutually-exclusive with name.  If unset,
                                                  interpreted as "match nothing".  If set but empty, interpreted as "match
                                                  everything".
9361
9362
                                                properties:
                                                  matchExpressions:
9363
                                                    description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
9364
                                                    items:
9365
9366
9367
                                                      description: |-
                                                        A label selector requirement is a selector that contains values, a key, and an operator that
                                                        relates the key and values.
9368
9369
                                                      properties:
                                                        key:
9370
                                                          description: key is the label key that the selector applies to.
9371
9372
                                                          type: string
                                                        operator:
9373
9374
9375
                                                          description: |-
                                                            operator represents a key's relationship to a set of values.
                                                            Valid operators are In, NotIn, Exists and DoesNotExist.
9376
9377
                                                          type: string
                                                        values:
9378
9379
9380
9381
9382
                                                          description: |-
                                                            values is an array of string values. If the operator is In or NotIn,
                                                            the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                            the values array must be empty. This array is replaced during a strategic
                                                            merge patch.
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
                                                          items:
                                                            type: string
                                                          type: array
                                                          x-kubernetes-list-type: atomic
                                                      required:
                                                        - key
                                                        - operator
                                                      type: object
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                  matchLabels:
                                                    additionalProperties:
                                                      type: string
9396
9397
9398
9399
                                                    description: |-
                                                      matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                      map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                      operator is "In", and the values array contains only "value". The requirements are ANDed.
9400
9401
9402
9403
                                                    type: object
                                                type: object
                                                x-kubernetes-map-type: atomic
                                              name:
9404
9405
9406
                                                description: |-
                                                  Select a single ClusterTrustBundle by object name.  Mutually-exclusive
                                                  with signerName and labelSelector.
9407
9408
                                                type: string
                                              optional:
9409
9410
9411
9412
9413
9414
                                                description: |-
                                                  If true, don't block pod startup if the referenced ClusterTrustBundle(s)
                                                  aren't available.  If using name, then the named ClusterTrustBundle is
                                                  allowed not to exist.  If using signerName, then the combination of
                                                  signerName and labelSelector is allowed to match zero
                                                  ClusterTrustBundles.
9415
9416
                                                type: boolean
                                              path:
9417
                                                description: Relative path from the volume root to write the bundle.
9418
9419
                                                type: string
                                              signerName:
9420
9421
9422
9423
                                                description: |-
                                                  Select all ClusterTrustBundles that match this signer name.
                                                  Mutually-exclusive with name.  The contents of all selected
                                                  ClusterTrustBundles will be unified and deduplicated.
9424
9425
9426
9427
9428
                                                type: string
                                            required:
                                              - path
                                            type: object
                                          configMap:
9429
                                            description: configMap information about the configMap data to project
9430
9431
                                            properties:
                                              items:
9432
9433
9434
9435
9436
9437
9438
9439
                                                description: |-
                                                  items if unspecified, each key-value pair in the Data field of the referenced
                                                  ConfigMap will be projected into the volume as a file whose name is the
                                                  key and content is the value. If specified, the listed keys will be
                                                  projected into the specified paths, and unlisted keys will not be
                                                  present. If a key is specified which is not present in the ConfigMap,
                                                  the volume setup will error unless it is marked optional. Paths must be
                                                  relative and may not contain the '..' path or start with '..'.
9440
                                                items:
9441
                                                  description: Maps a string key to a path within a volume.
9442
9443
                                                  properties:
                                                    key:
9444
                                                      description: key is the key to project.
9445
9446
                                                      type: string
                                                    mode:
9447
9448
9449
9450
9451
9452
9453
                                                      description: |-
                                                        mode is Optional: mode bits used to set permissions on this file.
                                                        Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
                                                        YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
                                                        If not specified, the volume defaultMode will be used.
                                                        This might be in conflict with other options that affect the file
                                                        mode, like fsGroup, and the result can be other mode bits set.
9454
9455
9456
                                                      format: int32
                                                      type: integer
                                                    path:
9457
9458
9459
9460
9461
                                                      description: |-
                                                        path is the relative path of the file to map the key to.
                                                        May not be an absolute path.
                                                        May not contain the path element '..'.
                                                        May not start with the string '..'.
9462
9463
9464
9465
9466
9467
9468
9469
9470
                                                      type: string
                                                  required:
                                                    - key
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                              name:
                                                default: ""
9471
9472
9473
9474
9475
9476
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
9477
9478
                                                type: string
                                              optional:
9479
                                                description: optional specify whether the ConfigMap or its keys must be defined
9480
9481
9482
9483
                                                type: boolean
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          downwardAPI:
9484
                                            description: downwardAPI information about the downwardAPI data to project
9485
9486
                                            properties:
                                              items:
9487
                                                description: Items is a list of DownwardAPIVolume file
9488
                                                items:
9489
                                                  description: DownwardAPIVolumeFile represents information to create the file containing the pod field
9490
9491
                                                  properties:
                                                    fieldRef:
9492
                                                      description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
9493
9494
                                                      properties:
                                                        apiVersion:
9495
                                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
9496
9497
                                                          type: string
                                                        fieldPath:
9498
                                                          description: Path of the field to select in the specified API version.
9499
9500
9501
9502
9503
9504
                                                          type: string
                                                      required:
                                                        - fieldPath
                                                      type: object
                                                      x-kubernetes-map-type: atomic
                                                    mode:
9505
9506
9507
9508
9509
9510
9511
                                                      description: |-
                                                        Optional: mode bits used to set permissions on this file, must be an octal value
                                                        between 0000 and 0777 or a decimal value between 0 and 511.
                                                        YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
                                                        If not specified, the volume defaultMode will be used.
                                                        This might be in conflict with other options that affect the file
                                                        mode, like fsGroup, and the result can be other mode bits set.
9512
9513
9514
                                                      format: int32
                                                      type: integer
                                                    path:
9515
                                                      description: 'Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the ''..'' path. Must be utf-8 encoded. The first item of the relative path must not start with ''..'''
9516
9517
                                                      type: string
                                                    resourceFieldRef:
9518
9519
9520
                                                      description: |-
                                                        Selects a resource of the container: only resources limits and requests
                                                        (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
9521
9522
                                                      properties:
                                                        containerName:
9523
                                                          description: 'Container name: required for volumes, optional for env vars'
9524
9525
9526
9527
9528
                                                          type: string
                                                        divisor:
                                                          anyOf:
                                                            - type: integer
                                                            - type: string
9529
                                                          description: Specifies the output format of the exposed resources, defaults to "1"
9530
9531
9532
                                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                          x-kubernetes-int-or-string: true
                                                        resource:
9533
                                                          description: 'Required: resource to select'
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
                                                          type: string
                                                      required:
                                                        - resource
                                                      type: object
                                                      x-kubernetes-map-type: atomic
                                                  required:
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                            type: object
                                          secret:
9546
                                            description: secret information about the secret data to project
9547
9548
                                            properties:
                                              items:
9549
9550
9551
9552
9553
9554
9555
9556
                                                description: |-
                                                  items if unspecified, each key-value pair in the Data field of the referenced
                                                  Secret will be projected into the volume as a file whose name is the
                                                  key and content is the value. If specified, the listed keys will be
                                                  projected into the specified paths, and unlisted keys will not be
                                                  present. If a key is specified which is not present in the Secret,
                                                  the volume setup will error unless it is marked optional. Paths must be
                                                  relative and may not contain the '..' path or start with '..'.
9557
                                                items:
9558
                                                  description: Maps a string key to a path within a volume.
9559
9560
                                                  properties:
                                                    key:
9561
                                                      description: key is the key to project.
9562
9563
                                                      type: string
                                                    mode:
9564
9565
9566
9567
9568
9569
9570
                                                      description: |-
                                                        mode is Optional: mode bits used to set permissions on this file.
                                                        Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
                                                        YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
                                                        If not specified, the volume defaultMode will be used.
                                                        This might be in conflict with other options that affect the file
                                                        mode, like fsGroup, and the result can be other mode bits set.
9571
9572
9573
                                                      format: int32
                                                      type: integer
                                                    path:
9574
9575
9576
9577
9578
                                                      description: |-
                                                        path is the relative path of the file to map the key to.
                                                        May not be an absolute path.
                                                        May not contain the path element '..'.
                                                        May not start with the string '..'.
9579
9580
9581
9582
9583
9584
9585
9586
9587
                                                      type: string
                                                  required:
                                                    - key
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                              name:
                                                default: ""
9588
9589
9590
9591
9592
9593
                                                description: |-
                                                  Name of the referent.
                                                  This field is effectively required, but due to backwards compatibility is
                                                  allowed to be empty. Instances of this type with an empty value here are
                                                  almost certainly wrong.
                                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
9594
9595
                                                type: string
                                              optional:
9596
                                                description: optional field specify whether the Secret or its key must be defined
9597
9598
9599
9600
                                                type: boolean
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          serviceAccountToken:
9601
                                            description: serviceAccountToken is information about the serviceAccountToken data to project
9602
9603
                                            properties:
                                              audience:
9604
9605
9606
9607
9608
                                                description: |-
                                                  audience is the intended audience of the token. A recipient of a token
                                                  must identify itself with an identifier specified in the audience of the
                                                  token, and otherwise should reject the token. The audience defaults to the
                                                  identifier of the apiserver.
9609
9610
                                                type: string
                                              expirationSeconds:
9611
9612
9613
9614
9615
9616
9617
                                                description: |-
                                                  expirationSeconds is the requested duration of validity of the service
                                                  account token. As the token approaches expiration, the kubelet volume
                                                  plugin will proactively rotate the service account token. The kubelet will
                                                  start trying to rotate the token if the token is older than 80 percent of
                                                  its time to live or if the token is older than 24 hours.Defaults to 1 hour
                                                  and must be at least 10 minutes.
9618
9619
9620
                                                format: int64
                                                type: integer
                                              path:
9621
9622
9623
                                                description: |-
                                                  path is the path relative to the mount point of the file to project the
                                                  token into.
9624
9625
9626
9627
9628
9629
9630
9631
9632
                                                type: string
                                            required:
                                              - path
                                            type: object
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                quobyte:
9633
9634
9635
                                  description: |-
                                    quobyte represents a Quobyte mount on the host that shares a pod's lifetime.
                                    Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.
9636
9637
                                  properties:
                                    group:
9638
9639
9640
                                      description: |-
                                        group to map volume access to
                                        Default is no group
9641
                                      type: string
9642
                                    readOnly:
9643
9644
9645
                                      description: |-
                                        readOnly here will force the Quobyte volume to be mounted with read-only permissions.
                                        Defaults to false.
9646
9647
                                      type: boolean
                                    registry:
9648
9649
9650
9651
                                      description: |-
                                        registry represents a single or multiple Quobyte Registry services
                                        specified as a string as host:port pair (multiple entries are separated with commas)
                                        which acts as the central registry for volumes
9652
9653
                                      type: string
                                    tenant:
9654
9655
9656
                                      description: |-
                                        tenant owning the given Quobyte volume in the Backend
                                        Used with dynamically provisioned Quobyte volumes, value is set by the plugin
9657
9658
                                      type: string
                                    user:
9659
9660
9661
                                      description: |-
                                        user to map volume access to
                                        Defaults to serivceaccount user
9662
9663
                                      type: string
                                    volume:
9664
                                      description: volume is a string that references an already created Quobyte volume by name.
9665
9666
                                      type: string
                                  required:
9667
9668
                                    - registry
                                    - volume
9669
                                  type: object
9670
                                rbd:
9671
9672
9673
9674
                                  description: |-
                                    rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
                                    Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
                                    More info: https://examples.k8s.io/volumes/rbd/README.md
9675
                                  properties:
9676
                                    fsType:
9677
9678
9679
9680
9681
                                      description: |-
                                        fsType is the filesystem type of the volume that you want to mount.
                                        Tip: Ensure that the filesystem type is supported by the host operating system.
                                        Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
9682
9683
                                      type: string
                                    image:
9684
9685
9686
                                      description: |-
                                        image is the rados image name.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9687
9688
9689
                                      type: string
                                    keyring:
                                      default: /etc/ceph/keyring
9690
9691
9692
9693
                                      description: |-
                                        keyring is the path to key ring for RBDUser.
                                        Default is /etc/ceph/keyring.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9694
9695
                                      type: string
                                    monitors:
9696
9697
9698
                                      description: |-
                                        monitors is a collection of Ceph monitors.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9699
9700
9701
9702
9703
9704
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    pool:
                                      default: rbd
9705
9706
9707
9708
                                      description: |-
                                        pool is the rados pool name.
                                        Default is rbd.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9709
9710
                                      type: string
                                    readOnly:
9711
9712
9713
9714
                                      description: |-
                                        readOnly here will force the ReadOnly setting in VolumeMounts.
                                        Defaults to false.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9715
9716
                                      type: boolean
                                    secretRef:
9717
9718
9719
9720
9721
                                      description: |-
                                        secretRef is name of the authentication secret for RBDUser. If provided
                                        overrides keyring.
                                        Default is nil.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9722
9723
9724
                                      properties:
                                        name:
                                          default: ""
9725
9726
9727
9728
9729
9730
                                          description: |-
                                            Name of the referent.
                                            This field is effectively required, but due to backwards compatibility is
                                            allowed to be empty. Instances of this type with an empty value here are
                                            almost certainly wrong.
                                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
9731
9732
9733
9734
9735
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    user:
                                      default: admin
9736
9737
9738
9739
                                      description: |-
                                        user is the rados user name.
                                        Default is admin.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9740
9741
9742
9743
9744
9745
                                      type: string
                                  required:
                                    - image
                                    - monitors
                                  type: object
                                scaleIO:
9746
9747
9748
                                  description: |-
                                    scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
                                    Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.
9749
9750
9751
                                  properties:
                                    fsType:
                                      default: xfs
9752
9753
9754
9755
9756
                                      description: |-
                                        fsType is the filesystem type to mount.
                                        Must be a filesystem type supported by the host operating system.
                                        Ex. "ext4", "xfs", "ntfs".
                                        Default is "xfs".
9757
9758
                                      type: string
                                    gateway:
9759
                                      description: gateway is the host address of the ScaleIO API Gateway.
9760
9761
                                      type: string
                                    protectionDomain:
9762
                                      description: protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
9763
9764
                                      type: string
                                    readOnly:
9765
9766
9767
                                      description: |-
                                        readOnly Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9768
9769
                                      type: boolean
                                    secretRef:
9770
9771
9772
                                      description: |-
                                        secretRef references to the secret for ScaleIO user and other
                                        sensitive information. If this is not provided, Login operation will fail.
9773
9774
9775
                                      properties:
                                        name:
                                          default: ""
9776
9777
9778
9779
9780
9781
                                          description: |-
                                            Name of the referent.
                                            This field is effectively required, but due to backwards compatibility is
                                            allowed to be empty. Instances of this type with an empty value here are
                                            almost certainly wrong.
                                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
9782
9783
9784
9785
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    sslEnabled:
9786
                                      description: sslEnabled Flag enable/disable SSL communication with Gateway, default false
9787
9788
9789
                                      type: boolean
                                    storageMode:
                                      default: ThinProvisioned
9790
9791
9792
                                      description: |-
                                        storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
                                        Default is ThinProvisioned.
9793
9794
                                      type: string
                                    storagePool:
9795
                                      description: storagePool is the ScaleIO Storage Pool associated with the protection domain.
9796
9797
                                      type: string
                                    system:
9798
                                      description: system is the name of the storage system as configured in ScaleIO.
9799
9800
                                      type: string
                                    volumeName:
9801
9802
9803
                                      description: |-
                                        volumeName is the name of a volume already created in the ScaleIO system
                                        that is associated with this volume source.
9804
9805
9806
9807
9808
9809
9810
                                      type: string
                                  required:
                                    - gateway
                                    - secretRef
                                    - system
                                  type: object
                                secret:
9811
9812
9813
                                  description: |-
                                    secret represents a secret that should populate this volume.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
9814
9815
                                  properties:
                                    defaultMode:
9816
9817
9818
9819
9820
9821
9822
9823
                                      description: |-
                                        defaultMode is Optional: mode bits used to set permissions on created files by default.
                                        Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
                                        YAML accepts both octal and decimal values, JSON requires decimal values
                                        for mode bits. Defaults to 0644.
                                        Directories within the path are not affected by this setting.
                                        This might be in conflict with other options that affect the file
                                        mode, like fsGroup, and the result can be other mode bits set.
9824
9825
9826
                                      format: int32
                                      type: integer
                                    items:
9827
9828
9829
9830
9831
9832
9833
9834
                                      description: |-
                                        items If unspecified, each key-value pair in the Data field of the referenced
                                        Secret will be projected into the volume as a file whose name is the
                                        key and content is the value. If specified, the listed keys will be
                                        projected into the specified paths, and unlisted keys will not be
                                        present. If a key is specified which is not present in the Secret,
                                        the volume setup will error unless it is marked optional. Paths must be
                                        relative and may not contain the '..' path or start with '..'.
9835
                                      items:
9836
                                        description: Maps a string key to a path within a volume.
9837
                                        properties:
9838
                                          key:
9839
                                            description: key is the key to project.
9840
                                            type: string
9841
                                          mode:
9842
9843
9844
9845
9846
9847
9848
                                            description: |-
                                              mode is Optional: mode bits used to set permissions on this file.
                                              Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
                                              YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
                                              If not specified, the volume defaultMode will be used.
                                              This might be in conflict with other options that affect the file
                                              mode, like fsGroup, and the result can be other mode bits set.
9849
9850
9851
                                            format: int32
                                            type: integer
                                          path:
9852
9853
9854
9855
9856
                                            description: |-
                                              path is the relative path of the file to map the key to.
                                              May not be an absolute path.
                                              May not contain the path element '..'.
                                              May not start with the string '..'.
9857
9858
                                            type: string
                                        required:
9859
                                          - key
9860
                                          - path
9861
9862
9863
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
9864
                                    optional:
9865
                                      description: optional field specify whether the Secret or its keys must be defined
9866
9867
                                      type: boolean
                                    secretName:
9868
9869
9870
                                      description: |-
                                        secretName is the name of the secret in the pod's namespace to use.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
9871
9872
9873
                                      type: string
                                  type: object
                                storageos:
9874
9875
9876
                                  description: |-
                                    storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
                                    Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
9877
9878
                                  properties:
                                    fsType:
9879
9880
9881
9882
                                      description: |-
                                        fsType is the filesystem type to mount.
                                        Must be a filesystem type supported by the host operating system.
                                        Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
9883
9884
                                      type: string
                                    readOnly:
9885
9886
9887
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9888
9889
                                      type: boolean
                                    secretRef:
9890
9891
9892
                                      description: |-
                                        secretRef specifies the secret to use for obtaining the StorageOS API
                                        credentials.  If not specified, default values will be attempted.
9893
9894
9895
                                      properties:
                                        name:
                                          default: ""
9896
9897
9898
9899
9900
9901
                                          description: |-
                                            Name of the referent.
                                            This field is effectively required, but due to backwards compatibility is
                                            allowed to be empty. Instances of this type with an empty value here are
                                            almost certainly wrong.
                                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
9902
                                          type: string
9903
                                      type: object
9904
9905
                                      x-kubernetes-map-type: atomic
                                    volumeName:
9906
9907
9908
                                      description: |-
                                        volumeName is the human-readable name of the StorageOS volume.  Volume
                                        names are only unique within a namespace.
9909
9910
                                      type: string
                                    volumeNamespace:
9911
9912
9913
9914
9915
9916
9917
                                      description: |-
                                        volumeNamespace specifies the scope of the volume within StorageOS.  If no
                                        namespace is specified then the Pod's namespace will be used.  This allows the
                                        Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
                                        Set VolumeName to any name to override the default behaviour.
                                        Set to "default" if you are not using namespaces within StorageOS.
                                        Namespaces that do not pre-exist within StorageOS will be created.
9918
9919
9920
                                      type: string
                                  type: object
                                vsphereVolume:
9921
9922
9923
9924
                                  description: |-
                                    vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.
                                    Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type
                                    are redirected to the csi.vsphere.vmware.com CSI driver.
9925
9926
                                  properties:
                                    fsType:
9927
9928
9929
9930
                                      description: |-
                                        fsType is filesystem type to mount.
                                        Must be a filesystem type supported by the host operating system.
                                        Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
9931
9932
                                      type: string
                                    storagePolicyID:
9933
                                      description: storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
9934
9935
                                      type: string
                                    storagePolicyName:
9936
                                      description: storagePolicyName is the storage Policy Based Management (SPBM) profile name.
9937
9938
                                      type: string
                                    volumePath:
9939
                                      description: volumePath is the path that identifies vSphere volume vmdk
9940
9941
9942
                                      type: string
                                  required:
                                    - volumePath
9943
                                  type: object
9944
                              required:
9945
                                - name
9946
                              type: object
9947
                            type: array
9948
9949
9950
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
9951
                        required: []
9952
                        type: object
9953
9954
9955
                      globalDynamoNamespace:
                        description: GlobalDynamoNamespace indicates that the Component will be placed in the global Dynamo namespace
                        type: boolean
9956
                      ingress:
9957
                        description: Ingress config to expose the component outside the cluster (or through a service mesh).
9958
9959
9960
                        properties:
                          annotations:
                            additionalProperties:
9961
                              type: string
9962
                            description: Annotations to set on the generated Ingress/VirtualService resources.
9963
9964
                            type: object
                          enabled:
9965
                            description: Enabled exposes the component through an ingress or virtual service when true.
9966
9967
                            type: boolean
                          host:
9968
                            description: Host is the base host name to route external traffic to this component.
9969
9970
                            type: string
                          hostPrefix:
9971
                            description: HostPrefix is an optional prefix added before the host.
9972
9973
                            type: string
                          hostSuffix:
9974
                            description: HostSuffix is an optional suffix appended after the host.
9975
9976
                            type: string
                          ingressControllerClassName:
9977
                            description: IngressControllerClassName selects the ingress controller class (e.g., "nginx").
9978
9979
9980
                            type: string
                          labels:
                            additionalProperties:
9981
                              type: string
9982
                            description: Labels to set on the generated Ingress/VirtualService resources.
9983
9984
                            type: object
                          tls:
9985
                            description: TLS holds the TLS configuration used by the Ingress/VirtualService.
9986
9987
                            properties:
                              secretName:
9988
                                description: SecretName is the name of a Kubernetes Secret containing the TLS certificate and key.
9989
9990
9991
                                type: string
                            type: object
                          useVirtualService:
9992
                            description: UseVirtualService indicates whether to configure a service-mesh VirtualService instead of a standard Ingress.
9993
9994
                            type: boolean
                          virtualServiceGateway:
9995
                            description: VirtualServiceGateway optionally specifies the gateway name to attach the VirtualService to.
9996
                            type: string
9997
9998
9999
                        type: object
                      labels:
                        additionalProperties:
10000
                          type: string
10001
                        description: Labels to add to generated Kubernetes resources for this component.
10002
10003
                        type: object
                      livenessProbe:
10004
                        description: LivenessProbe to detect and restart unhealthy containers.
10005
10006
                        properties:
                          exec:
10007
                            description: Exec specifies a command to execute in the container.
10008
10009
                            properties:
                              command:
10010
10011
10012
10013
10014
10015
                                description: |-
                                  Command is the command line to execute inside the container, the working directory for the
                                  command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                  not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                  a shell, you need to explicitly call out to that shell.
                                  Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
10016
10017
10018
10019
10020
10021
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          failureThreshold:
10022
10023
10024
                            description: |-
                              Minimum consecutive failures for the probe to be considered failed after having succeeded.
                              Defaults to 3. Minimum value is 1.
10025
10026
10027
                            format: int32
                            type: integer
                          grpc:
10028
                            description: GRPC specifies a GRPC HealthCheckRequest.
10029
                            properties:
10030
                              port:
10031
                                description: Port number of the gRPC service. Number must be in the range 1 to 65535.
10032
10033
10034
10035
                                format: int32
                                type: integer
                              service:
                                default: ""
10036
10037
10038
10039
10040
                                description: |-
                                  Service is the name of the service to place in the gRPC HealthCheckRequest
                                  (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                  If this is not specified, the default behavior is defined by gRPC.
10041
                                type: string
10042
10043
10044
10045
                            required:
                              - port
                            type: object
                          httpGet:
10046
                            description: HTTPGet specifies an HTTP GET request to perform.
10047
10048
                            properties:
                              host:
10049
10050
10051
                                description: |-
                                  Host name to connect to, defaults to the pod IP. You probably want to set
                                  "Host" in httpHeaders instead.
10052
                                type: string
10053
                              httpHeaders:
10054
                                description: Custom headers to set in the request. HTTP allows repeated headers.
10055
                                items:
10056
                                  description: HTTPHeader describes a custom header to be used in HTTP probes
10057
10058
                                  properties:
                                    name:
10059
10060
10061
                                      description: |-
                                        The header field name.
                                        This will be canonicalized upon output, so case-variant names will be understood as the same header.
10062
10063
                                      type: string
                                    value:
10064
                                      description: The header field value
10065
10066
10067
10068
10069
10070
10071
10072
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
10073
                                description: Path to access on the HTTP server.
10074
                                type: string
10075
10076
10077
10078
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10079
10080
10081
10082
                                description: |-
                                  Name or number of the port to access on the container.
                                  Number must be in the range 1 to 65535.
                                  Name must be an IANA_SVC_NAME.
10083
10084
                                x-kubernetes-int-or-string: true
                              scheme:
10085
10086
10087
                                description: |-
                                  Scheme to use for connecting to the host.
                                  Defaults to HTTP.
10088
                                type: string
10089
10090
                            required:
                              - port
10091
                            type: object
10092
                          initialDelaySeconds:
10093
10094
10095
                            description: |-
                              Number of seconds after the container has started before liveness probes are initiated.
                              More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
10096
10097
10098
                            format: int32
                            type: integer
                          periodSeconds:
10099
10100
10101
                            description: |-
                              How often (in seconds) to perform the probe.
                              Default to 10 seconds. Minimum value is 1.
10102
10103
10104
                            format: int32
                            type: integer
                          successThreshold:
10105
10106
10107
                            description: |-
                              Minimum consecutive successes for the probe to be considered successful after having failed.
                              Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
10108
10109
10110
                            format: int32
                            type: integer
                          tcpSocket:
10111
                            description: TCPSocket specifies a connection to a TCP port.
10112
                            properties:
10113
                              host:
10114
                                description: 'Optional: Host name to connect to, defaults to the pod IP.'
10115
10116
10117
10118
10119
                                type: string
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10120
10121
10122
10123
                                description: |-
                                  Number or name of the port to access on the container.
                                  Number must be in the range 1 to 65535.
                                  Name must be an IANA_SVC_NAME.
10124
10125
10126
10127
10128
                                x-kubernetes-int-or-string: true
                            required:
                              - port
                            type: object
                          terminationGracePeriodSeconds:
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
                            description: |-
                              Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                              The grace period is the duration in seconds after the processes running in the pod are sent
                              a termination signal and the time when the processes are forcibly halted with a kill signal.
                              Set this value longer than the expected cleanup time for your process.
                              If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                              value overrides the value provided by the pod spec.
                              Value must be non-negative integer. The value zero indicates stop immediately via
                              the kill signal (no opportunity to shut down).
                              This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                              Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
10140
10141
10142
                            format: int64
                            type: integer
                          timeoutSeconds:
10143
10144
10145
10146
                            description: |-
                              Number of seconds after which the probe times out.
                              Defaults to 1 second. Minimum value is 1.
                              More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
10147
10148
10149
                            format: int32
                            type: integer
                        type: object
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
                      modelRef:
                        description: |-
                          ModelRef references a model that this component serves
                          When specified, a headless service will be created for endpoint discovery
                        properties:
                          name:
                            description: Name is the base model identifier (e.g., "llama-3-70b-instruct-v1")
                            type: string
                          revision:
                            description: Revision is the model revision/version (optional)
                            type: string
                        required:
                          - name
                        type: object
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
                      multinode:
                        description: Multinode is the configuration for multinode components.
                        properties:
                          nodeCount:
                            default: 2
                            description: |-
                              Indicates the number of nodes to deploy for multinode components.
                              Total number of GPUs is NumberOfNodes * GPU limit.
                              Must be greater than 1.
                            format: int32
                            minimum: 2
                            type: integer
                        required:
                          - nodeCount
                        type: object
10179
                      readinessProbe:
10180
                        description: ReadinessProbe to signal when the container is ready to receive traffic.
10181
10182
                        properties:
                          exec:
10183
                            description: Exec specifies a command to execute in the container.
10184
10185
                            properties:
                              command:
10186
10187
10188
10189
10190
10191
                                description: |-
                                  Command is the command line to execute inside the container, the working directory for the
                                  command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                  not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                  a shell, you need to explicitly call out to that shell.
                                  Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
10192
10193
10194
10195
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
10196
10197
                            type: object
                          failureThreshold:
10198
10199
10200
                            description: |-
                              Minimum consecutive failures for the probe to be considered failed after having succeeded.
                              Defaults to 3. Minimum value is 1.
10201
10202
10203
                            format: int32
                            type: integer
                          grpc:
10204
                            description: GRPC specifies a GRPC HealthCheckRequest.
10205
10206
                            properties:
                              port:
10207
                                description: Port number of the gRPC service. Number must be in the range 1 to 65535.
10208
10209
                                format: int32
                                type: integer
10210
10211
                              service:
                                default: ""
10212
10213
10214
10215
10216
                                description: |-
                                  Service is the name of the service to place in the gRPC HealthCheckRequest
                                  (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

                                  If this is not specified, the default behavior is defined by gRPC.
10217
                                type: string
10218
10219
10220
10221
                            required:
                              - port
                            type: object
                          httpGet:
10222
                            description: HTTPGet specifies an HTTP GET request to perform.
10223
10224
                            properties:
                              host:
10225
10226
10227
                                description: |-
                                  Host name to connect to, defaults to the pod IP. You probably want to set
                                  "Host" in httpHeaders instead.
10228
                                type: string
10229
                              httpHeaders:
10230
                                description: Custom headers to set in the request. HTTP allows repeated headers.
10231
                                items:
10232
                                  description: HTTPHeader describes a custom header to be used in HTTP probes
10233
10234
                                  properties:
                                    name:
10235
10236
10237
                                      description: |-
                                        The header field name.
                                        This will be canonicalized upon output, so case-variant names will be understood as the same header.
10238
10239
                                      type: string
                                    value:
10240
                                      description: The header field value
10241
10242
10243
10244
10245
10246
10247
10248
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
10249
                                description: Path to access on the HTTP server.
10250
                                type: string
10251
10252
10253
10254
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10255
10256
10257
10258
                                description: |-
                                  Name or number of the port to access on the container.
                                  Number must be in the range 1 to 65535.
                                  Name must be an IANA_SVC_NAME.
10259
10260
                                x-kubernetes-int-or-string: true
                              scheme:
10261
10262
10263
                                description: |-
                                  Scheme to use for connecting to the host.
                                  Defaults to HTTP.
10264
10265
                                type: string
                            required:
10266
                              - port
10267
                            type: object
10268
                          initialDelaySeconds:
10269
10270
10271
                            description: |-
                              Number of seconds after the container has started before liveness probes are initiated.
                              More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
10272
10273
10274
                            format: int32
                            type: integer
                          periodSeconds:
10275
10276
10277
                            description: |-
                              How often (in seconds) to perform the probe.
                              Default to 10 seconds. Minimum value is 1.
10278
10279
10280
                            format: int32
                            type: integer
                          successThreshold:
10281
10282
10283
                            description: |-
                              Minimum consecutive successes for the probe to be considered successful after having failed.
                              Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
10284
10285
10286
                            format: int32
                            type: integer
                          tcpSocket:
10287
                            description: TCPSocket specifies a connection to a TCP port.
10288
10289
                            properties:
                              host:
10290
                                description: 'Optional: Host name to connect to, defaults to the pod IP.'
10291
                                type: string
10292
10293
10294
10295
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10296
10297
10298
10299
                                description: |-
                                  Number or name of the port to access on the container.
                                  Number must be in the range 1 to 65535.
                                  Name must be an IANA_SVC_NAME.
10300
10301
10302
10303
10304
                                x-kubernetes-int-or-string: true
                            required:
                              - port
                            type: object
                          terminationGracePeriodSeconds:
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
                            description: |-
                              Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                              The grace period is the duration in seconds after the processes running in the pod are sent
                              a termination signal and the time when the processes are forcibly halted with a kill signal.
                              Set this value longer than the expected cleanup time for your process.
                              If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                              value overrides the value provided by the pod spec.
                              Value must be non-negative integer. The value zero indicates stop immediately via
                              the kill signal (no opportunity to shut down).
                              This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                              Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
10316
10317
10318
                            format: int64
                            type: integer
                          timeoutSeconds:
10319
10320
10321
10322
                            description: |-
                              Number of seconds after which the probe times out.
                              Defaults to 1 second. Minimum value is 1.
                              More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
10323
10324
10325
10326
                            format: int32
                            type: integer
                        type: object
                      replicas:
10327
10328
                        description: |-
                          Replicas is the desired number of Pods for this component.
10329
                          When scalingAdapter is enabled, this field is managed by the
10330
                          DynamoGraphDeploymentScalingAdapter and should not be modified directly.
10331
                        format: int32
10332
                        minimum: 0
10333
10334
                        type: integer
                      resources:
10335
10336
10337
                        description: |-
                          Resources requested and limits for this component, including CPU, memory,
                          GPUs/devices, and any runtime-specific resources.
10338
                        properties:
10339
                          claims:
10340
                            description: Claims specifies resource claims for dynamic resource allocation
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
                            items:
                              description: ResourceClaim references one entry in PodSpec.ResourceClaims.
                              properties:
                                name:
                                  description: |-
                                    Name must match the name of one entry in pod.spec.resourceClaims of
                                    the Pod where this field is used. It makes that resource available
                                    inside a container.
                                  type: string
                                request:
                                  description: |-
                                    Request is the name chosen for a request in the referenced claim.
                                    If empty, everything from the claim is made available, otherwise
                                    only the result of this request.
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
10360
                          limits:
10361
                            description: Limits specifies the maximum resources allowed for the component
10362
10363
                            properties:
                              cpu:
10364
                                description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
10365
10366
10367
10368
                                type: string
                              custom:
                                additionalProperties:
                                  type: string
10369
                                description: Custom specifies additional custom resource requests/limits
10370
                                type: object
10371
                              gpu:
10372
                                description: |-
10373
10374
10375
10376
10377
10378
10379
                                  GPU indicates the number of GPUs to request.
                                  Total number of GPUs is NumberOfNodes * GPU in case of multinode deployment.
                                type: string
                              gpuType:
                                description: |-
                                  GPUType can specify a custom GPU type, e.g. "gpu.intel.com/xe"
                                  By default if not specified, the GPU type is "nvidia.com/gpu"
10380
                                type: string
10381
                              memory:
10382
                                description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
10383
10384
10385
                                type: string
                            type: object
                          requests:
10386
                            description: Requests specifies the minimum resources required by the component
10387
10388
                            properties:
                              cpu:
10389
                                description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
10390
10391
10392
10393
                                type: string
                              custom:
                                additionalProperties:
                                  type: string
10394
                                description: Custom specifies additional custom resource requests/limits
10395
                                type: object
10396
                              gpu:
10397
                                description: |-
10398
10399
10400
10401
10402
10403
10404
                                  GPU indicates the number of GPUs to request.
                                  Total number of GPUs is NumberOfNodes * GPU in case of multinode deployment.
                                type: string
                              gpuType:
                                description: |-
                                  GPUType can specify a custom GPU type, e.g. "gpu.intel.com/xe"
                                  By default if not specified, the GPU type is "nvidia.com/gpu"
10405
                                type: string
10406
                              memory:
10407
                                description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
10408
                                type: string
10409
10410
                            type: object
                        type: object
10411
10412
10413
                      scalingAdapter:
                        description: |-
                          ScalingAdapter configures whether this service uses the DynamoGraphDeploymentScalingAdapter.
10414
                          When enabled, replicas are managed via DGDSA and external autoscalers can scale
10415
10416
                          the service using the Scale subresource. When disabled, replicas can be modified directly.
                        properties:
10417
                          enabled:
10418
10419
                            default: false
                            description: |-
10420
10421
10422
                              Enabled indicates whether the ScalingAdapter should be enabled for this service.
                              When true, a DGDSA is created and owns the replicas field.
                              When false (default), no DGDSA is created and replicas can be modified directly in the DGD.
10423
10424
                            type: boolean
                        type: object
10425
                      serviceName:
10426
                        description: The name of the component
10427
                        type: string
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
                      sharedMemory:
                        description: SharedMemory controls the tmpfs mounted at /dev/shm (enable/disable and size).
                        properties:
                          disabled:
                            type: boolean
                          size:
                            anyOf:
                              - type: integer
                              - type: string
                            pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                            x-kubernetes-int-or-string: true
                        type: object
10440
10441
10442
                      subComponentType:
                        description: SubComponentType indicates the sub-role of this component (for example, "prefill").
                        type: string
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
                      volumeMounts:
                        description: VolumeMounts references PVCs defined at the top level for volumes to be mounted by the component.
                        items:
                          description: VolumeMount references a PVC defined at the top level for volumes to be mounted by the component
                          properties:
                            mountPoint:
                              description: |-
                                MountPoint specifies where to mount the volume.
                                If useAsCompilationCache is true and mountPoint is not specified,
                                a backend-specific default will be used.
                              type: string
                            name:
                              description: Name references a PVC name defined in the top-level PVCs map
                              type: string
                            useAsCompilationCache:
                              default: false
                              description: |-
                                UseAsCompilationCache indicates this volume should be used as a compilation cache.
                                When true, backend-specific environment variables will be set and default mount points may be used.
                              type: boolean
                          required:
                            - name
                          type: object
                        type: array
10467
                    type: object
10468
                  description: Services are the services to deploy as part of this deployment.
10469
                  maxProperties: 25
10470
                  type: object
10471
10472
              type: object
            status:
10473
              description: Status reflects the current observed state of this graph deployment.
10474
10475
              properties:
                conditions:
10476
10477
10478
                  description: |-
                    Conditions contains the latest observed conditions of the graph deployment.
                    The slice is merged by type on patch updates.
10479
                  items:
10480
                    description: Condition contains details for one aspect of the current state of this API Resource.
10481
10482
                    properties:
                      lastTransitionTime:
10483
10484
10485
                        description: |-
                          lastTransitionTime is the last time the condition transitioned from one status to another.
                          This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
10486
10487
10488
                        format: date-time
                        type: string
                      message:
10489
10490
10491
                        description: |-
                          message is a human readable message indicating details about the transition.
                          This may be an empty string.
10492
10493
10494
                        maxLength: 32768
                        type: string
                      observedGeneration:
10495
10496
10497
10498
                        description: |-
                          observedGeneration represents the .metadata.generation that the condition was set based upon.
                          For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
                          with respect to the current state of the instance.
10499
10500
10501
10502
                        format: int64
                        minimum: 0
                        type: integer
                      reason:
10503
10504
10505
10506
10507
10508
                        description: |-
                          reason contains a programmatic identifier indicating the reason for the condition's last transition.
                          Producers of specific condition types may define expected values and meanings for this field,
                          and whether the values are considered a guaranteed API.
                          The value should be a CamelCase string.
                          This field may not be empty.
10509
10510
10511
10512
10513
                        maxLength: 1024
                        minLength: 1
                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
                        type: string
                      status:
10514
                        description: status of the condition, one of True, False, Unknown.
10515
10516
10517
10518
10519
10520
                        enum:
                          - "True"
                          - "False"
                          - Unknown
                        type: string
                      type:
10521
                        description: type of condition in CamelCase or in foo.example.com/CamelCase.
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
                        maxLength: 316
                        pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
                        type: string
                    required:
                      - lastTransitionTime
                      - message
                      - reason
                      - status
                      - type
                    type: object
                  type: array
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
                services:
                  additionalProperties:
                    description: ServiceReplicaStatus contains replica information for a single service.
                    properties:
                      availableReplicas:
                        description: |-
                          AvailableReplicas is the number of available replicas.
                          For Deployment: replicas ready for >= minReadySeconds.
                          For PodCliqueScalingGroup: replicas where all constituent PodCliques have >= MinAvailable ready pods.
                          Not available for PodClique or LeaderWorkerSet.
                          When nil, the field is omitted from the API response.
                        format: int32
                        minimum: 0
                        type: integer
                      componentKind:
                        description: ComponentKind is the underlying resource kind (e.g., "PodClique", "PodCliqueScalingGroup", "Deployment", "LeaderWorkerSet").
                        enum:
                          - PodClique
                          - PodCliqueScalingGroup
                          - Deployment
                          - LeaderWorkerSet
                        type: string
                      componentName:
                        description: ComponentName is the name of the underlying resource.
                        type: string
                      readyReplicas:
                        description: |-
                          ReadyReplicas is the number of ready replicas.
                          Populated for PodClique, Deployment, and LeaderWorkerSet.
                          Not available for PodCliqueScalingGroup.
                          When nil, the field is omitted from the API response.
                        format: int32
                        minimum: 0
                        type: integer
                      replicas:
                        description: |-
                          Replicas is the total number of non-terminated replicas.
                          Required for all component kinds.
                        format: int32
                        minimum: 0
                        type: integer
                      updatedReplicas:
                        description: |-
                          UpdatedReplicas is the number of replicas at the current/desired revision.
                          Required for all component kinds.
                        format: int32
                        minimum: 0
                        type: integer
                    required:
                      - componentKind
                      - componentName
                      - replicas
                      - updatedReplicas
                    type: object
                  description: |-
                    Services contains per-service replica status information.
                    The map key is the service name from spec.services.
                  type: object
10591
                state:
10592
                  description: State is a high-level textual status of the graph deployment lifecycle.
10593
10594
10595
10596
10597
10598
10599
                  type: string
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}