nvidia.com_dynamographdeployments.yaml 815 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
38
39
40
41
42
43
44
45
46
47
    - additionalPrinterColumns:
        - description: Ready status of the graph deployment
          jsonPath: .status.conditions[?(@.type=="Ready")].status
          name: Ready
          type: string
        - description: Backend framework (sglang, vllm, trtllm)
          jsonPath: .spec.backendFramework
          name: Backend
          type: string
        - jsonPath: .metadata.creationTimestamp
          name: Age
          type: date
      name: v1alpha1
48
49
      schema:
        openAPIV3Schema:
50
          description: DynamoGraphDeployment is the Schema for the dynamographdeployments API.
51
52
          properties:
            apiVersion:
53
54
55
56
57
              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
58
59
              type: string
            kind:
60
61
62
63
64
65
              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
66
67
68
69
              type: string
            metadata:
              type: object
            spec:
70
              description: Spec defines the desired state for this graph deployment.
71
              properties:
72
                backendFramework:
73
                  description: BackendFramework specifies the backend framework (e.g., "sglang", "vllm", "trtllm").
74
75
76
77
78
                  enum:
                    - sglang
                    - vllm
                    - trtllm
                  type: string
79
                envs:
80
                  description: |-
81
                    Envs are environment variables applied to all services in the deployment unless
82
                    overridden by service-specific configuration.
83
                  items:
84
                    description: EnvVar represents an environment variable present in a Container.
85
86
                    properties:
                      name:
87
88
89
                        description: |-
                          Name of the environment variable.
                          May consist of any printable ASCII characters except '='.
90
                        type: string
91
                      value:
92
93
94
95
96
97
98
99
100
101
                        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 "".
102
103
                        type: string
                      valueFrom:
104
                        description: Source for the environment variable's value. Cannot be used if value is not empty.
105
106
                        properties:
                          configMapKeyRef:
107
                            description: Selects a key of a ConfigMap.
108
                            properties:
109
                              key:
110
                                description: The key to select.
111
112
113
                                type: string
                              name:
                                default: ""
114
115
116
117
118
119
                                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
120
121
                                type: string
                              optional:
122
                                description: Specify whether the ConfigMap or its key must be defined
123
124
125
126
127
128
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                          fieldRef:
129
130
131
                            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.
132
133
                            properties:
                              apiVersion:
134
                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
135
136
                                type: string
                              fieldPath:
137
                                description: Path of the field to select in the specified API version.
138
139
140
141
142
                                type: string
                            required:
                              - fieldPath
                            type: object
                            x-kubernetes-map-type: atomic
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
                          fileKeyRef:
                            description: |-
                              FileKeyRef selects a key of the env file.
                              Requires the EnvFiles feature gate to be enabled.
                            properties:
                              key:
                                description: |-
                                  The key within the env file. An invalid key will prevent the pod from starting.
                                  The keys defined within a source may consist of any printable ASCII characters except '='.
                                  During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
                                type: string
                              optional:
                                default: false
                                description: |-
                                  Specify whether the file or its key must be defined. If the file or key
                                  does not exist, then the env var is not published.
                                  If optional is set to true and the specified key does not exist,
                                  the environment variable will not be set in the Pod's containers.

                                  If optional is set to false and the specified key does not exist,
                                  an error will be returned during Pod creation.
                                type: boolean
                              path:
                                description: |-
                                  The path within the volume from which to select the file.
                                  Must be relative and may not contain the '..' path or start with '..'.
                                type: string
                              volumeName:
                                description: The name of the volume mount containing the env file.
                                type: string
                            required:
                              - key
                              - path
                              - volumeName
                            type: object
                            x-kubernetes-map-type: atomic
179
                          resourceFieldRef:
180
181
182
                            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.
183
184
                            properties:
                              containerName:
185
                                description: 'Container name: required for volumes, optional for env vars'
186
187
188
189
190
                                type: string
                              divisor:
                                anyOf:
                                  - type: integer
                                  - type: string
191
                                description: Specifies the output format of the exposed resources, defaults to "1"
192
193
                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                x-kubernetes-int-or-string: true
194
                              resource:
195
                                description: 'Required: resource to select'
196
197
                                type: string
                            required:
198
                              - resource
199
                            type: object
200
201
                            x-kubernetes-map-type: atomic
                          secretKeyRef:
202
                            description: Selects a key of a secret in the pod's namespace
203
                            properties:
204
                              key:
205
                                description: The key of the secret to select from.  Must be a valid secret key.
206
207
208
                                type: string
                              name:
                                default: ""
209
210
211
212
213
214
                                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
215
216
                                type: string
                              optional:
217
                                description: Specify whether the Secret or its key must be defined
218
219
220
221
222
223
224
225
226
227
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                        type: object
                    required:
                      - name
                    type: object
                  type: array
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
                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))'
259
                  maxItems: 100
260
                  type: array
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
                restart:
                  description: Restart specifies the restart policy for the graph deployment.
                  properties:
                    id:
                      description: |-
                        ID is an arbitrary string that triggers a restart when changed.
                        Any modification to this value will initiate a restart of the graph deployment according to the strategy.
                      minLength: 1
                      type: string
                    strategy:
                      description: Strategy specifies the restart strategy for the graph deployment.
                      properties:
                        order:
                          description: Order specifies the order in which the services should be restarted.
                          items:
                            type: string
                          type: array
                        type:
                          default: Sequential
                          description: Type specifies the restart strategy type.
                          enum:
                            - Sequential
                            - Parallel
                          type: string
                      type: object
                  required:
                    - id
                  type: object
289
290
291
292
293
294
                services:
                  additionalProperties:
                    properties:
                      annotations:
                        additionalProperties:
                          type: string
295
296
297
                        description: |-
                          Annotations to add to generated Kubernetes resources for this component
                          (such as Pod, Service, and Ingress when applicable).
298
299
                        type: object
                      autoscaling:
300
301
302
303
                        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.
304
305
                        properties:
                          behavior:
306
                            description: 'Deprecated: This field is ignored.'
307
308
                            properties:
                              scaleDown:
309
310
311
312
313
                                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).
314
                                properties:
315
                                  policies:
316
317
318
319
320
                                    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.
321
                                    items:
322
                                      description: HPAScalingPolicy is a single policy which must hold true for a specified past interval.
323
324
                                      properties:
                                        periodSeconds:
325
326
327
                                          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).
328
329
330
                                          format: int32
                                          type: integer
                                        type:
331
                                          description: type is used to specify the scaling policy.
332
333
                                          type: string
                                        value:
334
335
336
                                          description: |-
                                            value contains the amount of change which is permitted by the policy.
                                            It must be greater than zero
337
338
339
340
341
342
343
344
345
346
                                          format: int32
                                          type: integer
                                      required:
                                        - periodSeconds
                                        - type
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  selectPolicy:
347
348
349
                                    description: |-
                                      selectPolicy is used to specify which policy should be used.
                                      If not set, the default value Max is used.
350
                                    type: string
351
                                  stabilizationWindowSeconds:
352
353
354
355
356
357
358
                                    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).
359
360
                                    format: int32
                                    type: integer
361
362
363
364
                                  tolerance:
                                    anyOf:
                                      - type: integer
                                      - type: string
365
366
367
368
369
370
371
372
373
374
375
376
                                    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.
377
378
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
379
                                type: object
380
                              scaleUp:
381
382
383
384
385
386
                                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.
387
                                properties:
388
                                  policies:
389
390
391
392
393
                                    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.
394
                                    items:
395
                                      description: HPAScalingPolicy is a single policy which must hold true for a specified past interval.
396
397
                                      properties:
                                        periodSeconds:
398
399
400
                                          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).
401
402
403
                                          format: int32
                                          type: integer
                                        type:
404
                                          description: type is used to specify the scaling policy.
405
406
                                          type: string
                                        value:
407
408
409
                                          description: |-
                                            value contains the amount of change which is permitted by the policy.
                                            It must be greater than zero
410
411
412
413
414
415
416
417
418
419
                                          format: int32
                                          type: integer
                                      required:
                                        - periodSeconds
                                        - type
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  selectPolicy:
420
421
422
                                    description: |-
                                      selectPolicy is used to specify which policy should be used.
                                      If not set, the default value Max is used.
423
                                    type: string
424
                                  stabilizationWindowSeconds:
425
426
427
428
429
430
431
                                    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).
432
433
                                    format: int32
                                    type: integer
434
435
436
437
                                  tolerance:
                                    anyOf:
                                      - type: integer
                                      - type: string
438
439
440
441
442
443
444
445
446
447
448
449
                                    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.
450
451
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
452
453
                                type: object
                            type: object
454
                          enabled:
455
                            description: 'Deprecated: This field is ignored.'
456
457
                            type: boolean
                          maxReplicas:
458
                            description: 'Deprecated: This field is ignored.'
459
460
                            type: integer
                          metrics:
461
                            description: 'Deprecated: This field is ignored.'
462
                            items:
463
464
465
                              description: |-
                                MetricSpec specifies how to scale based on a single metric
                                (only `type` and one other matching field should be set at once).
466
467
                              properties:
                                containerResource:
468
469
470
471
472
473
                                  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.
474
475
                                  properties:
                                    container:
476
                                      description: container is the name of the container in the pods of the scaling target
477
478
                                      type: string
                                    name:
479
                                      description: name is the name of the resource in question.
480
481
                                      type: string
                                    target:
482
                                      description: target specifies the target value for the given metric
483
484
                                      properties:
                                        averageUtilization:
485
486
487
488
489
                                          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
490
491
492
493
494
495
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
496
497
498
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
499
500
501
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
502
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
503
504
505
506
507
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
508
                                          description: value is the target value of the metric (as a quantity).
509
510
511
512
513
514
515
516
517
518
519
                                          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:
520
521
522
523
524
525
                                  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).
526
527
                                  properties:
                                    metric:
528
                                      description: metric identifies the target metric by name and selector
529
530
                                      properties:
                                        name:
531
                                          description: name is the name of the given metric
532
533
                                          type: string
                                        selector:
534
535
536
537
                                          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.
538
539
                                          properties:
                                            matchExpressions:
540
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
541
                                              items:
542
543
544
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
545
546
                                                properties:
                                                  key:
547
                                                    description: key is the label key that the selector applies to.
548
549
                                                    type: string
                                                  operator:
550
551
552
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
553
554
                                                    type: string
                                                  values:
555
556
557
558
559
                                                    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.
560
561
562
563
564
565
566
567
568
569
570
571
572
                                                    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
573
574
575
576
                                              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.
577
578
579
580
581
582
583
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
584
                                      description: target specifies the target value for the given metric
585
586
                                      properties:
                                        averageUtilization:
587
588
589
590
591
                                          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
592
593
594
595
596
597
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
598
599
600
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
601
602
603
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
604
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
605
606
607
608
609
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
610
                                          description: value is the target value of the metric (as a quantity).
611
612
613
614
615
616
617
618
619
620
                                          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:
621
622
623
                                  description: |-
                                    object refers to a metric describing a single kubernetes object
                                    (for example, hits-per-second on an Ingress object).
624
625
                                  properties:
                                    describedObject:
626
                                      description: describedObject specifies the descriptions of a object,such as kind,name apiVersion
627
628
                                      properties:
                                        apiVersion:
629
                                          description: apiVersion is the API version of the referent
630
631
                                          type: string
                                        kind:
632
                                          description: 'kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
633
634
                                          type: string
                                        name:
635
                                          description: 'name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
636
637
638
639
640
641
                                          type: string
                                      required:
                                        - kind
                                        - name
                                      type: object
                                    metric:
642
                                      description: metric identifies the target metric by name and selector
643
644
                                      properties:
                                        name:
645
                                          description: name is the name of the given metric
646
647
                                          type: string
                                        selector:
648
649
650
651
                                          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.
652
653
                                          properties:
                                            matchExpressions:
654
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
655
                                              items:
656
657
658
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
659
660
                                                properties:
                                                  key:
661
                                                    description: key is the label key that the selector applies to.
662
663
                                                    type: string
                                                  operator:
664
665
666
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
667
668
                                                    type: string
                                                  values:
669
670
671
672
673
                                                    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.
674
675
676
677
678
679
680
681
682
683
684
685
686
                                                    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
687
688
689
690
                                              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.
691
692
693
694
695
696
697
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
698
                                      description: target specifies the target value for the given metric
699
700
                                      properties:
                                        averageUtilization:
701
702
703
704
705
                                          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
706
707
708
709
710
711
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
712
713
714
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
715
716
717
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
718
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
719
720
721
722
723
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
724
                                          description: value is the target value of the metric (as a quantity).
725
726
727
728
729
730
731
732
733
734
735
                                          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:
736
737
738
739
                                  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.
740
741
                                  properties:
                                    metric:
742
                                      description: metric identifies the target metric by name and selector
743
744
                                      properties:
                                        name:
745
                                          description: name is the name of the given metric
746
747
                                          type: string
                                        selector:
748
749
750
751
                                          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.
752
753
                                          properties:
                                            matchExpressions:
754
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
755
                                              items:
756
757
758
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
759
760
                                                properties:
                                                  key:
761
                                                    description: key is the label key that the selector applies to.
762
763
                                                    type: string
                                                  operator:
764
765
766
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
767
768
                                                    type: string
                                                  values:
769
770
771
772
773
                                                    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.
774
775
776
777
778
779
780
781
782
783
784
785
786
                                                    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
787
788
789
790
                                              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.
791
792
793
794
795
796
797
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
798
                                      description: target specifies the target value for the given metric
799
800
                                      properties:
                                        averageUtilization:
801
802
803
804
805
                                          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
806
807
808
809
810
811
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
812
813
814
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
815
816
817
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
818
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
819
820
821
822
823
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
824
                                          description: value is the target value of the metric (as a quantity).
825
826
827
828
829
830
831
832
833
834
                                          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:
835
836
837
838
839
840
                                  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.
841
842
                                  properties:
                                    name:
843
                                      description: name is the name of the resource in question.
844
845
                                      type: string
                                    target:
846
                                      description: target specifies the target value for the given metric
847
848
                                      properties:
                                        averageUtilization:
849
850
851
852
853
                                          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
854
855
856
857
858
859
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
860
861
862
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
863
864
865
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
866
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
867
868
869
870
871
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
872
                                          description: value is the target value of the metric (as a quantity).
873
874
875
876
877
878
879
880
881
882
                                          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:
883
884
885
                                  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.
886
887
888
889
890
891
                                  type: string
                              required:
                                - type
                              type: object
                            type: array
                          minReplicas:
892
                            description: 'Deprecated: This field is ignored.'
893
                            type: integer
894
                        type: object
895
                      componentType:
896
                        description: ComponentType indicates the role of this component (for example, "main").
897
898
                        type: string
                      dynamoNamespace:
899
900
901
                        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
902
903
                        type: string
                      envFromSecret:
904
905
906
                        description: |-
                          EnvFromSecret references a Secret whose key/value pairs will be exposed as
                          environment variables in the component containers.
907
908
                        type: string
                      envs:
909
                        description: Envs defines additional environment variables to inject into the component containers.
910
                        items:
911
                          description: EnvVar represents an environment variable present in a Container.
912
                          properties:
913
                            name:
914
915
916
                              description: |-
                                Name of the environment variable.
                                May consist of any printable ASCII characters except '='.
917
918
                              type: string
                            value:
919
920
921
922
923
924
925
926
927
928
                              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 "".
929
930
                              type: string
                            valueFrom:
931
                              description: Source for the environment variable's value. Cannot be used if value is not empty.
932
                              properties:
933
                                configMapKeyRef:
934
                                  description: Selects a key of a ConfigMap.
935
936
                                  properties:
                                    key:
937
                                      description: The key to select.
938
939
940
                                      type: string
                                    name:
                                      default: ""
941
942
943
944
945
946
                                      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
947
948
                                      type: string
                                    optional:
949
                                      description: Specify whether the ConfigMap or its key must be defined
950
951
952
953
954
955
                                      type: boolean
                                  required:
                                    - key
                                  type: object
                                  x-kubernetes-map-type: atomic
                                fieldRef:
956
957
958
                                  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.
959
960
                                  properties:
                                    apiVersion:
961
                                      description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
962
963
                                      type: string
                                    fieldPath:
964
                                      description: Path of the field to select in the specified API version.
965
966
967
968
969
                                      type: string
                                  required:
                                    - fieldPath
                                  type: object
                                  x-kubernetes-map-type: atomic
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
                                fileKeyRef:
                                  description: |-
                                    FileKeyRef selects a key of the env file.
                                    Requires the EnvFiles feature gate to be enabled.
                                  properties:
                                    key:
                                      description: |-
                                        The key within the env file. An invalid key will prevent the pod from starting.
                                        The keys defined within a source may consist of any printable ASCII characters except '='.
                                        During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
                                      type: string
                                    optional:
                                      default: false
                                      description: |-
                                        Specify whether the file or its key must be defined. If the file or key
                                        does not exist, then the env var is not published.
                                        If optional is set to true and the specified key does not exist,
                                        the environment variable will not be set in the Pod's containers.

                                        If optional is set to false and the specified key does not exist,
                                        an error will be returned during Pod creation.
                                      type: boolean
                                    path:
                                      description: |-
                                        The path within the volume from which to select the file.
                                        Must be relative and may not contain the '..' path or start with '..'.
                                      type: string
                                    volumeName:
                                      description: The name of the volume mount containing the env file.
                                      type: string
                                  required:
                                    - key
                                    - path
                                    - volumeName
                                  type: object
                                  x-kubernetes-map-type: atomic
1006
                                resourceFieldRef:
1007
1008
1009
                                  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.
1010
1011
                                  properties:
                                    containerName:
1012
                                      description: 'Container name: required for volumes, optional for env vars'
1013
1014
1015
1016
1017
                                      type: string
                                    divisor:
                                      anyOf:
                                        - type: integer
                                        - type: string
1018
                                      description: Specifies the output format of the exposed resources, defaults to "1"
1019
1020
1021
                                      pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                      x-kubernetes-int-or-string: true
                                    resource:
1022
                                      description: 'Required: resource to select'
1023
1024
1025
1026
1027
1028
                                      type: string
                                  required:
                                    - resource
                                  type: object
                                  x-kubernetes-map-type: atomic
                                secretKeyRef:
1029
                                  description: Selects a key of a secret in the pod's namespace
1030
1031
                                  properties:
                                    key:
1032
                                      description: The key of the secret to select from.  Must be a valid secret key.
1033
1034
1035
                                      type: string
                                    name:
                                      default: ""
1036
1037
1038
1039
1040
1041
                                      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
1042
1043
                                      type: string
                                    optional:
1044
                                      description: Specify whether the Secret or its key must be defined
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
                                      type: boolean
                                  required:
                                    - key
                                  type: object
                                  x-kubernetes-map-type: atomic
                              type: object
                          required:
                            - name
                          type: object
                        type: array
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
                      eppConfig:
                        description: |-
                          EPPConfig defines EPP-specific configuration options for Endpoint Picker Plugin components.
                          Only applicable when ComponentType is "epp".
                        properties:
                          config:
                            description: |-
                              Config allows specifying EPP EndpointPickerConfig directly as a structured object.
                              The operator will marshal this to YAML and create a ConfigMap automatically.
                              Mutually exclusive with ConfigMapRef.
                              One of ConfigMapRef or Config must be specified (no default configuration).
                              Uses the upstream type from github.com/kubernetes-sigs/gateway-api-inference-extension
                            properties:
                              apiVersion:
                                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
                                type: string
                              featureGates:
                                description: |-
                                  FeatureGates is a set of flags that enable various experimental features with the EPP.
                                  If omitted non of these experimental features will be enabled.
                                items:
                                  type: string
                                type: array
                              kind:
                                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
                                type: string
                              plugins:
                                description: Plugins is the list of plugins that will be instantiated.
                                items:
                                  description: |-
                                    PluginSpec contains the information that describes a plugin that
                                    will be instantiated.
                                  properties:
                                    name:
                                      description: |-
                                        Name provides a name for plugin entries to reference. If
                                        omitted, the value of the Plugin's Type field will be used.
                                      type: string
                                    parameters:
                                      description: |-
                                        Parameters are the set of parameters to be passed to the plugin's
                                        factory function. The factory function is responsible
                                        to parse the parameters.
                                      format: byte
                                      type: string
                                    type:
                                      description: Type specifies the plugin type to be instantiated.
                                      type: string
                                  required:
                                    - type
                                  type: object
                                type: array
                              saturationDetector:
                                description: |-
                                  SaturationDetector when present specifies the configuration of the
                                  Saturation detector. If not present, default values are used.
                                properties:
                                  kvCacheUtilThreshold:
                                    description: |-
                                      KVCacheUtilThreshold defines the KV cache utilization (0.0 to 1.0) above
                                      which a pod is considered to have insufficient capacity.
                                    type: number
                                  metricsStalenessThreshold:
                                    description: |-
                                      MetricsStalenessThreshold defines how old a pod's metrics can be.
                                      If a pod's metrics are older than this, it might be excluded from
                                      "good capacity" considerations or treated as having no capacity for
                                      safety.
                                    type: string
                                  queueDepthThreshold:
                                    description: |-
                                      QueueDepthThreshold defines the backend waiting queue size above which a
                                      pod is considered to have insufficient capacity for new requests.
                                    type: integer
                                type: object
                              schedulingProfiles:
                                description: |-
                                  SchedulingProfiles is the list of named SchedulingProfiles
                                  that will be created.
                                items:
                                  description: |-
                                    SchedulingProfile contains the information to create a SchedulingProfile
                                    entry to be used by the scheduler.
                                  properties:
                                    name:
                                      description: Name specifies the name of this SchedulingProfile
                                      type: string
                                    plugins:
                                      description: |-
                                        Plugins is the list of plugins for this SchedulingProfile. They are assigned
                                        to the appropriate "slots" based on their type.
                                      items:
                                        description: |-
                                          SchedulingPlugin describes a plugin that will be associated with a
                                          SchedulingProfile entry.
                                        properties:
                                          pluginRef:
                                            description: |-
                                              PluginRef specifies a partiular Plugin instance to be associated with
                                              this SchedulingProfile. The reference is to the name of an
                                              entry of the Plugins defined in the configuration's Plugins
                                              section
                                            type: string
                                          weight:
                                            description: Weight is the weight fo be used if this plugin is a Scorer.
                                            type: integer
                                        required:
                                          - pluginRef
                                        type: object
                                      type: array
                                  required:
                                    - name
                                    - plugins
                                  type: object
                                type: array
                            required:
                              - plugins
                              - schedulingProfiles
                            type: object
                            x-kubernetes-preserve-unknown-fields: true
                          configMapRef:
                            description: |-
                              ConfigMapRef references a user-provided ConfigMap containing EPP configuration.
                              The ConfigMap should contain EndpointPickerConfig YAML.
                              Mutually exclusive with Config.
                            properties:
                              key:
                                description: The key to select.
                                type: string
                              name:
                                default: ""
                                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
                                type: string
                              optional:
                                description: Specify whether the ConfigMap or its key must be defined
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                        type: object
1210
                      extraPodMetadata:
1211
                        description: ExtraPodMetadata adds labels/annotations to the created Pods.
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
                        properties:
                          annotations:
                            additionalProperties:
                              type: string
                            type: object
                          labels:
                            additionalProperties:
                              type: string
                            type: object
                        type: object
                      extraPodSpec:
1223
                        description: |-
1224
1225
1226
                          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.
1227
                        properties:
1228
                          activeDeadlineSeconds:
1229
1230
1231
1232
                            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.
1233
1234
                            format: int64
                            type: integer
1235
                          affinity:
1236
                            description: If specified, the pod's scheduling constraints
1237
1238
                            properties:
                              nodeAffinity:
1239
                                description: Describes node affinity scheduling rules for the pod.
1240
1241
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
                                    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.
1252
                                    items:
1253
1254
1255
                                      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).
1256
1257
                                      properties:
                                        preference:
1258
                                          description: A node selector term, associated with the corresponding weight.
1259
1260
                                          properties:
                                            matchExpressions:
1261
                                              description: A list of node selector requirements by node's labels.
1262
                                              items:
1263
1264
1265
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1266
1267
                                                properties:
                                                  key:
1268
                                                    description: The label key that the selector applies to.
1269
1270
                                                    type: string
                                                  operator:
1271
1272
1273
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1274
1275
                                                    type: string
                                                  values:
1276
1277
1278
1279
1280
1281
                                                    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.
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchFields:
1293
                                              description: A list of node selector requirements by node's fields.
1294
                                              items:
1295
1296
1297
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1298
1299
                                                properties:
                                                  key:
1300
                                                    description: The label key that the selector applies to.
1301
1302
                                                    type: string
                                                  operator:
1303
1304
1305
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1306
1307
                                                    type: string
                                                  values:
1308
1309
1310
1311
1312
1313
                                                    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.
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
                                                    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:
1327
                                          description: Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
1328
1329
1330
1331
1332
1333
1334
1335
1336
                                          format: int32
                                          type: integer
                                      required:
                                        - preference
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1337
1338
1339
1340
1341
1342
                                    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.
1343
                                    properties:
1344
                                      nodeSelectorTerms:
1345
                                        description: Required. A list of node selector terms. The terms are ORed.
1346
                                        items:
1347
1348
1349
1350
                                          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.
1351
1352
                                          properties:
                                            matchExpressions:
1353
                                              description: A list of node selector requirements by node's labels.
1354
                                              items:
1355
1356
1357
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1358
1359
                                                properties:
                                                  key:
1360
                                                    description: The label key that the selector applies to.
1361
                                                    type: string
1362
                                                  operator:
1363
1364
1365
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1366
                                                    type: string
1367
                                                  values:
1368
1369
1370
1371
1372
1373
                                                    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.
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchFields:
1385
                                              description: A list of node selector requirements by node's fields.
1386
                                              items:
1387
1388
1389
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1390
1391
                                                properties:
                                                  key:
1392
                                                    description: The label key that the selector applies to.
1393
1394
                                                    type: string
                                                  operator:
1395
1396
1397
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1398
1399
                                                    type: string
                                                  values:
1400
1401
1402
1403
1404
1405
                                                    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.
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
                                                    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
1420
                                    required:
1421
                                      - nodeSelectorTerms
1422
                                    type: object
1423
1424
1425
                                    x-kubernetes-map-type: atomic
                                type: object
                              podAffinity:
1426
                                description: Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
1427
1428
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
                                    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.
1439
                                    items:
1440
                                      description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1441
1442
                                      properties:
                                        podAffinityTerm:
1443
                                          description: Required. A pod affinity term, associated with the corresponding weight.
1444
1445
                                          properties:
                                            labelSelector:
1446
1447
1448
                                              description: |-
                                                A label query over a set of resources, in this case pods.
                                                If it's null, this PodAffinityTerm matches with no Pods.
1449
                                              properties:
1450
                                                matchExpressions:
1451
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1452
                                                  items:
1453
1454
1455
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1456
1457
                                                    properties:
                                                      key:
1458
                                                        description: key is the label key that the selector applies to.
1459
1460
                                                        type: string
                                                      operator:
1461
1462
1463
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1464
1465
                                                        type: string
                                                      values:
1466
1467
1468
1469
1470
                                                        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.
1471
1472
1473
1474
1475
1476
1477
1478
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1479
1480
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1481
1482
1483
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1484
1485
1486
1487
                                                  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.
1488
                                                  type: object
1489
                                              type: object
1490
1491
                                              x-kubernetes-map-type: atomic
                                            matchLabelKeys:
1492
1493
1494
1495
1496
1497
1498
1499
1500
                                              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.
1501
1502
1503
1504
1505
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            mismatchLabelKeys:
1506
1507
1508
1509
1510
1511
1512
1513
1514
                                              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.
1515
1516
1517
1518
1519
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            namespaceSelector:
1520
1521
1522
1523
1524
1525
                                              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.
1526
                                              properties:
1527
                                                matchExpressions:
1528
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1529
                                                  items:
1530
1531
1532
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1533
1534
                                                    properties:
                                                      key:
1535
                                                        description: key is the label key that the selector applies to.
1536
1537
                                                        type: string
                                                      operator:
1538
1539
1540
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1541
1542
                                                        type: string
                                                      values:
1543
1544
1545
1546
1547
                                                        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.
1548
1549
1550
1551
1552
1553
1554
1555
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1556
1557
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1558
1559
1560
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1561
1562
1563
1564
                                                  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.
1565
                                                  type: object
1566
                                              type: object
1567
1568
                                              x-kubernetes-map-type: atomic
                                            namespaces:
1569
1570
1571
1572
1573
                                              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".
1574
1575
1576
1577
1578
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            topologyKey:
1579
1580
1581
1582
1583
1584
                                              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.
1585
1586
1587
1588
1589
                                              type: string
                                          required:
                                            - topologyKey
                                          type: object
                                        weight:
1590
1591
1592
                                          description: |-
                                            weight associated with matching the corresponding podAffinityTerm,
                                            in the range 1-100.
1593
1594
1595
1596
1597
1598
1599
1600
1601
                                          format: int32
                                          type: integer
                                      required:
                                        - podAffinityTerm
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1602
1603
1604
1605
1606
1607
1608
1609
                                    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.
1610
                                    items:
1611
1612
1613
1614
1615
1616
1617
                                      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
1618
1619
                                      properties:
                                        labelSelector:
1620
1621
1622
                                          description: |-
                                            A label query over a set of resources, in this case pods.
                                            If it's null, this PodAffinityTerm matches with no Pods.
1623
1624
                                          properties:
                                            matchExpressions:
1625
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1626
                                              items:
1627
1628
1629
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1630
1631
                                                properties:
                                                  key:
1632
                                                    description: key is the label key that the selector applies to.
1633
1634
                                                    type: string
                                                  operator:
1635
1636
1637
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1638
1639
                                                    type: string
                                                  values:
1640
1641
1642
1643
1644
                                                    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.
1645
                                                    items:
1646
                                                      type: string
1647
1648
1649
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
1650
1651
1652
                                                  - key
                                                  - operator
                                                type: object
1653
1654
1655
1656
1657
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1658
1659
1660
1661
                                              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.
1662
1663
1664
1665
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        matchLabelKeys:
1666
1667
1668
1669
1670
1671
1672
1673
1674
                                          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.
1675
1676
1677
1678
1679
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        mismatchLabelKeys:
1680
1681
1682
1683
1684
1685
1686
1687
1688
                                          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.
1689
1690
1691
1692
1693
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        namespaceSelector:
1694
1695
1696
1697
1698
1699
                                          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.
1700
1701
                                          properties:
                                            matchExpressions:
1702
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1703
                                              items:
1704
1705
1706
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1707
1708
                                                properties:
                                                  key:
1709
                                                    description: key is the label key that the selector applies to.
1710
1711
                                                    type: string
                                                  operator:
1712
1713
1714
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1715
1716
                                                    type: string
                                                  values:
1717
1718
1719
1720
1721
                                                    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.
1722
                                                    items:
1723
                                                      type: string
1724
1725
1726
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
1727
1728
1729
                                                  - key
                                                  - operator
                                                type: object
1730
1731
1732
1733
1734
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1735
1736
1737
1738
                                              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.
1739
1740
1741
1742
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        namespaces:
1743
1744
1745
1746
1747
                                          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".
1748
                                          items:
1749
                                            type: string
1750
1751
1752
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        topologyKey:
1753
1754
1755
1756
1757
1758
                                          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.
1759
1760
                                          type: string
                                      required:
1761
                                        - topologyKey
1762
1763
1764
1765
1766
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              podAntiAffinity:
1767
                                description: Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
1768
1769
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1770
1771
1772
1773
1774
1775
1776
                                    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.),
1777
1778
                                      compute a sum by iterating through the elements of this field and subtracting
                                      "weight" from the sum if the node has pods which matches the corresponding podAffinityTerm; the
1779
                                      node(s) with the highest sum are the most preferred.
1780
                                    items:
1781
                                      description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1782
1783
                                      properties:
                                        podAffinityTerm:
1784
                                          description: Required. A pod affinity term, associated with the corresponding weight.
1785
1786
                                          properties:
                                            labelSelector:
1787
1788
1789
                                              description: |-
                                                A label query over a set of resources, in this case pods.
                                                If it's null, this PodAffinityTerm matches with no Pods.
1790
                                              properties:
1791
                                                matchExpressions:
1792
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1793
                                                  items:
1794
1795
1796
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1797
1798
                                                    properties:
                                                      key:
1799
                                                        description: key is the label key that the selector applies to.
1800
1801
                                                        type: string
                                                      operator:
1802
1803
1804
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1805
1806
                                                        type: string
                                                      values:
1807
1808
1809
1810
1811
                                                        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.
1812
1813
1814
1815
1816
1817
1818
1819
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1820
1821
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1822
1823
1824
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1825
1826
1827
1828
                                                  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.
1829
                                                  type: object
1830
                                              type: object
1831
1832
                                              x-kubernetes-map-type: atomic
                                            matchLabelKeys:
1833
1834
1835
1836
1837
1838
1839
1840
1841
                                              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.
1842
1843
1844
1845
1846
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            mismatchLabelKeys:
1847
1848
1849
1850
1851
1852
1853
1854
1855
                                              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.
1856
1857
1858
1859
1860
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            namespaceSelector:
1861
1862
1863
1864
1865
1866
                                              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.
1867
                                              properties:
1868
                                                matchExpressions:
1869
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1870
                                                  items:
1871
1872
1873
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1874
1875
                                                    properties:
                                                      key:
1876
                                                        description: key is the label key that the selector applies to.
1877
1878
                                                        type: string
                                                      operator:
1879
1880
1881
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1882
1883
                                                        type: string
                                                      values:
1884
1885
1886
1887
1888
                                                        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.
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
                                                        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
1902
1903
1904
1905
                                                  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.
1906
1907
1908
1909
                                                  type: object
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            namespaces:
1910
1911
1912
1913
1914
                                              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".
1915
1916
1917
1918
1919
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            topologyKey:
1920
1921
1922
1923
1924
1925
                                              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.
1926
1927
1928
1929
1930
                                              type: string
                                          required:
                                            - topologyKey
                                          type: object
                                        weight:
1931
1932
1933
                                          description: |-
                                            weight associated with matching the corresponding podAffinityTerm,
                                            in the range 1-100.
1934
1935
1936
1937
1938
1939
1940
1941
1942
                                          format: int32
                                          type: integer
                                      required:
                                        - podAffinityTerm
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1943
1944
1945
1946
1947
1948
1949
1950
                                    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.
1951
                                    items:
1952
1953
1954
1955
1956
1957
1958
                                      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
1959
1960
                                      properties:
                                        labelSelector:
1961
1962
1963
                                          description: |-
                                            A label query over a set of resources, in this case pods.
                                            If it's null, this PodAffinityTerm matches with no Pods.
1964
1965
                                          properties:
                                            matchExpressions:
1966
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1967
                                              items:
1968
1969
1970
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1971
1972
                                                properties:
                                                  key:
1973
                                                    description: key is the label key that the selector applies to.
1974
1975
                                                    type: string
                                                  operator:
1976
1977
1978
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1979
1980
                                                    type: string
                                                  values:
1981
1982
1983
1984
1985
                                                    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.
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
                                                    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
1999
2000
2001
2002
                                              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.
2003
2004
2005
2006
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        matchLabelKeys:
2007
2008
2009
2010
2011
2012
2013
2014
2015
                                          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.
2016
2017
2018
2019
2020
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        mismatchLabelKeys:
2021
2022
2023
2024
2025
2026
2027
2028
2029
                                          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.
2030
2031
2032
2033
2034
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        namespaceSelector:
2035
2036
2037
2038
2039
2040
                                          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.
2041
2042
                                          properties:
                                            matchExpressions:
2043
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
2044
                                              items:
2045
2046
2047
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
2048
2049
                                                properties:
                                                  key:
2050
                                                    description: key is the label key that the selector applies to.
2051
                                                    type: string
2052
                                                  operator:
2053
2054
2055
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
2056
2057
                                                    type: string
                                                  values:
2058
2059
2060
2061
2062
                                                    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.
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
                                                    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
2076
2077
2078
2079
                                              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.
2080
                                              type: object
2081
2082
2083
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        namespaces:
2084
2085
2086
2087
2088
                                          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".
2089
2090
2091
2092
2093
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        topologyKey:
2094
2095
2096
2097
2098
2099
                                          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.
2100
                                          type: string
2101
2102
2103
2104
2105
2106
2107
                                      required:
                                        - topologyKey
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                            type: object
2108
                          automountServiceAccountToken:
2109
                            description: AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
2110
                            type: boolean
2111
                          containers:
2112
2113
2114
2115
2116
                            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.
2117
                            items:
2118
                              description: A single application container that you want to run within a pod.
2119
2120
                              properties:
                                args:
2121
2122
2123
2124
2125
2126
2127
2128
2129
                                  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
2130
2131
                                  items:
                                    type: string
2132
2133
                                  type: array
                                  x-kubernetes-list-type: atomic
2134
                                command:
2135
2136
2137
2138
2139
2140
2141
2142
2143
                                  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
2144
2145
2146
2147
2148
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
2149
2150
2151
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
2152
                                  items:
2153
                                    description: EnvVar represents an environment variable present in a Container.
2154
                                    properties:
2155
                                      name:
2156
2157
2158
                                        description: |-
                                          Name of the environment variable.
                                          May consist of any printable ASCII characters except '='.
2159
2160
                                        type: string
                                      value:
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
                                        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 "".
2171
2172
                                        type: string
                                      valueFrom:
2173
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
2174
                                        properties:
2175
                                          configMapKeyRef:
2176
                                            description: Selects a key of a ConfigMap.
2177
                                            properties:
2178
                                              key:
2179
                                                description: The key to select.
2180
2181
2182
                                                type: string
                                              name:
                                                default: ""
2183
2184
2185
2186
2187
2188
                                                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
2189
2190
                                                type: string
                                              optional:
2191
                                                description: Specify whether the ConfigMap or its key must be defined
2192
2193
2194
                                                type: boolean
                                            required:
                                              - key
2195
2196
                                            type: object
                                            x-kubernetes-map-type: atomic
2197
                                          fieldRef:
2198
2199
2200
                                            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.
2201
                                            properties:
2202
                                              apiVersion:
2203
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
2204
2205
                                                type: string
                                              fieldPath:
2206
                                                description: Path of the field to select in the specified API version.
2207
2208
2209
2210
2211
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
                                          fileKeyRef:
                                            description: |-
                                              FileKeyRef selects a key of the env file.
                                              Requires the EnvFiles feature gate to be enabled.
                                            properties:
                                              key:
                                                description: |-
                                                  The key within the env file. An invalid key will prevent the pod from starting.
                                                  The keys defined within a source may consist of any printable ASCII characters except '='.
                                                  During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
                                                type: string
                                              optional:
                                                default: false
                                                description: |-
                                                  Specify whether the file or its key must be defined. If the file or key
                                                  does not exist, then the env var is not published.
                                                  If optional is set to true and the specified key does not exist,
                                                  the environment variable will not be set in the Pod's containers.

                                                  If optional is set to false and the specified key does not exist,
                                                  an error will be returned during Pod creation.
                                                type: boolean
                                              path:
                                                description: |-
                                                  The path within the volume from which to select the file.
                                                  Must be relative and may not contain the '..' path or start with '..'.
                                                type: string
                                              volumeName:
                                                description: The name of the volume mount containing the env file.
                                                type: string
                                            required:
                                              - key
                                              - path
                                              - volumeName
                                            type: object
                                            x-kubernetes-map-type: atomic
2248
                                          resourceFieldRef:
2249
2250
2251
                                            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.
2252
2253
                                            properties:
                                              containerName:
2254
                                                description: 'Container name: required for volumes, optional for env vars'
2255
2256
2257
2258
2259
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
2260
                                                description: Specifies the output format of the exposed resources, defaults to "1"
2261
2262
2263
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
2264
                                                description: 'Required: resource to select'
2265
2266
2267
2268
2269
2270
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
2271
                                            description: Selects a key of a secret in the pod's namespace
2272
2273
                                            properties:
                                              key:
2274
                                                description: The key of the secret to select from.  Must be a valid secret key.
2275
2276
2277
                                                type: string
                                              name:
                                                default: ""
2278
2279
2280
2281
2282
2283
                                                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
2284
2285
                                                type: string
                                              optional:
2286
                                                description: Specify whether the Secret or its key must be defined
2287
2288
2289
                                                type: boolean
                                            required:
                                              - key
2290
2291
                                            type: object
                                            x-kubernetes-map-type: atomic
2292
2293
                                        type: object
                                    required:
2294
                                      - name
2295
2296
                                    type: object
                                  type: array
2297
2298
2299
2300
                                  x-kubernetes-list-map-keys:
                                    - name
                                  x-kubernetes-list-type: map
                                envFrom:
2301
2302
                                  description: |-
                                    List of sources to populate environment variables in the container.
2303
2304
                                    The keys defined within a source may consist of any printable ASCII characters except '='.
                                    When a key exists in multiple
2305
2306
2307
                                    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.
2308
                                  items:
2309
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
2310
                                    properties:
2311
                                      configMapRef:
2312
                                        description: The ConfigMap to select from
2313
                                        properties:
2314
2315
                                          name:
                                            default: ""
2316
2317
2318
2319
2320
2321
                                            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
2322
2323
                                            type: string
                                          optional:
2324
                                            description: Specify whether the ConfigMap must be defined
2325
                                            type: boolean
2326
                                        type: object
2327
                                        x-kubernetes-map-type: atomic
2328
                                      prefix:
2329
2330
2331
                                        description: |-
                                          Optional text to prepend to the name of each environment variable.
                                          May consist of any printable ASCII characters except '='.
2332
2333
                                        type: string
                                      secretRef:
2334
                                        description: The Secret to select from
2335
                                        properties:
2336
2337
                                          name:
                                            default: ""
2338
2339
2340
2341
2342
2343
                                            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
2344
2345
                                            type: string
                                          optional:
2346
                                            description: Specify whether the Secret must be defined
2347
                                            type: boolean
2348
                                        type: object
2349
2350
2351
2352
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
2353
                                image:
2354
2355
2356
2357
2358
                                  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.
2359
                                  type: string
2360
                                imagePullPolicy:
2361
2362
2363
2364
2365
2366
                                  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
2367
                                  type: string
2368
                                lifecycle:
2369
2370
2371
                                  description: |-
                                    Actions that the management system should take in response to container lifecycle events.
                                    Cannot be updated.
2372
                                  properties:
2373
                                    postStart:
2374
2375
2376
2377
2378
                                      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
2379
                                      properties:
2380
                                        exec:
2381
                                          description: Exec specifies a command to execute in the container.
2382
                                          properties:
2383
                                            command:
2384
2385
2386
2387
2388
2389
                                              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.
2390
2391
2392
2393
2394
2395
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
2396
                                          description: HTTPGet specifies an HTTP GET request to perform.
2397
2398
                                          properties:
                                            host:
2399
2400
2401
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
2402
                                              type: string
2403
                                            httpHeaders:
2404
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
2405
                                              items:
2406
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
2407
2408
                                                properties:
                                                  name:
2409
2410
2411
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
2412
2413
                                                    type: string
                                                  value:
2414
                                                    description: The header field value
2415
2416
2417
2418
2419
2420
2421
2422
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
2423
                                              description: Path to access on the HTTP server.
2424
2425
2426
2427
2428
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2429
2430
2431
2432
                                              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.
2433
2434
                                              x-kubernetes-int-or-string: true
                                            scheme:
2435
2436
2437
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
2438
                                              type: string
2439
                                          required:
2440
                                            - port
2441
                                          type: object
2442
                                        sleep:
2443
                                          description: Sleep represents a duration that the container should sleep.
2444
                                          properties:
2445
                                            seconds:
2446
                                              description: Seconds is the number of seconds to sleep.
2447
2448
2449
2450
2451
2452
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
2453
2454
2455
2456
                                          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.
2457
2458
                                          properties:
                                            host:
2459
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
2460
                                              type: string
2461
2462
2463
2464
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2465
2466
2467
2468
                                              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.
2469
                                              x-kubernetes-int-or-string: true
2470
                                          required:
2471
                                            - port
2472
                                          type: object
2473
2474
                                      type: object
                                    preStop:
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
                                      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
2485
2486
                                      properties:
                                        exec:
2487
                                          description: Exec specifies a command to execute in the container.
2488
                                          properties:
2489
                                            command:
2490
2491
2492
2493
2494
2495
                                              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.
2496
2497
2498
2499
2500
2501
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
2502
                                          description: HTTPGet specifies an HTTP GET request to perform.
2503
2504
                                          properties:
                                            host:
2505
2506
2507
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
2508
                                              type: string
2509
                                            httpHeaders:
2510
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
2511
                                              items:
2512
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
2513
2514
                                                properties:
                                                  name:
2515
2516
2517
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
2518
2519
                                                    type: string
                                                  value:
2520
                                                    description: The header field value
2521
2522
2523
2524
2525
2526
2527
2528
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
2529
                                              description: Path to access on the HTTP server.
2530
2531
                                              type: string
                                            port:
2532
                                              anyOf:
2533
2534
                                                - type: integer
                                                - type: string
2535
2536
2537
2538
                                              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.
2539
                                              x-kubernetes-int-or-string: true
2540
                                            scheme:
2541
2542
2543
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
2544
2545
                                              type: string
                                          required:
2546
                                            - port
2547
                                          type: object
2548
                                        sleep:
2549
                                          description: Sleep represents a duration that the container should sleep.
2550
                                          properties:
2551
                                            seconds:
2552
                                              description: Seconds is the number of seconds to sleep.
2553
2554
2555
2556
2557
2558
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
2559
2560
2561
2562
                                          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.
2563
2564
                                          properties:
                                            host:
2565
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
2566
                                              type: string
2567
2568
2569
2570
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2571
2572
2573
2574
                                              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.
2575
                                              x-kubernetes-int-or-string: true
2576
                                          required:
2577
                                            - port
2578
2579
                                          type: object
                                      type: object
2580
                                    stopSignal:
2581
2582
2583
2584
                                      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
2585
                                      type: string
2586
                                  type: object
2587
                                livenessProbe:
2588
2589
2590
2591
2592
                                  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
2593
                                  properties:
2594
                                    exec:
2595
                                      description: Exec specifies a command to execute in the container.
2596
2597
                                      properties:
                                        command:
2598
2599
2600
2601
2602
2603
                                          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.
2604
2605
2606
2607
2608
2609
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2610
2611
2612
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2613
2614
2615
                                      format: int32
                                      type: integer
                                    grpc:
2616
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2617
                                      properties:
2618
                                        port:
2619
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2620
2621
2622
                                          format: int32
                                          type: integer
                                        service:
2623
                                          default: ""
2624
2625
2626
2627
2628
                                          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.
2629
                                          type: string
2630
2631
                                      required:
                                        - port
2632
                                      type: object
2633
                                    httpGet:
2634
                                      description: HTTPGet specifies an HTTP GET request to perform.
2635
                                      properties:
2636
                                        host:
2637
2638
2639
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2640
                                          type: string
2641
                                        httpHeaders:
2642
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2643
                                          items:
2644
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2645
2646
                                            properties:
                                              name:
2647
2648
2649
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2650
2651
                                                type: string
                                              value:
2652
                                                description: The header field value
2653
2654
                                                type: string
                                            required:
2655
2656
                                              - name
                                              - value
2657
2658
2659
2660
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2661
                                          description: Path to access on the HTTP server.
2662
2663
2664
                                          type: string
                                        port:
                                          anyOf:
2665
2666
                                            - type: integer
                                            - type: string
2667
2668
2669
2670
                                          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.
2671
2672
                                          x-kubernetes-int-or-string: true
                                        scheme:
2673
2674
2675
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2676
2677
                                          type: string
                                      required:
2678
                                        - port
2679
2680
                                      type: object
                                    initialDelaySeconds:
2681
2682
2683
                                      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
2684
2685
2686
                                      format: int32
                                      type: integer
                                    periodSeconds:
2687
2688
2689
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2690
2691
2692
                                      format: int32
                                      type: integer
                                    successThreshold:
2693
2694
2695
                                      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.
2696
2697
2698
                                      format: int32
                                      type: integer
                                    tcpSocket:
2699
                                      description: TCPSocket specifies a connection to a TCP port.
2700
2701
                                      properties:
                                        host:
2702
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2703
2704
2705
                                          type: string
                                        port:
                                          anyOf:
2706
2707
                                            - type: integer
                                            - type: string
2708
2709
2710
2711
                                          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.
2712
2713
                                          x-kubernetes-int-or-string: true
                                      required:
2714
                                        - port
2715
2716
                                      type: object
                                    terminationGracePeriodSeconds:
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
                                      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.
2728
2729
2730
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
2731
2732
2733
2734
                                      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
2735
2736
2737
2738
                                      format: int32
                                      type: integer
                                  type: object
                                name:
2739
2740
2741
2742
                                  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.
2743
2744
                                  type: string
                                ports:
2745
2746
2747
2748
2749
2750
2751
2752
                                  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.
2753
                                  items:
2754
                                    description: ContainerPort represents a network port in a single container.
2755
                                    properties:
2756
                                      containerPort:
2757
2758
2759
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
2760
2761
2762
                                        format: int32
                                        type: integer
                                      hostIP:
2763
                                        description: What host IP to bind the external port to.
2764
2765
                                        type: string
                                      hostPort:
2766
2767
2768
2769
2770
                                        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.
2771
2772
2773
                                        format: int32
                                        type: integer
                                      name:
2774
2775
2776
2777
                                        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.
2778
2779
2780
                                        type: string
                                      protocol:
                                        default: TCP
2781
2782
2783
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
                                        type: string
                                    required:
                                      - containerPort
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
2794
2795
2796
2797
2798
                                  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
2799
2800
                                  properties:
                                    exec:
2801
                                      description: Exec specifies a command to execute in the container.
2802
2803
                                      properties:
                                        command:
2804
2805
2806
2807
2808
2809
                                          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.
2810
                                          items:
2811
                                            type: string
2812
2813
2814
2815
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2816
2817
2818
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2819
2820
2821
                                      format: int32
                                      type: integer
                                    grpc:
2822
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2823
2824
                                      properties:
                                        port:
2825
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2826
2827
2828
2829
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
2830
2831
2832
2833
2834
                                          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.
2835
2836
2837
2838
2839
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
2840
                                      description: HTTPGet specifies an HTTP GET request to perform.
2841
2842
                                      properties:
                                        host:
2843
2844
2845
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2846
2847
                                          type: string
                                        httpHeaders:
2848
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2849
                                          items:
2850
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2851
2852
                                            properties:
                                              name:
2853
2854
2855
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2856
2857
                                                type: string
                                              value:
2858
                                                description: The header field value
2859
2860
                                                type: string
                                            required:
2861
2862
                                              - name
                                              - value
2863
2864
2865
2866
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2867
                                          description: Path to access on the HTTP server.
2868
2869
2870
                                          type: string
                                        port:
                                          anyOf:
2871
2872
                                            - type: integer
                                            - type: string
2873
2874
2875
2876
                                          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.
2877
2878
                                          x-kubernetes-int-or-string: true
                                        scheme:
2879
2880
2881
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2882
2883
                                          type: string
                                      required:
2884
                                        - port
2885
2886
                                      type: object
                                    initialDelaySeconds:
2887
2888
2889
                                      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
2890
2891
2892
                                      format: int32
                                      type: integer
                                    periodSeconds:
2893
2894
2895
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2896
2897
2898
                                      format: int32
                                      type: integer
                                    successThreshold:
2899
2900
2901
                                      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.
2902
2903
2904
                                      format: int32
                                      type: integer
                                    tcpSocket:
2905
                                      description: TCPSocket specifies a connection to a TCP port.
2906
2907
                                      properties:
                                        host:
2908
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2909
                                          type: string
2910
2911
2912
2913
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
2914
2915
2916
2917
                                          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.
2918
2919
2920
2921
2922
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
                                      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.
2934
2935
2936
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
2937
2938
2939
2940
                                      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
2941
2942
2943
2944
                                      format: int32
                                      type: integer
                                  type: object
                                resizePolicy:
2945
                                  description: Resources resize policy for the container.
2946
                                  items:
2947
                                    description: ContainerResizePolicy represents resource resize policy for the container.
2948
                                    properties:
2949
                                      resourceName:
2950
2951
2952
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
2953
2954
                                        type: string
                                      restartPolicy:
2955
2956
2957
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
2958
2959
                                        type: string
                                    required:
2960
2961
                                      - resourceName
                                      - restartPolicy
2962
                                    type: object
2963
2964
2965
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
2966
2967
2968
2969
                                  description: |-
                                    Compute Resources required by this container.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2970
2971
                                  properties:
                                    claims:
2972
2973
2974
2975
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

2976
                                        This field depends on the
2977
2978
2979
                                        DynamicResourceAllocation feature gate.

                                        This field is immutable. It can only be set for containers.
2980
                                      items:
2981
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
2982
2983
                                        properties:
                                          name:
2984
2985
2986
2987
                                            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.
2988
2989
                                            type: string
                                          request:
2990
2991
2992
2993
                                            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.
2994
2995
                                            type: string
                                        required:
2996
                                          - name
2997
2998
2999
3000
3001
3002
3003
                                        type: object
                                      type: array
                                      x-kubernetes-list-map-keys:
                                        - name
                                      x-kubernetes-list-type: map
                                    limits:
                                      additionalProperties:
3004
                                        anyOf:
3005
3006
3007
                                          - type: integer
                                          - type: string
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
3008
                                        x-kubernetes-int-or-string: true
3009
3010
3011
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
3012
3013
3014
                                      type: object
                                    requests:
                                      additionalProperties:
3015
                                        anyOf:
3016
3017
3018
                                          - type: integer
                                          - type: string
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
3019
                                        x-kubernetes-int-or-string: true
3020
3021
3022
3023
3024
                                      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/
3025
3026
3027
                                      type: object
                                  type: object
                                restartPolicy:
3028
3029
                                  description: |-
                                    RestartPolicy defines the restart behavior of individual containers in a pod.
3030
                                    This overrides the pod-level restart policy. When this field is not specified,
3031
                                    the restart behavior is defined by the Pod's restart policy and the container type.
3032
3033
                                    Additionally, setting the RestartPolicy as "Always" for the init container will
                                    have the following effect:
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
                                    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.
3044
                                  type: string
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
                                restartPolicyRules:
                                  description: |-
                                    Represents a list of rules to be checked to determine if the
                                    container should be restarted on exit. The rules are evaluated in
                                    order. Once a rule matches a container exit condition, the remaining
                                    rules are ignored. If no rule matches the container exit condition,
                                    the Container-level restart policy determines the whether the container
                                    is restarted or not. Constraints on the rules:
                                    - At most 20 rules are allowed.
                                    - Rules can have the same action.
                                    - Identical rules are not forbidden in validations.
                                    When rules are specified, container MUST set RestartPolicy explicitly
                                    even it if matches the Pod's RestartPolicy.
                                  items:
                                    description: ContainerRestartRule describes how a container exit is handled.
                                    properties:
                                      action:
                                        description: |-
                                          Specifies the action taken on a container exit if the requirements
                                          are satisfied. The only possible value is "Restart" to restart the
                                          container.
                                        type: string
                                      exitCodes:
                                        description: Represents the exit codes to check on container exits.
                                        properties:
                                          operator:
                                            description: |-
                                              Represents the relationship between the container exit code(s) and the
                                              specified values. Possible values are:
                                              - In: the requirement is satisfied if the container exit code is in the
                                                set of specified values.
                                              - NotIn: the requirement is satisfied if the container exit code is
                                                not in the set of specified values.
                                            type: string
                                          values:
                                            description: |-
                                              Specifies the set of values to check for container exit codes.
                                              At most 255 elements are allowed.
                                            items:
                                              format: int32
                                              type: integer
                                            type: array
                                            x-kubernetes-list-type: set
                                        required:
                                          - operator
                                        type: object
                                    required:
                                      - action
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
3096
                                securityContext:
3097
3098
3099
3100
                                  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/
3101
                                  properties:
3102
                                    allowPrivilegeEscalation:
3103
3104
3105
3106
3107
3108
3109
3110
                                      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.
3111
3112
                                      type: boolean
                                    appArmorProfile:
3113
3114
3115
3116
                                      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.
3117
3118
                                      properties:
                                        localhostProfile:
3119
3120
3121
3122
3123
                                          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".
3124
3125
                                          type: string
                                        type:
3126
3127
3128
3129
3130
3131
                                          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.
3132
3133
3134
3135
3136
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
3137
3138
3139
3140
                                      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.
3141
3142
                                      properties:
                                        add:
3143
                                          description: Added capabilities
3144
                                          items:
3145
                                            description: Capability represent POSIX capabilities type
3146
3147
3148
3149
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
3150
                                          description: Removed capabilities
3151
                                          items:
3152
                                            description: Capability represent POSIX capabilities type
3153
3154
3155
3156
3157
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
3158
3159
3160
3161
3162
                                      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.
3163
3164
                                      type: boolean
                                    procMount:
3165
3166
3167
3168
3169
3170
                                      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.
3171
3172
                                      type: string
                                    readOnlyRootFilesystem:
3173
3174
3175
3176
                                      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.
3177
3178
                                      type: boolean
                                    runAsGroup:
3179
3180
3181
3182
3183
3184
                                      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.
3185
3186
3187
                                      format: int64
                                      type: integer
                                    runAsNonRoot:
3188
3189
3190
3191
3192
3193
3194
                                      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.
3195
3196
                                      type: boolean
                                    runAsUser:
3197
3198
3199
3200
3201
3202
                                      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.
3203
3204
3205
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
3206
3207
3208
3209
3210
3211
                                      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.
3212
3213
                                      properties:
                                        level:
3214
                                          description: Level is SELinux level label that applies to the container.
3215
3216
                                          type: string
                                        role:
3217
                                          description: Role is a SELinux role label that applies to the container.
3218
3219
                                          type: string
                                        type:
3220
                                          description: Type is a SELinux type label that applies to the container.
3221
3222
                                          type: string
                                        user:
3223
                                          description: User is a SELinux user label that applies to the container.
3224
3225
3226
                                          type: string
                                      type: object
                                    seccompProfile:
3227
3228
3229
3230
3231
                                      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.
3232
3233
                                      properties:
                                        localhostProfile:
3234
3235
3236
3237
3238
                                          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.
3239
3240
                                          type: string
                                        type:
3241
3242
3243
3244
3245
3246
3247
                                          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.
3248
3249
3250
3251
3252
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
3253
3254
3255
3256
3257
                                      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.
3258
3259
                                      properties:
                                        gmsaCredentialSpec:
3260
3261
3262
3263
                                          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.
3264
3265
                                          type: string
                                        gmsaCredentialSpecName:
3266
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
3267
3268
                                          type: string
                                        hostProcess:
3269
3270
3271
3272
3273
                                          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.
3274
3275
                                          type: boolean
                                        runAsUserName:
3276
3277
3278
3279
3280
                                          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.
3281
3282
3283
3284
                                          type: string
                                      type: object
                                  type: object
                                startupProbe:
3285
3286
3287
3288
3289
3290
3291
3292
                                  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
3293
3294
                                  properties:
                                    exec:
3295
                                      description: Exec specifies a command to execute in the container.
3296
3297
                                      properties:
                                        command:
3298
3299
3300
3301
3302
3303
                                          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.
3304
3305
3306
3307
3308
3309
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
3310
3311
3312
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
3313
3314
                                      format: int32
                                      type: integer
3315
                                    grpc:
3316
                                      description: GRPC specifies a GRPC HealthCheckRequest.
3317
3318
                                      properties:
                                        port:
3319
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3320
3321
3322
3323
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
3324
3325
3326
3327
3328
                                          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.
3329
3330
3331
3332
3333
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
3334
                                      description: HTTPGet specifies an HTTP GET request to perform.
3335
3336
                                      properties:
                                        host:
3337
3338
3339
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
3340
3341
                                          type: string
                                        httpHeaders:
3342
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
3343
                                          items:
3344
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
3345
3346
                                            properties:
                                              name:
3347
3348
3349
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
3350
3351
                                                type: string
                                              value:
3352
                                                description: The header field value
3353
3354
3355
3356
3357
3358
3359
3360
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
3361
                                          description: Path to access on the HTTP server.
3362
3363
3364
3365
3366
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3367
3368
3369
3370
                                          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.
3371
3372
                                          x-kubernetes-int-or-string: true
                                        scheme:
3373
3374
3375
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
3376
3377
3378
3379
3380
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
3381
3382
3383
                                      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
3384
3385
                                      format: int32
                                      type: integer
3386
                                    periodSeconds:
3387
3388
3389
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
3390
3391
3392
                                      format: int32
                                      type: integer
                                    successThreshold:
3393
3394
3395
                                      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.
3396
3397
3398
                                      format: int32
                                      type: integer
                                    tcpSocket:
3399
                                      description: TCPSocket specifies a connection to a TCP port.
3400
3401
                                      properties:
                                        host:
3402
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
3403
                                          type: string
3404
3405
3406
3407
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3408
3409
3410
3411
                                          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.
3412
3413
3414
3415
3416
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
                                      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.
3428
3429
3430
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
3431
3432
3433
3434
                                      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
3435
3436
3437
3438
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
3439
3440
3441
3442
                                  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.
3443
3444
                                  type: boolean
                                stdinOnce:
3445
3446
3447
3448
3449
3450
3451
3452
                                  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
3453
3454
                                  type: boolean
                                terminationMessagePath:
3455
3456
3457
3458
3459
3460
3461
3462
                                  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.
3463
3464
                                  type: string
                                terminationMessagePolicy:
3465
3466
3467
3468
3469
3470
3471
3472
                                  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.
3473
3474
                                  type: string
                                tty:
3475
3476
3477
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
3478
3479
                                  type: boolean
                                volumeDevices:
3480
                                  description: volumeDevices is the list of block devices to be used by the container.
3481
                                  items:
3482
                                    description: volumeDevice describes a mapping of a raw block device within a container.
3483
3484
                                    properties:
                                      devicePath:
3485
                                        description: devicePath is the path inside of the container that the device will be mapped to.
3486
                                        type: string
3487
                                      name:
3488
                                        description: name must match the name of a persistentVolumeClaim in the pod
3489
3490
                                        type: string
                                    required:
3491
3492
                                      - devicePath
                                      - name
3493
                                    type: object
3494
3495
3496
3497
3498
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
3499
3500
3501
                                  description: |-
                                    Pod volumes to mount into the container's filesystem.
                                    Cannot be updated.
3502
                                  items:
3503
                                    description: VolumeMount describes a mounting of a Volume within a container.
3504
                                    properties:
3505
                                      mountPath:
3506
3507
3508
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
3509
3510
                                        type: string
                                      mountPropagation:
3511
3512
3513
3514
3515
3516
3517
                                        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).
3518
3519
                                        type: string
                                      name:
3520
                                        description: This must match the Name of a Volume.
3521
3522
                                        type: string
                                      readOnly:
3523
3524
3525
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
3526
3527
                                        type: boolean
                                      recursiveReadOnly:
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
                                        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.
3545
3546
                                        type: string
                                      subPath:
3547
3548
3549
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
3550
3551
                                        type: string
                                      subPathExpr:
3552
3553
3554
3555
3556
                                        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.
3557
3558
                                        type: string
                                    required:
3559
3560
                                      - mountPath
                                      - name
3561
                                    type: object
3562
3563
3564
3565
3566
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
3567
3568
3569
3570
3571
                                  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.
3572
3573
3574
3575
3576
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
3577
3578
3579
3580
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          dnsConfig:
3581
3582
3583
3584
                            description: |-
                              Specifies the DNS parameters of a pod.
                              Parameters specified here will be merged to the generated DNS
                              configuration based on DNSPolicy.
3585
                            properties:
3586
                              nameservers:
3587
3588
3589
3590
                                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.
3591
3592
3593
3594
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
3595
                              options:
3596
3597
3598
3599
3600
                                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.
3601
                                items:
3602
                                  description: PodDNSConfigOption defines DNS resolver options of a pod.
3603
                                  properties:
3604
                                    name:
3605
3606
3607
                                      description: |-
                                        Name is this DNS resolver option's name.
                                        Required.
3608
                                      type: string
3609
                                    value:
3610
                                      description: Value is this DNS resolver option's value.
3611
                                      type: string
3612
3613
3614
3615
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              searches:
3616
3617
3618
3619
                                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.
3620
3621
3622
3623
3624
3625
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          dnsPolicy:
3626
3627
3628
3629
3630
3631
3632
                            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'.
3633
3634
                            type: string
                          enableServiceLinks:
3635
3636
3637
3638
                            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.
3639
3640
                            type: boolean
                          ephemeralContainers:
3641
3642
3643
3644
3645
                            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.
3646
                            items:
3647
3648
3649
3650
3651
3652
3653
3654
3655
                              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.
3656
3657
                              properties:
                                args:
3658
3659
3660
3661
3662
3663
3664
3665
3666
                                  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
3667
3668
3669
3670
3671
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                command:
3672
3673
3674
3675
3676
3677
3678
3679
3680
                                  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
3681
3682
3683
3684
3685
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
3686
3687
3688
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
3689
                                  items:
3690
                                    description: EnvVar represents an environment variable present in a Container.
3691
3692
                                    properties:
                                      name:
3693
3694
3695
                                        description: |-
                                          Name of the environment variable.
                                          May consist of any printable ASCII characters except '='.
3696
3697
                                        type: string
                                      value:
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
                                        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 "".
3708
3709
                                        type: string
                                      valueFrom:
3710
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
3711
3712
                                        properties:
                                          configMapKeyRef:
3713
                                            description: Selects a key of a ConfigMap.
3714
3715
                                            properties:
                                              key:
3716
                                                description: The key to select.
3717
3718
3719
                                                type: string
                                              name:
                                                default: ""
3720
3721
3722
3723
3724
3725
                                                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
3726
3727
                                                type: string
                                              optional:
3728
                                                description: Specify whether the ConfigMap or its key must be defined
3729
3730
3731
3732
3733
3734
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          fieldRef:
3735
3736
3737
                                            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.
3738
3739
                                            properties:
                                              apiVersion:
3740
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
3741
3742
                                                type: string
                                              fieldPath:
3743
                                                description: Path of the field to select in the specified API version.
3744
3745
3746
3747
3748
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
                                          fileKeyRef:
                                            description: |-
                                              FileKeyRef selects a key of the env file.
                                              Requires the EnvFiles feature gate to be enabled.
                                            properties:
                                              key:
                                                description: |-
                                                  The key within the env file. An invalid key will prevent the pod from starting.
                                                  The keys defined within a source may consist of any printable ASCII characters except '='.
                                                  During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
                                                type: string
                                              optional:
                                                default: false
                                                description: |-
                                                  Specify whether the file or its key must be defined. If the file or key
                                                  does not exist, then the env var is not published.
                                                  If optional is set to true and the specified key does not exist,
                                                  the environment variable will not be set in the Pod's containers.

                                                  If optional is set to false and the specified key does not exist,
                                                  an error will be returned during Pod creation.
                                                type: boolean
                                              path:
                                                description: |-
                                                  The path within the volume from which to select the file.
                                                  Must be relative and may not contain the '..' path or start with '..'.
                                                type: string
                                              volumeName:
                                                description: The name of the volume mount containing the env file.
                                                type: string
                                            required:
                                              - key
                                              - path
                                              - volumeName
                                            type: object
                                            x-kubernetes-map-type: atomic
3785
                                          resourceFieldRef:
3786
3787
3788
                                            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.
3789
3790
                                            properties:
                                              containerName:
3791
                                                description: 'Container name: required for volumes, optional for env vars'
3792
3793
3794
3795
3796
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
3797
                                                description: Specifies the output format of the exposed resources, defaults to "1"
3798
3799
3800
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
3801
                                                description: 'Required: resource to select'
3802
3803
3804
3805
3806
3807
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
3808
                                            description: Selects a key of a secret in the pod's namespace
3809
3810
                                            properties:
                                              key:
3811
                                                description: The key of the secret to select from.  Must be a valid secret key.
3812
3813
3814
                                                type: string
                                              name:
                                                default: ""
3815
3816
3817
3818
3819
3820
                                                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
3821
3822
                                                type: string
                                              optional:
3823
                                                description: Specify whether the Secret or its key must be defined
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
                                                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:
3838
3839
                                  description: |-
                                    List of sources to populate environment variables in the container.
3840
3841
                                    The keys defined within a source may consist of any printable ASCII characters except '='.
                                    When a key exists in multiple
3842
3843
3844
                                    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.
3845
                                  items:
3846
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
3847
3848
                                    properties:
                                      configMapRef:
3849
                                        description: The ConfigMap to select from
3850
3851
3852
                                        properties:
                                          name:
                                            default: ""
3853
3854
3855
3856
3857
3858
                                            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
3859
3860
                                            type: string
                                          optional:
3861
                                            description: Specify whether the ConfigMap must be defined
3862
3863
3864
3865
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      prefix:
3866
3867
3868
                                        description: |-
                                          Optional text to prepend to the name of each environment variable.
                                          May consist of any printable ASCII characters except '='.
3869
3870
                                        type: string
                                      secretRef:
3871
                                        description: The Secret to select from
3872
3873
3874
                                        properties:
                                          name:
                                            default: ""
3875
3876
3877
3878
3879
3880
                                            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
3881
3882
                                            type: string
                                          optional:
3883
                                            description: Specify whether the Secret must be defined
3884
3885
3886
3887
3888
3889
3890
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                image:
3891
3892
3893
                                  description: |-
                                    Container image name.
                                    More info: https://kubernetes.io/docs/concepts/containers/images
3894
3895
                                  type: string
                                imagePullPolicy:
3896
3897
3898
3899
3900
3901
                                  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
3902
3903
                                  type: string
                                lifecycle:
3904
                                  description: Lifecycle is not allowed for ephemeral containers.
3905
3906
                                  properties:
                                    postStart:
3907
3908
3909
3910
3911
                                      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
3912
                                      properties:
3913
                                        exec:
3914
                                          description: Exec specifies a command to execute in the container.
3915
                                          properties:
3916
                                            command:
3917
3918
3919
3920
3921
3922
                                              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.
3923
3924
3925
3926
3927
3928
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
3929
                                          description: HTTPGet specifies an HTTP GET request to perform.
3930
3931
                                          properties:
                                            host:
3932
3933
3934
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
3935
                                              type: string
3936
                                            httpHeaders:
3937
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
3938
                                              items:
3939
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
3940
3941
                                                properties:
                                                  name:
3942
3943
3944
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
3945
3946
                                                    type: string
                                                  value:
3947
                                                    description: The header field value
3948
3949
3950
3951
3952
3953
3954
3955
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
3956
                                              description: Path to access on the HTTP server.
3957
3958
3959
3960
3961
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
3962
3963
3964
3965
                                              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.
3966
3967
                                              x-kubernetes-int-or-string: true
                                            scheme:
3968
3969
3970
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
3971
3972
                                              type: string
                                          required:
3973
                                            - port
3974
                                          type: object
3975
                                        sleep:
3976
                                          description: Sleep represents a duration that the container should sleep.
3977
                                          properties:
3978
                                            seconds:
3979
                                              description: Seconds is the number of seconds to sleep.
3980
3981
                                              format: int64
                                              type: integer
3982
                                          required:
3983
                                            - seconds
3984
                                          type: object
3985
                                        tcpSocket:
3986
3987
3988
3989
                                          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.
3990
                                          properties:
3991
                                            host:
3992
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
3993
                                              type: string
3994
                                            port:
3995
3996
3997
                                              anyOf:
                                                - type: integer
                                                - type: string
3998
3999
4000
4001
                                              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.
4002
4003
                                              x-kubernetes-int-or-string: true
                                          required:
4004
                                            - port
4005
                                          type: object
4006
4007
                                      type: object
                                    preStop:
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
                                      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
4018
4019
                                      properties:
                                        exec:
4020
                                          description: Exec specifies a command to execute in the container.
4021
                                          properties:
4022
                                            command:
4023
4024
4025
4026
4027
4028
                                              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.
4029
4030
4031
4032
4033
4034
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
4035
                                          description: HTTPGet specifies an HTTP GET request to perform.
4036
4037
                                          properties:
                                            host:
4038
4039
4040
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
4041
                                              type: string
4042
                                            httpHeaders:
4043
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
4044
                                              items:
4045
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
4046
4047
                                                properties:
                                                  name:
4048
4049
4050
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
4051
4052
                                                    type: string
                                                  value:
4053
                                                    description: The header field value
4054
4055
4056
4057
4058
4059
4060
4061
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
4062
                                              description: Path to access on the HTTP server.
4063
4064
4065
4066
4067
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
4068
4069
4070
4071
                                              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.
4072
4073
                                              x-kubernetes-int-or-string: true
                                            scheme:
4074
4075
4076
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
4077
4078
                                              type: string
                                          required:
4079
                                            - port
4080
                                          type: object
4081
                                        sleep:
4082
                                          description: Sleep represents a duration that the container should sleep.
4083
4084
                                          properties:
                                            seconds:
4085
                                              description: Seconds is the number of seconds to sleep.
4086
4087
4088
4089
4090
4091
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
4092
4093
4094
4095
                                          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.
4096
4097
                                          properties:
                                            host:
4098
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
4099
4100
4101
4102
4103
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
4104
4105
4106
4107
                                              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.
4108
4109
4110
4111
4112
4113
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    stopSignal:
4114
4115
4116
4117
                                      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
4118
4119
4120
                                      type: string
                                  type: object
                                livenessProbe:
4121
                                  description: Probes are not allowed for ephemeral containers.
4122
4123
                                  properties:
                                    exec:
4124
                                      description: Exec specifies a command to execute in the container.
4125
4126
                                      properties:
                                        command:
4127
4128
4129
4130
4131
4132
                                          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.
4133
4134
4135
4136
4137
4138
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
4139
4140
4141
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
4142
4143
4144
                                      format: int32
                                      type: integer
                                    grpc:
4145
                                      description: GRPC specifies a GRPC HealthCheckRequest.
4146
4147
                                      properties:
                                        port:
4148
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4149
4150
4151
                                          format: int32
                                          type: integer
                                        service:
4152
                                          default: ""
4153
4154
4155
4156
4157
                                          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.
4158
                                          type: string
4159
4160
                                      required:
                                        - port
4161
                                      type: object
4162
                                    httpGet:
4163
                                      description: HTTPGet specifies an HTTP GET request to perform.
4164
                                      properties:
4165
                                        host:
4166
4167
4168
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
4169
4170
                                          type: string
                                        httpHeaders:
4171
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
4172
                                          items:
4173
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
4174
4175
                                            properties:
                                              name:
4176
4177
4178
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
4179
4180
                                                type: string
                                              value:
4181
                                                description: The header field value
4182
4183
4184
4185
4186
4187
4188
4189
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
4190
                                          description: Path to access on the HTTP server.
4191
4192
4193
4194
4195
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4196
4197
4198
4199
                                          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.
4200
4201
                                          x-kubernetes-int-or-string: true
                                        scheme:
4202
4203
4204
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
4205
4206
4207
4208
4209
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
4210
4211
4212
                                      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
4213
4214
4215
                                      format: int32
                                      type: integer
                                    periodSeconds:
4216
4217
4218
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
4219
4220
4221
                                      format: int32
                                      type: integer
                                    successThreshold:
4222
4223
4224
                                      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.
4225
4226
4227
                                      format: int32
                                      type: integer
                                    tcpSocket:
4228
                                      description: TCPSocket specifies a connection to a TCP port.
4229
4230
                                      properties:
                                        host:
4231
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
4232
4233
4234
4235
4236
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4237
4238
4239
4240
                                          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.
4241
4242
4243
4244
4245
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
                                      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.
4257
4258
4259
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
4260
4261
4262
4263
                                      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
4264
4265
4266
4267
                                      format: int32
                                      type: integer
                                  type: object
                                name:
4268
4269
4270
                                  description: |-
                                    Name of the ephemeral container specified as a DNS_LABEL.
                                    This name must be unique among all containers, init containers and ephemeral containers.
4271
4272
                                  type: string
                                ports:
4273
                                  description: Ports are not allowed for ephemeral containers.
4274
                                  items:
4275
                                    description: ContainerPort represents a network port in a single container.
4276
4277
                                    properties:
                                      containerPort:
4278
4279
4280
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
4281
4282
4283
                                        format: int32
                                        type: integer
                                      hostIP:
4284
                                        description: What host IP to bind the external port to.
4285
4286
                                        type: string
                                      hostPort:
4287
4288
4289
4290
4291
                                        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.
4292
4293
4294
                                        format: int32
                                        type: integer
                                      name:
4295
4296
4297
4298
                                        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.
4299
4300
4301
                                        type: string
                                      protocol:
                                        default: TCP
4302
4303
4304
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
                                        type: string
                                    required:
                                      - containerPort
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
4315
                                  description: Probes are not allowed for ephemeral containers.
4316
4317
                                  properties:
                                    exec:
4318
                                      description: Exec specifies a command to execute in the container.
4319
4320
                                      properties:
                                        command:
4321
4322
4323
4324
4325
4326
                                          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.
4327
4328
4329
4330
4331
4332
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
4333
4334
4335
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
4336
4337
4338
                                      format: int32
                                      type: integer
                                    grpc:
4339
                                      description: GRPC specifies a GRPC HealthCheckRequest.
4340
4341
                                      properties:
                                        port:
4342
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4343
4344
4345
                                          format: int32
                                          type: integer
                                        service:
4346
                                          default: ""
4347
4348
4349
4350
4351
                                          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.
4352
                                          type: string
4353
4354
                                      required:
                                        - port
4355
                                      type: object
4356
                                    httpGet:
4357
                                      description: HTTPGet specifies an HTTP GET request to perform.
4358
4359
                                      properties:
                                        host:
4360
4361
4362
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
4363
4364
                                          type: string
                                        httpHeaders:
4365
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
4366
                                          items:
4367
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
4368
4369
                                            properties:
                                              name:
4370
4371
4372
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
4373
4374
                                                type: string
                                              value:
4375
                                                description: The header field value
4376
4377
4378
4379
4380
4381
4382
4383
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
4384
                                          description: Path to access on the HTTP server.
4385
4386
4387
4388
4389
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4390
4391
4392
4393
                                          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.
4394
4395
                                          x-kubernetes-int-or-string: true
                                        scheme:
4396
4397
4398
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
4399
4400
4401
4402
4403
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
4404
4405
4406
                                      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
4407
4408
4409
                                      format: int32
                                      type: integer
                                    periodSeconds:
4410
4411
4412
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
4413
4414
4415
                                      format: int32
                                      type: integer
                                    successThreshold:
4416
4417
4418
                                      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.
4419
4420
4421
                                      format: int32
                                      type: integer
                                    tcpSocket:
4422
                                      description: TCPSocket specifies a connection to a TCP port.
4423
4424
                                      properties:
                                        host:
4425
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
4426
4427
4428
4429
4430
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4431
4432
4433
4434
                                          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.
4435
4436
4437
4438
4439
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
                                      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.
4451
4452
4453
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
4454
4455
4456
4457
                                      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
4458
4459
                                      format: int32
                                      type: integer
4460
                                  type: object
4461
                                resizePolicy:
4462
                                  description: Resources resize policy for the container.
4463
                                  items:
4464
                                    description: ContainerResizePolicy represents resource resize policy for the container.
4465
                                    properties:
4466
                                      resourceName:
4467
4468
4469
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
4470
4471
                                        type: string
                                      restartPolicy:
4472
4473
4474
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
4475
4476
4477
4478
4479
4480
4481
4482
                                        type: string
                                    required:
                                      - resourceName
                                      - restartPolicy
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
4483
4484
4485
                                  description: |-
                                    Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
                                    already allocated to the pod.
4486
4487
                                  properties:
                                    claims:
4488
4489
4490
4491
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

4492
                                        This field depends on the
4493
4494
4495
                                        DynamicResourceAllocation feature gate.

                                        This field is immutable. It can only be set for containers.
4496
                                      items:
4497
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
4498
                                        properties:
4499
                                          name:
4500
4501
4502
4503
                                            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.
4504
                                            type: string
4505
                                          request:
4506
4507
4508
4509
                                            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.
4510
4511
                                            type: string
                                        required:
4512
                                          - name
4513
                                        type: object
4514
4515
4516
4517
4518
4519
                                      type: array
                                      x-kubernetes-list-map-keys:
                                        - name
                                      x-kubernetes-list-type: map
                                    limits:
                                      additionalProperties:
4520
                                        anyOf:
4521
4522
                                          - type: integer
                                          - type: string
4523
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4524
                                        x-kubernetes-int-or-string: true
4525
4526
4527
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
4528
4529
4530
                                      type: object
                                    requests:
                                      additionalProperties:
4531
                                        anyOf:
4532
4533
                                          - type: integer
                                          - type: string
4534
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4535
                                        x-kubernetes-int-or-string: true
4536
4537
4538
4539
4540
                                      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/
4541
4542
4543
                                      type: object
                                  type: object
                                restartPolicy:
4544
4545
4546
                                  description: |-
                                    Restart policy for the container to manage the restart behavior of each
                                    container within a pod.
4547
                                    You cannot set this field on ephemeral containers.
4548
                                  type: string
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
                                restartPolicyRules:
                                  description: |-
                                    Represents a list of rules to be checked to determine if the
                                    container should be restarted on exit. You cannot set this field on
                                    ephemeral containers.
                                  items:
                                    description: ContainerRestartRule describes how a container exit is handled.
                                    properties:
                                      action:
                                        description: |-
                                          Specifies the action taken on a container exit if the requirements
                                          are satisfied. The only possible value is "Restart" to restart the
                                          container.
                                        type: string
                                      exitCodes:
                                        description: Represents the exit codes to check on container exits.
                                        properties:
                                          operator:
                                            description: |-
                                              Represents the relationship between the container exit code(s) and the
                                              specified values. Possible values are:
                                              - In: the requirement is satisfied if the container exit code is in the
                                                set of specified values.
                                              - NotIn: the requirement is satisfied if the container exit code is
                                                not in the set of specified values.
                                            type: string
                                          values:
                                            description: |-
                                              Specifies the set of values to check for container exit codes.
                                              At most 255 elements are allowed.
                                            items:
                                              format: int32
                                              type: integer
                                            type: array
                                            x-kubernetes-list-type: set
                                        required:
                                          - operator
                                        type: object
                                    required:
                                      - action
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
4592
                                securityContext:
4593
4594
4595
                                  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.
4596
                                  properties:
4597
                                    allowPrivilegeEscalation:
4598
4599
4600
4601
4602
4603
4604
4605
                                      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.
4606
4607
                                      type: boolean
                                    appArmorProfile:
4608
4609
4610
4611
                                      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.
4612
4613
                                      properties:
                                        localhostProfile:
4614
4615
4616
4617
4618
                                          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".
4619
4620
                                          type: string
                                        type:
4621
4622
4623
4624
4625
4626
                                          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.
4627
4628
4629
4630
4631
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
4632
4633
4634
4635
                                      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.
4636
4637
                                      properties:
                                        add:
4638
                                          description: Added capabilities
4639
                                          items:
4640
                                            description: Capability represent POSIX capabilities type
4641
4642
4643
4644
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
4645
                                          description: Removed capabilities
4646
                                          items:
4647
                                            description: Capability represent POSIX capabilities type
4648
4649
4650
4651
4652
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
4653
4654
4655
4656
4657
                                      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.
4658
4659
                                      type: boolean
                                    procMount:
4660
4661
4662
4663
4664
4665
                                      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.
4666
                                      type: string
4667
                                    readOnlyRootFilesystem:
4668
4669
4670
4671
                                      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.
4672
4673
                                      type: boolean
                                    runAsGroup:
4674
4675
4676
4677
4678
4679
                                      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.
4680
                                      format: int64
4681
                                      type: integer
4682
                                    runAsNonRoot:
4683
4684
4685
4686
4687
4688
4689
                                      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.
4690
4691
                                      type: boolean
                                    runAsUser:
4692
4693
4694
4695
4696
4697
                                      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.
4698
4699
4700
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
4701
4702
4703
4704
4705
4706
                                      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.
4707
4708
                                      properties:
                                        level:
4709
                                          description: Level is SELinux level label that applies to the container.
4710
4711
                                          type: string
                                        role:
4712
                                          description: Role is a SELinux role label that applies to the container.
4713
4714
                                          type: string
                                        type:
4715
                                          description: Type is a SELinux type label that applies to the container.
4716
4717
                                          type: string
                                        user:
4718
                                          description: User is a SELinux user label that applies to the container.
4719
4720
4721
                                          type: string
                                      type: object
                                    seccompProfile:
4722
4723
4724
4725
4726
                                      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.
4727
4728
                                      properties:
                                        localhostProfile:
4729
4730
4731
4732
4733
                                          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.
4734
4735
                                          type: string
                                        type:
4736
4737
4738
4739
4740
4741
4742
                                          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.
4743
4744
4745
4746
4747
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
4748
4749
4750
4751
4752
                                      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.
4753
4754
                                      properties:
                                        gmsaCredentialSpec:
4755
4756
4757
4758
                                          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.
4759
4760
                                          type: string
                                        gmsaCredentialSpecName:
4761
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
4762
4763
                                          type: string
                                        hostProcess:
4764
4765
4766
4767
4768
                                          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.
4769
4770
                                          type: boolean
                                        runAsUserName:
4771
4772
4773
4774
4775
                                          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.
4776
4777
                                          type: string
                                      type: object
4778
                                  type: object
4779
                                startupProbe:
4780
                                  description: Probes are not allowed for ephemeral containers.
4781
4782
                                  properties:
                                    exec:
4783
                                      description: Exec specifies a command to execute in the container.
4784
                                      properties:
4785
                                        command:
4786
4787
4788
4789
4790
4791
                                          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.
4792
4793
4794
4795
4796
4797
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
4798
4799
4800
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
4801
4802
4803
                                      format: int32
                                      type: integer
                                    grpc:
4804
                                      description: GRPC specifies a GRPC HealthCheckRequest.
4805
4806
                                      properties:
                                        port:
4807
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4808
4809
4810
4811
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
4812
4813
4814
4815
4816
                                          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.
4817
                                          type: string
4818
4819
4820
4821
                                      required:
                                        - port
                                      type: object
                                    httpGet:
4822
                                      description: HTTPGet specifies an HTTP GET request to perform.
4823
4824
                                      properties:
                                        host:
4825
4826
4827
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
4828
4829
                                          type: string
                                        httpHeaders:
4830
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
4831
                                          items:
4832
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
4833
4834
                                            properties:
                                              name:
4835
4836
4837
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
4838
4839
                                                type: string
                                              value:
4840
                                                description: The header field value
4841
4842
4843
4844
4845
4846
4847
4848
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
4849
                                          description: Path to access on the HTTP server.
4850
4851
4852
4853
4854
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4855
4856
4857
4858
                                          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.
4859
4860
                                          x-kubernetes-int-or-string: true
                                        scheme:
4861
4862
4863
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
4864
4865
                                          type: string
                                      required:
4866
                                        - port
4867
                                      type: object
4868
                                    initialDelaySeconds:
4869
4870
4871
                                      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
4872
4873
4874
                                      format: int32
                                      type: integer
                                    periodSeconds:
4875
4876
4877
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
4878
4879
4880
                                      format: int32
                                      type: integer
                                    successThreshold:
4881
4882
4883
                                      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.
4884
4885
4886
                                      format: int32
                                      type: integer
                                    tcpSocket:
4887
                                      description: TCPSocket specifies a connection to a TCP port.
4888
4889
                                      properties:
                                        host:
4890
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
4891
4892
4893
4894
4895
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4896
4897
4898
4899
                                          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.
4900
4901
4902
4903
4904
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
                                      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.
4916
4917
4918
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
4919
4920
4921
4922
                                      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
4923
4924
4925
4926
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
4927
4928
4929
4930
                                  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.
4931
4932
                                  type: boolean
                                stdinOnce:
4933
4934
4935
4936
4937
4938
4939
4940
                                  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
4941
4942
                                  type: boolean
                                targetContainerName:
4943
4944
4945
4946
4947
4948
4949
                                  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.
4950
4951
                                  type: string
                                terminationMessagePath:
4952
4953
4954
4955
4956
4957
4958
4959
                                  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.
4960
4961
                                  type: string
                                terminationMessagePolicy:
4962
4963
4964
4965
4966
4967
4968
4969
                                  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.
4970
4971
                                  type: string
                                tty:
4972
4973
4974
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
4975
4976
                                  type: boolean
                                volumeDevices:
4977
                                  description: volumeDevices is the list of block devices to be used by the container.
4978
                                  items:
4979
                                    description: volumeDevice describes a mapping of a raw block device within a container.
4980
                                    properties:
4981
                                      devicePath:
4982
                                        description: devicePath is the path inside of the container that the device will be mapped to.
4983
                                        type: string
4984
                                      name:
4985
                                        description: name must match the name of a persistentVolumeClaim in the pod
4986
4987
                                        type: string
                                    required:
4988
4989
                                      - devicePath
                                      - name
4990
                                    type: object
4991
4992
4993
4994
4995
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
4996
4997
4998
                                  description: |-
                                    Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
                                    Cannot be updated.
4999
                                  items:
5000
                                    description: VolumeMount describes a mounting of a Volume within a container.
5001
                                    properties:
5002
                                      mountPath:
5003
5004
5005
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
5006
                                        type: string
5007
                                      mountPropagation:
5008
5009
5010
5011
5012
5013
5014
                                        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).
5015
                                        type: string
5016
                                      name:
5017
                                        description: This must match the Name of a Volume.
5018
                                        type: string
5019
                                      readOnly:
5020
5021
5022
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
5023
5024
                                        type: boolean
                                      recursiveReadOnly:
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
                                        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.
5042
                                        type: string
5043
                                      subPath:
5044
5045
5046
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
5047
                                        type: string
5048
                                      subPathExpr:
5049
5050
5051
5052
5053
                                        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.
5054
5055
                                        type: string
                                    required:
5056
5057
                                      - mountPath
                                      - name
5058
                                    type: object
5059
5060
5061
5062
5063
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
5064
5065
5066
5067
5068
                                  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.
5069
5070
5071
5072
5073
5074
5075
5076
5077
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          hostAliases:
5078
5079
5080
                            description: |-
                              HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
                              file if specified.
5081
                            items:
5082
5083
5084
                              description: |-
                                HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the
                                pod's hosts file.
5085
5086
                              properties:
                                hostnames:
5087
                                  description: Hostnames for the above IP address.
5088
5089
5090
5091
5092
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                ip:
5093
                                  description: IP address of the host file entry.
5094
5095
5096
5097
5098
5099
5100
5101
5102
                                  type: string
                              required:
                                - ip
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - ip
                            x-kubernetes-list-type: map
                          hostIPC:
5103
5104
5105
                            description: |-
                              Use the host's ipc namespace.
                              Optional: Default to false.
5106
5107
                            type: boolean
                          hostNetwork:
5108
5109
                            description: |-
                              Host networking requested for this pod. Use the host's network namespace.
5110
5111
5112
                              When using HostNetwork you should specify ports so the scheduler is aware.
                              When `hostNetwork` is true, specified `hostPort` fields in port definitions must match `containerPort`,
                              and unspecified `hostPort` fields in port definitions are defaulted to match `containerPort`.
5113
                              Default to false.
5114
5115
                            type: boolean
                          hostPID:
5116
5117
5118
                            description: |-
                              Use the host's pid namespace.
                              Optional: Default to false.
5119
5120
                            type: boolean
                          hostUsers:
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
                            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.
5131
5132
                            type: boolean
                          hostname:
5133
5134
5135
                            description: |-
                              Specifies the hostname of the Pod
                              If not specified, the pod's hostname will be set to a system-defined value.
5136
                            type: string
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
                          hostnameOverride:
                            description: |-
                              HostnameOverride specifies an explicit override for the pod's hostname as perceived by the pod.
                              This field only specifies the pod's hostname and does not affect its DNS records.
                              When this field is set to a non-empty string:
                              - It takes precedence over the values set in `hostname` and `subdomain`.
                              - The Pod's hostname will be set to this value.
                              - `setHostnameAsFQDN` must be nil or set to false.
                              - `hostNetwork` must be set to false.

                              This field must be a valid DNS subdomain as defined in RFC 1123 and contain at most 64 characters.
                              Requires the HostnameOverride feature gate to be enabled.
                            type: string
5150
                          imagePullSecrets:
5151
5152
5153
5154
                            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
5155
                            items:
5156
5157
5158
                              description: |-
                                LocalObjectReference contains enough information to let you locate the
                                referenced object inside the same namespace.
5159
5160
5161
                              properties:
                                name:
                                  default: ""
5162
5163
5164
5165
5166
5167
                                  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
5168
5169
5170
5171
5172
5173
5174
5175
                                  type: string
                              type: object
                              x-kubernetes-map-type: atomic
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          initContainers:
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
                            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/
5190
                            items:
5191
                              description: A single application container that you want to run within a pod.
5192
5193
                              properties:
                                args:
5194
5195
5196
5197
5198
5199
5200
5201
5202
                                  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
5203
5204
5205
5206
5207
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                command:
5208
5209
5210
5211
5212
5213
5214
5215
5216
                                  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
5217
5218
5219
5220
5221
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
5222
5223
5224
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
5225
                                  items:
5226
                                    description: EnvVar represents an environment variable present in a Container.
5227
                                    properties:
5228
                                      name:
5229
5230
5231
                                        description: |-
                                          Name of the environment variable.
                                          May consist of any printable ASCII characters except '='.
5232
                                        type: string
5233
                                      value:
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
                                        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 "".
5244
                                        type: string
5245
                                      valueFrom:
5246
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
5247
5248
                                        properties:
                                          configMapKeyRef:
5249
                                            description: Selects a key of a ConfigMap.
5250
5251
                                            properties:
                                              key:
5252
                                                description: The key to select.
5253
5254
5255
                                                type: string
                                              name:
                                                default: ""
5256
5257
5258
5259
5260
5261
                                                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
5262
5263
                                                type: string
                                              optional:
5264
                                                description: Specify whether the ConfigMap or its key must be defined
5265
5266
5267
5268
5269
5270
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          fieldRef:
5271
5272
5273
                                            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.
5274
5275
                                            properties:
                                              apiVersion:
5276
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
5277
5278
                                                type: string
                                              fieldPath:
5279
                                                description: Path of the field to select in the specified API version.
5280
5281
5282
5283
5284
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
                                          fileKeyRef:
                                            description: |-
                                              FileKeyRef selects a key of the env file.
                                              Requires the EnvFiles feature gate to be enabled.
                                            properties:
                                              key:
                                                description: |-
                                                  The key within the env file. An invalid key will prevent the pod from starting.
                                                  The keys defined within a source may consist of any printable ASCII characters except '='.
                                                  During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
                                                type: string
                                              optional:
                                                default: false
                                                description: |-
                                                  Specify whether the file or its key must be defined. If the file or key
                                                  does not exist, then the env var is not published.
                                                  If optional is set to true and the specified key does not exist,
                                                  the environment variable will not be set in the Pod's containers.

                                                  If optional is set to false and the specified key does not exist,
                                                  an error will be returned during Pod creation.
                                                type: boolean
                                              path:
                                                description: |-
                                                  The path within the volume from which to select the file.
                                                  Must be relative and may not contain the '..' path or start with '..'.
                                                type: string
                                              volumeName:
                                                description: The name of the volume mount containing the env file.
                                                type: string
                                            required:
                                              - key
                                              - path
                                              - volumeName
                                            type: object
                                            x-kubernetes-map-type: atomic
5321
                                          resourceFieldRef:
5322
5323
5324
                                            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.
5325
5326
                                            properties:
                                              containerName:
5327
                                                description: 'Container name: required for volumes, optional for env vars'
5328
5329
5330
5331
5332
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
5333
                                                description: Specifies the output format of the exposed resources, defaults to "1"
5334
5335
5336
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
5337
                                                description: 'Required: resource to select'
5338
5339
5340
5341
5342
5343
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
5344
                                            description: Selects a key of a secret in the pod's namespace
5345
5346
                                            properties:
                                              key:
5347
                                                description: The key of the secret to select from.  Must be a valid secret key.
5348
5349
5350
                                                type: string
                                              name:
                                                default: ""
5351
5352
5353
5354
5355
5356
                                                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
5357
5358
                                                type: string
                                              optional:
5359
                                                description: Specify whether the Secret or its key must be defined
5360
5361
5362
5363
5364
5365
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                        type: object
5366
                                    required:
5367
                                      - name
5368
                                    type: object
5369
5370
5371
5372
5373
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - name
                                  x-kubernetes-list-type: map
                                envFrom:
5374
5375
                                  description: |-
                                    List of sources to populate environment variables in the container.
5376
5377
                                    The keys defined within a source may consist of any printable ASCII characters except '='.
                                    When a key exists in multiple
5378
5379
5380
                                    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.
5381
                                  items:
5382
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
5383
                                    properties:
5384
                                      configMapRef:
5385
                                        description: The ConfigMap to select from
5386
5387
5388
                                        properties:
                                          name:
                                            default: ""
5389
5390
5391
5392
5393
5394
                                            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
5395
5396
                                            type: string
                                          optional:
5397
                                            description: Specify whether the ConfigMap must be defined
5398
5399
5400
5401
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      prefix:
5402
5403
5404
                                        description: |-
                                          Optional text to prepend to the name of each environment variable.
                                          May consist of any printable ASCII characters except '='.
5405
                                        type: string
5406
                                      secretRef:
5407
                                        description: The Secret to select from
5408
5409
5410
                                        properties:
                                          name:
                                            default: ""
5411
5412
5413
5414
5415
5416
                                            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
5417
5418
                                            type: string
                                          optional:
5419
                                            description: Specify whether the Secret must be defined
5420
5421
5422
5423
5424
5425
5426
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                image:
5427
5428
5429
5430
5431
                                  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.
5432
5433
                                  type: string
                                imagePullPolicy:
5434
5435
5436
5437
5438
5439
                                  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
5440
5441
                                  type: string
                                lifecycle:
5442
5443
5444
                                  description: |-
                                    Actions that the management system should take in response to container lifecycle events.
                                    Cannot be updated.
5445
5446
                                  properties:
                                    postStart:
5447
5448
5449
5450
5451
                                      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
5452
5453
                                      properties:
                                        exec:
5454
                                          description: Exec specifies a command to execute in the container.
5455
                                          properties:
5456
                                            command:
5457
5458
5459
5460
5461
5462
                                              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.
5463
5464
5465
5466
5467
5468
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
5469
                                          description: HTTPGet specifies an HTTP GET request to perform.
5470
5471
                                          properties:
                                            host:
5472
5473
5474
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
5475
                                              type: string
5476
                                            httpHeaders:
5477
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
5478
                                              items:
5479
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
5480
5481
                                                properties:
                                                  name:
5482
5483
5484
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
5485
5486
                                                    type: string
                                                  value:
5487
                                                    description: The header field value
5488
5489
5490
5491
5492
5493
5494
5495
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
5496
                                              description: Path to access on the HTTP server.
5497
5498
5499
5500
5501
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5502
5503
5504
5505
                                              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.
5506
5507
                                              x-kubernetes-int-or-string: true
                                            scheme:
5508
5509
5510
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
5511
5512
                                              type: string
                                          required:
5513
                                            - port
5514
                                          type: object
5515
                                        sleep:
5516
                                          description: Sleep represents a duration that the container should sleep.
5517
5518
                                          properties:
                                            seconds:
5519
                                              description: Seconds is the number of seconds to sleep.
5520
5521
5522
5523
5524
5525
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
5526
5527
5528
5529
                                          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.
5530
5531
                                          properties:
                                            host:
5532
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
5533
5534
5535
5536
5537
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5538
5539
5540
5541
                                              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.
5542
5543
5544
5545
5546
5547
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    preStop:
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
                                      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
5558
5559
                                      properties:
                                        exec:
5560
                                          description: Exec specifies a command to execute in the container.
5561
5562
                                          properties:
                                            command:
5563
5564
5565
5566
5567
5568
                                              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.
5569
5570
5571
5572
5573
5574
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
5575
                                          description: HTTPGet specifies an HTTP GET request to perform.
5576
5577
                                          properties:
                                            host:
5578
5579
5580
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
5581
5582
                                              type: string
                                            httpHeaders:
5583
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
5584
                                              items:
5585
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
5586
5587
                                                properties:
                                                  name:
5588
5589
5590
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
5591
5592
                                                    type: string
                                                  value:
5593
                                                    description: The header field value
5594
5595
5596
5597
5598
5599
5600
5601
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
5602
                                              description: Path to access on the HTTP server.
5603
5604
5605
5606
5607
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5608
5609
5610
5611
                                              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.
5612
5613
                                              x-kubernetes-int-or-string: true
                                            scheme:
5614
5615
5616
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
5617
5618
5619
5620
5621
                                              type: string
                                          required:
                                            - port
                                          type: object
                                        sleep:
5622
                                          description: Sleep represents a duration that the container should sleep.
5623
5624
                                          properties:
                                            seconds:
5625
                                              description: Seconds is the number of seconds to sleep.
5626
5627
5628
5629
5630
5631
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
5632
5633
5634
5635
                                          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.
5636
5637
                                          properties:
                                            host:
5638
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
5639
5640
5641
5642
5643
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5644
5645
5646
5647
                                              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.
5648
5649
5650
5651
5652
5653
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    stopSignal:
5654
5655
5656
5657
                                      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
5658
5659
5660
                                      type: string
                                  type: object
                                livenessProbe:
5661
5662
5663
5664
5665
                                  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
5666
5667
                                  properties:
                                    exec:
5668
                                      description: Exec specifies a command to execute in the container.
5669
5670
                                      properties:
                                        command:
5671
5672
5673
5674
5675
5676
                                          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.
5677
5678
5679
5680
5681
5682
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
5683
5684
5685
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
5686
5687
5688
                                      format: int32
                                      type: integer
                                    grpc:
5689
                                      description: GRPC specifies a GRPC HealthCheckRequest.
5690
5691
                                      properties:
                                        port:
5692
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5693
5694
5695
5696
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
5697
5698
5699
5700
5701
                                          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.
5702
5703
5704
5705
5706
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
5707
                                      description: HTTPGet specifies an HTTP GET request to perform.
5708
5709
                                      properties:
                                        host:
5710
5711
5712
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
5713
5714
                                          type: string
                                        httpHeaders:
5715
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
5716
                                          items:
5717
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
5718
5719
                                            properties:
                                              name:
5720
5721
5722
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
5723
5724
                                                type: string
                                              value:
5725
                                                description: The header field value
5726
5727
5728
5729
5730
5731
5732
5733
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
5734
                                          description: Path to access on the HTTP server.
5735
5736
5737
5738
5739
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5740
5741
5742
5743
                                          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.
5744
5745
                                          x-kubernetes-int-or-string: true
                                        scheme:
5746
5747
5748
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
5749
5750
5751
5752
5753
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
5754
5755
5756
                                      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
5757
5758
5759
                                      format: int32
                                      type: integer
                                    periodSeconds:
5760
5761
5762
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
5763
5764
5765
                                      format: int32
                                      type: integer
                                    successThreshold:
5766
5767
5768
                                      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.
5769
5770
5771
                                      format: int32
                                      type: integer
                                    tcpSocket:
5772
                                      description: TCPSocket specifies a connection to a TCP port.
5773
5774
                                      properties:
                                        host:
5775
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
5776
5777
5778
5779
5780
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5781
5782
5783
5784
                                          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.
5785
5786
5787
5788
5789
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
                                      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.
5801
5802
5803
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
5804
5805
5806
5807
                                      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
5808
5809
5810
5811
                                      format: int32
                                      type: integer
                                  type: object
                                name:
5812
5813
5814
5815
                                  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.
5816
5817
                                  type: string
                                ports:
5818
5819
5820
5821
5822
5823
5824
5825
                                  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.
5826
                                  items:
5827
                                    description: ContainerPort represents a network port in a single container.
5828
5829
                                    properties:
                                      containerPort:
5830
5831
5832
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
5833
5834
5835
                                        format: int32
                                        type: integer
                                      hostIP:
5836
                                        description: What host IP to bind the external port to.
5837
                                        type: string
5838
                                      hostPort:
5839
5840
5841
5842
5843
                                        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.
5844
5845
5846
                                        format: int32
                                        type: integer
                                      name:
5847
5848
5849
5850
                                        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.
5851
                                        type: string
5852
5853
                                      protocol:
                                        default: TCP
5854
5855
5856
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
5857
5858
                                        type: string
                                    required:
5859
                                      - containerPort
5860
                                    type: object
5861
5862
5863
5864
5865
5866
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
5867
5868
5869
5870
5871
                                  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
5872
5873
                                  properties:
                                    exec:
5874
                                      description: Exec specifies a command to execute in the container.
5875
5876
                                      properties:
                                        command:
5877
5878
5879
5880
5881
5882
                                          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.
5883
5884
5885
5886
5887
5888
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
5889
5890
5891
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
5892
5893
5894
                                      format: int32
                                      type: integer
                                    grpc:
5895
                                      description: GRPC specifies a GRPC HealthCheckRequest.
5896
5897
                                      properties:
                                        port:
5898
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5899
5900
5901
5902
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
5903
5904
5905
5906
5907
                                          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.
5908
5909
5910
5911
5912
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
5913
                                      description: HTTPGet specifies an HTTP GET request to perform.
5914
5915
                                      properties:
                                        host:
5916
5917
5918
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
5919
5920
                                          type: string
                                        httpHeaders:
5921
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
5922
                                          items:
5923
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
5924
5925
                                            properties:
                                              name:
5926
5927
5928
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
5929
5930
                                                type: string
                                              value:
5931
                                                description: The header field value
5932
5933
5934
5935
5936
5937
5938
5939
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
5940
                                          description: Path to access on the HTTP server.
5941
5942
5943
5944
5945
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5946
5947
5948
5949
                                          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.
5950
5951
                                          x-kubernetes-int-or-string: true
                                        scheme:
5952
5953
5954
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
5955
5956
5957
5958
5959
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
5960
5961
5962
                                      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
5963
5964
5965
                                      format: int32
                                      type: integer
                                    periodSeconds:
5966
5967
5968
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
5969
5970
5971
                                      format: int32
                                      type: integer
                                    successThreshold:
5972
5973
5974
                                      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.
5975
5976
5977
                                      format: int32
                                      type: integer
                                    tcpSocket:
5978
                                      description: TCPSocket specifies a connection to a TCP port.
5979
5980
                                      properties:
                                        host:
5981
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
5982
5983
5984
5985
5986
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5987
5988
5989
5990
                                          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.
5991
5992
5993
5994
5995
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
                                      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.
6007
6008
6009
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
6010
6011
6012
6013
                                      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
6014
6015
6016
6017
                                      format: int32
                                      type: integer
                                  type: object
                                resizePolicy:
6018
                                  description: Resources resize policy for the container.
6019
                                  items:
6020
                                    description: ContainerResizePolicy represents resource resize policy for the container.
6021
6022
                                    properties:
                                      resourceName:
6023
6024
6025
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
6026
6027
                                        type: string
                                      restartPolicy:
6028
6029
6030
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
6031
6032
6033
6034
6035
6036
6037
6038
                                        type: string
                                    required:
                                      - resourceName
                                      - restartPolicy
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
6039
6040
6041
6042
                                  description: |-
                                    Compute Resources required by this container.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6043
6044
                                  properties:
                                    claims:
6045
6046
6047
6048
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

6049
                                        This field depends on the
6050
6051
6052
                                        DynamicResourceAllocation feature gate.

                                        This field is immutable. It can only be set for containers.
6053
                                      items:
6054
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
6055
6056
                                        properties:
                                          name:
6057
6058
6059
6060
                                            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.
6061
6062
                                            type: string
                                          request:
6063
6064
6065
6066
                                            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.
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
                                            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
6082
6083
6084
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6085
6086
6087
6088
6089
6090
6091
6092
                                      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
6093
6094
6095
6096
6097
                                      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/
6098
6099
6100
                                      type: object
                                  type: object
                                restartPolicy:
6101
6102
                                  description: |-
                                    RestartPolicy defines the restart behavior of individual containers in a pod.
6103
                                    This overrides the pod-level restart policy. When this field is not specified,
6104
                                    the restart behavior is defined by the Pod's restart policy and the container type.
6105
6106
                                    Additionally, setting the RestartPolicy as "Always" for the init container will
                                    have the following effect:
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
                                    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.
6117
                                  type: string
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
                                restartPolicyRules:
                                  description: |-
                                    Represents a list of rules to be checked to determine if the
                                    container should be restarted on exit. The rules are evaluated in
                                    order. Once a rule matches a container exit condition, the remaining
                                    rules are ignored. If no rule matches the container exit condition,
                                    the Container-level restart policy determines the whether the container
                                    is restarted or not. Constraints on the rules:
                                    - At most 20 rules are allowed.
                                    - Rules can have the same action.
                                    - Identical rules are not forbidden in validations.
                                    When rules are specified, container MUST set RestartPolicy explicitly
                                    even it if matches the Pod's RestartPolicy.
                                  items:
                                    description: ContainerRestartRule describes how a container exit is handled.
                                    properties:
                                      action:
                                        description: |-
                                          Specifies the action taken on a container exit if the requirements
                                          are satisfied. The only possible value is "Restart" to restart the
                                          container.
                                        type: string
                                      exitCodes:
                                        description: Represents the exit codes to check on container exits.
                                        properties:
                                          operator:
                                            description: |-
                                              Represents the relationship between the container exit code(s) and the
                                              specified values. Possible values are:
                                              - In: the requirement is satisfied if the container exit code is in the
                                                set of specified values.
                                              - NotIn: the requirement is satisfied if the container exit code is
                                                not in the set of specified values.
                                            type: string
                                          values:
                                            description: |-
                                              Specifies the set of values to check for container exit codes.
                                              At most 255 elements are allowed.
                                            items:
                                              format: int32
                                              type: integer
                                            type: array
                                            x-kubernetes-list-type: set
                                        required:
                                          - operator
                                        type: object
                                    required:
                                      - action
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
6169
                                securityContext:
6170
6171
6172
6173
                                  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/
6174
6175
                                  properties:
                                    allowPrivilegeEscalation:
6176
6177
6178
6179
6180
6181
6182
6183
                                      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.
6184
6185
                                      type: boolean
                                    appArmorProfile:
6186
6187
6188
6189
                                      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.
6190
6191
                                      properties:
                                        localhostProfile:
6192
6193
6194
6195
6196
                                          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".
6197
6198
                                          type: string
                                        type:
6199
6200
6201
6202
6203
6204
                                          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.
6205
6206
6207
6208
6209
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
6210
6211
6212
6213
                                      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.
6214
6215
                                      properties:
                                        add:
6216
                                          description: Added capabilities
6217
                                          items:
6218
                                            description: Capability represent POSIX capabilities type
6219
6220
6221
6222
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
6223
                                          description: Removed capabilities
6224
                                          items:
6225
                                            description: Capability represent POSIX capabilities type
6226
6227
6228
6229
6230
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
6231
6232
6233
6234
6235
                                      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.
6236
6237
                                      type: boolean
                                    procMount:
6238
6239
6240
6241
6242
6243
                                      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.
6244
6245
                                      type: string
                                    readOnlyRootFilesystem:
6246
6247
6248
6249
                                      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.
6250
6251
                                      type: boolean
                                    runAsGroup:
6252
6253
6254
6255
6256
6257
                                      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.
6258
6259
6260
                                      format: int64
                                      type: integer
                                    runAsNonRoot:
6261
6262
6263
6264
6265
6266
6267
                                      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.
6268
6269
                                      type: boolean
                                    runAsUser:
6270
6271
6272
6273
6274
6275
                                      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.
6276
6277
6278
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
6279
6280
6281
6282
6283
6284
                                      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.
6285
6286
                                      properties:
                                        level:
6287
                                          description: Level is SELinux level label that applies to the container.
6288
6289
                                          type: string
                                        role:
6290
                                          description: Role is a SELinux role label that applies to the container.
6291
6292
                                          type: string
                                        type:
6293
                                          description: Type is a SELinux type label that applies to the container.
6294
6295
                                          type: string
                                        user:
6296
                                          description: User is a SELinux user label that applies to the container.
6297
6298
6299
                                          type: string
                                      type: object
                                    seccompProfile:
6300
6301
6302
6303
6304
                                      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.
6305
6306
                                      properties:
                                        localhostProfile:
6307
6308
6309
6310
6311
                                          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.
6312
6313
                                          type: string
                                        type:
6314
6315
6316
6317
6318
6319
6320
                                          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.
6321
6322
6323
6324
6325
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
6326
6327
6328
6329
6330
                                      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.
6331
6332
                                      properties:
                                        gmsaCredentialSpec:
6333
6334
6335
6336
                                          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.
6337
6338
                                          type: string
                                        gmsaCredentialSpecName:
6339
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
6340
6341
                                          type: string
                                        hostProcess:
6342
6343
6344
6345
6346
                                          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.
6347
6348
                                          type: boolean
                                        runAsUserName:
6349
6350
6351
6352
6353
                                          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.
6354
6355
6356
6357
                                          type: string
                                      type: object
                                  type: object
                                startupProbe:
6358
6359
6360
6361
6362
6363
6364
6365
                                  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
6366
6367
                                  properties:
                                    exec:
6368
                                      description: Exec specifies a command to execute in the container.
6369
6370
                                      properties:
                                        command:
6371
6372
6373
6374
6375
6376
                                          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.
6377
6378
6379
6380
6381
6382
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
6383
6384
6385
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
6386
6387
6388
                                      format: int32
                                      type: integer
                                    grpc:
6389
                                      description: GRPC specifies a GRPC HealthCheckRequest.
6390
6391
                                      properties:
                                        port:
6392
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
6393
6394
6395
6396
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
6397
6398
6399
6400
6401
                                          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.
6402
6403
6404
6405
6406
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
6407
                                      description: HTTPGet specifies an HTTP GET request to perform.
6408
6409
                                      properties:
                                        host:
6410
6411
6412
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
6413
6414
                                          type: string
                                        httpHeaders:
6415
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
6416
                                          items:
6417
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
6418
6419
                                            properties:
                                              name:
6420
6421
6422
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
6423
6424
                                                type: string
                                              value:
6425
                                                description: The header field value
6426
6427
6428
6429
6430
6431
6432
6433
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
6434
                                          description: Path to access on the HTTP server.
6435
6436
6437
6438
6439
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
6440
6441
6442
6443
                                          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.
6444
6445
                                          x-kubernetes-int-or-string: true
                                        scheme:
6446
6447
6448
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
6449
6450
6451
6452
6453
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
6454
6455
6456
                                      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
6457
6458
6459
                                      format: int32
                                      type: integer
                                    periodSeconds:
6460
6461
6462
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
6463
6464
6465
                                      format: int32
                                      type: integer
                                    successThreshold:
6466
6467
6468
                                      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.
6469
6470
6471
                                      format: int32
                                      type: integer
                                    tcpSocket:
6472
                                      description: TCPSocket specifies a connection to a TCP port.
6473
6474
                                      properties:
                                        host:
6475
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
6476
6477
6478
6479
6480
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
6481
6482
6483
6484
                                          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.
6485
6486
6487
6488
6489
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
                                      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.
6501
6502
6503
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
6504
6505
6506
6507
                                      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
6508
6509
6510
6511
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
6512
6513
6514
6515
                                  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.
6516
6517
                                  type: boolean
                                stdinOnce:
6518
6519
6520
6521
6522
6523
6524
6525
                                  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
6526
6527
                                  type: boolean
                                terminationMessagePath:
6528
6529
6530
6531
6532
6533
6534
6535
                                  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.
6536
6537
                                  type: string
                                terminationMessagePolicy:
6538
6539
6540
6541
6542
6543
6544
6545
                                  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.
6546
6547
                                  type: string
                                tty:
6548
6549
6550
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
6551
6552
                                  type: boolean
                                volumeDevices:
6553
                                  description: volumeDevices is the list of block devices to be used by the container.
6554
                                  items:
6555
                                    description: volumeDevice describes a mapping of a raw block device within a container.
6556
6557
                                    properties:
                                      devicePath:
6558
                                        description: devicePath is the path inside of the container that the device will be mapped to.
6559
6560
                                        type: string
                                      name:
6561
                                        description: name must match the name of a persistentVolumeClaim in the pod
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
                                        type: string
                                    required:
                                      - devicePath
                                      - name
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
6572
6573
6574
                                  description: |-
                                    Pod volumes to mount into the container's filesystem.
                                    Cannot be updated.
6575
                                  items:
6576
                                    description: VolumeMount describes a mounting of a Volume within a container.
6577
6578
                                    properties:
                                      mountPath:
6579
6580
6581
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
6582
6583
                                        type: string
                                      mountPropagation:
6584
6585
6586
6587
6588
6589
6590
                                        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).
6591
6592
                                        type: string
                                      name:
6593
                                        description: This must match the Name of a Volume.
6594
6595
                                        type: string
                                      readOnly:
6596
6597
6598
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
6599
6600
                                        type: boolean
                                      recursiveReadOnly:
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
                                        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.
6618
6619
                                        type: string
                                      subPath:
6620
6621
6622
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
6623
6624
                                        type: string
                                      subPathExpr:
6625
6626
6627
6628
6629
                                        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.
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
                                        type: string
                                    required:
                                      - mountPath
                                      - name
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
6640
6641
6642
6643
6644
                                  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.
6645
6646
6647
6648
6649
6650
6651
6652
6653
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          mainContainer:
6654
                            description: A single application container that you want to run within a pod.
6655
6656
                            properties:
                              args:
6657
6658
6659
6660
6661
6662
6663
6664
6665
                                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
6666
6667
6668
6669
6670
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              command:
6671
6672
6673
6674
6675
6676
6677
6678
6679
                                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
6680
6681
6682
6683
6684
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              env:
6685
6686
6687
                                description: |-
                                  List of environment variables to set in the container.
                                  Cannot be updated.
6688
                                items:
6689
                                  description: EnvVar represents an environment variable present in a Container.
6690
6691
                                  properties:
                                    name:
6692
6693
6694
                                      description: |-
                                        Name of the environment variable.
                                        May consist of any printable ASCII characters except '='.
6695
6696
                                      type: string
                                    value:
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
                                      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 "".
6707
6708
                                      type: string
                                    valueFrom:
6709
                                      description: Source for the environment variable's value. Cannot be used if value is not empty.
6710
6711
                                      properties:
                                        configMapKeyRef:
6712
                                          description: Selects a key of a ConfigMap.
6713
6714
                                          properties:
                                            key:
6715
                                              description: The key to select.
6716
6717
6718
                                              type: string
                                            name:
                                              default: ""
6719
6720
6721
6722
6723
6724
                                              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
6725
6726
                                              type: string
                                            optional:
6727
                                              description: Specify whether the ConfigMap or its key must be defined
6728
6729
6730
6731
6732
6733
                                              type: boolean
                                          required:
                                            - key
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        fieldRef:
6734
6735
6736
                                          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.
6737
6738
                                          properties:
                                            apiVersion:
6739
                                              description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
6740
6741
                                              type: string
                                            fieldPath:
6742
                                              description: Path of the field to select in the specified API version.
6743
6744
6745
6746
6747
                                              type: string
                                          required:
                                            - fieldPath
                                          type: object
                                          x-kubernetes-map-type: atomic
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
                                        fileKeyRef:
                                          description: |-
                                            FileKeyRef selects a key of the env file.
                                            Requires the EnvFiles feature gate to be enabled.
                                          properties:
                                            key:
                                              description: |-
                                                The key within the env file. An invalid key will prevent the pod from starting.
                                                The keys defined within a source may consist of any printable ASCII characters except '='.
                                                During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
                                              type: string
                                            optional:
                                              default: false
                                              description: |-
                                                Specify whether the file or its key must be defined. If the file or key
                                                does not exist, then the env var is not published.
                                                If optional is set to true and the specified key does not exist,
                                                the environment variable will not be set in the Pod's containers.

                                                If optional is set to false and the specified key does not exist,
                                                an error will be returned during Pod creation.
                                              type: boolean
                                            path:
                                              description: |-
                                                The path within the volume from which to select the file.
                                                Must be relative and may not contain the '..' path or start with '..'.
                                              type: string
                                            volumeName:
                                              description: The name of the volume mount containing the env file.
                                              type: string
                                          required:
                                            - key
                                            - path
                                            - volumeName
                                          type: object
                                          x-kubernetes-map-type: atomic
6784
                                        resourceFieldRef:
6785
6786
6787
                                          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.
6788
6789
                                          properties:
                                            containerName:
6790
                                              description: 'Container name: required for volumes, optional for env vars'
6791
6792
6793
6794
6795
                                              type: string
                                            divisor:
                                              anyOf:
                                                - type: integer
                                                - type: string
6796
                                              description: Specifies the output format of the exposed resources, defaults to "1"
6797
6798
6799
                                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                              x-kubernetes-int-or-string: true
                                            resource:
6800
                                              description: 'Required: resource to select'
6801
6802
6803
6804
6805
6806
                                              type: string
                                          required:
                                            - resource
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        secretKeyRef:
6807
                                          description: Selects a key of a secret in the pod's namespace
6808
6809
                                          properties:
                                            key:
6810
                                              description: The key of the secret to select from.  Must be a valid secret key.
6811
6812
6813
                                              type: string
                                            name:
                                              default: ""
6814
6815
6816
6817
6818
6819
                                              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
6820
6821
                                              type: string
                                            optional:
6822
                                              description: Specify whether the Secret or its key must be defined
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
                                              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:
6837
6838
                                description: |-
                                  List of sources to populate environment variables in the container.
6839
6840
                                  The keys defined within a source may consist of any printable ASCII characters except '='.
                                  When a key exists in multiple
6841
6842
6843
                                  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.
6844
                                items:
6845
                                  description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
6846
6847
                                  properties:
                                    configMapRef:
6848
                                      description: The ConfigMap to select from
6849
6850
6851
                                      properties:
                                        name:
                                          default: ""
6852
6853
6854
6855
6856
6857
                                          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
6858
6859
                                          type: string
                                        optional:
6860
                                          description: Specify whether the ConfigMap must be defined
6861
6862
6863
6864
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    prefix:
6865
6866
6867
                                      description: |-
                                        Optional text to prepend to the name of each environment variable.
                                        May consist of any printable ASCII characters except '='.
6868
6869
                                      type: string
                                    secretRef:
6870
                                      description: The Secret to select from
6871
6872
6873
                                      properties:
                                        name:
                                          default: ""
6874
6875
6876
6877
6878
6879
                                          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
6880
6881
                                          type: string
                                        optional:
6882
                                          description: Specify whether the Secret must be defined
6883
6884
6885
6886
6887
6888
6889
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              image:
6890
6891
6892
6893
6894
                                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.
6895
6896
                                type: string
                              imagePullPolicy:
6897
6898
6899
6900
6901
6902
                                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
6903
6904
                                type: string
                              lifecycle:
6905
6906
6907
                                description: |-
                                  Actions that the management system should take in response to container lifecycle events.
                                  Cannot be updated.
6908
6909
                                properties:
                                  postStart:
6910
6911
6912
6913
6914
                                    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
6915
6916
                                    properties:
                                      exec:
6917
                                        description: Exec specifies a command to execute in the container.
6918
6919
                                        properties:
                                          command:
6920
6921
6922
6923
6924
6925
                                            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.
6926
6927
6928
6929
6930
6931
                                            items:
                                              type: string
                                            type: array
                                            x-kubernetes-list-type: atomic
                                        type: object
                                      httpGet:
6932
                                        description: HTTPGet specifies an HTTP GET request to perform.
6933
6934
                                        properties:
                                          host:
6935
6936
6937
                                            description: |-
                                              Host name to connect to, defaults to the pod IP. You probably want to set
                                              "Host" in httpHeaders instead.
6938
6939
                                            type: string
                                          httpHeaders:
6940
                                            description: Custom headers to set in the request. HTTP allows repeated headers.
6941
                                            items:
6942
                                              description: HTTPHeader describes a custom header to be used in HTTP probes
6943
6944
                                              properties:
                                                name:
6945
6946
6947
                                                  description: |-
                                                    The header field name.
                                                    This will be canonicalized upon output, so case-variant names will be understood as the same header.
6948
6949
                                                  type: string
                                                value:
6950
                                                  description: The header field value
6951
6952
6953
6954
6955
6956
6957
6958
                                                  type: string
                                              required:
                                                - name
                                                - value
                                              type: object
                                            type: array
                                            x-kubernetes-list-type: atomic
                                          path:
6959
                                            description: Path to access on the HTTP server.
6960
6961
6962
6963
6964
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
6965
6966
6967
6968
                                            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.
6969
6970
                                            x-kubernetes-int-or-string: true
                                          scheme:
6971
6972
6973
                                            description: |-
                                              Scheme to use for connecting to the host.
                                              Defaults to HTTP.
6974
6975
6976
6977
6978
                                            type: string
                                        required:
                                          - port
                                        type: object
                                      sleep:
6979
                                        description: Sleep represents a duration that the container should sleep.
6980
6981
                                        properties:
                                          seconds:
6982
                                            description: Seconds is the number of seconds to sleep.
6983
6984
6985
6986
6987
6988
                                            format: int64
                                            type: integer
                                        required:
                                          - seconds
                                        type: object
                                      tcpSocket:
6989
6990
6991
6992
                                        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.
6993
6994
                                        properties:
                                          host:
6995
                                            description: 'Optional: Host name to connect to, defaults to the pod IP.'
6996
6997
6998
6999
7000
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
7001
7002
7003
7004
                                            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.
7005
7006
7007
7008
7009
7010
                                            x-kubernetes-int-or-string: true
                                        required:
                                          - port
                                        type: object
                                    type: object
                                  preStop:
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
                                    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
7021
7022
                                    properties:
                                      exec:
7023
                                        description: Exec specifies a command to execute in the container.
7024
7025
                                        properties:
                                          command:
7026
7027
7028
7029
7030
7031
                                            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.
7032
7033
7034
7035
7036
7037
                                            items:
                                              type: string
                                            type: array
                                            x-kubernetes-list-type: atomic
                                        type: object
                                      httpGet:
7038
                                        description: HTTPGet specifies an HTTP GET request to perform.
7039
7040
                                        properties:
                                          host:
7041
7042
7043
                                            description: |-
                                              Host name to connect to, defaults to the pod IP. You probably want to set
                                              "Host" in httpHeaders instead.
7044
7045
                                            type: string
                                          httpHeaders:
7046
                                            description: Custom headers to set in the request. HTTP allows repeated headers.
7047
                                            items:
7048
                                              description: HTTPHeader describes a custom header to be used in HTTP probes
7049
7050
                                              properties:
                                                name:
7051
7052
7053
                                                  description: |-
                                                    The header field name.
                                                    This will be canonicalized upon output, so case-variant names will be understood as the same header.
7054
7055
                                                  type: string
                                                value:
7056
                                                  description: The header field value
7057
7058
7059
7060
7061
7062
7063
7064
                                                  type: string
                                              required:
                                                - name
                                                - value
                                              type: object
                                            type: array
                                            x-kubernetes-list-type: atomic
                                          path:
7065
                                            description: Path to access on the HTTP server.
7066
7067
7068
7069
7070
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
7071
7072
7073
7074
                                            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.
7075
7076
                                            x-kubernetes-int-or-string: true
                                          scheme:
7077
7078
7079
                                            description: |-
                                              Scheme to use for connecting to the host.
                                              Defaults to HTTP.
7080
7081
7082
7083
7084
                                            type: string
                                        required:
                                          - port
                                        type: object
                                      sleep:
7085
                                        description: Sleep represents a duration that the container should sleep.
7086
7087
                                        properties:
                                          seconds:
7088
                                            description: Seconds is the number of seconds to sleep.
7089
7090
7091
7092
7093
7094
                                            format: int64
                                            type: integer
                                        required:
                                          - seconds
                                        type: object
                                      tcpSocket:
7095
7096
7097
7098
                                        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.
7099
7100
                                        properties:
                                          host:
7101
                                            description: 'Optional: Host name to connect to, defaults to the pod IP.'
7102
7103
7104
7105
7106
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
7107
7108
7109
7110
                                            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.
7111
7112
7113
7114
7115
7116
                                            x-kubernetes-int-or-string: true
                                        required:
                                          - port
                                        type: object
                                    type: object
                                  stopSignal:
7117
7118
7119
7120
                                    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
7121
7122
7123
                                    type: string
                                type: object
                              livenessProbe:
7124
7125
7126
7127
7128
                                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
7129
7130
                                properties:
                                  exec:
7131
                                    description: Exec specifies a command to execute in the container.
7132
7133
                                    properties:
                                      command:
7134
7135
7136
7137
7138
7139
                                        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.
7140
7141
7142
7143
7144
7145
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
7146
7147
7148
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
7149
7150
7151
                                    format: int32
                                    type: integer
                                  grpc:
7152
                                    description: GRPC specifies a GRPC HealthCheckRequest.
7153
7154
                                    properties:
                                      port:
7155
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
7156
7157
7158
7159
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
7160
7161
7162
7163
7164
                                        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.
7165
7166
7167
7168
7169
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
7170
                                    description: HTTPGet specifies an HTTP GET request to perform.
7171
7172
                                    properties:
                                      host:
7173
7174
7175
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
7176
7177
                                        type: string
                                      httpHeaders:
7178
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
7179
                                        items:
7180
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
7181
7182
                                          properties:
                                            name:
7183
7184
7185
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
7186
7187
                                              type: string
                                            value:
7188
                                              description: The header field value
7189
7190
7191
7192
7193
7194
7195
7196
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
7197
                                        description: Path to access on the HTTP server.
7198
7199
7200
7201
7202
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7203
7204
7205
7206
                                        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.
7207
7208
                                        x-kubernetes-int-or-string: true
                                      scheme:
7209
7210
7211
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
7212
7213
7214
7215
7216
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
7217
7218
7219
                                    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
7220
7221
7222
                                    format: int32
                                    type: integer
                                  periodSeconds:
7223
7224
7225
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
7226
7227
7228
                                    format: int32
                                    type: integer
                                  successThreshold:
7229
7230
7231
                                    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.
7232
7233
7234
                                    format: int32
                                    type: integer
                                  tcpSocket:
7235
                                    description: TCPSocket specifies a connection to a TCP port.
7236
7237
                                    properties:
                                      host:
7238
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
7239
7240
7241
7242
7243
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7244
7245
7246
7247
                                        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.
7248
7249
7250
7251
7252
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
                                    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.
7264
7265
7266
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
7267
7268
7269
7270
                                    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
7271
7272
7273
7274
                                    format: int32
                                    type: integer
                                type: object
                              name:
7275
7276
7277
7278
                                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.
7279
7280
                                type: string
                              ports:
7281
7282
7283
7284
7285
7286
7287
7288
                                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.
7289
                                items:
7290
                                  description: ContainerPort represents a network port in a single container.
7291
7292
                                  properties:
                                    containerPort:
7293
7294
7295
                                      description: |-
                                        Number of port to expose on the pod's IP address.
                                        This must be a valid port number, 0 < x < 65536.
7296
7297
7298
                                      format: int32
                                      type: integer
                                    hostIP:
7299
                                      description: What host IP to bind the external port to.
7300
7301
                                      type: string
                                    hostPort:
7302
7303
7304
7305
7306
                                      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.
7307
7308
7309
                                      format: int32
                                      type: integer
                                    name:
7310
7311
7312
7313
                                      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.
7314
7315
7316
                                      type: string
                                    protocol:
                                      default: TCP
7317
7318
7319
                                      description: |-
                                        Protocol for port. Must be UDP, TCP, or SCTP.
                                        Defaults to "TCP".
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
                                      type: string
                                  required:
                                    - containerPort
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - containerPort
                                  - protocol
                                x-kubernetes-list-type: map
                              readinessProbe:
7330
7331
7332
7333
7334
                                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
7335
7336
                                properties:
                                  exec:
7337
                                    description: Exec specifies a command to execute in the container.
7338
7339
                                    properties:
                                      command:
7340
7341
7342
7343
7344
7345
                                        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.
7346
7347
7348
7349
7350
7351
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
7352
7353
7354
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
7355
7356
7357
                                    format: int32
                                    type: integer
                                  grpc:
7358
                                    description: GRPC specifies a GRPC HealthCheckRequest.
7359
7360
                                    properties:
                                      port:
7361
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
7362
7363
7364
7365
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
7366
7367
7368
7369
7370
                                        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.
7371
7372
7373
7374
7375
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
7376
                                    description: HTTPGet specifies an HTTP GET request to perform.
7377
7378
                                    properties:
                                      host:
7379
7380
7381
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
7382
7383
                                        type: string
                                      httpHeaders:
7384
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
7385
                                        items:
7386
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
7387
7388
                                          properties:
                                            name:
7389
7390
7391
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
7392
7393
                                              type: string
                                            value:
7394
                                              description: The header field value
7395
7396
7397
7398
7399
7400
7401
7402
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
7403
                                        description: Path to access on the HTTP server.
7404
7405
7406
7407
7408
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7409
7410
7411
7412
                                        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.
7413
7414
                                        x-kubernetes-int-or-string: true
                                      scheme:
7415
7416
7417
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
7418
7419
7420
7421
7422
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
7423
7424
7425
                                    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
7426
7427
7428
                                    format: int32
                                    type: integer
                                  periodSeconds:
7429
7430
7431
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
7432
7433
7434
                                    format: int32
                                    type: integer
                                  successThreshold:
7435
7436
7437
                                    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.
7438
7439
7440
                                    format: int32
                                    type: integer
                                  tcpSocket:
7441
                                    description: TCPSocket specifies a connection to a TCP port.
7442
7443
                                    properties:
                                      host:
7444
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
7445
7446
7447
7448
7449
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7450
7451
7452
7453
                                        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.
7454
7455
7456
7457
7458
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
                                    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.
7470
7471
7472
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
7473
7474
7475
7476
                                    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
7477
7478
7479
7480
                                    format: int32
                                    type: integer
                                type: object
                              resizePolicy:
7481
                                description: Resources resize policy for the container.
7482
                                items:
7483
                                  description: ContainerResizePolicy represents resource resize policy for the container.
7484
7485
                                  properties:
                                    resourceName:
7486
7487
7488
                                      description: |-
                                        Name of the resource to which this resource resize policy applies.
                                        Supported values: cpu, memory.
7489
7490
                                      type: string
                                    restartPolicy:
7491
7492
7493
                                      description: |-
                                        Restart policy to apply when specified resource is resized.
                                        If not specified, it defaults to NotRequired.
7494
7495
7496
7497
7498
7499
7500
7501
                                      type: string
                                  required:
                                    - resourceName
                                    - restartPolicy
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              resources:
7502
7503
7504
7505
                                description: |-
                                  Compute Resources required by this container.
                                  Cannot be updated.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
7506
7507
                                properties:
                                  claims:
7508
7509
7510
7511
                                    description: |-
                                      Claims lists the names of resources, defined in spec.resourceClaims,
                                      that are used by this container.

7512
                                      This field depends on the
7513
7514
7515
                                      DynamicResourceAllocation feature gate.

                                      This field is immutable. It can only be set for containers.
7516
                                    items:
7517
                                      description: ResourceClaim references one entry in PodSpec.ResourceClaims.
7518
7519
                                      properties:
                                        name:
7520
7521
7522
7523
                                          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.
7524
7525
                                          type: string
                                        request:
7526
7527
7528
7529
                                          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.
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
                                          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
7545
7546
7547
                                    description: |-
                                      Limits describes the maximum amount of compute resources allowed.
                                      More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
7548
7549
7550
7551
7552
7553
7554
7555
                                    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
7556
7557
7558
7559
7560
                                    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/
7561
7562
7563
                                    type: object
                                type: object
                              restartPolicy:
7564
7565
                                description: |-
                                  RestartPolicy defines the restart behavior of individual containers in a pod.
7566
                                  This overrides the pod-level restart policy. When this field is not specified,
7567
                                  the restart behavior is defined by the Pod's restart policy and the container type.
7568
7569
                                  Additionally, setting the RestartPolicy as "Always" for the init container will
                                  have the following effect:
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
                                  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.
7580
                                type: string
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
                              restartPolicyRules:
                                description: |-
                                  Represents a list of rules to be checked to determine if the
                                  container should be restarted on exit. The rules are evaluated in
                                  order. Once a rule matches a container exit condition, the remaining
                                  rules are ignored. If no rule matches the container exit condition,
                                  the Container-level restart policy determines the whether the container
                                  is restarted or not. Constraints on the rules:
                                  - At most 20 rules are allowed.
                                  - Rules can have the same action.
                                  - Identical rules are not forbidden in validations.
                                  When rules are specified, container MUST set RestartPolicy explicitly
                                  even it if matches the Pod's RestartPolicy.
                                items:
                                  description: ContainerRestartRule describes how a container exit is handled.
                                  properties:
                                    action:
                                      description: |-
                                        Specifies the action taken on a container exit if the requirements
                                        are satisfied. The only possible value is "Restart" to restart the
                                        container.
                                      type: string
                                    exitCodes:
                                      description: Represents the exit codes to check on container exits.
                                      properties:
                                        operator:
                                          description: |-
                                            Represents the relationship between the container exit code(s) and the
                                            specified values. Possible values are:
                                            - In: the requirement is satisfied if the container exit code is in the
                                              set of specified values.
                                            - NotIn: the requirement is satisfied if the container exit code is
                                              not in the set of specified values.
                                          type: string
                                        values:
                                          description: |-
                                            Specifies the set of values to check for container exit codes.
                                            At most 255 elements are allowed.
                                          items:
                                            format: int32
                                            type: integer
                                          type: array
                                          x-kubernetes-list-type: set
                                      required:
                                        - operator
                                      type: object
                                  required:
                                    - action
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
7632
                              securityContext:
7633
7634
7635
7636
                                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/
7637
7638
                                properties:
                                  allowPrivilegeEscalation:
7639
7640
7641
7642
7643
7644
7645
7646
                                    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.
7647
7648
                                    type: boolean
                                  appArmorProfile:
7649
7650
7651
7652
                                    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.
7653
7654
                                    properties:
                                      localhostProfile:
7655
7656
7657
7658
7659
                                        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".
7660
7661
                                        type: string
                                      type:
7662
7663
7664
7665
7666
7667
                                        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.
7668
7669
7670
7671
7672
                                        type: string
                                    required:
                                      - type
                                    type: object
                                  capabilities:
7673
7674
7675
7676
                                    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.
7677
7678
                                    properties:
                                      add:
7679
                                        description: Added capabilities
7680
                                        items:
7681
                                          description: Capability represent POSIX capabilities type
7682
7683
7684
7685
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      drop:
7686
                                        description: Removed capabilities
7687
                                        items:
7688
                                          description: Capability represent POSIX capabilities type
7689
7690
7691
7692
7693
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  privileged:
7694
7695
7696
7697
7698
                                    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.
7699
7700
                                    type: boolean
                                  procMount:
7701
7702
7703
7704
7705
7706
                                    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.
7707
7708
                                    type: string
                                  readOnlyRootFilesystem:
7709
7710
7711
7712
                                    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.
7713
7714
                                    type: boolean
                                  runAsGroup:
7715
7716
7717
7718
7719
7720
                                    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.
7721
7722
7723
                                    format: int64
                                    type: integer
                                  runAsNonRoot:
7724
7725
7726
7727
7728
7729
7730
                                    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.
7731
7732
                                    type: boolean
                                  runAsUser:
7733
7734
7735
7736
7737
7738
                                    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.
7739
7740
7741
                                    format: int64
                                    type: integer
                                  seLinuxOptions:
7742
7743
7744
7745
7746
7747
                                    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.
7748
7749
                                    properties:
                                      level:
7750
                                        description: Level is SELinux level label that applies to the container.
7751
7752
                                        type: string
                                      role:
7753
                                        description: Role is a SELinux role label that applies to the container.
7754
7755
                                        type: string
                                      type:
7756
                                        description: Type is a SELinux type label that applies to the container.
7757
7758
                                        type: string
                                      user:
7759
                                        description: User is a SELinux user label that applies to the container.
7760
7761
7762
                                        type: string
                                    type: object
                                  seccompProfile:
7763
7764
7765
7766
7767
                                    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.
7768
7769
                                    properties:
                                      localhostProfile:
7770
7771
7772
7773
7774
                                        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.
7775
7776
                                        type: string
                                      type:
7777
7778
7779
7780
7781
7782
7783
                                        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.
7784
7785
7786
7787
7788
                                        type: string
                                    required:
                                      - type
                                    type: object
                                  windowsOptions:
7789
7790
7791
7792
7793
                                    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.
7794
7795
                                    properties:
                                      gmsaCredentialSpec:
7796
7797
7798
7799
                                        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.
7800
7801
                                        type: string
                                      gmsaCredentialSpecName:
7802
                                        description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
7803
7804
                                        type: string
                                      hostProcess:
7805
7806
7807
7808
7809
                                        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.
7810
7811
                                        type: boolean
                                      runAsUserName:
7812
7813
7814
7815
7816
                                        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.
7817
7818
7819
7820
                                        type: string
                                    type: object
                                type: object
                              startupProbe:
7821
7822
7823
7824
7825
7826
7827
7828
                                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
7829
7830
                                properties:
                                  exec:
7831
                                    description: Exec specifies a command to execute in the container.
7832
7833
                                    properties:
                                      command:
7834
7835
7836
7837
7838
7839
                                        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.
7840
7841
7842
7843
7844
7845
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
7846
7847
7848
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
7849
7850
7851
                                    format: int32
                                    type: integer
                                  grpc:
7852
                                    description: GRPC specifies a GRPC HealthCheckRequest.
7853
7854
                                    properties:
                                      port:
7855
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
7856
7857
7858
7859
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
7860
7861
7862
7863
7864
                                        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.
7865
7866
7867
7868
7869
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
7870
                                    description: HTTPGet specifies an HTTP GET request to perform.
7871
7872
                                    properties:
                                      host:
7873
7874
7875
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
7876
7877
                                        type: string
                                      httpHeaders:
7878
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
7879
                                        items:
7880
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
7881
7882
                                          properties:
                                            name:
7883
7884
7885
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
7886
7887
                                              type: string
                                            value:
7888
                                              description: The header field value
7889
7890
7891
7892
7893
7894
7895
7896
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
7897
                                        description: Path to access on the HTTP server.
7898
7899
7900
7901
7902
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7903
7904
7905
7906
                                        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.
7907
7908
                                        x-kubernetes-int-or-string: true
                                      scheme:
7909
7910
7911
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
7912
7913
7914
7915
7916
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
7917
7918
7919
                                    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
7920
7921
7922
                                    format: int32
                                    type: integer
                                  periodSeconds:
7923
7924
7925
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
7926
7927
7928
                                    format: int32
                                    type: integer
                                  successThreshold:
7929
7930
7931
                                    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.
7932
7933
7934
                                    format: int32
                                    type: integer
                                  tcpSocket:
7935
                                    description: TCPSocket specifies a connection to a TCP port.
7936
7937
                                    properties:
                                      host:
7938
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
7939
7940
7941
7942
7943
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7944
7945
7946
7947
                                        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.
7948
7949
7950
7951
7952
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
                                    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.
7964
7965
7966
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
7967
7968
7969
7970
                                    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
7971
7972
7973
7974
                                    format: int32
                                    type: integer
                                type: object
                              stdin:
7975
7976
7977
7978
                                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.
7979
7980
                                type: boolean
                              stdinOnce:
7981
7982
7983
7984
7985
7986
7987
7988
                                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
7989
7990
                                type: boolean
                              terminationMessagePath:
7991
7992
7993
7994
7995
7996
7997
7998
                                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.
7999
8000
                                type: string
                              terminationMessagePolicy:
8001
8002
8003
8004
8005
8006
8007
8008
                                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.
8009
8010
                                type: string
                              tty:
8011
8012
8013
                                description: |-
                                  Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                  Default is false.
8014
8015
                                type: boolean
                              volumeDevices:
8016
                                description: volumeDevices is the list of block devices to be used by the container.
8017
                                items:
8018
                                  description: volumeDevice describes a mapping of a raw block device within a container.
8019
8020
                                  properties:
                                    devicePath:
8021
                                      description: devicePath is the path inside of the container that the device will be mapped to.
8022
8023
                                      type: string
                                    name:
8024
                                      description: name must match the name of a persistentVolumeClaim in the pod
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
                                      type: string
                                  required:
                                    - devicePath
                                    - name
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - devicePath
                                x-kubernetes-list-type: map
                              volumeMounts:
8035
8036
8037
                                description: |-
                                  Pod volumes to mount into the container's filesystem.
                                  Cannot be updated.
8038
                                items:
8039
                                  description: VolumeMount describes a mounting of a Volume within a container.
8040
8041
                                  properties:
                                    mountPath:
8042
8043
8044
                                      description: |-
                                        Path within the container at which the volume should be mounted.  Must
                                        not contain ':'.
8045
8046
                                      type: string
                                    mountPropagation:
8047
8048
8049
8050
8051
8052
8053
                                      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).
8054
8055
                                      type: string
                                    name:
8056
                                      description: This must match the Name of a Volume.
8057
8058
                                      type: string
                                    readOnly:
8059
8060
8061
                                      description: |-
                                        Mounted read-only if true, read-write otherwise (false or unspecified).
                                        Defaults to false.
8062
8063
                                      type: boolean
                                    recursiveReadOnly:
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
                                      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.
8081
8082
                                      type: string
                                    subPath:
8083
8084
8085
                                      description: |-
                                        Path within the volume from which the container's volume should be mounted.
                                        Defaults to "" (volume's root).
8086
8087
                                      type: string
                                    subPathExpr:
8088
8089
8090
8091
8092
                                      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.
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
                                      type: string
                                  required:
                                    - mountPath
                                    - name
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - mountPath
                                x-kubernetes-list-type: map
                              workingDir:
8103
8104
8105
8106
8107
                                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.
8108
8109
8110
8111
                                type: string
                            required: []
                            type: object
                          nodeName:
8112
8113
8114
8115
8116
8117
                            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
8118
8119
8120
8121
                            type: string
                          nodeSelector:
                            additionalProperties:
                              type: string
8122
8123
8124
8125
                            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/
8126
8127
8128
                            type: object
                            x-kubernetes-map-type: atomic
                          os:
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
                            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
8140
                              - spec.resources
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
                              - 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
8162
8163
                            properties:
                              name:
8164
8165
8166
8167
8168
                                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
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
                                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
8180
8181
8182
8183
8184
8185
8186
8187
                            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
8188
8189
                            type: object
                          preemptionPolicy:
8190
8191
8192
8193
                            description: |-
                              PreemptionPolicy is the Policy for preempting pods with lower priority.
                              One of Never, PreemptLowerPriority.
                              Defaults to PreemptLowerPriority if unset.
8194
8195
                            type: string
                          priority:
8196
8197
8198
8199
8200
8201
                            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.
8202
8203
8204
                            format: int32
                            type: integer
                          priorityClassName:
8205
8206
8207
8208
8209
8210
8211
                            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.
8212
8213
                            type: string
                          readinessGates:
8214
8215
8216
8217
8218
                            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
8219
                            items:
8220
                              description: PodReadinessGate contains the reference to a pod condition
8221
8222
                              properties:
                                conditionType:
8223
                                  description: ConditionType refers to a condition in the pod's condition list with matching type.
8224
8225
8226
8227
8228
8229
8230
                                  type: string
                              required:
                                - conditionType
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          resourceClaims:
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
                            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.
8241
                            items:
8242
8243
8244
8245
8246
8247
8248
                              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.
8249
8250
                              properties:
                                name:
8251
8252
8253
                                  description: |-
                                    Name uniquely identifies this resource claim inside the pod.
                                    This must be a DNS_LABEL.
8254
8255
                                  type: string
                                resourceClaimName:
8256
8257
8258
8259
8260
8261
                                  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.
8262
8263
                                  type: string
                                resourceClaimTemplateName:
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
                                  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.
8280
8281
8282
8283
8284
8285
8286
8287
8288
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          resources:
8289
8290
8291
                            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
8292
                              "cpu", "memory" and "hugepages-" resource names only. ResourceClaims are not supported.
8293
8294
8295
8296
8297
8298

                              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.
8299
8300
                            properties:
                              claims:
8301
8302
8303
8304
                                description: |-
                                  Claims lists the names of resources, defined in spec.resourceClaims,
                                  that are used by this container.

8305
                                  This field depends on the
8306
8307
8308
                                  DynamicResourceAllocation feature gate.

                                  This field is immutable. It can only be set for containers.
8309
                                items:
8310
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
8311
8312
                                  properties:
                                    name:
8313
8314
8315
8316
                                      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.
8317
8318
                                      type: string
                                    request:
8319
8320
8321
8322
                                      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.
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
                                      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
8338
8339
8340
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
8341
8342
8343
8344
8345
8346
8347
8348
                                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
8349
8350
8351
8352
8353
                                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/
8354
8355
8356
                                type: object
                            type: object
                          restartPolicy:
8357
8358
8359
8360
8361
                            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
8362
8363
                            type: string
                          runtimeClassName:
8364
8365
8366
8367
8368
8369
                            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
8370
8371
                            type: string
                          schedulerName:
8372
8373
8374
                            description: |-
                              If specified, the pod will be dispatched by specified scheduler.
                              If not specified, the pod will be dispatched by default scheduler.
8375
8376
                            type: string
                          schedulingGates:
8377
8378
8379
8380
8381
8382
                            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.
8383
                            items:
8384
                              description: PodSchedulingGate is associated to a Pod to guard its scheduling.
8385
8386
                              properties:
                                name:
8387
8388
8389
                                  description: |-
                                    Name of the scheduling gate.
                                    Each scheduling gate must have a unique name field.
8390
8391
8392
8393
8394
8395
8396
8397
8398
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          securityContext:
8399
8400
8401
                            description: |-
                              SecurityContext holds pod-level security attributes and common container settings.
                              Optional: Defaults to empty.  See type description for default values of each field.
8402
8403
                            properties:
                              appArmorProfile:
8404
8405
8406
                                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.
8407
8408
                                properties:
                                  localhostProfile:
8409
8410
8411
8412
8413
                                    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".
8414
8415
                                    type: string
                                  type:
8416
8417
8418
8419
8420
8421
                                    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.
8422
8423
8424
8425
8426
                                    type: string
                                required:
                                  - type
                                type: object
                              fsGroup:
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
                                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.
8438
8439
8440
                                format: int64
                                type: integer
                              fsGroupChangePolicy:
8441
8442
8443
8444
8445
8446
8447
8448
                                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.
8449
8450
                                type: string
                              runAsGroup:
8451
8452
8453
8454
8455
8456
8457
                                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.
8458
8459
8460
                                format: int64
                                type: integer
                              runAsNonRoot:
8461
8462
8463
8464
8465
8466
8467
                                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.
8468
8469
                                type: boolean
                              runAsUser:
8470
8471
8472
8473
8474
8475
8476
                                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.
8477
8478
8479
                                format: int64
                                type: integer
                              seLinuxChangePolicy:
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
                                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.
8504
8505
                                type: string
                              seLinuxOptions:
8506
8507
8508
8509
8510
8511
8512
                                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.
8513
8514
                                properties:
                                  level:
8515
                                    description: Level is SELinux level label that applies to the container.
8516
8517
                                    type: string
                                  role:
8518
                                    description: Role is a SELinux role label that applies to the container.
8519
8520
                                    type: string
                                  type:
8521
                                    description: Type is a SELinux type label that applies to the container.
8522
8523
                                    type: string
                                  user:
8524
                                    description: User is a SELinux user label that applies to the container.
8525
8526
8527
                                    type: string
                                type: object
                              seccompProfile:
8528
8529
8530
                                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.
8531
8532
                                properties:
                                  localhostProfile:
8533
8534
8535
8536
8537
                                    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.
8538
8539
                                    type: string
                                  type:
8540
8541
8542
8543
8544
8545
8546
                                    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.
8547
8548
8549
8550
8551
                                    type: string
                                required:
                                  - type
                                type: object
                              supplementalGroups:
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
                                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.
8562
8563
8564
8565
8566
8567
                                items:
                                  format: int64
                                  type: integer
                                type: array
                                x-kubernetes-list-type: atomic
                              supplementalGroupsPolicy:
8568
8569
8570
8571
8572
8573
                                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.
8574
8575
                                type: string
                              sysctls:
8576
8577
8578
8579
                                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.
8580
                                items:
8581
                                  description: Sysctl defines a kernel parameter to be set
8582
8583
                                  properties:
                                    name:
8584
                                      description: Name of a property to set
8585
8586
                                      type: string
                                    value:
8587
                                      description: Value of a property to set
8588
8589
8590
8591
8592
8593
8594
8595
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              windowsOptions:
8596
8597
8598
8599
8600
                                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.
8601
8602
                                properties:
                                  gmsaCredentialSpec:
8603
8604
8605
8606
                                    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.
8607
8608
                                    type: string
                                  gmsaCredentialSpecName:
8609
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
8610
8611
                                    type: string
                                  hostProcess:
8612
8613
8614
8615
8616
                                    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.
8617
8618
                                    type: boolean
                                  runAsUserName:
8619
8620
8621
8622
8623
                                    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.
8624
8625
8626
8627
                                    type: string
                                type: object
                            type: object
                          serviceAccount:
8628
8629
8630
                            description: |-
                              DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.
                              Deprecated: Use serviceAccountName instead.
8631
8632
                            type: string
                          serviceAccountName:
8633
8634
8635
                            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/
8636
8637
                            type: string
                          setHostnameAsFQDN:
8638
8639
8640
8641
8642
8643
                            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.
8644
8645
                            type: boolean
                          shareProcessNamespace:
8646
8647
8648
8649
8650
8651
                            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.
8652
8653
                            type: boolean
                          subdomain:
8654
8655
8656
                            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.
8657
8658
                            type: string
                          terminationGracePeriodSeconds:
8659
8660
8661
8662
8663
8664
8665
8666
8667
                            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.
8668
8669
8670
                            format: int64
                            type: integer
                          tolerations:
8671
                            description: If specified, the pod's tolerations.
8672
                            items:
8673
8674
8675
                              description: |-
                                The pod this Toleration is attached to tolerates any taint that matches
                                the triple <key,value,effect> using the matching operator <operator>.
8676
8677
                              properties:
                                effect:
8678
8679
8680
                                  description: |-
                                    Effect indicates the taint effect to match. Empty means match all taint effects.
                                    When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
8681
8682
                                  type: string
                                key:
8683
8684
8685
                                  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.
8686
8687
                                  type: string
                                operator:
8688
8689
8690
8691
8692
                                  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.
8693
8694
                                  type: string
                                tolerationSeconds:
8695
8696
8697
8698
8699
                                  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.
8700
8701
8702
                                  format: int64
                                  type: integer
                                value:
8703
8704
8705
                                  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.
8706
8707
8708
8709
8710
                                  type: string
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          topologySpreadConstraints:
8711
8712
8713
8714
                            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.
8715
                            items:
8716
                              description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
8717
8718
                              properties:
                                labelSelector:
8719
8720
8721
8722
                                  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.
8723
8724
                                  properties:
                                    matchExpressions:
8725
                                      description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
8726
                                      items:
8727
8728
8729
                                        description: |-
                                          A label selector requirement is a selector that contains values, a key, and an operator that
                                          relates the key and values.
8730
8731
                                        properties:
                                          key:
8732
                                            description: key is the label key that the selector applies to.
8733
8734
                                            type: string
                                          operator:
8735
8736
8737
                                            description: |-
                                              operator represents a key's relationship to a set of values.
                                              Valid operators are In, NotIn, Exists and DoesNotExist.
8738
8739
                                            type: string
                                          values:
8740
8741
8742
8743
8744
                                            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.
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
                                            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
8758
8759
8760
8761
                                      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.
8762
8763
8764
8765
                                      type: object
                                  type: object
                                  x-kubernetes-map-type: atomic
                                matchLabelKeys:
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
                                  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).
8777
8778
8779
8780
8781
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                maxSkew:
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
                                  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.
8800
8801
8802
                                  format: int32
                                  type: integer
                                minDomains:
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
                                  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.
8823
8824
8825
                                  format: int32
                                  type: integer
                                nodeAffinityPolicy:
8826
8827
8828
8829
8830
8831
8832
                                  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.
8833
8834
                                  type: string
                                nodeTaintsPolicy:
8835
8836
8837
8838
8839
8840
8841
8842
                                  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.
8843
8844
                                  type: string
                                topologyKey:
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
                                  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.
8856
8857
                                  type: string
                                whenUnsatisfiable:
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
                                  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.
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
                                  type: string
                              required:
                                - maxSkew
                                - topologyKey
                                - whenUnsatisfiable
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - topologyKey
                              - whenUnsatisfiable
                            x-kubernetes-list-type: map
                          volumes:
8889
8890
8891
                            description: |-
                              List of volumes that can be mounted by containers belonging to the pod.
                              More info: https://kubernetes.io/docs/concepts/storage/volumes
8892
                            items:
8893
                              description: Volume represents a named volume in a pod that may be accessed by any container in the pod.
8894
8895
                              properties:
                                awsElasticBlockStore:
8896
8897
8898
8899
8900
8901
                                  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
8902
8903
                                  properties:
                                    fsType:
8904
8905
8906
8907
8908
                                      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
8909
8910
                                      type: string
                                    partition:
8911
8912
8913
8914
8915
                                      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).
8916
8917
8918
                                      format: int32
                                      type: integer
                                    readOnly:
8919
8920
8921
                                      description: |-
                                        readOnly value true will force the readOnly setting in VolumeMounts.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
8922
8923
                                      type: boolean
                                    volumeID:
8924
8925
8926
                                      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
8927
8928
8929
8930
8931
                                      type: string
                                  required:
                                    - volumeID
                                  type: object
                                azureDisk:
8932
8933
8934
8935
                                  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.
8936
8937
                                  properties:
                                    cachingMode:
8938
                                      description: 'cachingMode is the Host Caching mode: None, Read Only, Read Write.'
8939
8940
                                      type: string
                                    diskName:
8941
                                      description: diskName is the Name of the data disk in the blob storage
8942
8943
                                      type: string
                                    diskURI:
8944
                                      description: diskURI is the URI of data disk in the blob storage
8945
8946
8947
                                      type: string
                                    fsType:
                                      default: ext4
8948
8949
8950
8951
                                      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.
8952
8953
                                      type: string
                                    kind:
8954
                                      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'
8955
8956
8957
                                      type: string
                                    readOnly:
                                      default: false
8958
8959
8960
                                      description: |-
                                        readOnly Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
8961
8962
8963
8964
8965
8966
                                      type: boolean
                                  required:
                                    - diskName
                                    - diskURI
                                  type: object
                                azureFile:
8967
8968
8969
8970
                                  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.
8971
8972
                                  properties:
                                    readOnly:
8973
8974
8975
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
8976
8977
                                      type: boolean
                                    secretName:
8978
                                      description: secretName is the  name of secret that contains Azure Storage Account Name and Key
8979
8980
                                      type: string
                                    shareName:
8981
                                      description: shareName is the azure share Name
8982
8983
8984
8985
8986
8987
                                      type: string
                                  required:
                                    - secretName
                                    - shareName
                                  type: object
                                cephfs:
8988
8989
8990
                                  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.
8991
8992
                                  properties:
                                    monitors:
8993
8994
8995
                                      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
8996
8997
8998
8999
9000
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    path:
9001
                                      description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /'
9002
9003
                                      type: string
                                    readOnly:
9004
9005
9006
9007
                                      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
9008
9009
                                      type: boolean
                                    secretFile:
9010
9011
9012
                                      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
9013
9014
                                      type: string
                                    secretRef:
9015
9016
9017
                                      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
9018
9019
9020
                                      properties:
                                        name:
                                          default: ""
9021
9022
9023
9024
9025
9026
                                          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
9027
9028
9029
9030
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    user:
9031
9032
9033
                                      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
9034
9035
9036
9037
9038
                                      type: string
                                  required:
                                    - monitors
                                  type: object
                                cinder:
9039
9040
9041
9042
9043
                                  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
9044
9045
                                  properties:
                                    fsType:
9046
9047
9048
9049
9050
                                      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
9051
9052
                                      type: string
                                    readOnly:
9053
9054
9055
9056
                                      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
9057
9058
                                      type: boolean
                                    secretRef:
9059
9060
9061
                                      description: |-
                                        secretRef is optional: points to a secret object containing parameters used to connect
                                        to OpenStack.
9062
9063
9064
                                      properties:
                                        name:
                                          default: ""
9065
9066
9067
9068
9069
9070
                                          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
9071
9072
9073
9074
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    volumeID:
9075
9076
9077
                                      description: |-
                                        volumeID used to identify the volume in cinder.
                                        More info: https://examples.k8s.io/mysql-cinder-pd/README.md
9078
9079
9080
9081
9082
                                      type: string
                                  required:
                                    - volumeID
                                  type: object
                                configMap:
9083
                                  description: configMap represents a configMap that should populate this volume
9084
9085
                                  properties:
                                    defaultMode:
9086
9087
9088
9089
9090
9091
9092
9093
                                      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.
9094
9095
9096
                                      format: int32
                                      type: integer
                                    items:
9097
9098
9099
9100
9101
9102
9103
9104
                                      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 '..'.
9105
                                      items:
9106
                                        description: Maps a string key to a path within a volume.
9107
9108
                                        properties:
                                          key:
9109
                                            description: key is the key to project.
9110
9111
                                            type: string
                                          mode:
9112
9113
9114
9115
9116
9117
9118
                                            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.
9119
9120
9121
                                            format: int32
                                            type: integer
                                          path:
9122
9123
9124
9125
9126
                                            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 '..'.
9127
9128
9129
9130
9131
9132
9133
9134
9135
                                            type: string
                                        required:
                                          - key
                                          - path
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    name:
                                      default: ""
9136
9137
9138
9139
9140
9141
                                      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
9142
9143
                                      type: string
                                    optional:
9144
                                      description: optional specify whether the ConfigMap or its keys must be defined
9145
9146
9147
9148
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                                csi:
9149
                                  description: csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
9150
9151
                                  properties:
                                    driver:
9152
9153
9154
                                      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.
9155
9156
                                      type: string
                                    fsType:
9157
9158
9159
9160
                                      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.
9161
9162
                                      type: string
                                    nodePublishSecretRef:
9163
9164
9165
9166
9167
9168
                                      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.
9169
9170
9171
                                      properties:
                                        name:
                                          default: ""
9172
9173
9174
9175
9176
9177
                                          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
9178
9179
9180
9181
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    readOnly:
9182
9183
9184
                                      description: |-
                                        readOnly specifies a read-only configuration for the volume.
                                        Defaults to false (read/write).
9185
9186
9187
9188
                                      type: boolean
                                    volumeAttributes:
                                      additionalProperties:
                                        type: string
9189
9190
9191
                                      description: |-
                                        volumeAttributes stores driver-specific properties that are passed to the CSI
                                        driver. Consult your driver's documentation for supported values.
9192
9193
9194
9195
9196
                                      type: object
                                  required:
                                    - driver
                                  type: object
                                downwardAPI:
9197
                                  description: downwardAPI represents downward API about the pod that should populate this volume
9198
9199
                                  properties:
                                    defaultMode:
9200
9201
9202
9203
9204
9205
9206
9207
9208
                                      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.
9209
9210
9211
                                      format: int32
                                      type: integer
                                    items:
9212
                                      description: Items is a list of downward API volume file
9213
                                      items:
9214
                                        description: DownwardAPIVolumeFile represents information to create the file containing the pod field
9215
9216
                                        properties:
                                          fieldRef:
9217
                                            description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
9218
9219
                                            properties:
                                              apiVersion:
9220
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
9221
9222
                                                type: string
                                              fieldPath:
9223
                                                description: Path of the field to select in the specified API version.
9224
9225
9226
9227
9228
9229
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          mode:
9230
9231
9232
9233
9234
9235
9236
                                            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.
9237
9238
9239
                                            format: int32
                                            type: integer
                                          path:
9240
                                            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 ''..'''
9241
9242
                                            type: string
                                          resourceFieldRef:
9243
9244
9245
                                            description: |-
                                              Selects a resource of the container: only resources limits and requests
                                              (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
9246
9247
                                            properties:
                                              containerName:
9248
                                                description: 'Container name: required for volumes, optional for env vars'
9249
9250
9251
9252
9253
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
9254
                                                description: Specifies the output format of the exposed resources, defaults to "1"
9255
9256
9257
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
9258
                                                description: 'Required: resource to select'
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
                                                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:
9271
9272
9273
                                  description: |-
                                    emptyDir represents a temporary directory that shares a pod's lifetime.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
9274
9275
                                  properties:
                                    medium:
9276
9277
9278
9279
9280
                                      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
9281
9282
9283
9284
9285
                                      type: string
                                    sizeLimit:
                                      anyOf:
                                        - type: integer
                                        - type: string
9286
9287
9288
9289
9290
9291
9292
                                      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
9293
9294
9295
9296
                                      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:
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
                                  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.
9322
9323
                                  properties:
                                    volumeClaimTemplate:
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
                                      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.
9346
9347
                                      properties:
                                        metadata:
9348
9349
9350
9351
                                          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.
9352
9353
                                          type: object
                                        spec:
9354
9355
9356
9357
9358
                                          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.
9359
9360
                                          properties:
                                            accessModes:
9361
9362
9363
                                              description: |-
                                                accessModes contains the desired access modes the volume should have.
                                                More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
9364
9365
9366
9367
9368
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            dataSource:
9369
9370
9371
9372
9373
9374
9375
9376
9377
                                              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.
9378
9379
                                              properties:
                                                apiGroup:
9380
9381
9382
9383
                                                  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.
9384
9385
                                                  type: string
                                                kind:
9386
                                                  description: Kind is the type of resource being referenced
9387
9388
                                                  type: string
                                                name:
9389
                                                  description: Name is the name of resource being referenced
9390
9391
9392
9393
9394
9395
9396
                                                  type: string
                                              required:
                                                - kind
                                                - name
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            dataSourceRef:
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
                                              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.
9421
9422
                                              properties:
                                                apiGroup:
9423
9424
9425
9426
                                                  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.
9427
9428
                                                  type: string
                                                kind:
9429
                                                  description: Kind is the type of resource being referenced
9430
9431
                                                  type: string
                                                name:
9432
                                                  description: Name is the name of resource being referenced
9433
9434
                                                  type: string
                                                namespace:
9435
9436
9437
9438
                                                  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.
9439
9440
9441
9442
9443
9444
                                                  type: string
                                              required:
                                                - kind
                                                - name
                                              type: object
                                            resources:
9445
9446
9447
9448
9449
9450
                                              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
9451
9452
9453
9454
9455
9456
9457
9458
                                              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
9459
9460
9461
                                                  description: |-
                                                    Limits describes the maximum amount of compute resources allowed.
                                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
9462
9463
9464
9465
9466
9467
9468
9469
                                                  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
9470
9471
9472
9473
9474
                                                  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/
9475
9476
9477
                                                  type: object
                                              type: object
                                            selector:
9478
                                              description: selector is a label query over volumes to consider for binding.
9479
9480
                                              properties:
                                                matchExpressions:
9481
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
9482
                                                  items:
9483
9484
9485
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
9486
9487
                                                    properties:
                                                      key:
9488
                                                        description: key is the label key that the selector applies to.
9489
9490
                                                        type: string
                                                      operator:
9491
9492
9493
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
9494
9495
                                                        type: string
                                                      values:
9496
9497
9498
9499
9500
                                                        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.
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
                                                        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
9514
9515
9516
9517
                                                  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.
9518
9519
9520
9521
                                                  type: object
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            storageClassName:
9522
9523
9524
                                              description: |-
                                                storageClassName is the name of the StorageClass required by the claim.
                                                More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
9525
9526
                                              type: string
                                            volumeAttributesClassName:
9527
9528
9529
9530
                                              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,
9531
9532
9533
                                                it can be changed after the claim is created. An empty string or nil value indicates that no
                                                VolumeAttributesClass will be applied to the claim. If the claim enters an Infeasible error state,
                                                this field can be reset to its previous value (including nil) to cancel the modification.
9534
9535
9536
9537
                                                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/
9538
9539
                                              type: string
                                            volumeMode:
9540
9541
9542
                                              description: |-
                                                volumeMode defines what type of volume is required by the claim.
                                                Value of Filesystem is implied when not included in claim spec.
9543
9544
                                              type: string
                                            volumeName:
9545
                                              description: volumeName is the binding reference to the PersistentVolume backing this claim.
9546
9547
9548
9549
9550
9551
9552
                                              type: string
                                          type: object
                                      required:
                                        - spec
                                      type: object
                                  type: object
                                fc:
9553
                                  description: fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
9554
9555
                                  properties:
                                    fsType:
9556
9557
9558
9559
                                      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.
9560
9561
                                      type: string
                                    lun:
9562
                                      description: 'lun is Optional: FC target lun number'
9563
9564
9565
                                      format: int32
                                      type: integer
                                    readOnly:
9566
9567
9568
                                      description: |-
                                        readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9569
9570
                                      type: boolean
                                    targetWWNs:
9571
                                      description: 'targetWWNs is Optional: FC target worldwide names (WWNs)'
9572
9573
9574
9575
9576
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    wwids:
9577
9578
9579
                                      description: |-
                                        wwids Optional: FC volume world wide identifiers (wwids)
                                        Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
9580
9581
9582
9583
9584
9585
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                flexVolume:
9586
9587
9588
9589
                                  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.
9590
9591
                                  properties:
                                    driver:
9592
                                      description: driver is the name of the driver to use for this volume.
9593
9594
                                      type: string
                                    fsType:
9595
9596
9597
9598
                                      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.
9599
9600
9601
9602
                                      type: string
                                    options:
                                      additionalProperties:
                                        type: string
9603
                                      description: 'options is Optional: this field holds extra command options if any.'
9604
9605
                                      type: object
                                    readOnly:
9606
9607
9608
                                      description: |-
                                        readOnly is Optional: defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9609
9610
                                      type: boolean
                                    secretRef:
9611
9612
9613
9614
9615
9616
                                      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.
9617
9618
9619
                                      properties:
                                        name:
                                          default: ""
9620
9621
9622
9623
9624
9625
                                          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
9626
9627
9628
9629
9630
9631
9632
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                  required:
                                    - driver
                                  type: object
                                flocker:
9633
9634
9635
                                  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.
9636
9637
                                  properties:
                                    datasetName:
9638
9639
9640
                                      description: |-
                                        datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
                                        should be considered as deprecated
9641
9642
                                      type: string
                                    datasetUUID:
9643
                                      description: datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
9644
9645
9646
                                      type: string
                                  type: object
                                gcePersistentDisk:
9647
9648
9649
9650
9651
9652
                                  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
9653
9654
                                  properties:
                                    fsType:
9655
9656
9657
9658
9659
                                      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
9660
9661
                                      type: string
                                    partition:
9662
9663
9664
9665
9666
9667
                                      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
9668
9669
9670
                                      format: int32
                                      type: integer
                                    pdName:
9671
9672
9673
                                      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
9674
9675
                                      type: string
                                    readOnly:
9676
9677
9678
9679
                                      description: |-
                                        readOnly here will force the ReadOnly setting in VolumeMounts.
                                        Defaults to false.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
9680
9681
9682
9683
9684
                                      type: boolean
                                  required:
                                    - pdName
                                  type: object
                                gitRepo:
9685
9686
9687
9688
9689
                                  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.
9690
9691
                                  properties:
                                    directory:
9692
9693
9694
9695
9696
                                      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.
9697
9698
                                      type: string
                                    repository:
9699
                                      description: repository is the URL
9700
9701
                                      type: string
                                    revision:
9702
                                      description: revision is the commit hash for the specified revision.
9703
9704
9705
9706
9707
                                      type: string
                                  required:
                                    - repository
                                  type: object
                                glusterfs:
9708
9709
9710
                                  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.
9711
9712
                                  properties:
                                    endpoints:
9713
                                      description: endpoints is the endpoint name that details Glusterfs topology.
9714
9715
                                      type: string
                                    path:
9716
9717
9718
                                      description: |-
                                        path is the Glusterfs volume path.
                                        More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
9719
9720
                                      type: string
                                    readOnly:
9721
9722
9723
9724
                                      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
9725
9726
9727
9728
9729
9730
                                      type: boolean
                                  required:
                                    - endpoints
                                    - path
                                  type: object
                                hostPath:
9731
9732
9733
9734
9735
9736
                                  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
9737
9738
                                  properties:
                                    path:
9739
9740
9741
9742
                                      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
9743
9744
                                      type: string
                                    type:
9745
9746
9747
9748
                                      description: |-
                                        type for HostPath Volume
                                        Defaults to ""
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
9749
9750
9751
9752
9753
                                      type: string
                                  required:
                                    - path
                                  type: object
                                image:
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
                                  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.
9769
9770
                                  properties:
                                    pullPolicy:
9771
9772
9773
9774
9775
9776
                                      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.
9777
9778
                                      type: string
                                    reference:
9779
9780
9781
9782
9783
9784
9785
                                      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.
9786
9787
9788
                                      type: string
                                  type: object
                                iscsi:
9789
9790
9791
                                  description: |-
                                    iscsi represents an ISCSI Disk resource that is attached to a
                                    kubelet's host machine and then exposed to the pod.
9792
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes/#iscsi
9793
9794
                                  properties:
                                    chapAuthDiscovery:
9795
                                      description: chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
9796
9797
                                      type: boolean
                                    chapAuthSession:
9798
                                      description: chapAuthSession defines whether support iSCSI Session CHAP authentication
9799
9800
                                      type: boolean
                                    fsType:
9801
9802
9803
9804
9805
                                      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
9806
9807
                                      type: string
                                    initiatorName:
9808
9809
9810
9811
                                      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.
9812
9813
                                      type: string
                                    iqn:
9814
                                      description: iqn is the target iSCSI Qualified Name.
9815
9816
9817
                                      type: string
                                    iscsiInterface:
                                      default: default
9818
9819
9820
                                      description: |-
                                        iscsiInterface is the interface Name that uses an iSCSI transport.
                                        Defaults to 'default' (tcp).
9821
9822
                                      type: string
                                    lun:
9823
                                      description: lun represents iSCSI Target Lun number.
9824
9825
9826
                                      format: int32
                                      type: integer
                                    portals:
9827
9828
9829
                                      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).
9830
9831
9832
9833
9834
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    readOnly:
9835
9836
9837
                                      description: |-
                                        readOnly here will force the ReadOnly setting in VolumeMounts.
                                        Defaults to false.
9838
9839
                                      type: boolean
                                    secretRef:
9840
                                      description: secretRef is the CHAP Secret for iSCSI target and initiator authentication
9841
9842
9843
                                      properties:
                                        name:
                                          default: ""
9844
9845
9846
9847
9848
9849
                                          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
9850
9851
9852
9853
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    targetPortal:
9854
9855
9856
                                      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).
9857
9858
9859
9860
9861
9862
9863
                                      type: string
                                  required:
                                    - iqn
                                    - lun
                                    - targetPortal
                                  type: object
                                name:
9864
9865
9866
9867
                                  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
9868
9869
                                  type: string
                                nfs:
9870
9871
9872
                                  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
9873
                                  properties:
9874
                                    path:
9875
9876
9877
                                      description: |-
                                        path that is exported by the NFS server.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9878
                                      type: string
9879
                                    readOnly:
9880
9881
9882
9883
                                      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
9884
9885
                                      type: boolean
                                    server:
9886
9887
9888
                                      description: |-
                                        server is the hostname or IP address of the NFS server.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9889
9890
                                      type: string
                                  required:
9891
9892
                                    - path
                                    - server
9893
                                  type: object
9894
                                persistentVolumeClaim:
9895
9896
9897
9898
                                  description: |-
                                    persistentVolumeClaimVolumeSource represents a reference to a
                                    PersistentVolumeClaim in the same namespace.
                                    More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
9899
                                  properties:
9900
                                    claimName:
9901
9902
9903
                                      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
9904
                                      type: string
9905
                                    readOnly:
9906
9907
9908
                                      description: |-
                                        readOnly Will force the ReadOnly setting in VolumeMounts.
                                        Default false.
9909
9910
9911
9912
9913
                                      type: boolean
                                  required:
                                    - claimName
                                  type: object
                                photonPersistentDisk:
9914
9915
9916
                                  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.
9917
9918
                                  properties:
                                    fsType:
9919
9920
9921
9922
                                      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.
9923
                                      type: string
9924
                                    pdID:
9925
                                      description: pdID is the ID that identifies Photon Controller persistent disk
9926
9927
9928
9929
9930
                                      type: string
                                  required:
                                    - pdID
                                  type: object
                                portworxVolume:
9931
9932
9933
9934
9935
                                  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.
9936
9937
                                  properties:
                                    fsType:
9938
9939
9940
9941
                                      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.
9942
                                      type: string
9943
                                    readOnly:
9944
9945
9946
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9947
                                      type: boolean
9948
                                    volumeID:
9949
                                      description: volumeID uniquely identifies a Portworx volume
9950
                                      type: string
9951
9952
9953
9954
                                  required:
                                    - volumeID
                                  type: object
                                projected:
9955
                                  description: projected items for all in one resources secrets, configmaps, and downward API
9956
9957
                                  properties:
                                    defaultMode:
9958
9959
9960
9961
9962
9963
9964
                                      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.
9965
9966
9967
                                      format: int32
                                      type: integer
                                    sources:
9968
9969
9970
                                      description: |-
                                        sources is the list of volume projections. Each entry in this list
                                        handles one source.
9971
                                      items:
9972
9973
9974
                                        description: |-
                                          Projection that may be projected along with other supported volume types.
                                          Exactly one of these fields must be set.
9975
9976
                                        properties:
                                          clusterTrustBundle:
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
                                            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.
9991
9992
                                            properties:
                                              labelSelector:
9993
9994
9995
9996
9997
                                                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".
9998
9999
                                                properties:
                                                  matchExpressions:
10000
                                                    description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
10001
                                                    items:
10002
10003
10004
                                                      description: |-
                                                        A label selector requirement is a selector that contains values, a key, and an operator that
                                                        relates the key and values.
10005
10006
                                                      properties:
                                                        key:
10007
                                                          description: key is the label key that the selector applies to.
10008
10009
                                                          type: string
                                                        operator:
10010
10011
10012
                                                          description: |-
                                                            operator represents a key's relationship to a set of values.
                                                            Valid operators are In, NotIn, Exists and DoesNotExist.
10013
10014
                                                          type: string
                                                        values:
10015
10016
10017
10018
10019
                                                          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.
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
                                                          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
10033
10034
10035
10036
                                                    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.
10037
10038
10039
10040
                                                    type: object
                                                type: object
                                                x-kubernetes-map-type: atomic
                                              name:
10041
10042
10043
                                                description: |-
                                                  Select a single ClusterTrustBundle by object name.  Mutually-exclusive
                                                  with signerName and labelSelector.
10044
10045
                                                type: string
                                              optional:
10046
10047
10048
10049
10050
10051
                                                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.
10052
10053
                                                type: boolean
                                              path:
10054
                                                description: Relative path from the volume root to write the bundle.
10055
10056
                                                type: string
                                              signerName:
10057
10058
10059
10060
                                                description: |-
                                                  Select all ClusterTrustBundles that match this signer name.
                                                  Mutually-exclusive with name.  The contents of all selected
                                                  ClusterTrustBundles will be unified and deduplicated.
10061
10062
10063
10064
10065
                                                type: string
                                            required:
                                              - path
                                            type: object
                                          configMap:
10066
                                            description: configMap information about the configMap data to project
10067
10068
                                            properties:
                                              items:
10069
10070
10071
10072
10073
10074
10075
10076
                                                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 '..'.
10077
                                                items:
10078
                                                  description: Maps a string key to a path within a volume.
10079
10080
                                                  properties:
                                                    key:
10081
                                                      description: key is the key to project.
10082
10083
                                                      type: string
                                                    mode:
10084
10085
10086
10087
10088
10089
10090
                                                      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.
10091
10092
10093
                                                      format: int32
                                                      type: integer
                                                    path:
10094
10095
10096
10097
10098
                                                      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 '..'.
10099
10100
10101
10102
10103
10104
10105
10106
10107
                                                      type: string
                                                  required:
                                                    - key
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                              name:
                                                default: ""
10108
10109
10110
10111
10112
10113
                                                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
10114
10115
                                                type: string
                                              optional:
10116
                                                description: optional specify whether the ConfigMap or its keys must be defined
10117
10118
10119
10120
                                                type: boolean
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          downwardAPI:
10121
                                            description: downwardAPI information about the downwardAPI data to project
10122
10123
                                            properties:
                                              items:
10124
                                                description: Items is a list of DownwardAPIVolume file
10125
                                                items:
10126
                                                  description: DownwardAPIVolumeFile represents information to create the file containing the pod field
10127
10128
                                                  properties:
                                                    fieldRef:
10129
                                                      description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
10130
10131
                                                      properties:
                                                        apiVersion:
10132
                                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
10133
10134
                                                          type: string
                                                        fieldPath:
10135
                                                          description: Path of the field to select in the specified API version.
10136
10137
10138
10139
10140
10141
                                                          type: string
                                                      required:
                                                        - fieldPath
                                                      type: object
                                                      x-kubernetes-map-type: atomic
                                                    mode:
10142
10143
10144
10145
10146
10147
10148
                                                      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.
10149
10150
10151
                                                      format: int32
                                                      type: integer
                                                    path:
10152
                                                      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 ''..'''
10153
10154
                                                      type: string
                                                    resourceFieldRef:
10155
10156
10157
                                                      description: |-
                                                        Selects a resource of the container: only resources limits and requests
                                                        (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
10158
10159
                                                      properties:
                                                        containerName:
10160
                                                          description: 'Container name: required for volumes, optional for env vars'
10161
10162
10163
10164
10165
                                                          type: string
                                                        divisor:
                                                          anyOf:
                                                            - type: integer
                                                            - type: string
10166
                                                          description: Specifies the output format of the exposed resources, defaults to "1"
10167
10168
10169
                                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                          x-kubernetes-int-or-string: true
                                                        resource:
10170
                                                          description: 'Required: resource to select'
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
                                                          type: string
                                                      required:
                                                        - resource
                                                      type: object
                                                      x-kubernetes-map-type: atomic
                                                  required:
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                            type: object
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
                                          podCertificate:
                                            description: |-
                                              Projects an auto-rotating credential bundle (private key and certificate
                                              chain) that the pod can use either as a TLS client or server.

                                              Kubelet generates a private key and uses it to send a
                                              PodCertificateRequest to the named signer.  Once the signer approves the
                                              request and issues a certificate chain, Kubelet writes the key and
                                              certificate chain to the pod filesystem.  The pod does not start until
                                              certificates have been issued for each podCertificate projected volume
                                              source in its spec.

                                              Kubelet will begin trying to rotate the certificate at the time indicated
                                              by the signer using the PodCertificateRequest.Status.BeginRefreshAt
                                              timestamp.

                                              Kubelet can write a single file, indicated by the credentialBundlePath
                                              field, or separate files, indicated by the keyPath and
                                              certificateChainPath fields.

                                              The credential bundle is a single file in PEM format.  The first PEM
                                              entry is the private key (in PKCS#8 format), and the remaining PEM
                                              entries are the certificate chain issued by the signer (typically,
                                              signers will return their certificate chain in leaf-to-root order).

                                              Prefer using the credential bundle format, since your application code
                                              can read it atomically.  If you use keyPath and certificateChainPath,
                                              your application must make two separate file reads. If these coincide
                                              with a certificate rotation, it is possible that the private key and leaf
                                              certificate you read may not correspond to each other.  Your application
                                              will need to check for this condition, and re-read until they are
                                              consistent.

                                              The named signer controls chooses the format of the certificate it
                                              issues; consult the signer implementation's documentation to learn how to
                                              use the certificates it issues.
                                            properties:
                                              certificateChainPath:
                                                description: |-
                                                  Write the certificate chain at this path in the projected volume.

                                                  Most applications should use credentialBundlePath.  When using keyPath
                                                  and certificateChainPath, your application needs to check that the key
                                                  and leaf certificate are consistent, because it is possible to read the
                                                  files mid-rotation.
                                                type: string
                                              credentialBundlePath:
                                                description: |-
                                                  Write the credential bundle at this path in the projected volume.

                                                  The credential bundle is a single file that contains multiple PEM blocks.
                                                  The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private
                                                  key.

                                                  The remaining blocks are CERTIFICATE blocks, containing the issued
                                                  certificate chain from the signer (leaf and any intermediates).

                                                  Using credentialBundlePath lets your Pod's application code make a single
                                                  atomic read that retrieves a consistent key and certificate chain.  If you
                                                  project them to separate files, your application code will need to
                                                  additionally check that the leaf certificate was issued to the key.
                                                type: string
                                              keyPath:
                                                description: |-
                                                  Write the key at this path in the projected volume.

                                                  Most applications should use credentialBundlePath.  When using keyPath
                                                  and certificateChainPath, your application needs to check that the key
                                                  and leaf certificate are consistent, because it is possible to read the
                                                  files mid-rotation.
                                                type: string
                                              keyType:
                                                description: |-
                                                  The type of keypair Kubelet will generate for the pod.

                                                  Valid values are "RSA3072", "RSA4096", "ECDSAP256", "ECDSAP384",
                                                  "ECDSAP521", and "ED25519".
                                                type: string
                                              maxExpirationSeconds:
                                                description: |-
                                                  maxExpirationSeconds is the maximum lifetime permitted for the
                                                  certificate.

                                                  Kubelet copies this value verbatim into the PodCertificateRequests it
                                                  generates for this projection.

                                                  If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver
                                                  will reject values shorter than 3600 (1 hour).  The maximum allowable
                                                  value is 7862400 (91 days).

                                                  The signer implementation is then free to issue a certificate with any
                                                  lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600
                                                  seconds (1 hour).  This constraint is enforced by kube-apiserver.
                                                  `kubernetes.io` signers will never issue certificates with a lifetime
                                                  longer than 24 hours.
                                                format: int32
                                                type: integer
                                              signerName:
                                                description: Kubelet's generated CSRs will be addressed to this signer.
                                                type: string
                                            required:
                                              - keyType
                                              - signerName
                                            type: object
10286
                                          secret:
10287
                                            description: secret information about the secret data to project
10288
10289
                                            properties:
                                              items:
10290
10291
10292
10293
10294
10295
10296
10297
                                                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 '..'.
10298
                                                items:
10299
                                                  description: Maps a string key to a path within a volume.
10300
10301
                                                  properties:
                                                    key:
10302
                                                      description: key is the key to project.
10303
10304
                                                      type: string
                                                    mode:
10305
10306
10307
10308
10309
10310
10311
                                                      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.
10312
10313
10314
                                                      format: int32
                                                      type: integer
                                                    path:
10315
10316
10317
10318
10319
                                                      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 '..'.
10320
10321
10322
10323
10324
10325
10326
10327
10328
                                                      type: string
                                                  required:
                                                    - key
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                              name:
                                                default: ""
10329
10330
10331
10332
10333
10334
                                                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
10335
10336
                                                type: string
                                              optional:
10337
                                                description: optional field specify whether the Secret or its key must be defined
10338
10339
10340
10341
                                                type: boolean
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          serviceAccountToken:
10342
                                            description: serviceAccountToken is information about the serviceAccountToken data to project
10343
10344
                                            properties:
                                              audience:
10345
10346
10347
10348
10349
                                                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.
10350
10351
                                                type: string
                                              expirationSeconds:
10352
10353
10354
10355
10356
10357
10358
                                                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.
10359
10360
10361
                                                format: int64
                                                type: integer
                                              path:
10362
10363
10364
                                                description: |-
                                                  path is the path relative to the mount point of the file to project the
                                                  token into.
10365
10366
10367
10368
10369
10370
10371
10372
10373
                                                type: string
                                            required:
                                              - path
                                            type: object
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                quobyte:
10374
10375
10376
                                  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.
10377
10378
                                  properties:
                                    group:
10379
10380
10381
                                      description: |-
                                        group to map volume access to
                                        Default is no group
10382
                                      type: string
10383
                                    readOnly:
10384
10385
10386
                                      description: |-
                                        readOnly here will force the Quobyte volume to be mounted with read-only permissions.
                                        Defaults to false.
10387
10388
                                      type: boolean
                                    registry:
10389
10390
10391
10392
                                      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
10393
10394
                                      type: string
                                    tenant:
10395
10396
10397
                                      description: |-
                                        tenant owning the given Quobyte volume in the Backend
                                        Used with dynamically provisioned Quobyte volumes, value is set by the plugin
10398
10399
                                      type: string
                                    user:
10400
10401
10402
                                      description: |-
                                        user to map volume access to
                                        Defaults to serivceaccount user
10403
10404
                                      type: string
                                    volume:
10405
                                      description: volume is a string that references an already created Quobyte volume by name.
10406
10407
                                      type: string
                                  required:
10408
10409
                                    - registry
                                    - volume
10410
                                  type: object
10411
                                rbd:
10412
10413
10414
                                  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.
10415
                                  properties:
10416
                                    fsType:
10417
10418
10419
10420
10421
                                      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
10422
10423
                                      type: string
                                    image:
10424
10425
10426
                                      description: |-
                                        image is the rados image name.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10427
10428
10429
                                      type: string
                                    keyring:
                                      default: /etc/ceph/keyring
10430
10431
10432
10433
                                      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
10434
10435
                                      type: string
                                    monitors:
10436
10437
10438
                                      description: |-
                                        monitors is a collection of Ceph monitors.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10439
10440
10441
10442
10443
10444
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    pool:
                                      default: rbd
10445
10446
10447
10448
                                      description: |-
                                        pool is the rados pool name.
                                        Default is rbd.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10449
10450
                                      type: string
                                    readOnly:
10451
10452
10453
10454
                                      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
10455
10456
                                      type: boolean
                                    secretRef:
10457
10458
10459
10460
10461
                                      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
10462
10463
10464
                                      properties:
                                        name:
                                          default: ""
10465
10466
10467
10468
10469
10470
                                          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
10471
10472
10473
10474
10475
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    user:
                                      default: admin
10476
10477
10478
10479
                                      description: |-
                                        user is the rados user name.
                                        Default is admin.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10480
10481
10482
10483
10484
10485
                                      type: string
                                  required:
                                    - image
                                    - monitors
                                  type: object
                                scaleIO:
10486
10487
10488
                                  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.
10489
10490
10491
                                  properties:
                                    fsType:
                                      default: xfs
10492
10493
10494
10495
10496
                                      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".
10497
10498
                                      type: string
                                    gateway:
10499
                                      description: gateway is the host address of the ScaleIO API Gateway.
10500
10501
                                      type: string
                                    protectionDomain:
10502
                                      description: protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
10503
10504
                                      type: string
                                    readOnly:
10505
10506
10507
                                      description: |-
                                        readOnly Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
10508
10509
                                      type: boolean
                                    secretRef:
10510
10511
10512
                                      description: |-
                                        secretRef references to the secret for ScaleIO user and other
                                        sensitive information. If this is not provided, Login operation will fail.
10513
10514
10515
                                      properties:
                                        name:
                                          default: ""
10516
10517
10518
10519
10520
10521
                                          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
10522
10523
10524
10525
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    sslEnabled:
10526
                                      description: sslEnabled Flag enable/disable SSL communication with Gateway, default false
10527
10528
10529
                                      type: boolean
                                    storageMode:
                                      default: ThinProvisioned
10530
10531
10532
                                      description: |-
                                        storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
                                        Default is ThinProvisioned.
10533
10534
                                      type: string
                                    storagePool:
10535
                                      description: storagePool is the ScaleIO Storage Pool associated with the protection domain.
10536
10537
                                      type: string
                                    system:
10538
                                      description: system is the name of the storage system as configured in ScaleIO.
10539
10540
                                      type: string
                                    volumeName:
10541
10542
10543
                                      description: |-
                                        volumeName is the name of a volume already created in the ScaleIO system
                                        that is associated with this volume source.
10544
10545
10546
10547
10548
10549
10550
                                      type: string
                                  required:
                                    - gateway
                                    - secretRef
                                    - system
                                  type: object
                                secret:
10551
10552
10553
                                  description: |-
                                    secret represents a secret that should populate this volume.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
10554
10555
                                  properties:
                                    defaultMode:
10556
10557
10558
10559
10560
10561
10562
10563
                                      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.
10564
10565
10566
                                      format: int32
                                      type: integer
                                    items:
10567
10568
10569
10570
10571
10572
10573
10574
                                      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 '..'.
10575
                                      items:
10576
                                        description: Maps a string key to a path within a volume.
10577
                                        properties:
10578
                                          key:
10579
                                            description: key is the key to project.
10580
                                            type: string
10581
                                          mode:
10582
10583
10584
10585
10586
10587
10588
                                            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.
10589
10590
10591
                                            format: int32
                                            type: integer
                                          path:
10592
10593
10594
10595
10596
                                            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 '..'.
10597
10598
                                            type: string
                                        required:
10599
                                          - key
10600
                                          - path
10601
10602
10603
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
10604
                                    optional:
10605
                                      description: optional field specify whether the Secret or its keys must be defined
10606
10607
                                      type: boolean
                                    secretName:
10608
10609
10610
                                      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
10611
10612
10613
                                      type: string
                                  type: object
                                storageos:
10614
10615
10616
                                  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.
10617
10618
                                  properties:
                                    fsType:
10619
10620
10621
10622
                                      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.
10623
10624
                                      type: string
                                    readOnly:
10625
10626
10627
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
10628
10629
                                      type: boolean
                                    secretRef:
10630
10631
10632
                                      description: |-
                                        secretRef specifies the secret to use for obtaining the StorageOS API
                                        credentials.  If not specified, default values will be attempted.
10633
10634
10635
                                      properties:
                                        name:
                                          default: ""
10636
10637
10638
10639
10640
10641
                                          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
10642
                                          type: string
10643
                                      type: object
10644
10645
                                      x-kubernetes-map-type: atomic
                                    volumeName:
10646
10647
10648
                                      description: |-
                                        volumeName is the human-readable name of the StorageOS volume.  Volume
                                        names are only unique within a namespace.
10649
10650
                                      type: string
                                    volumeNamespace:
10651
10652
10653
10654
10655
10656
10657
                                      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.
10658
10659
10660
                                      type: string
                                  type: object
                                vsphereVolume:
10661
10662
10663
10664
                                  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.
10665
10666
                                  properties:
                                    fsType:
10667
10668
10669
10670
                                      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.
10671
10672
                                      type: string
                                    storagePolicyID:
10673
                                      description: storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
10674
10675
                                      type: string
                                    storagePolicyName:
10676
                                      description: storagePolicyName is the storage Policy Based Management (SPBM) profile name.
10677
10678
                                      type: string
                                    volumePath:
10679
                                      description: volumePath is the path that identifies vSphere volume vmdk
10680
10681
10682
                                      type: string
                                  required:
                                    - volumePath
10683
                                  type: object
10684
                              required:
10685
                                - name
10686
                              type: object
10687
                            type: array
10688
10689
10690
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
10691
                        required: []
10692
                        type: object
10693
10694
10695
                      globalDynamoNamespace:
                        description: GlobalDynamoNamespace indicates that the Component will be placed in the global Dynamo namespace
                        type: boolean
10696
                      ingress:
10697
                        description: Ingress config to expose the component outside the cluster (or through a service mesh).
10698
10699
10700
                        properties:
                          annotations:
                            additionalProperties:
10701
                              type: string
10702
                            description: Annotations to set on the generated Ingress/VirtualService resources.
10703
10704
                            type: object
                          enabled:
10705
                            description: Enabled exposes the component through an ingress or virtual service when true.
10706
10707
                            type: boolean
                          host:
10708
                            description: Host is the base host name to route external traffic to this component.
10709
10710
                            type: string
                          hostPrefix:
10711
                            description: HostPrefix is an optional prefix added before the host.
10712
10713
                            type: string
                          hostSuffix:
10714
                            description: HostSuffix is an optional suffix appended after the host.
10715
10716
                            type: string
                          ingressControllerClassName:
10717
                            description: IngressControllerClassName selects the ingress controller class (e.g., "nginx").
10718
10719
10720
                            type: string
                          labels:
                            additionalProperties:
10721
                              type: string
10722
                            description: Labels to set on the generated Ingress/VirtualService resources.
10723
10724
                            type: object
                          tls:
10725
                            description: TLS holds the TLS configuration used by the Ingress/VirtualService.
10726
10727
                            properties:
                              secretName:
10728
                                description: SecretName is the name of a Kubernetes Secret containing the TLS certificate and key.
10729
10730
10731
                                type: string
                            type: object
                          useVirtualService:
10732
                            description: UseVirtualService indicates whether to configure a service-mesh VirtualService instead of a standard Ingress.
10733
10734
                            type: boolean
                          virtualServiceGateway:
10735
                            description: VirtualServiceGateway optionally specifies the gateway name to attach the VirtualService to.
10736
                            type: string
10737
10738
10739
                        type: object
                      labels:
                        additionalProperties:
10740
                          type: string
10741
                        description: Labels to add to generated Kubernetes resources for this component.
10742
10743
                        type: object
                      livenessProbe:
10744
                        description: LivenessProbe to detect and restart unhealthy containers.
10745
10746
                        properties:
                          exec:
10747
                            description: Exec specifies a command to execute in the container.
10748
10749
                            properties:
                              command:
10750
10751
10752
10753
10754
10755
                                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.
10756
10757
10758
10759
10760
10761
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          failureThreshold:
10762
10763
10764
                            description: |-
                              Minimum consecutive failures for the probe to be considered failed after having succeeded.
                              Defaults to 3. Minimum value is 1.
10765
10766
10767
                            format: int32
                            type: integer
                          grpc:
10768
                            description: GRPC specifies a GRPC HealthCheckRequest.
10769
                            properties:
10770
                              port:
10771
                                description: Port number of the gRPC service. Number must be in the range 1 to 65535.
10772
10773
10774
10775
                                format: int32
                                type: integer
                              service:
                                default: ""
10776
10777
10778
10779
10780
                                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.
10781
                                type: string
10782
10783
10784
10785
                            required:
                              - port
                            type: object
                          httpGet:
10786
                            description: HTTPGet specifies an HTTP GET request to perform.
10787
10788
                            properties:
                              host:
10789
10790
10791
                                description: |-
                                  Host name to connect to, defaults to the pod IP. You probably want to set
                                  "Host" in httpHeaders instead.
10792
                                type: string
10793
                              httpHeaders:
10794
                                description: Custom headers to set in the request. HTTP allows repeated headers.
10795
                                items:
10796
                                  description: HTTPHeader describes a custom header to be used in HTTP probes
10797
10798
                                  properties:
                                    name:
10799
10800
10801
                                      description: |-
                                        The header field name.
                                        This will be canonicalized upon output, so case-variant names will be understood as the same header.
10802
10803
                                      type: string
                                    value:
10804
                                      description: The header field value
10805
10806
10807
10808
10809
10810
10811
10812
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
10813
                                description: Path to access on the HTTP server.
10814
                                type: string
10815
10816
10817
10818
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10819
10820
10821
10822
                                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.
10823
10824
                                x-kubernetes-int-or-string: true
                              scheme:
10825
10826
10827
                                description: |-
                                  Scheme to use for connecting to the host.
                                  Defaults to HTTP.
10828
                                type: string
10829
10830
                            required:
                              - port
10831
                            type: object
10832
                          initialDelaySeconds:
10833
10834
10835
                            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
10836
10837
10838
                            format: int32
                            type: integer
                          periodSeconds:
10839
10840
10841
                            description: |-
                              How often (in seconds) to perform the probe.
                              Default to 10 seconds. Minimum value is 1.
10842
10843
10844
                            format: int32
                            type: integer
                          successThreshold:
10845
10846
10847
                            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.
10848
10849
10850
                            format: int32
                            type: integer
                          tcpSocket:
10851
                            description: TCPSocket specifies a connection to a TCP port.
10852
                            properties:
10853
                              host:
10854
                                description: 'Optional: Host name to connect to, defaults to the pod IP.'
10855
10856
10857
10858
10859
                                type: string
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10860
10861
10862
10863
                                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.
10864
10865
10866
10867
10868
                                x-kubernetes-int-or-string: true
                            required:
                              - port
                            type: object
                          terminationGracePeriodSeconds:
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
                            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.
10880
10881
10882
                            format: int64
                            type: integer
                          timeoutSeconds:
10883
10884
10885
10886
                            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
10887
10888
10889
                            format: int32
                            type: integer
                        type: object
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
                      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
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
                      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
10919
                      readinessProbe:
10920
                        description: ReadinessProbe to signal when the container is ready to receive traffic.
10921
10922
                        properties:
                          exec:
10923
                            description: Exec specifies a command to execute in the container.
10924
10925
                            properties:
                              command:
10926
10927
10928
10929
10930
10931
                                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.
10932
10933
10934
10935
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
10936
10937
                            type: object
                          failureThreshold:
10938
10939
10940
                            description: |-
                              Minimum consecutive failures for the probe to be considered failed after having succeeded.
                              Defaults to 3. Minimum value is 1.
10941
10942
10943
                            format: int32
                            type: integer
                          grpc:
10944
                            description: GRPC specifies a GRPC HealthCheckRequest.
10945
10946
                            properties:
                              port:
10947
                                description: Port number of the gRPC service. Number must be in the range 1 to 65535.
10948
10949
                                format: int32
                                type: integer
10950
10951
                              service:
                                default: ""
10952
10953
10954
10955
10956
                                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.
10957
                                type: string
10958
10959
10960
10961
                            required:
                              - port
                            type: object
                          httpGet:
10962
                            description: HTTPGet specifies an HTTP GET request to perform.
10963
10964
                            properties:
                              host:
10965
10966
10967
                                description: |-
                                  Host name to connect to, defaults to the pod IP. You probably want to set
                                  "Host" in httpHeaders instead.
10968
                                type: string
10969
                              httpHeaders:
10970
                                description: Custom headers to set in the request. HTTP allows repeated headers.
10971
                                items:
10972
                                  description: HTTPHeader describes a custom header to be used in HTTP probes
10973
10974
                                  properties:
                                    name:
10975
10976
10977
                                      description: |-
                                        The header field name.
                                        This will be canonicalized upon output, so case-variant names will be understood as the same header.
10978
10979
                                      type: string
                                    value:
10980
                                      description: The header field value
10981
10982
10983
10984
10985
10986
10987
10988
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
10989
                                description: Path to access on the HTTP server.
10990
                                type: string
10991
10992
10993
10994
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10995
10996
10997
10998
                                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.
10999
11000
                                x-kubernetes-int-or-string: true
                              scheme:
11001
11002
11003
                                description: |-
                                  Scheme to use for connecting to the host.
                                  Defaults to HTTP.
11004
11005
                                type: string
                            required:
11006
                              - port
11007
                            type: object
11008
                          initialDelaySeconds:
11009
11010
11011
                            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
11012
11013
11014
                            format: int32
                            type: integer
                          periodSeconds:
11015
11016
11017
                            description: |-
                              How often (in seconds) to perform the probe.
                              Default to 10 seconds. Minimum value is 1.
11018
11019
11020
                            format: int32
                            type: integer
                          successThreshold:
11021
11022
11023
                            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.
11024
11025
11026
                            format: int32
                            type: integer
                          tcpSocket:
11027
                            description: TCPSocket specifies a connection to a TCP port.
11028
11029
                            properties:
                              host:
11030
                                description: 'Optional: Host name to connect to, defaults to the pod IP.'
11031
                                type: string
11032
11033
11034
11035
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
11036
11037
11038
11039
                                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.
11040
11041
11042
11043
11044
                                x-kubernetes-int-or-string: true
                            required:
                              - port
                            type: object
                          terminationGracePeriodSeconds:
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
                            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.
11056
11057
11058
                            format: int64
                            type: integer
                          timeoutSeconds:
11059
11060
11061
11062
                            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
11063
11064
11065
11066
                            format: int32
                            type: integer
                        type: object
                      replicas:
11067
11068
                        description: |-
                          Replicas is the desired number of Pods for this component.
11069
                          When scalingAdapter is enabled, this field is managed by the
11070
                          DynamoGraphDeploymentScalingAdapter and should not be modified directly.
11071
                        format: int32
11072
                        minimum: 0
11073
11074
                        type: integer
                      resources:
11075
11076
11077
                        description: |-
                          Resources requested and limits for this component, including CPU, memory,
                          GPUs/devices, and any runtime-specific resources.
11078
                        properties:
11079
                          claims:
11080
                            description: Claims specifies resource claims for dynamic resource allocation
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
                            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
11100
                          limits:
11101
                            description: Limits specifies the maximum resources allowed for the component
11102
11103
                            properties:
                              cpu:
11104
                                description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
11105
11106
11107
11108
                                type: string
                              custom:
                                additionalProperties:
                                  type: string
11109
                                description: Custom specifies additional custom resource requests/limits
11110
                                type: object
11111
                              gpu:
11112
                                description: |-
11113
11114
11115
11116
11117
11118
11119
                                  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"
11120
                                type: string
11121
                              memory:
11122
                                description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
11123
11124
11125
                                type: string
                            type: object
                          requests:
11126
                            description: Requests specifies the minimum resources required by the component
11127
11128
                            properties:
                              cpu:
11129
                                description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
11130
11131
11132
11133
                                type: string
                              custom:
                                additionalProperties:
                                  type: string
11134
                                description: Custom specifies additional custom resource requests/limits
11135
                                type: object
11136
                              gpu:
11137
                                description: |-
11138
11139
11140
11141
11142
11143
11144
                                  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"
11145
                                type: string
11146
                              memory:
11147
                                description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
11148
                                type: string
11149
11150
                            type: object
                        type: object
11151
11152
11153
                      scalingAdapter:
                        description: |-
                          ScalingAdapter configures whether this service uses the DynamoGraphDeploymentScalingAdapter.
11154
                          When enabled, replicas are managed via DGDSA and external autoscalers can scale
11155
11156
                          the service using the Scale subresource. When disabled, replicas can be modified directly.
                        properties:
11157
                          enabled:
11158
11159
                            default: false
                            description: |-
11160
11161
11162
                              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.
11163
11164
                            type: boolean
                        type: object
11165
                      serviceName:
11166
                        description: The name of the component
11167
                        type: string
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
                      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
11180
11181
11182
                      subComponentType:
                        description: SubComponentType indicates the sub-role of this component (for example, "prefill").
                        type: string
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
                      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
11207
                    type: object
11208
                  description: Services are the services to deploy as part of this deployment.
11209
                  maxProperties: 25
11210
                  type: object
11211
11212
              type: object
            status:
11213
              description: Status reflects the current observed state of this graph deployment.
11214
11215
              properties:
                conditions:
11216
11217
11218
                  description: |-
                    Conditions contains the latest observed conditions of the graph deployment.
                    The slice is merged by type on patch updates.
11219
                  items:
11220
                    description: Condition contains details for one aspect of the current state of this API Resource.
11221
11222
                    properties:
                      lastTransitionTime:
11223
11224
11225
                        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.
11226
11227
11228
                        format: date-time
                        type: string
                      message:
11229
11230
11231
                        description: |-
                          message is a human readable message indicating details about the transition.
                          This may be an empty string.
11232
11233
11234
                        maxLength: 32768
                        type: string
                      observedGeneration:
11235
11236
11237
11238
                        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.
11239
11240
11241
11242
                        format: int64
                        minimum: 0
                        type: integer
                      reason:
11243
11244
11245
11246
11247
11248
                        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.
11249
11250
11251
11252
11253
                        maxLength: 1024
                        minLength: 1
                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
                        type: string
                      status:
11254
                        description: status of the condition, one of True, False, Unknown.
11255
11256
11257
11258
11259
11260
                        enum:
                          - "True"
                          - "False"
                          - Unknown
                        type: string
                      type:
11261
                        description: type of condition in CamelCase or in foo.example.com/CamelCase.
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
                        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
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
                restart:
                  description: Restart contains the status of the restart of the graph deployment.
                  properties:
                    inProgress:
                      description: InProgress contains the names of the services that are currently being restarted.
                      items:
                        type: string
                      type: array
                    observedID:
                      description: |-
                        ObservedID is the restart ID that has been observed and is being processed.
                        Matches the Restart.ID field in the spec.
                      type: string
                    phase:
                      description: Phase is the phase of the restart.
                      type: string
                  type: object
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
                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
11348
                state:
11349
                  description: State is a high-level textual status of the graph deployment lifecycle.
11350
11351
11352
11353
11354
11355
11356
                  type: string
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}