nvidia.com_dynamographdeployments.yaml 823 KB
Newer Older
1
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
3
4
5
6
7
8
9
# SPDX-License-Identifier: Apache-2.0

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.16.4
10
    helm.sh/resource-policy: keep
11
  name: dynamographdeployments.nvidia.com
12
13
14
spec:
  group: nvidia.com
  names:
15
16
17
    kind: DynamoGraphDeployment
    listKind: DynamoGraphDeploymentList
    plural: dynamographdeployments
18
    shortNames:
19
      - dgd
20
    singular: dynamographdeployment
21
22
  scope: Namespaced
  versions:
23
24
25
26
27
28
29
30
31
32
33
34
35
    - 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
36
37
      schema:
        openAPIV3Schema:
38
          description: DynamoGraphDeployment is the Schema for the dynamographdeployments API.
39
40
          properties:
            apiVersion:
41
42
43
44
45
              description: |-
                APIVersion defines the versioned schema of this representation of an object.
                Servers should convert recognized schemas to the latest internal value, and
                may reject unrecognized values.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
46
47
              type: string
            kind:
48
49
50
51
52
53
              description: |-
                Kind is a string value representing the REST resource this object represents.
                Servers may infer this from the endpoint the client submits requests to.
                Cannot be updated.
                In CamelCase.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
54
55
56
57
              type: string
            metadata:
              type: object
            spec:
58
              description: Spec defines the desired state for this graph deployment.
59
              properties:
60
                backendFramework:
61
                  description: BackendFramework specifies the backend framework (e.g., "sglang", "vllm", "trtllm").
62
63
64
65
66
                  enum:
                    - sglang
                    - vllm
                    - trtllm
                  type: string
67
                envs:
68
                  description: |-
69
                    Envs are environment variables applied to all services in the deployment unless
70
                    overridden by service-specific configuration.
71
                  items:
72
                    description: EnvVar represents an environment variable present in a Container.
73
74
                    properties:
                      name:
75
76
77
                        description: |-
                          Name of the environment variable.
                          May consist of any printable ASCII characters except '='.
78
                        type: string
79
                      value:
80
81
82
83
84
85
86
87
88
89
                        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 "".
90
91
                        type: string
                      valueFrom:
92
                        description: Source for the environment variable's value. Cannot be used if value is not empty.
93
94
                        properties:
                          configMapKeyRef:
95
                            description: Selects a key of a ConfigMap.
96
                            properties:
97
                              key:
98
                                description: The key to select.
99
100
101
                                type: string
                              name:
                                default: ""
102
103
104
105
106
107
                                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
108
109
                                type: string
                              optional:
110
                                description: Specify whether the ConfigMap or its key must be defined
111
112
113
114
115
116
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                          fieldRef:
117
118
119
                            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.
120
121
                            properties:
                              apiVersion:
122
                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
123
124
                                type: string
                              fieldPath:
125
                                description: Path of the field to select in the specified API version.
126
127
128
129
130
                                type: string
                            required:
                              - fieldPath
                            type: object
                            x-kubernetes-map-type: atomic
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
                          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
167
                          resourceFieldRef:
168
169
170
                            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.
171
172
                            properties:
                              containerName:
173
                                description: 'Container name: required for volumes, optional for env vars'
174
175
176
177
178
                                type: string
                              divisor:
                                anyOf:
                                  - type: integer
                                  - type: string
179
                                description: Specifies the output format of the exposed resources, defaults to "1"
180
181
                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                x-kubernetes-int-or-string: true
182
                              resource:
183
                                description: 'Required: resource to select'
184
185
                                type: string
                            required:
186
                              - resource
187
                            type: object
188
189
                            x-kubernetes-map-type: atomic
                          secretKeyRef:
190
                            description: Selects a key of a secret in the pod's namespace
191
                            properties:
192
                              key:
193
                                description: The key of the secret to select from.  Must be a valid secret key.
194
195
196
                                type: string
                              name:
                                default: ""
197
198
199
200
201
202
                                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
203
204
                                type: string
                              optional:
205
                                description: Specify whether the Secret or its key must be defined
206
207
208
209
210
211
212
213
214
215
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                        type: object
                    required:
                      - name
                    type: object
                  type: array
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
                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))'
247
                  maxItems: 100
248
                  type: array
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
                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
277
278
279
280
281
282
                services:
                  additionalProperties:
                    properties:
                      annotations:
                        additionalProperties:
                          type: string
283
284
285
                        description: |-
                          Annotations to add to generated Kubernetes resources for this component
                          (such as Pod, Service, and Ingress when applicable).
286
287
                        type: object
                      autoscaling:
288
289
                        description: |-
                          Deprecated: This field is deprecated and ignored. Use DynamoGraphDeploymentScalingAdapter
290
                          with HPA, KEDA, or Planner for autoscaling instead. See docs/pages/kubernetes/autoscaling.md
291
                          for migration guidance. This field will be removed in a future API version.
292
293
                        properties:
                          behavior:
294
                            description: 'Deprecated: This field is ignored.'
295
296
                            properties:
                              scaleDown:
297
298
299
300
301
                                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).
302
                                properties:
303
                                  policies:
304
305
306
307
308
                                    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.
309
                                    items:
310
                                      description: HPAScalingPolicy is a single policy which must hold true for a specified past interval.
311
312
                                      properties:
                                        periodSeconds:
313
314
315
                                          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).
316
317
318
                                          format: int32
                                          type: integer
                                        type:
319
                                          description: type is used to specify the scaling policy.
320
321
                                          type: string
                                        value:
322
323
324
                                          description: |-
                                            value contains the amount of change which is permitted by the policy.
                                            It must be greater than zero
325
326
327
328
329
330
331
332
333
334
                                          format: int32
                                          type: integer
                                      required:
                                        - periodSeconds
                                        - type
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  selectPolicy:
335
336
337
                                    description: |-
                                      selectPolicy is used to specify which policy should be used.
                                      If not set, the default value Max is used.
338
                                    type: string
339
                                  stabilizationWindowSeconds:
340
341
342
343
344
345
346
                                    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).
347
348
                                    format: int32
                                    type: integer
349
350
351
352
                                  tolerance:
                                    anyOf:
                                      - type: integer
                                      - type: string
353
354
355
356
357
358
359
360
361
362
363
364
                                    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.
365
366
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
367
                                type: object
368
                              scaleUp:
369
370
371
372
373
374
                                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.
375
                                properties:
376
                                  policies:
377
378
379
380
381
                                    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.
382
                                    items:
383
                                      description: HPAScalingPolicy is a single policy which must hold true for a specified past interval.
384
385
                                      properties:
                                        periodSeconds:
386
387
388
                                          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).
389
390
391
                                          format: int32
                                          type: integer
                                        type:
392
                                          description: type is used to specify the scaling policy.
393
394
                                          type: string
                                        value:
395
396
397
                                          description: |-
                                            value contains the amount of change which is permitted by the policy.
                                            It must be greater than zero
398
399
400
401
402
403
404
405
406
407
                                          format: int32
                                          type: integer
                                      required:
                                        - periodSeconds
                                        - type
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  selectPolicy:
408
409
410
                                    description: |-
                                      selectPolicy is used to specify which policy should be used.
                                      If not set, the default value Max is used.
411
                                    type: string
412
                                  stabilizationWindowSeconds:
413
414
415
416
417
418
419
                                    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).
420
421
                                    format: int32
                                    type: integer
422
423
424
425
                                  tolerance:
                                    anyOf:
                                      - type: integer
                                      - type: string
426
427
428
429
430
431
432
433
434
435
436
437
                                    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.
438
439
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
440
441
                                type: object
                            type: object
442
                          enabled:
443
                            description: 'Deprecated: This field is ignored.'
444
445
                            type: boolean
                          maxReplicas:
446
                            description: 'Deprecated: This field is ignored.'
447
448
                            type: integer
                          metrics:
449
                            description: 'Deprecated: This field is ignored.'
450
                            items:
451
452
453
                              description: |-
                                MetricSpec specifies how to scale based on a single metric
                                (only `type` and one other matching field should be set at once).
454
455
                              properties:
                                containerResource:
456
457
458
459
460
461
                                  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.
462
463
                                  properties:
                                    container:
464
                                      description: container is the name of the container in the pods of the scaling target
465
466
                                      type: string
                                    name:
467
                                      description: name is the name of the resource in question.
468
469
                                      type: string
                                    target:
470
                                      description: target specifies the target value for the given metric
471
472
                                      properties:
                                        averageUtilization:
473
474
475
476
477
                                          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
478
479
480
481
482
483
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
484
485
486
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
487
488
489
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
490
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
491
492
493
494
495
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
496
                                          description: value is the target value of the metric (as a quantity).
497
498
499
500
501
502
503
504
505
506
507
                                          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:
508
509
510
511
512
513
                                  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).
514
515
                                  properties:
                                    metric:
516
                                      description: metric identifies the target metric by name and selector
517
518
                                      properties:
                                        name:
519
                                          description: name is the name of the given metric
520
521
                                          type: string
                                        selector:
522
523
524
525
                                          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.
526
527
                                          properties:
                                            matchExpressions:
528
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
529
                                              items:
530
531
532
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
533
534
                                                properties:
                                                  key:
535
                                                    description: key is the label key that the selector applies to.
536
537
                                                    type: string
                                                  operator:
538
539
540
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
541
542
                                                    type: string
                                                  values:
543
544
545
546
547
                                                    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.
548
549
550
551
552
553
554
555
556
557
558
559
560
                                                    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
561
562
563
564
                                              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.
565
566
567
568
569
570
571
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
572
                                      description: target specifies the target value for the given metric
573
574
                                      properties:
                                        averageUtilization:
575
576
577
578
579
                                          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
580
581
582
583
584
585
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
586
587
588
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
589
590
591
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
592
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
593
594
595
596
597
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
598
                                          description: value is the target value of the metric (as a quantity).
599
600
601
602
603
604
605
606
607
608
                                          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:
609
610
611
                                  description: |-
                                    object refers to a metric describing a single kubernetes object
                                    (for example, hits-per-second on an Ingress object).
612
613
                                  properties:
                                    describedObject:
614
                                      description: describedObject specifies the descriptions of a object,such as kind,name apiVersion
615
616
                                      properties:
                                        apiVersion:
617
                                          description: apiVersion is the API version of the referent
618
619
                                          type: string
                                        kind:
620
                                          description: 'kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
621
622
                                          type: string
                                        name:
623
                                          description: 'name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
624
625
626
627
628
629
                                          type: string
                                      required:
                                        - kind
                                        - name
                                      type: object
                                    metric:
630
                                      description: metric identifies the target metric by name and selector
631
632
                                      properties:
                                        name:
633
                                          description: name is the name of the given metric
634
635
                                          type: string
                                        selector:
636
637
638
639
                                          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.
640
641
                                          properties:
                                            matchExpressions:
642
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
643
                                              items:
644
645
646
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
647
648
                                                properties:
                                                  key:
649
                                                    description: key is the label key that the selector applies to.
650
651
                                                    type: string
                                                  operator:
652
653
654
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
655
656
                                                    type: string
                                                  values:
657
658
659
660
661
                                                    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.
662
663
664
665
666
667
668
669
670
671
672
673
674
                                                    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
675
676
677
678
                                              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.
679
680
681
682
683
684
685
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
686
                                      description: target specifies the target value for the given metric
687
688
                                      properties:
                                        averageUtilization:
689
690
691
692
693
                                          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
694
695
696
697
698
699
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
700
701
702
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
703
704
705
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
706
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
707
708
709
710
711
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
712
                                          description: value is the target value of the metric (as a quantity).
713
714
715
716
717
718
719
720
721
722
723
                                          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:
724
725
726
727
                                  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.
728
729
                                  properties:
                                    metric:
730
                                      description: metric identifies the target metric by name and selector
731
732
                                      properties:
                                        name:
733
                                          description: name is the name of the given metric
734
735
                                          type: string
                                        selector:
736
737
738
739
                                          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.
740
741
                                          properties:
                                            matchExpressions:
742
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
743
                                              items:
744
745
746
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
747
748
                                                properties:
                                                  key:
749
                                                    description: key is the label key that the selector applies to.
750
751
                                                    type: string
                                                  operator:
752
753
754
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
755
756
                                                    type: string
                                                  values:
757
758
759
760
761
                                                    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.
762
763
764
765
766
767
768
769
770
771
772
773
774
                                                    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
775
776
777
778
                                              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.
779
780
781
782
783
784
785
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
786
                                      description: target specifies the target value for the given metric
787
788
                                      properties:
                                        averageUtilization:
789
790
791
792
793
                                          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
794
795
796
797
798
799
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
800
801
802
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
803
804
805
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
806
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
807
808
809
810
811
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
812
                                          description: value is the target value of the metric (as a quantity).
813
814
815
816
817
818
819
820
821
822
                                          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:
823
824
825
826
827
828
                                  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.
829
830
                                  properties:
                                    name:
831
                                      description: name is the name of the resource in question.
832
833
                                      type: string
                                    target:
834
                                      description: target specifies the target value for the given metric
835
836
                                      properties:
                                        averageUtilization:
837
838
839
840
841
                                          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
842
843
844
845
846
847
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
848
849
850
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
851
852
853
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
854
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
855
856
857
858
859
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
860
                                          description: value is the target value of the metric (as a quantity).
861
862
863
864
865
866
867
868
869
870
                                          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:
871
872
873
                                  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.
874
875
876
877
878
879
                                  type: string
                              required:
                                - type
                              type: object
                            type: array
                          minReplicas:
880
                            description: 'Deprecated: This field is ignored.'
881
                            type: integer
882
                        type: object
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
                      checkpoint:
                        description: |-
                          Checkpoint configures container checkpointing for this service.
                          When enabled, pods can be restored from a checkpoint files for faster cold start.
                        properties:
                          checkpointRef:
                            description: |-
                              CheckpointRef references an existing Checkpoint CR to use
                              If specified, Identity is ignored and this checkpoint is used directly
                            type: string
                          enabled:
                            default: false
                            description: Enabled indicates whether checkpointing is enabled for this service
                            type: boolean
                          identity:
                            description: |-
                              Identity defines the checkpoint identity for hash computation
                              Used when Mode is Auto or when looking up existing checkpoints
                              Required when checkpointRef is not specified
                            properties:
                              backendFramework:
                                description: BackendFramework is the runtime framework (vllm, sglang, trtllm)
                                enum:
                                  - vllm
                                  - sglang
                                  - trtllm
                                type: string
                              dtype:
                                description: Dtype is the data type (fp16, bf16, fp8, etc.)
                                type: string
                              dynamoVersion:
                                description: |-
                                  DynamoVersion is the Dynamo platform version (optional)
                                  If not specified, version is not included in identity hash
                                  This ensures checkpoint compatibility across Dynamo releases
                                type: string
                              extraParameters:
                                additionalProperties:
                                  type: string
                                description: |-
                                  ExtraParameters are additional parameters that affect the checkpoint hash
                                  Use for any framework-specific or custom parameters not covered above
                                type: object
                              maxModelLen:
                                description: MaxModelLen is the maximum sequence length
                                format: int32
                                minimum: 1
                                type: integer
                              model:
                                description: Model is the model identifier (e.g., "meta-llama/Llama-3-70B")
                                type: string
                              pipelineParallelSize:
                                default: 1
                                description: PipelineParallelSize is the pipeline parallel configuration
                                format: int32
                                minimum: 1
                                type: integer
                              tensorParallelSize:
                                default: 1
                                description: TensorParallelSize is the tensor parallel configuration
                                format: int32
                                minimum: 1
                                type: integer
                            required:
                              - backendFramework
                              - model
                            type: object
                          mode:
                            default: Auto
                            description: |-
                              Mode defines how checkpoint creation is handled
                              - Auto: DGD controller creates Checkpoint CR automatically
                              - Manual: User must create Checkpoint CR
                            enum:
                              - Auto
                              - Manual
                            type: string
                        type: object
                        x-kubernetes-validations:
                          - message: When enabled, either checkpointRef or both identity.model and identity.backendFramework must be specified
                            rule: '!self.enabled || (has(self.checkpointRef) && size(self.checkpointRef) > 0) || (has(self.identity) && has(self.identity.model) && has(self.identity.backendFramework))'
964
                      componentType:
965
                        description: ComponentType indicates the role of this component (for example, "main").
966
967
                        type: string
                      dynamoNamespace:
968
969
970
                        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
971
972
                        type: string
                      envFromSecret:
973
974
975
                        description: |-
                          EnvFromSecret references a Secret whose key/value pairs will be exposed as
                          environment variables in the component containers.
976
977
                        type: string
                      envs:
978
                        description: Envs defines additional environment variables to inject into the component containers.
979
                        items:
980
                          description: EnvVar represents an environment variable present in a Container.
981
                          properties:
982
                            name:
983
984
985
                              description: |-
                                Name of the environment variable.
                                May consist of any printable ASCII characters except '='.
986
987
                              type: string
                            value:
988
989
990
991
992
993
994
995
996
997
                              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 "".
998
999
                              type: string
                            valueFrom:
1000
                              description: Source for the environment variable's value. Cannot be used if value is not empty.
1001
                              properties:
1002
                                configMapKeyRef:
1003
                                  description: Selects a key of a ConfigMap.
1004
1005
                                  properties:
                                    key:
1006
                                      description: The key to select.
1007
1008
1009
                                      type: string
                                    name:
                                      default: ""
1010
1011
1012
1013
1014
1015
                                      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
1016
1017
                                      type: string
                                    optional:
1018
                                      description: Specify whether the ConfigMap or its key must be defined
1019
1020
1021
1022
1023
1024
                                      type: boolean
                                  required:
                                    - key
                                  type: object
                                  x-kubernetes-map-type: atomic
                                fieldRef:
1025
1026
1027
                                  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.
1028
1029
                                  properties:
                                    apiVersion:
1030
                                      description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
1031
1032
                                      type: string
                                    fieldPath:
1033
                                      description: Path of the field to select in the specified API version.
1034
1035
1036
1037
1038
                                      type: string
                                  required:
                                    - fieldPath
                                  type: object
                                  x-kubernetes-map-type: atomic
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
                                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
1075
                                resourceFieldRef:
1076
1077
1078
                                  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.
1079
1080
                                  properties:
                                    containerName:
1081
                                      description: 'Container name: required for volumes, optional for env vars'
1082
1083
1084
1085
1086
                                      type: string
                                    divisor:
                                      anyOf:
                                        - type: integer
                                        - type: string
1087
                                      description: Specifies the output format of the exposed resources, defaults to "1"
1088
1089
1090
                                      pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                      x-kubernetes-int-or-string: true
                                    resource:
1091
                                      description: 'Required: resource to select'
1092
1093
1094
1095
1096
1097
                                      type: string
                                  required:
                                    - resource
                                  type: object
                                  x-kubernetes-map-type: atomic
                                secretKeyRef:
1098
                                  description: Selects a key of a secret in the pod's namespace
1099
1100
                                  properties:
                                    key:
1101
                                      description: The key of the secret to select from.  Must be a valid secret key.
1102
1103
1104
                                      type: string
                                    name:
                                      default: ""
1105
1106
1107
1108
1109
1110
                                      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
1111
1112
                                      type: string
                                    optional:
1113
                                      description: Specify whether the Secret or its key must be defined
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
                                      type: boolean
                                  required:
                                    - key
                                  type: object
                                  x-kubernetes-map-type: atomic
                              type: object
                          required:
                            - name
                          type: object
                        type: array
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
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
                      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
1279
                      extraPodMetadata:
1280
                        description: ExtraPodMetadata adds labels/annotations to the created Pods.
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
                        properties:
                          annotations:
                            additionalProperties:
                              type: string
                            type: object
                          labels:
                            additionalProperties:
                              type: string
                            type: object
                        type: object
                      extraPodSpec:
1292
                        description: |-
1293
1294
1295
                          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.
1296
                        properties:
1297
                          activeDeadlineSeconds:
1298
1299
1300
1301
                            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.
1302
1303
                            format: int64
                            type: integer
1304
                          affinity:
1305
                            description: If specified, the pod's scheduling constraints
1306
1307
                            properties:
                              nodeAffinity:
1308
                                description: Describes node affinity scheduling rules for the pod.
1309
1310
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
                                    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.
1321
                                    items:
1322
1323
1324
                                      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).
1325
1326
                                      properties:
                                        preference:
1327
                                          description: A node selector term, associated with the corresponding weight.
1328
1329
                                          properties:
                                            matchExpressions:
1330
                                              description: A list of node selector requirements by node's labels.
1331
                                              items:
1332
1333
1334
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1335
1336
                                                properties:
                                                  key:
1337
                                                    description: The label key that the selector applies to.
1338
1339
                                                    type: string
                                                  operator:
1340
1341
1342
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1343
1344
                                                    type: string
                                                  values:
1345
1346
1347
1348
1349
1350
                                                    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.
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchFields:
1362
                                              description: A list of node selector requirements by node's fields.
1363
                                              items:
1364
1365
1366
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1367
1368
                                                properties:
                                                  key:
1369
                                                    description: The label key that the selector applies to.
1370
1371
                                                    type: string
                                                  operator:
1372
1373
1374
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1375
1376
                                                    type: string
                                                  values:
1377
1378
1379
1380
1381
1382
                                                    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.
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
                                                    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:
1396
                                          description: Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
1397
1398
1399
1400
1401
1402
1403
1404
1405
                                          format: int32
                                          type: integer
                                      required:
                                        - preference
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1406
1407
1408
1409
1410
1411
                                    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.
1412
                                    properties:
1413
                                      nodeSelectorTerms:
1414
                                        description: Required. A list of node selector terms. The terms are ORed.
1415
                                        items:
1416
1417
1418
1419
                                          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.
1420
1421
                                          properties:
                                            matchExpressions:
1422
                                              description: A list of node selector requirements by node's labels.
1423
                                              items:
1424
1425
1426
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1427
1428
                                                properties:
                                                  key:
1429
                                                    description: The label key that the selector applies to.
1430
                                                    type: string
1431
                                                  operator:
1432
1433
1434
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1435
                                                    type: string
1436
                                                  values:
1437
1438
1439
1440
1441
1442
                                                    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.
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchFields:
1454
                                              description: A list of node selector requirements by node's fields.
1455
                                              items:
1456
1457
1458
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1459
1460
                                                properties:
                                                  key:
1461
                                                    description: The label key that the selector applies to.
1462
1463
                                                    type: string
                                                  operator:
1464
1465
1466
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1467
1468
                                                    type: string
                                                  values:
1469
1470
1471
1472
1473
1474
                                                    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.
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
                                                    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
1489
                                    required:
1490
                                      - nodeSelectorTerms
1491
                                    type: object
1492
1493
1494
                                    x-kubernetes-map-type: atomic
                                type: object
                              podAffinity:
1495
                                description: Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
1496
1497
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
                                    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.
1508
                                    items:
1509
                                      description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1510
1511
                                      properties:
                                        podAffinityTerm:
1512
                                          description: Required. A pod affinity term, associated with the corresponding weight.
1513
1514
                                          properties:
                                            labelSelector:
1515
1516
1517
                                              description: |-
                                                A label query over a set of resources, in this case pods.
                                                If it's null, this PodAffinityTerm matches with no Pods.
1518
                                              properties:
1519
                                                matchExpressions:
1520
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1521
                                                  items:
1522
1523
1524
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1525
1526
                                                    properties:
                                                      key:
1527
                                                        description: key is the label key that the selector applies to.
1528
1529
                                                        type: string
                                                      operator:
1530
1531
1532
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1533
1534
                                                        type: string
                                                      values:
1535
1536
1537
1538
1539
                                                        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.
1540
1541
1542
1543
1544
1545
1546
1547
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1548
1549
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1550
1551
1552
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1553
1554
1555
1556
                                                  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.
1557
                                                  type: object
1558
                                              type: object
1559
1560
                                              x-kubernetes-map-type: atomic
                                            matchLabelKeys:
1561
1562
1563
1564
1565
1566
1567
1568
1569
                                              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.
1570
1571
1572
1573
1574
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            mismatchLabelKeys:
1575
1576
1577
1578
1579
1580
1581
1582
1583
                                              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.
1584
1585
1586
1587
1588
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            namespaceSelector:
1589
1590
1591
1592
1593
1594
                                              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.
1595
                                              properties:
1596
                                                matchExpressions:
1597
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1598
                                                  items:
1599
1600
1601
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1602
1603
                                                    properties:
                                                      key:
1604
                                                        description: key is the label key that the selector applies to.
1605
1606
                                                        type: string
                                                      operator:
1607
1608
1609
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1610
1611
                                                        type: string
                                                      values:
1612
1613
1614
1615
1616
                                                        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.
1617
1618
1619
1620
1621
1622
1623
1624
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1625
1626
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1627
1628
1629
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1630
1631
1632
1633
                                                  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.
1634
                                                  type: object
1635
                                              type: object
1636
1637
                                              x-kubernetes-map-type: atomic
                                            namespaces:
1638
1639
1640
1641
1642
                                              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".
1643
1644
1645
1646
1647
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            topologyKey:
1648
1649
1650
1651
1652
1653
                                              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.
1654
1655
1656
1657
1658
                                              type: string
                                          required:
                                            - topologyKey
                                          type: object
                                        weight:
1659
1660
1661
                                          description: |-
                                            weight associated with matching the corresponding podAffinityTerm,
                                            in the range 1-100.
1662
1663
1664
1665
1666
1667
1668
1669
1670
                                          format: int32
                                          type: integer
                                      required:
                                        - podAffinityTerm
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1671
1672
1673
1674
1675
1676
1677
1678
                                    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.
1679
                                    items:
1680
1681
1682
1683
1684
1685
1686
                                      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
1687
1688
                                      properties:
                                        labelSelector:
1689
1690
1691
                                          description: |-
                                            A label query over a set of resources, in this case pods.
                                            If it's null, this PodAffinityTerm matches with no Pods.
1692
1693
                                          properties:
                                            matchExpressions:
1694
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1695
                                              items:
1696
1697
1698
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1699
1700
                                                properties:
                                                  key:
1701
                                                    description: key is the label key that the selector applies to.
1702
1703
                                                    type: string
                                                  operator:
1704
1705
1706
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1707
1708
                                                    type: string
                                                  values:
1709
1710
1711
1712
1713
                                                    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.
1714
                                                    items:
1715
                                                      type: string
1716
1717
1718
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
1719
1720
1721
                                                  - key
                                                  - operator
                                                type: object
1722
1723
1724
1725
1726
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1727
1728
1729
1730
                                              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.
1731
1732
1733
1734
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        matchLabelKeys:
1735
1736
1737
1738
1739
1740
1741
1742
1743
                                          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.
1744
1745
1746
1747
1748
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        mismatchLabelKeys:
1749
1750
1751
1752
1753
1754
1755
1756
1757
                                          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.
1758
1759
1760
1761
1762
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        namespaceSelector:
1763
1764
1765
1766
1767
1768
                                          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.
1769
1770
                                          properties:
                                            matchExpressions:
1771
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1772
                                              items:
1773
1774
1775
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1776
1777
                                                properties:
                                                  key:
1778
                                                    description: key is the label key that the selector applies to.
1779
1780
                                                    type: string
                                                  operator:
1781
1782
1783
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1784
1785
                                                    type: string
                                                  values:
1786
1787
1788
1789
1790
                                                    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.
1791
                                                    items:
1792
                                                      type: string
1793
1794
1795
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
1796
1797
1798
                                                  - key
                                                  - operator
                                                type: object
1799
1800
1801
1802
1803
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1804
1805
1806
1807
                                              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.
1808
1809
1810
1811
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        namespaces:
1812
1813
1814
1815
1816
                                          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".
1817
                                          items:
1818
                                            type: string
1819
1820
1821
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        topologyKey:
1822
1823
1824
1825
1826
1827
                                          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.
1828
1829
                                          type: string
                                      required:
1830
                                        - topologyKey
1831
1832
1833
1834
1835
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              podAntiAffinity:
1836
                                description: Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
1837
1838
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1839
1840
1841
1842
1843
1844
1845
                                    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.),
1846
1847
                                      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
1848
                                      node(s) with the highest sum are the most preferred.
1849
                                    items:
1850
                                      description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1851
1852
                                      properties:
                                        podAffinityTerm:
1853
                                          description: Required. A pod affinity term, associated with the corresponding weight.
1854
1855
                                          properties:
                                            labelSelector:
1856
1857
1858
                                              description: |-
                                                A label query over a set of resources, in this case pods.
                                                If it's null, this PodAffinityTerm matches with no Pods.
1859
                                              properties:
1860
                                                matchExpressions:
1861
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1862
                                                  items:
1863
1864
1865
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1866
1867
                                                    properties:
                                                      key:
1868
                                                        description: key is the label key that the selector applies to.
1869
1870
                                                        type: string
                                                      operator:
1871
1872
1873
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1874
1875
                                                        type: string
                                                      values:
1876
1877
1878
1879
1880
                                                        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.
1881
1882
1883
1884
1885
1886
1887
1888
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1889
1890
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1891
1892
1893
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1894
1895
1896
1897
                                                  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.
1898
                                                  type: object
1899
                                              type: object
1900
1901
                                              x-kubernetes-map-type: atomic
                                            matchLabelKeys:
1902
1903
1904
1905
1906
1907
1908
1909
1910
                                              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.
1911
1912
1913
1914
1915
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            mismatchLabelKeys:
1916
1917
1918
1919
1920
1921
1922
1923
1924
                                              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.
1925
1926
1927
1928
1929
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            namespaceSelector:
1930
1931
1932
1933
1934
1935
                                              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.
1936
                                              properties:
1937
                                                matchExpressions:
1938
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1939
                                                  items:
1940
1941
1942
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1943
1944
                                                    properties:
                                                      key:
1945
                                                        description: key is the label key that the selector applies to.
1946
1947
                                                        type: string
                                                      operator:
1948
1949
1950
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1951
1952
                                                        type: string
                                                      values:
1953
1954
1955
1956
1957
                                                        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.
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
                                                        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
1971
1972
1973
1974
                                                  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.
1975
1976
1977
1978
                                                  type: object
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            namespaces:
1979
1980
1981
1982
1983
                                              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".
1984
1985
1986
1987
1988
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            topologyKey:
1989
1990
1991
1992
1993
1994
                                              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.
1995
1996
1997
1998
1999
                                              type: string
                                          required:
                                            - topologyKey
                                          type: object
                                        weight:
2000
2001
2002
                                          description: |-
                                            weight associated with matching the corresponding podAffinityTerm,
                                            in the range 1-100.
2003
2004
2005
2006
2007
2008
2009
2010
2011
                                          format: int32
                                          type: integer
                                      required:
                                        - podAffinityTerm
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
2012
2013
2014
2015
2016
2017
2018
2019
                                    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.
2020
                                    items:
2021
2022
2023
2024
2025
2026
2027
                                      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
2028
2029
                                      properties:
                                        labelSelector:
2030
2031
2032
                                          description: |-
                                            A label query over a set of resources, in this case pods.
                                            If it's null, this PodAffinityTerm matches with no Pods.
2033
2034
                                          properties:
                                            matchExpressions:
2035
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
2036
                                              items:
2037
2038
2039
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
2040
2041
                                                properties:
                                                  key:
2042
                                                    description: key is the label key that the selector applies to.
2043
2044
                                                    type: string
                                                  operator:
2045
2046
2047
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
2048
2049
                                                    type: string
                                                  values:
2050
2051
2052
2053
2054
                                                    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.
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
                                                    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
2068
2069
2070
2071
                                              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.
2072
2073
2074
2075
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        matchLabelKeys:
2076
2077
2078
2079
2080
2081
2082
2083
2084
                                          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.
2085
2086
2087
2088
2089
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        mismatchLabelKeys:
2090
2091
2092
2093
2094
2095
2096
2097
2098
                                          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.
2099
2100
2101
2102
2103
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        namespaceSelector:
2104
2105
2106
2107
2108
2109
                                          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.
2110
2111
                                          properties:
                                            matchExpressions:
2112
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
2113
                                              items:
2114
2115
2116
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
2117
2118
                                                properties:
                                                  key:
2119
                                                    description: key is the label key that the selector applies to.
2120
                                                    type: string
2121
                                                  operator:
2122
2123
2124
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
2125
2126
                                                    type: string
                                                  values:
2127
2128
2129
2130
2131
                                                    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.
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
                                                    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
2145
2146
2147
2148
                                              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.
2149
                                              type: object
2150
2151
2152
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        namespaces:
2153
2154
2155
2156
2157
                                          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".
2158
2159
2160
2161
2162
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        topologyKey:
2163
2164
2165
2166
2167
2168
                                          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.
2169
                                          type: string
2170
2171
2172
2173
2174
2175
2176
                                      required:
                                        - topologyKey
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                            type: object
2177
                          automountServiceAccountToken:
2178
                            description: AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
2179
                            type: boolean
2180
                          containers:
2181
2182
2183
2184
2185
                            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.
2186
                            items:
2187
                              description: A single application container that you want to run within a pod.
2188
2189
                              properties:
                                args:
2190
2191
2192
2193
2194
2195
2196
2197
2198
                                  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
2199
2200
                                  items:
                                    type: string
2201
2202
                                  type: array
                                  x-kubernetes-list-type: atomic
2203
                                command:
2204
2205
2206
2207
2208
2209
2210
2211
2212
                                  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
2213
2214
2215
2216
2217
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
2218
2219
2220
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
2221
                                  items:
2222
                                    description: EnvVar represents an environment variable present in a Container.
2223
                                    properties:
2224
                                      name:
2225
2226
2227
                                        description: |-
                                          Name of the environment variable.
                                          May consist of any printable ASCII characters except '='.
2228
2229
                                        type: string
                                      value:
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
                                        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 "".
2240
2241
                                        type: string
                                      valueFrom:
2242
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
2243
                                        properties:
2244
                                          configMapKeyRef:
2245
                                            description: Selects a key of a ConfigMap.
2246
                                            properties:
2247
                                              key:
2248
                                                description: The key to select.
2249
2250
2251
                                                type: string
                                              name:
                                                default: ""
2252
2253
2254
2255
2256
2257
                                                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
2258
2259
                                                type: string
                                              optional:
2260
                                                description: Specify whether the ConfigMap or its key must be defined
2261
2262
2263
                                                type: boolean
                                            required:
                                              - key
2264
2265
                                            type: object
                                            x-kubernetes-map-type: atomic
2266
                                          fieldRef:
2267
2268
2269
                                            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.
2270
                                            properties:
2271
                                              apiVersion:
2272
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
2273
2274
                                                type: string
                                              fieldPath:
2275
                                                description: Path of the field to select in the specified API version.
2276
2277
2278
2279
2280
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
                                          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
2317
                                          resourceFieldRef:
2318
2319
2320
                                            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.
2321
2322
                                            properties:
                                              containerName:
2323
                                                description: 'Container name: required for volumes, optional for env vars'
2324
2325
2326
2327
2328
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
2329
                                                description: Specifies the output format of the exposed resources, defaults to "1"
2330
2331
2332
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
2333
                                                description: 'Required: resource to select'
2334
2335
2336
2337
2338
2339
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
2340
                                            description: Selects a key of a secret in the pod's namespace
2341
2342
                                            properties:
                                              key:
2343
                                                description: The key of the secret to select from.  Must be a valid secret key.
2344
2345
2346
                                                type: string
                                              name:
                                                default: ""
2347
2348
2349
2350
2351
2352
                                                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
2353
2354
                                                type: string
                                              optional:
2355
                                                description: Specify whether the Secret or its key must be defined
2356
2357
2358
                                                type: boolean
                                            required:
                                              - key
2359
2360
                                            type: object
                                            x-kubernetes-map-type: atomic
2361
2362
                                        type: object
                                    required:
2363
                                      - name
2364
2365
                                    type: object
                                  type: array
2366
2367
2368
2369
                                  x-kubernetes-list-map-keys:
                                    - name
                                  x-kubernetes-list-type: map
                                envFrom:
2370
2371
                                  description: |-
                                    List of sources to populate environment variables in the container.
2372
2373
                                    The keys defined within a source may consist of any printable ASCII characters except '='.
                                    When a key exists in multiple
2374
2375
2376
                                    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.
2377
                                  items:
2378
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
2379
                                    properties:
2380
                                      configMapRef:
2381
                                        description: The ConfigMap to select from
2382
                                        properties:
2383
2384
                                          name:
                                            default: ""
2385
2386
2387
2388
2389
2390
                                            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
2391
2392
                                            type: string
                                          optional:
2393
                                            description: Specify whether the ConfigMap must be defined
2394
                                            type: boolean
2395
                                        type: object
2396
                                        x-kubernetes-map-type: atomic
2397
                                      prefix:
2398
2399
2400
                                        description: |-
                                          Optional text to prepend to the name of each environment variable.
                                          May consist of any printable ASCII characters except '='.
2401
2402
                                        type: string
                                      secretRef:
2403
                                        description: The Secret to select from
2404
                                        properties:
2405
2406
                                          name:
                                            default: ""
2407
2408
2409
2410
2411
2412
                                            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
2413
2414
                                            type: string
                                          optional:
2415
                                            description: Specify whether the Secret must be defined
2416
                                            type: boolean
2417
                                        type: object
2418
2419
2420
2421
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
2422
                                image:
2423
2424
2425
2426
2427
                                  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.
2428
                                  type: string
2429
                                imagePullPolicy:
2430
2431
2432
2433
2434
2435
                                  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
2436
                                  type: string
2437
                                lifecycle:
2438
2439
2440
                                  description: |-
                                    Actions that the management system should take in response to container lifecycle events.
                                    Cannot be updated.
2441
                                  properties:
2442
                                    postStart:
2443
2444
2445
2446
2447
                                      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
2448
                                      properties:
2449
                                        exec:
2450
                                          description: Exec specifies a command to execute in the container.
2451
                                          properties:
2452
                                            command:
2453
2454
2455
2456
2457
2458
                                              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.
2459
2460
2461
2462
2463
2464
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
2465
                                          description: HTTPGet specifies an HTTP GET request to perform.
2466
2467
                                          properties:
                                            host:
2468
2469
2470
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
2471
                                              type: string
2472
                                            httpHeaders:
2473
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
2474
                                              items:
2475
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
2476
2477
                                                properties:
                                                  name:
2478
2479
2480
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
2481
2482
                                                    type: string
                                                  value:
2483
                                                    description: The header field value
2484
2485
2486
2487
2488
2489
2490
2491
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
2492
                                              description: Path to access on the HTTP server.
2493
2494
2495
2496
2497
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2498
2499
2500
2501
                                              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.
2502
2503
                                              x-kubernetes-int-or-string: true
                                            scheme:
2504
2505
2506
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
2507
                                              type: string
2508
                                          required:
2509
                                            - port
2510
                                          type: object
2511
                                        sleep:
2512
                                          description: Sleep represents a duration that the container should sleep.
2513
                                          properties:
2514
                                            seconds:
2515
                                              description: Seconds is the number of seconds to sleep.
2516
2517
2518
2519
2520
2521
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
2522
2523
2524
2525
                                          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.
2526
2527
                                          properties:
                                            host:
2528
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
2529
                                              type: string
2530
2531
2532
2533
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2534
2535
2536
2537
                                              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.
2538
                                              x-kubernetes-int-or-string: true
2539
                                          required:
2540
                                            - port
2541
                                          type: object
2542
2543
                                      type: object
                                    preStop:
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
                                      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
2554
2555
                                      properties:
                                        exec:
2556
                                          description: Exec specifies a command to execute in the container.
2557
                                          properties:
2558
                                            command:
2559
2560
2561
2562
2563
2564
                                              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.
2565
2566
2567
2568
2569
2570
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
2571
                                          description: HTTPGet specifies an HTTP GET request to perform.
2572
2573
                                          properties:
                                            host:
2574
2575
2576
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
2577
                                              type: string
2578
                                            httpHeaders:
2579
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
2580
                                              items:
2581
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
2582
2583
                                                properties:
                                                  name:
2584
2585
2586
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
2587
2588
                                                    type: string
                                                  value:
2589
                                                    description: The header field value
2590
2591
2592
2593
2594
2595
2596
2597
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
2598
                                              description: Path to access on the HTTP server.
2599
2600
                                              type: string
                                            port:
2601
                                              anyOf:
2602
2603
                                                - type: integer
                                                - type: string
2604
2605
2606
2607
                                              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.
2608
                                              x-kubernetes-int-or-string: true
2609
                                            scheme:
2610
2611
2612
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
2613
2614
                                              type: string
                                          required:
2615
                                            - port
2616
                                          type: object
2617
                                        sleep:
2618
                                          description: Sleep represents a duration that the container should sleep.
2619
                                          properties:
2620
                                            seconds:
2621
                                              description: Seconds is the number of seconds to sleep.
2622
2623
2624
2625
2626
2627
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
2628
2629
2630
2631
                                          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.
2632
2633
                                          properties:
                                            host:
2634
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
2635
                                              type: string
2636
2637
2638
2639
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2640
2641
2642
2643
                                              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.
2644
                                              x-kubernetes-int-or-string: true
2645
                                          required:
2646
                                            - port
2647
2648
                                          type: object
                                      type: object
2649
                                    stopSignal:
2650
2651
2652
2653
                                      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
2654
                                      type: string
2655
                                  type: object
2656
                                livenessProbe:
2657
2658
2659
2660
2661
                                  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
2662
                                  properties:
2663
                                    exec:
2664
                                      description: Exec specifies a command to execute in the container.
2665
2666
                                      properties:
                                        command:
2667
2668
2669
2670
2671
2672
                                          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.
2673
2674
2675
2676
2677
2678
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2679
2680
2681
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2682
2683
2684
                                      format: int32
                                      type: integer
                                    grpc:
2685
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2686
                                      properties:
2687
                                        port:
2688
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2689
2690
2691
                                          format: int32
                                          type: integer
                                        service:
2692
                                          default: ""
2693
2694
2695
2696
2697
                                          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.
2698
                                          type: string
2699
2700
                                      required:
                                        - port
2701
                                      type: object
2702
                                    httpGet:
2703
                                      description: HTTPGet specifies an HTTP GET request to perform.
2704
                                      properties:
2705
                                        host:
2706
2707
2708
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2709
                                          type: string
2710
                                        httpHeaders:
2711
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2712
                                          items:
2713
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2714
2715
                                            properties:
                                              name:
2716
2717
2718
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2719
2720
                                                type: string
                                              value:
2721
                                                description: The header field value
2722
2723
                                                type: string
                                            required:
2724
2725
                                              - name
                                              - value
2726
2727
2728
2729
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2730
                                          description: Path to access on the HTTP server.
2731
2732
2733
                                          type: string
                                        port:
                                          anyOf:
2734
2735
                                            - type: integer
                                            - type: string
2736
2737
2738
2739
                                          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.
2740
2741
                                          x-kubernetes-int-or-string: true
                                        scheme:
2742
2743
2744
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2745
2746
                                          type: string
                                      required:
2747
                                        - port
2748
2749
                                      type: object
                                    initialDelaySeconds:
2750
2751
2752
                                      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
2753
2754
2755
                                      format: int32
                                      type: integer
                                    periodSeconds:
2756
2757
2758
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2759
2760
2761
                                      format: int32
                                      type: integer
                                    successThreshold:
2762
2763
2764
                                      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.
2765
2766
2767
                                      format: int32
                                      type: integer
                                    tcpSocket:
2768
                                      description: TCPSocket specifies a connection to a TCP port.
2769
2770
                                      properties:
                                        host:
2771
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2772
2773
2774
                                          type: string
                                        port:
                                          anyOf:
2775
2776
                                            - type: integer
                                            - type: string
2777
2778
2779
2780
                                          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.
2781
2782
                                          x-kubernetes-int-or-string: true
                                      required:
2783
                                        - port
2784
2785
                                      type: object
                                    terminationGracePeriodSeconds:
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
                                      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.
2797
2798
2799
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
2800
2801
2802
2803
                                      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
2804
2805
2806
2807
                                      format: int32
                                      type: integer
                                  type: object
                                name:
2808
2809
2810
2811
                                  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.
2812
2813
                                  type: string
                                ports:
2814
2815
2816
2817
2818
2819
2820
2821
                                  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.
2822
                                  items:
2823
                                    description: ContainerPort represents a network port in a single container.
2824
                                    properties:
2825
                                      containerPort:
2826
2827
2828
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
2829
2830
2831
                                        format: int32
                                        type: integer
                                      hostIP:
2832
                                        description: What host IP to bind the external port to.
2833
2834
                                        type: string
                                      hostPort:
2835
2836
2837
2838
2839
                                        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.
2840
2841
2842
                                        format: int32
                                        type: integer
                                      name:
2843
2844
2845
2846
                                        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.
2847
2848
2849
                                        type: string
                                      protocol:
                                        default: TCP
2850
2851
2852
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
                                        type: string
                                    required:
                                      - containerPort
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
2863
2864
2865
2866
2867
                                  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
2868
2869
                                  properties:
                                    exec:
2870
                                      description: Exec specifies a command to execute in the container.
2871
2872
                                      properties:
                                        command:
2873
2874
2875
2876
2877
2878
                                          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.
2879
                                          items:
2880
                                            type: string
2881
2882
2883
2884
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2885
2886
2887
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2888
2889
2890
                                      format: int32
                                      type: integer
                                    grpc:
2891
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2892
2893
                                      properties:
                                        port:
2894
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2895
2896
2897
2898
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
2899
2900
2901
2902
2903
                                          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.
2904
2905
2906
2907
2908
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
2909
                                      description: HTTPGet specifies an HTTP GET request to perform.
2910
2911
                                      properties:
                                        host:
2912
2913
2914
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2915
2916
                                          type: string
                                        httpHeaders:
2917
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2918
                                          items:
2919
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2920
2921
                                            properties:
                                              name:
2922
2923
2924
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2925
2926
                                                type: string
                                              value:
2927
                                                description: The header field value
2928
2929
                                                type: string
                                            required:
2930
2931
                                              - name
                                              - value
2932
2933
2934
2935
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2936
                                          description: Path to access on the HTTP server.
2937
2938
2939
                                          type: string
                                        port:
                                          anyOf:
2940
2941
                                            - type: integer
                                            - type: string
2942
2943
2944
2945
                                          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.
2946
2947
                                          x-kubernetes-int-or-string: true
                                        scheme:
2948
2949
2950
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2951
2952
                                          type: string
                                      required:
2953
                                        - port
2954
2955
                                      type: object
                                    initialDelaySeconds:
2956
2957
2958
                                      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
2959
2960
2961
                                      format: int32
                                      type: integer
                                    periodSeconds:
2962
2963
2964
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2965
2966
2967
                                      format: int32
                                      type: integer
                                    successThreshold:
2968
2969
2970
                                      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.
2971
2972
2973
                                      format: int32
                                      type: integer
                                    tcpSocket:
2974
                                      description: TCPSocket specifies a connection to a TCP port.
2975
2976
                                      properties:
                                        host:
2977
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2978
                                          type: string
2979
2980
2981
2982
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
2983
2984
2985
2986
                                          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.
2987
2988
2989
2990
2991
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
                                      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.
3003
3004
3005
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
3006
3007
3008
3009
                                      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
3010
3011
3012
3013
                                      format: int32
                                      type: integer
                                  type: object
                                resizePolicy:
3014
                                  description: Resources resize policy for the container.
3015
                                  items:
3016
                                    description: ContainerResizePolicy represents resource resize policy for the container.
3017
                                    properties:
3018
                                      resourceName:
3019
3020
3021
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
3022
3023
                                        type: string
                                      restartPolicy:
3024
3025
3026
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
3027
3028
                                        type: string
                                    required:
3029
3030
                                      - resourceName
                                      - restartPolicy
3031
                                    type: object
3032
3033
3034
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
3035
3036
3037
3038
                                  description: |-
                                    Compute Resources required by this container.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
3039
3040
                                  properties:
                                    claims:
3041
3042
3043
3044
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

3045
                                        This field depends on the
3046
3047
3048
                                        DynamicResourceAllocation feature gate.

                                        This field is immutable. It can only be set for containers.
3049
                                      items:
3050
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
3051
3052
                                        properties:
                                          name:
3053
3054
3055
3056
                                            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.
3057
3058
                                            type: string
                                          request:
3059
3060
3061
3062
                                            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.
3063
3064
                                            type: string
                                        required:
3065
                                          - name
3066
3067
3068
3069
3070
3071
3072
                                        type: object
                                      type: array
                                      x-kubernetes-list-map-keys:
                                        - name
                                      x-kubernetes-list-type: map
                                    limits:
                                      additionalProperties:
3073
                                        anyOf:
3074
3075
3076
                                          - type: integer
                                          - type: string
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
3077
                                        x-kubernetes-int-or-string: true
3078
3079
3080
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
3081
3082
3083
                                      type: object
                                    requests:
                                      additionalProperties:
3084
                                        anyOf:
3085
3086
3087
                                          - type: integer
                                          - type: string
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
3088
                                        x-kubernetes-int-or-string: true
3089
3090
3091
3092
3093
                                      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/
3094
3095
3096
                                      type: object
                                  type: object
                                restartPolicy:
3097
3098
                                  description: |-
                                    RestartPolicy defines the restart behavior of individual containers in a pod.
3099
                                    This overrides the pod-level restart policy. When this field is not specified,
3100
                                    the restart behavior is defined by the Pod's restart policy and the container type.
3101
3102
                                    Additionally, setting the RestartPolicy as "Always" for the init container will
                                    have the following effect:
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
                                    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.
3113
                                  type: string
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
                                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
3165
                                securityContext:
3166
3167
3168
3169
                                  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/
3170
                                  properties:
3171
                                    allowPrivilegeEscalation:
3172
3173
3174
3175
3176
3177
3178
3179
                                      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.
3180
3181
                                      type: boolean
                                    appArmorProfile:
3182
3183
3184
3185
                                      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.
3186
3187
                                      properties:
                                        localhostProfile:
3188
3189
3190
3191
3192
                                          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".
3193
3194
                                          type: string
                                        type:
3195
3196
3197
3198
3199
3200
                                          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.
3201
3202
3203
3204
3205
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
3206
3207
3208
3209
                                      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.
3210
3211
                                      properties:
                                        add:
3212
                                          description: Added capabilities
3213
                                          items:
3214
                                            description: Capability represent POSIX capabilities type
3215
3216
3217
3218
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
3219
                                          description: Removed capabilities
3220
                                          items:
3221
                                            description: Capability represent POSIX capabilities type
3222
3223
3224
3225
3226
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
3227
3228
3229
3230
3231
                                      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.
3232
3233
                                      type: boolean
                                    procMount:
3234
3235
3236
3237
3238
3239
                                      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.
3240
3241
                                      type: string
                                    readOnlyRootFilesystem:
3242
3243
3244
3245
                                      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.
3246
3247
                                      type: boolean
                                    runAsGroup:
3248
3249
3250
3251
3252
3253
                                      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.
3254
3255
3256
                                      format: int64
                                      type: integer
                                    runAsNonRoot:
3257
3258
3259
3260
3261
3262
3263
                                      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.
3264
3265
                                      type: boolean
                                    runAsUser:
3266
3267
3268
3269
3270
3271
                                      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.
3272
3273
3274
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
3275
3276
3277
3278
3279
3280
                                      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.
3281
3282
                                      properties:
                                        level:
3283
                                          description: Level is SELinux level label that applies to the container.
3284
3285
                                          type: string
                                        role:
3286
                                          description: Role is a SELinux role label that applies to the container.
3287
3288
                                          type: string
                                        type:
3289
                                          description: Type is a SELinux type label that applies to the container.
3290
3291
                                          type: string
                                        user:
3292
                                          description: User is a SELinux user label that applies to the container.
3293
3294
3295
                                          type: string
                                      type: object
                                    seccompProfile:
3296
3297
3298
3299
3300
                                      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.
3301
3302
                                      properties:
                                        localhostProfile:
3303
3304
3305
3306
3307
                                          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.
3308
3309
                                          type: string
                                        type:
3310
3311
3312
3313
3314
3315
3316
                                          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.
3317
3318
3319
3320
3321
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
3322
3323
3324
3325
3326
                                      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.
3327
3328
                                      properties:
                                        gmsaCredentialSpec:
3329
3330
3331
3332
                                          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.
3333
3334
                                          type: string
                                        gmsaCredentialSpecName:
3335
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
3336
3337
                                          type: string
                                        hostProcess:
3338
3339
3340
3341
3342
                                          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.
3343
3344
                                          type: boolean
                                        runAsUserName:
3345
3346
3347
3348
3349
                                          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.
3350
3351
3352
3353
                                          type: string
                                      type: object
                                  type: object
                                startupProbe:
3354
3355
3356
3357
3358
3359
3360
3361
                                  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
3362
3363
                                  properties:
                                    exec:
3364
                                      description: Exec specifies a command to execute in the container.
3365
3366
                                      properties:
                                        command:
3367
3368
3369
3370
3371
3372
                                          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.
3373
3374
3375
3376
3377
3378
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
3379
3380
3381
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
3382
3383
                                      format: int32
                                      type: integer
3384
                                    grpc:
3385
                                      description: GRPC specifies a GRPC HealthCheckRequest.
3386
3387
                                      properties:
                                        port:
3388
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3389
3390
3391
3392
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
3393
3394
3395
3396
3397
                                          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.
3398
3399
3400
3401
3402
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
3403
                                      description: HTTPGet specifies an HTTP GET request to perform.
3404
3405
                                      properties:
                                        host:
3406
3407
3408
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
3409
3410
                                          type: string
                                        httpHeaders:
3411
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
3412
                                          items:
3413
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
3414
3415
                                            properties:
                                              name:
3416
3417
3418
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
3419
3420
                                                type: string
                                              value:
3421
                                                description: The header field value
3422
3423
3424
3425
3426
3427
3428
3429
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
3430
                                          description: Path to access on the HTTP server.
3431
3432
3433
3434
3435
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3436
3437
3438
3439
                                          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.
3440
3441
                                          x-kubernetes-int-or-string: true
                                        scheme:
3442
3443
3444
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
3445
3446
3447
3448
3449
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
3450
3451
3452
                                      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
3453
3454
                                      format: int32
                                      type: integer
3455
                                    periodSeconds:
3456
3457
3458
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
3459
3460
3461
                                      format: int32
                                      type: integer
                                    successThreshold:
3462
3463
3464
                                      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.
3465
3466
3467
                                      format: int32
                                      type: integer
                                    tcpSocket:
3468
                                      description: TCPSocket specifies a connection to a TCP port.
3469
3470
                                      properties:
                                        host:
3471
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
3472
                                          type: string
3473
3474
3475
3476
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3477
3478
3479
3480
                                          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.
3481
3482
3483
3484
3485
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
                                      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.
3497
3498
3499
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
3500
3501
3502
3503
                                      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
3504
3505
3506
3507
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
3508
3509
3510
3511
                                  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.
3512
3513
                                  type: boolean
                                stdinOnce:
3514
3515
3516
3517
3518
3519
3520
3521
                                  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
3522
3523
                                  type: boolean
                                terminationMessagePath:
3524
3525
3526
3527
3528
3529
3530
3531
                                  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.
3532
3533
                                  type: string
                                terminationMessagePolicy:
3534
3535
3536
3537
3538
3539
3540
3541
                                  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.
3542
3543
                                  type: string
                                tty:
3544
3545
3546
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
3547
3548
                                  type: boolean
                                volumeDevices:
3549
                                  description: volumeDevices is the list of block devices to be used by the container.
3550
                                  items:
3551
                                    description: volumeDevice describes a mapping of a raw block device within a container.
3552
3553
                                    properties:
                                      devicePath:
3554
                                        description: devicePath is the path inside of the container that the device will be mapped to.
3555
                                        type: string
3556
                                      name:
3557
                                        description: name must match the name of a persistentVolumeClaim in the pod
3558
3559
                                        type: string
                                    required:
3560
3561
                                      - devicePath
                                      - name
3562
                                    type: object
3563
3564
3565
3566
3567
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
3568
3569
3570
                                  description: |-
                                    Pod volumes to mount into the container's filesystem.
                                    Cannot be updated.
3571
                                  items:
3572
                                    description: VolumeMount describes a mounting of a Volume within a container.
3573
                                    properties:
3574
                                      mountPath:
3575
3576
3577
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
3578
3579
                                        type: string
                                      mountPropagation:
3580
3581
3582
3583
3584
3585
3586
                                        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).
3587
3588
                                        type: string
                                      name:
3589
                                        description: This must match the Name of a Volume.
3590
3591
                                        type: string
                                      readOnly:
3592
3593
3594
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
3595
3596
                                        type: boolean
                                      recursiveReadOnly:
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
                                        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.
3614
3615
                                        type: string
                                      subPath:
3616
3617
3618
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
3619
3620
                                        type: string
                                      subPathExpr:
3621
3622
3623
3624
3625
                                        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.
3626
3627
                                        type: string
                                    required:
3628
3629
                                      - mountPath
                                      - name
3630
                                    type: object
3631
3632
3633
3634
3635
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
3636
3637
3638
3639
3640
                                  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.
3641
3642
3643
3644
3645
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
3646
3647
3648
3649
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          dnsConfig:
3650
3651
3652
3653
                            description: |-
                              Specifies the DNS parameters of a pod.
                              Parameters specified here will be merged to the generated DNS
                              configuration based on DNSPolicy.
3654
                            properties:
3655
                              nameservers:
3656
3657
3658
3659
                                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.
3660
3661
3662
3663
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
3664
                              options:
3665
3666
3667
3668
3669
                                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.
3670
                                items:
3671
                                  description: PodDNSConfigOption defines DNS resolver options of a pod.
3672
                                  properties:
3673
                                    name:
3674
3675
3676
                                      description: |-
                                        Name is this DNS resolver option's name.
                                        Required.
3677
                                      type: string
3678
                                    value:
3679
                                      description: Value is this DNS resolver option's value.
3680
                                      type: string
3681
3682
3683
3684
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              searches:
3685
3686
3687
3688
                                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.
3689
3690
3691
3692
3693
3694
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          dnsPolicy:
3695
3696
3697
3698
3699
3700
3701
                            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'.
3702
3703
                            type: string
                          enableServiceLinks:
3704
3705
3706
3707
                            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.
3708
3709
                            type: boolean
                          ephemeralContainers:
3710
3711
3712
3713
3714
                            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.
3715
                            items:
3716
3717
3718
3719
3720
3721
3722
3723
3724
                              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.
3725
3726
                              properties:
                                args:
3727
3728
3729
3730
3731
3732
3733
3734
3735
                                  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
3736
3737
3738
3739
3740
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                command:
3741
3742
3743
3744
3745
3746
3747
3748
3749
                                  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
3750
3751
3752
3753
3754
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
3755
3756
3757
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
3758
                                  items:
3759
                                    description: EnvVar represents an environment variable present in a Container.
3760
3761
                                    properties:
                                      name:
3762
3763
3764
                                        description: |-
                                          Name of the environment variable.
                                          May consist of any printable ASCII characters except '='.
3765
3766
                                        type: string
                                      value:
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
                                        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 "".
3777
3778
                                        type: string
                                      valueFrom:
3779
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
3780
3781
                                        properties:
                                          configMapKeyRef:
3782
                                            description: Selects a key of a ConfigMap.
3783
3784
                                            properties:
                                              key:
3785
                                                description: The key to select.
3786
3787
3788
                                                type: string
                                              name:
                                                default: ""
3789
3790
3791
3792
3793
3794
                                                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
3795
3796
                                                type: string
                                              optional:
3797
                                                description: Specify whether the ConfigMap or its key must be defined
3798
3799
3800
3801
3802
3803
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          fieldRef:
3804
3805
3806
                                            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.
3807
3808
                                            properties:
                                              apiVersion:
3809
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
3810
3811
                                                type: string
                                              fieldPath:
3812
                                                description: Path of the field to select in the specified API version.
3813
3814
3815
3816
3817
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
                                          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
3854
                                          resourceFieldRef:
3855
3856
3857
                                            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.
3858
3859
                                            properties:
                                              containerName:
3860
                                                description: 'Container name: required for volumes, optional for env vars'
3861
3862
3863
3864
3865
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
3866
                                                description: Specifies the output format of the exposed resources, defaults to "1"
3867
3868
3869
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
3870
                                                description: 'Required: resource to select'
3871
3872
3873
3874
3875
3876
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
3877
                                            description: Selects a key of a secret in the pod's namespace
3878
3879
                                            properties:
                                              key:
3880
                                                description: The key of the secret to select from.  Must be a valid secret key.
3881
3882
3883
                                                type: string
                                              name:
                                                default: ""
3884
3885
3886
3887
3888
3889
                                                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
3890
3891
                                                type: string
                                              optional:
3892
                                                description: Specify whether the Secret or its key must be defined
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
                                                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:
3907
3908
                                  description: |-
                                    List of sources to populate environment variables in the container.
3909
3910
                                    The keys defined within a source may consist of any printable ASCII characters except '='.
                                    When a key exists in multiple
3911
3912
3913
                                    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.
3914
                                  items:
3915
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
3916
3917
                                    properties:
                                      configMapRef:
3918
                                        description: The ConfigMap to select from
3919
3920
3921
                                        properties:
                                          name:
                                            default: ""
3922
3923
3924
3925
3926
3927
                                            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
3928
3929
                                            type: string
                                          optional:
3930
                                            description: Specify whether the ConfigMap must be defined
3931
3932
3933
3934
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      prefix:
3935
3936
3937
                                        description: |-
                                          Optional text to prepend to the name of each environment variable.
                                          May consist of any printable ASCII characters except '='.
3938
3939
                                        type: string
                                      secretRef:
3940
                                        description: The Secret to select from
3941
3942
3943
                                        properties:
                                          name:
                                            default: ""
3944
3945
3946
3947
3948
3949
                                            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
3950
3951
                                            type: string
                                          optional:
3952
                                            description: Specify whether the Secret must be defined
3953
3954
3955
3956
3957
3958
3959
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                image:
3960
3961
3962
                                  description: |-
                                    Container image name.
                                    More info: https://kubernetes.io/docs/concepts/containers/images
3963
3964
                                  type: string
                                imagePullPolicy:
3965
3966
3967
3968
3969
3970
                                  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
3971
3972
                                  type: string
                                lifecycle:
3973
                                  description: Lifecycle is not allowed for ephemeral containers.
3974
3975
                                  properties:
                                    postStart:
3976
3977
3978
3979
3980
                                      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
3981
                                      properties:
3982
                                        exec:
3983
                                          description: Exec specifies a command to execute in the container.
3984
                                          properties:
3985
                                            command:
3986
3987
3988
3989
3990
3991
                                              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.
3992
3993
3994
3995
3996
3997
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
3998
                                          description: HTTPGet specifies an HTTP GET request to perform.
3999
4000
                                          properties:
                                            host:
4001
4002
4003
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
4004
                                              type: string
4005
                                            httpHeaders:
4006
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
4007
                                              items:
4008
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
4009
4010
                                                properties:
                                                  name:
4011
4012
4013
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
4014
4015
                                                    type: string
                                                  value:
4016
                                                    description: The header field value
4017
4018
4019
4020
4021
4022
4023
4024
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
4025
                                              description: Path to access on the HTTP server.
4026
4027
4028
4029
4030
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
4031
4032
4033
4034
                                              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.
4035
4036
                                              x-kubernetes-int-or-string: true
                                            scheme:
4037
4038
4039
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
4040
4041
                                              type: string
                                          required:
4042
                                            - port
4043
                                          type: object
4044
                                        sleep:
4045
                                          description: Sleep represents a duration that the container should sleep.
4046
                                          properties:
4047
                                            seconds:
4048
                                              description: Seconds is the number of seconds to sleep.
4049
4050
                                              format: int64
                                              type: integer
4051
                                          required:
4052
                                            - seconds
4053
                                          type: object
4054
                                        tcpSocket:
4055
4056
4057
4058
                                          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.
4059
                                          properties:
4060
                                            host:
4061
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
4062
                                              type: string
4063
                                            port:
4064
4065
4066
                                              anyOf:
                                                - type: integer
                                                - type: string
4067
4068
4069
4070
                                              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.
4071
4072
                                              x-kubernetes-int-or-string: true
                                          required:
4073
                                            - port
4074
                                          type: object
4075
4076
                                      type: object
                                    preStop:
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
                                      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
4087
4088
                                      properties:
                                        exec:
4089
                                          description: Exec specifies a command to execute in the container.
4090
                                          properties:
4091
                                            command:
4092
4093
4094
4095
4096
4097
                                              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.
4098
4099
4100
4101
4102
4103
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
4104
                                          description: HTTPGet specifies an HTTP GET request to perform.
4105
4106
                                          properties:
                                            host:
4107
4108
4109
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
4110
                                              type: string
4111
                                            httpHeaders:
4112
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
4113
                                              items:
4114
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
4115
4116
                                                properties:
                                                  name:
4117
4118
4119
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
4120
4121
                                                    type: string
                                                  value:
4122
                                                    description: The header field value
4123
4124
4125
4126
4127
4128
4129
4130
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
4131
                                              description: Path to access on the HTTP server.
4132
4133
4134
4135
4136
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
4137
4138
4139
4140
                                              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.
4141
4142
                                              x-kubernetes-int-or-string: true
                                            scheme:
4143
4144
4145
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
4146
4147
                                              type: string
                                          required:
4148
                                            - port
4149
                                          type: object
4150
                                        sleep:
4151
                                          description: Sleep represents a duration that the container should sleep.
4152
4153
                                          properties:
                                            seconds:
4154
                                              description: Seconds is the number of seconds to sleep.
4155
4156
4157
4158
4159
4160
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
4161
4162
4163
4164
                                          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.
4165
4166
                                          properties:
                                            host:
4167
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
4168
4169
4170
4171
4172
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
4173
4174
4175
4176
                                              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.
4177
4178
4179
4180
4181
4182
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    stopSignal:
4183
4184
4185
4186
                                      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
4187
4188
4189
                                      type: string
                                  type: object
                                livenessProbe:
4190
                                  description: Probes are not allowed for ephemeral containers.
4191
4192
                                  properties:
                                    exec:
4193
                                      description: Exec specifies a command to execute in the container.
4194
4195
                                      properties:
                                        command:
4196
4197
4198
4199
4200
4201
                                          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.
4202
4203
4204
4205
4206
4207
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
4208
4209
4210
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
4211
4212
4213
                                      format: int32
                                      type: integer
                                    grpc:
4214
                                      description: GRPC specifies a GRPC HealthCheckRequest.
4215
4216
                                      properties:
                                        port:
4217
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4218
4219
4220
                                          format: int32
                                          type: integer
                                        service:
4221
                                          default: ""
4222
4223
4224
4225
4226
                                          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.
4227
                                          type: string
4228
4229
                                      required:
                                        - port
4230
                                      type: object
4231
                                    httpGet:
4232
                                      description: HTTPGet specifies an HTTP GET request to perform.
4233
                                      properties:
4234
                                        host:
4235
4236
4237
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
4238
4239
                                          type: string
                                        httpHeaders:
4240
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
4241
                                          items:
4242
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
4243
4244
                                            properties:
                                              name:
4245
4246
4247
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
4248
4249
                                                type: string
                                              value:
4250
                                                description: The header field value
4251
4252
4253
4254
4255
4256
4257
4258
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
4259
                                          description: Path to access on the HTTP server.
4260
4261
4262
4263
4264
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4265
4266
4267
4268
                                          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.
4269
4270
                                          x-kubernetes-int-or-string: true
                                        scheme:
4271
4272
4273
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
4274
4275
4276
4277
4278
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
4279
4280
4281
                                      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
4282
4283
4284
                                      format: int32
                                      type: integer
                                    periodSeconds:
4285
4286
4287
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
4288
4289
4290
                                      format: int32
                                      type: integer
                                    successThreshold:
4291
4292
4293
                                      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.
4294
4295
4296
                                      format: int32
                                      type: integer
                                    tcpSocket:
4297
                                      description: TCPSocket specifies a connection to a TCP port.
4298
4299
                                      properties:
                                        host:
4300
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
4301
4302
4303
4304
4305
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4306
4307
4308
4309
                                          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.
4310
4311
4312
4313
4314
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
                                      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.
4326
4327
4328
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
4329
4330
4331
4332
                                      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
4333
4334
4335
4336
                                      format: int32
                                      type: integer
                                  type: object
                                name:
4337
4338
4339
                                  description: |-
                                    Name of the ephemeral container specified as a DNS_LABEL.
                                    This name must be unique among all containers, init containers and ephemeral containers.
4340
4341
                                  type: string
                                ports:
4342
                                  description: Ports are not allowed for ephemeral containers.
4343
                                  items:
4344
                                    description: ContainerPort represents a network port in a single container.
4345
4346
                                    properties:
                                      containerPort:
4347
4348
4349
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
4350
4351
4352
                                        format: int32
                                        type: integer
                                      hostIP:
4353
                                        description: What host IP to bind the external port to.
4354
4355
                                        type: string
                                      hostPort:
4356
4357
4358
4359
4360
                                        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.
4361
4362
4363
                                        format: int32
                                        type: integer
                                      name:
4364
4365
4366
4367
                                        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.
4368
4369
4370
                                        type: string
                                      protocol:
                                        default: TCP
4371
4372
4373
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
                                        type: string
                                    required:
                                      - containerPort
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
4384
                                  description: Probes are not allowed for ephemeral containers.
4385
4386
                                  properties:
                                    exec:
4387
                                      description: Exec specifies a command to execute in the container.
4388
4389
                                      properties:
                                        command:
4390
4391
4392
4393
4394
4395
                                          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.
4396
4397
4398
4399
4400
4401
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
4402
4403
4404
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
4405
4406
4407
                                      format: int32
                                      type: integer
                                    grpc:
4408
                                      description: GRPC specifies a GRPC HealthCheckRequest.
4409
4410
                                      properties:
                                        port:
4411
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4412
4413
4414
                                          format: int32
                                          type: integer
                                        service:
4415
                                          default: ""
4416
4417
4418
4419
4420
                                          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.
4421
                                          type: string
4422
4423
                                      required:
                                        - port
4424
                                      type: object
4425
                                    httpGet:
4426
                                      description: HTTPGet specifies an HTTP GET request to perform.
4427
4428
                                      properties:
                                        host:
4429
4430
4431
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
4432
4433
                                          type: string
                                        httpHeaders:
4434
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
4435
                                          items:
4436
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
4437
4438
                                            properties:
                                              name:
4439
4440
4441
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
4442
4443
                                                type: string
                                              value:
4444
                                                description: The header field value
4445
4446
4447
4448
4449
4450
4451
4452
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
4453
                                          description: Path to access on the HTTP server.
4454
4455
4456
4457
4458
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4459
4460
4461
4462
                                          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.
4463
4464
                                          x-kubernetes-int-or-string: true
                                        scheme:
4465
4466
4467
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
4468
4469
4470
4471
4472
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
4473
4474
4475
                                      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
4476
4477
4478
                                      format: int32
                                      type: integer
                                    periodSeconds:
4479
4480
4481
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
4482
4483
4484
                                      format: int32
                                      type: integer
                                    successThreshold:
4485
4486
4487
                                      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.
4488
4489
4490
                                      format: int32
                                      type: integer
                                    tcpSocket:
4491
                                      description: TCPSocket specifies a connection to a TCP port.
4492
4493
                                      properties:
                                        host:
4494
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
4495
4496
4497
4498
4499
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4500
4501
4502
4503
                                          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.
4504
4505
4506
4507
4508
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
                                      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.
4520
4521
4522
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
4523
4524
4525
4526
                                      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
4527
4528
                                      format: int32
                                      type: integer
4529
                                  type: object
4530
                                resizePolicy:
4531
                                  description: Resources resize policy for the container.
4532
                                  items:
4533
                                    description: ContainerResizePolicy represents resource resize policy for the container.
4534
                                    properties:
4535
                                      resourceName:
4536
4537
4538
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
4539
4540
                                        type: string
                                      restartPolicy:
4541
4542
4543
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
4544
4545
4546
4547
4548
4549
4550
4551
                                        type: string
                                    required:
                                      - resourceName
                                      - restartPolicy
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
4552
4553
4554
                                  description: |-
                                    Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
                                    already allocated to the pod.
4555
4556
                                  properties:
                                    claims:
4557
4558
4559
4560
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

4561
                                        This field depends on the
4562
4563
4564
                                        DynamicResourceAllocation feature gate.

                                        This field is immutable. It can only be set for containers.
4565
                                      items:
4566
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
4567
                                        properties:
4568
                                          name:
4569
4570
4571
4572
                                            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.
4573
                                            type: string
4574
                                          request:
4575
4576
4577
4578
                                            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.
4579
4580
                                            type: string
                                        required:
4581
                                          - name
4582
                                        type: object
4583
4584
4585
4586
4587
4588
                                      type: array
                                      x-kubernetes-list-map-keys:
                                        - name
                                      x-kubernetes-list-type: map
                                    limits:
                                      additionalProperties:
4589
                                        anyOf:
4590
4591
                                          - type: integer
                                          - type: string
4592
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4593
                                        x-kubernetes-int-or-string: true
4594
4595
4596
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
4597
4598
4599
                                      type: object
                                    requests:
                                      additionalProperties:
4600
                                        anyOf:
4601
4602
                                          - type: integer
                                          - type: string
4603
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4604
                                        x-kubernetes-int-or-string: true
4605
4606
4607
4608
4609
                                      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/
4610
4611
4612
                                      type: object
                                  type: object
                                restartPolicy:
4613
4614
4615
                                  description: |-
                                    Restart policy for the container to manage the restart behavior of each
                                    container within a pod.
4616
                                    You cannot set this field on ephemeral containers.
4617
                                  type: string
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
                                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
4661
                                securityContext:
4662
4663
4664
                                  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.
4665
                                  properties:
4666
                                    allowPrivilegeEscalation:
4667
4668
4669
4670
4671
4672
4673
4674
                                      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.
4675
4676
                                      type: boolean
                                    appArmorProfile:
4677
4678
4679
4680
                                      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.
4681
4682
                                      properties:
                                        localhostProfile:
4683
4684
4685
4686
4687
                                          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".
4688
4689
                                          type: string
                                        type:
4690
4691
4692
4693
4694
4695
                                          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.
4696
4697
4698
4699
4700
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
4701
4702
4703
4704
                                      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.
4705
4706
                                      properties:
                                        add:
4707
                                          description: Added capabilities
4708
                                          items:
4709
                                            description: Capability represent POSIX capabilities type
4710
4711
4712
4713
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
4714
                                          description: Removed capabilities
4715
                                          items:
4716
                                            description: Capability represent POSIX capabilities type
4717
4718
4719
4720
4721
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
4722
4723
4724
4725
4726
                                      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.
4727
4728
                                      type: boolean
                                    procMount:
4729
4730
4731
4732
4733
4734
                                      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.
4735
                                      type: string
4736
                                    readOnlyRootFilesystem:
4737
4738
4739
4740
                                      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.
4741
4742
                                      type: boolean
                                    runAsGroup:
4743
4744
4745
4746
4747
4748
                                      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.
4749
                                      format: int64
4750
                                      type: integer
4751
                                    runAsNonRoot:
4752
4753
4754
4755
4756
4757
4758
                                      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.
4759
4760
                                      type: boolean
                                    runAsUser:
4761
4762
4763
4764
4765
4766
                                      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.
4767
4768
4769
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
4770
4771
4772
4773
4774
4775
                                      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.
4776
4777
                                      properties:
                                        level:
4778
                                          description: Level is SELinux level label that applies to the container.
4779
4780
                                          type: string
                                        role:
4781
                                          description: Role is a SELinux role label that applies to the container.
4782
4783
                                          type: string
                                        type:
4784
                                          description: Type is a SELinux type label that applies to the container.
4785
4786
                                          type: string
                                        user:
4787
                                          description: User is a SELinux user label that applies to the container.
4788
4789
4790
                                          type: string
                                      type: object
                                    seccompProfile:
4791
4792
4793
4794
4795
                                      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.
4796
4797
                                      properties:
                                        localhostProfile:
4798
4799
4800
4801
4802
                                          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.
4803
4804
                                          type: string
                                        type:
4805
4806
4807
4808
4809
4810
4811
                                          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.
4812
4813
4814
4815
4816
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
4817
4818
4819
4820
4821
                                      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.
4822
4823
                                      properties:
                                        gmsaCredentialSpec:
4824
4825
4826
4827
                                          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.
4828
4829
                                          type: string
                                        gmsaCredentialSpecName:
4830
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
4831
4832
                                          type: string
                                        hostProcess:
4833
4834
4835
4836
4837
                                          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.
4838
4839
                                          type: boolean
                                        runAsUserName:
4840
4841
4842
4843
4844
                                          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.
4845
4846
                                          type: string
                                      type: object
4847
                                  type: object
4848
                                startupProbe:
4849
                                  description: Probes are not allowed for ephemeral containers.
4850
4851
                                  properties:
                                    exec:
4852
                                      description: Exec specifies a command to execute in the container.
4853
                                      properties:
4854
                                        command:
4855
4856
4857
4858
4859
4860
                                          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.
4861
4862
4863
4864
4865
4866
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
4867
4868
4869
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
4870
4871
4872
                                      format: int32
                                      type: integer
                                    grpc:
4873
                                      description: GRPC specifies a GRPC HealthCheckRequest.
4874
4875
                                      properties:
                                        port:
4876
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4877
4878
4879
4880
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
4881
4882
4883
4884
4885
                                          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.
4886
                                          type: string
4887
4888
4889
4890
                                      required:
                                        - port
                                      type: object
                                    httpGet:
4891
                                      description: HTTPGet specifies an HTTP GET request to perform.
4892
4893
                                      properties:
                                        host:
4894
4895
4896
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
4897
4898
                                          type: string
                                        httpHeaders:
4899
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
4900
                                          items:
4901
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
4902
4903
                                            properties:
                                              name:
4904
4905
4906
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
4907
4908
                                                type: string
                                              value:
4909
                                                description: The header field value
4910
4911
4912
4913
4914
4915
4916
4917
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
4918
                                          description: Path to access on the HTTP server.
4919
4920
4921
4922
4923
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4924
4925
4926
4927
                                          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.
4928
4929
                                          x-kubernetes-int-or-string: true
                                        scheme:
4930
4931
4932
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
4933
4934
                                          type: string
                                      required:
4935
                                        - port
4936
                                      type: object
4937
                                    initialDelaySeconds:
4938
4939
4940
                                      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
4941
4942
4943
                                      format: int32
                                      type: integer
                                    periodSeconds:
4944
4945
4946
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
4947
4948
4949
                                      format: int32
                                      type: integer
                                    successThreshold:
4950
4951
4952
                                      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.
4953
4954
4955
                                      format: int32
                                      type: integer
                                    tcpSocket:
4956
                                      description: TCPSocket specifies a connection to a TCP port.
4957
4958
                                      properties:
                                        host:
4959
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
4960
4961
4962
4963
4964
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4965
4966
4967
4968
                                          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.
4969
4970
4971
4972
4973
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
                                      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.
4985
4986
4987
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
4988
4989
4990
4991
                                      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
4992
4993
4994
4995
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
4996
4997
4998
4999
                                  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.
5000
5001
                                  type: boolean
                                stdinOnce:
5002
5003
5004
5005
5006
5007
5008
5009
                                  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
5010
5011
                                  type: boolean
                                targetContainerName:
5012
5013
5014
5015
5016
5017
5018
                                  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.
5019
5020
                                  type: string
                                terminationMessagePath:
5021
5022
5023
5024
5025
5026
5027
5028
                                  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.
5029
5030
                                  type: string
                                terminationMessagePolicy:
5031
5032
5033
5034
5035
5036
5037
5038
                                  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.
5039
5040
                                  type: string
                                tty:
5041
5042
5043
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
5044
5045
                                  type: boolean
                                volumeDevices:
5046
                                  description: volumeDevices is the list of block devices to be used by the container.
5047
                                  items:
5048
                                    description: volumeDevice describes a mapping of a raw block device within a container.
5049
                                    properties:
5050
                                      devicePath:
5051
                                        description: devicePath is the path inside of the container that the device will be mapped to.
5052
                                        type: string
5053
                                      name:
5054
                                        description: name must match the name of a persistentVolumeClaim in the pod
5055
5056
                                        type: string
                                    required:
5057
5058
                                      - devicePath
                                      - name
5059
                                    type: object
5060
5061
5062
5063
5064
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
5065
5066
5067
                                  description: |-
                                    Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
                                    Cannot be updated.
5068
                                  items:
5069
                                    description: VolumeMount describes a mounting of a Volume within a container.
5070
                                    properties:
5071
                                      mountPath:
5072
5073
5074
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
5075
                                        type: string
5076
                                      mountPropagation:
5077
5078
5079
5080
5081
5082
5083
                                        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).
5084
                                        type: string
5085
                                      name:
5086
                                        description: This must match the Name of a Volume.
5087
                                        type: string
5088
                                      readOnly:
5089
5090
5091
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
5092
5093
                                        type: boolean
                                      recursiveReadOnly:
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
                                        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.
5111
                                        type: string
5112
                                      subPath:
5113
5114
5115
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
5116
                                        type: string
5117
                                      subPathExpr:
5118
5119
5120
5121
5122
                                        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.
5123
5124
                                        type: string
                                    required:
5125
5126
                                      - mountPath
                                      - name
5127
                                    type: object
5128
5129
5130
5131
5132
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
5133
5134
5135
5136
5137
                                  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.
5138
5139
5140
5141
5142
5143
5144
5145
5146
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          hostAliases:
5147
5148
5149
                            description: |-
                              HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
                              file if specified.
5150
                            items:
5151
5152
5153
                              description: |-
                                HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the
                                pod's hosts file.
5154
5155
                              properties:
                                hostnames:
5156
                                  description: Hostnames for the above IP address.
5157
5158
5159
5160
5161
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                ip:
5162
                                  description: IP address of the host file entry.
5163
5164
5165
5166
5167
5168
5169
5170
5171
                                  type: string
                              required:
                                - ip
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - ip
                            x-kubernetes-list-type: map
                          hostIPC:
5172
5173
5174
                            description: |-
                              Use the host's ipc namespace.
                              Optional: Default to false.
5175
5176
                            type: boolean
                          hostNetwork:
5177
5178
                            description: |-
                              Host networking requested for this pod. Use the host's network namespace.
5179
5180
5181
                              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`.
5182
                              Default to false.
5183
5184
                            type: boolean
                          hostPID:
5185
5186
5187
                            description: |-
                              Use the host's pid namespace.
                              Optional: Default to false.
5188
5189
                            type: boolean
                          hostUsers:
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
                            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.
5200
5201
                            type: boolean
                          hostname:
5202
5203
5204
                            description: |-
                              Specifies the hostname of the Pod
                              If not specified, the pod's hostname will be set to a system-defined value.
5205
                            type: string
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
                          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
5219
                          imagePullSecrets:
5220
5221
5222
5223
                            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
5224
                            items:
5225
5226
5227
                              description: |-
                                LocalObjectReference contains enough information to let you locate the
                                referenced object inside the same namespace.
5228
5229
5230
                              properties:
                                name:
                                  default: ""
5231
5232
5233
5234
5235
5236
                                  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
5237
5238
5239
5240
5241
5242
5243
5244
                                  type: string
                              type: object
                              x-kubernetes-map-type: atomic
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          initContainers:
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
                            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/
5259
                            items:
5260
                              description: A single application container that you want to run within a pod.
5261
5262
                              properties:
                                args:
5263
5264
5265
5266
5267
5268
5269
5270
5271
                                  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
5272
5273
5274
5275
5276
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                command:
5277
5278
5279
5280
5281
5282
5283
5284
5285
                                  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
5286
5287
5288
5289
5290
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
5291
5292
5293
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
5294
                                  items:
5295
                                    description: EnvVar represents an environment variable present in a Container.
5296
                                    properties:
5297
                                      name:
5298
5299
5300
                                        description: |-
                                          Name of the environment variable.
                                          May consist of any printable ASCII characters except '='.
5301
                                        type: string
5302
                                      value:
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
                                        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 "".
5313
                                        type: string
5314
                                      valueFrom:
5315
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
5316
5317
                                        properties:
                                          configMapKeyRef:
5318
                                            description: Selects a key of a ConfigMap.
5319
5320
                                            properties:
                                              key:
5321
                                                description: The key to select.
5322
5323
5324
                                                type: string
                                              name:
                                                default: ""
5325
5326
5327
5328
5329
5330
                                                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
5331
5332
                                                type: string
                                              optional:
5333
                                                description: Specify whether the ConfigMap or its key must be defined
5334
5335
5336
5337
5338
5339
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          fieldRef:
5340
5341
5342
                                            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.
5343
5344
                                            properties:
                                              apiVersion:
5345
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
5346
5347
                                                type: string
                                              fieldPath:
5348
                                                description: Path of the field to select in the specified API version.
5349
5350
5351
5352
5353
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
                                          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
5390
                                          resourceFieldRef:
5391
5392
5393
                                            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.
5394
5395
                                            properties:
                                              containerName:
5396
                                                description: 'Container name: required for volumes, optional for env vars'
5397
5398
5399
5400
5401
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
5402
                                                description: Specifies the output format of the exposed resources, defaults to "1"
5403
5404
5405
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
5406
                                                description: 'Required: resource to select'
5407
5408
5409
5410
5411
5412
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
5413
                                            description: Selects a key of a secret in the pod's namespace
5414
5415
                                            properties:
                                              key:
5416
                                                description: The key of the secret to select from.  Must be a valid secret key.
5417
5418
5419
                                                type: string
                                              name:
                                                default: ""
5420
5421
5422
5423
5424
5425
                                                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
5426
5427
                                                type: string
                                              optional:
5428
                                                description: Specify whether the Secret or its key must be defined
5429
5430
5431
5432
5433
5434
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                        type: object
5435
                                    required:
5436
                                      - name
5437
                                    type: object
5438
5439
5440
5441
5442
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - name
                                  x-kubernetes-list-type: map
                                envFrom:
5443
5444
                                  description: |-
                                    List of sources to populate environment variables in the container.
5445
5446
                                    The keys defined within a source may consist of any printable ASCII characters except '='.
                                    When a key exists in multiple
5447
5448
5449
                                    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.
5450
                                  items:
5451
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
5452
                                    properties:
5453
                                      configMapRef:
5454
                                        description: The ConfigMap to select from
5455
5456
5457
                                        properties:
                                          name:
                                            default: ""
5458
5459
5460
5461
5462
5463
                                            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
5464
5465
                                            type: string
                                          optional:
5466
                                            description: Specify whether the ConfigMap must be defined
5467
5468
5469
5470
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      prefix:
5471
5472
5473
                                        description: |-
                                          Optional text to prepend to the name of each environment variable.
                                          May consist of any printable ASCII characters except '='.
5474
                                        type: string
5475
                                      secretRef:
5476
                                        description: The Secret to select from
5477
5478
5479
                                        properties:
                                          name:
                                            default: ""
5480
5481
5482
5483
5484
5485
                                            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
5486
5487
                                            type: string
                                          optional:
5488
                                            description: Specify whether the Secret must be defined
5489
5490
5491
5492
5493
5494
5495
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                image:
5496
5497
5498
5499
5500
                                  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.
5501
5502
                                  type: string
                                imagePullPolicy:
5503
5504
5505
5506
5507
5508
                                  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
5509
5510
                                  type: string
                                lifecycle:
5511
5512
5513
                                  description: |-
                                    Actions that the management system should take in response to container lifecycle events.
                                    Cannot be updated.
5514
5515
                                  properties:
                                    postStart:
5516
5517
5518
5519
5520
                                      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
5521
5522
                                      properties:
                                        exec:
5523
                                          description: Exec specifies a command to execute in the container.
5524
                                          properties:
5525
                                            command:
5526
5527
5528
5529
5530
5531
                                              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.
5532
5533
5534
5535
5536
5537
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
5538
                                          description: HTTPGet specifies an HTTP GET request to perform.
5539
5540
                                          properties:
                                            host:
5541
5542
5543
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
5544
                                              type: string
5545
                                            httpHeaders:
5546
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
5547
                                              items:
5548
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
5549
5550
                                                properties:
                                                  name:
5551
5552
5553
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
5554
5555
                                                    type: string
                                                  value:
5556
                                                    description: The header field value
5557
5558
5559
5560
5561
5562
5563
5564
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
5565
                                              description: Path to access on the HTTP server.
5566
5567
5568
5569
5570
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5571
5572
5573
5574
                                              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.
5575
5576
                                              x-kubernetes-int-or-string: true
                                            scheme:
5577
5578
5579
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
5580
5581
                                              type: string
                                          required:
5582
                                            - port
5583
                                          type: object
5584
                                        sleep:
5585
                                          description: Sleep represents a duration that the container should sleep.
5586
5587
                                          properties:
                                            seconds:
5588
                                              description: Seconds is the number of seconds to sleep.
5589
5590
5591
5592
5593
5594
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
5595
5596
5597
5598
                                          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.
5599
5600
                                          properties:
                                            host:
5601
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
5602
5603
5604
5605
5606
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5607
5608
5609
5610
                                              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.
5611
5612
5613
5614
5615
5616
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    preStop:
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
                                      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
5627
5628
                                      properties:
                                        exec:
5629
                                          description: Exec specifies a command to execute in the container.
5630
5631
                                          properties:
                                            command:
5632
5633
5634
5635
5636
5637
                                              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.
5638
5639
5640
5641
5642
5643
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
5644
                                          description: HTTPGet specifies an HTTP GET request to perform.
5645
5646
                                          properties:
                                            host:
5647
5648
5649
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
5650
5651
                                              type: string
                                            httpHeaders:
5652
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
5653
                                              items:
5654
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
5655
5656
                                                properties:
                                                  name:
5657
5658
5659
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
5660
5661
                                                    type: string
                                                  value:
5662
                                                    description: The header field value
5663
5664
5665
5666
5667
5668
5669
5670
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
5671
                                              description: Path to access on the HTTP server.
5672
5673
5674
5675
5676
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5677
5678
5679
5680
                                              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.
5681
5682
                                              x-kubernetes-int-or-string: true
                                            scheme:
5683
5684
5685
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
5686
5687
5688
5689
5690
                                              type: string
                                          required:
                                            - port
                                          type: object
                                        sleep:
5691
                                          description: Sleep represents a duration that the container should sleep.
5692
5693
                                          properties:
                                            seconds:
5694
                                              description: Seconds is the number of seconds to sleep.
5695
5696
5697
5698
5699
5700
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
5701
5702
5703
5704
                                          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.
5705
5706
                                          properties:
                                            host:
5707
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
5708
5709
5710
5711
5712
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5713
5714
5715
5716
                                              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.
5717
5718
5719
5720
5721
5722
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    stopSignal:
5723
5724
5725
5726
                                      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
5727
5728
5729
                                      type: string
                                  type: object
                                livenessProbe:
5730
5731
5732
5733
5734
                                  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
5735
5736
                                  properties:
                                    exec:
5737
                                      description: Exec specifies a command to execute in the container.
5738
5739
                                      properties:
                                        command:
5740
5741
5742
5743
5744
5745
                                          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.
5746
5747
5748
5749
5750
5751
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
5752
5753
5754
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
5755
5756
5757
                                      format: int32
                                      type: integer
                                    grpc:
5758
                                      description: GRPC specifies a GRPC HealthCheckRequest.
5759
5760
                                      properties:
                                        port:
5761
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5762
5763
5764
5765
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
5766
5767
5768
5769
5770
                                          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.
5771
5772
5773
5774
5775
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
5776
                                      description: HTTPGet specifies an HTTP GET request to perform.
5777
5778
                                      properties:
                                        host:
5779
5780
5781
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
5782
5783
                                          type: string
                                        httpHeaders:
5784
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
5785
                                          items:
5786
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
5787
5788
                                            properties:
                                              name:
5789
5790
5791
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
5792
5793
                                                type: string
                                              value:
5794
                                                description: The header field value
5795
5796
5797
5798
5799
5800
5801
5802
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
5803
                                          description: Path to access on the HTTP server.
5804
5805
5806
5807
5808
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5809
5810
5811
5812
                                          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.
5813
5814
                                          x-kubernetes-int-or-string: true
                                        scheme:
5815
5816
5817
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
5818
5819
5820
5821
5822
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
5823
5824
5825
                                      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
5826
5827
5828
                                      format: int32
                                      type: integer
                                    periodSeconds:
5829
5830
5831
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
5832
5833
5834
                                      format: int32
                                      type: integer
                                    successThreshold:
5835
5836
5837
                                      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.
5838
5839
5840
                                      format: int32
                                      type: integer
                                    tcpSocket:
5841
                                      description: TCPSocket specifies a connection to a TCP port.
5842
5843
                                      properties:
                                        host:
5844
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
5845
5846
5847
5848
5849
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5850
5851
5852
5853
                                          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.
5854
5855
5856
5857
5858
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
                                      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.
5870
5871
5872
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
5873
5874
5875
5876
                                      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
5877
5878
5879
5880
                                      format: int32
                                      type: integer
                                  type: object
                                name:
5881
5882
5883
5884
                                  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.
5885
5886
                                  type: string
                                ports:
5887
5888
5889
5890
5891
5892
5893
5894
                                  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.
5895
                                  items:
5896
                                    description: ContainerPort represents a network port in a single container.
5897
5898
                                    properties:
                                      containerPort:
5899
5900
5901
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
5902
5903
5904
                                        format: int32
                                        type: integer
                                      hostIP:
5905
                                        description: What host IP to bind the external port to.
5906
                                        type: string
5907
                                      hostPort:
5908
5909
5910
5911
5912
                                        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.
5913
5914
5915
                                        format: int32
                                        type: integer
                                      name:
5916
5917
5918
5919
                                        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.
5920
                                        type: string
5921
5922
                                      protocol:
                                        default: TCP
5923
5924
5925
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
5926
5927
                                        type: string
                                    required:
5928
                                      - containerPort
5929
                                    type: object
5930
5931
5932
5933
5934
5935
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
5936
5937
5938
5939
5940
                                  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
5941
5942
                                  properties:
                                    exec:
5943
                                      description: Exec specifies a command to execute in the container.
5944
5945
                                      properties:
                                        command:
5946
5947
5948
5949
5950
5951
                                          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.
5952
5953
5954
5955
5956
5957
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
5958
5959
5960
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
5961
5962
5963
                                      format: int32
                                      type: integer
                                    grpc:
5964
                                      description: GRPC specifies a GRPC HealthCheckRequest.
5965
5966
                                      properties:
                                        port:
5967
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5968
5969
5970
5971
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
5972
5973
5974
5975
5976
                                          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.
5977
5978
5979
5980
5981
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
5982
                                      description: HTTPGet specifies an HTTP GET request to perform.
5983
5984
                                      properties:
                                        host:
5985
5986
5987
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
5988
5989
                                          type: string
                                        httpHeaders:
5990
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
5991
                                          items:
5992
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
5993
5994
                                            properties:
                                              name:
5995
5996
5997
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
5998
5999
                                                type: string
                                              value:
6000
                                                description: The header field value
6001
6002
6003
6004
6005
6006
6007
6008
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
6009
                                          description: Path to access on the HTTP server.
6010
6011
6012
6013
6014
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
6015
6016
6017
6018
                                          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.
6019
6020
                                          x-kubernetes-int-or-string: true
                                        scheme:
6021
6022
6023
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
6024
6025
6026
6027
6028
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
6029
6030
6031
                                      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
6032
6033
6034
                                      format: int32
                                      type: integer
                                    periodSeconds:
6035
6036
6037
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
6038
6039
6040
                                      format: int32
                                      type: integer
                                    successThreshold:
6041
6042
6043
                                      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.
6044
6045
6046
                                      format: int32
                                      type: integer
                                    tcpSocket:
6047
                                      description: TCPSocket specifies a connection to a TCP port.
6048
6049
                                      properties:
                                        host:
6050
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
6051
6052
6053
6054
6055
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
6056
6057
6058
6059
                                          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.
6060
6061
6062
6063
6064
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
                                      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.
6076
6077
6078
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
6079
6080
6081
6082
                                      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
6083
6084
6085
6086
                                      format: int32
                                      type: integer
                                  type: object
                                resizePolicy:
6087
                                  description: Resources resize policy for the container.
6088
                                  items:
6089
                                    description: ContainerResizePolicy represents resource resize policy for the container.
6090
6091
                                    properties:
                                      resourceName:
6092
6093
6094
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
6095
6096
                                        type: string
                                      restartPolicy:
6097
6098
6099
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
6100
6101
6102
6103
6104
6105
6106
6107
                                        type: string
                                    required:
                                      - resourceName
                                      - restartPolicy
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
6108
6109
6110
6111
                                  description: |-
                                    Compute Resources required by this container.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6112
6113
                                  properties:
                                    claims:
6114
6115
6116
6117
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

6118
                                        This field depends on the
6119
6120
6121
                                        DynamicResourceAllocation feature gate.

                                        This field is immutable. It can only be set for containers.
6122
                                      items:
6123
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
6124
6125
                                        properties:
                                          name:
6126
6127
6128
6129
                                            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.
6130
6131
                                            type: string
                                          request:
6132
6133
6134
6135
                                            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.
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
                                            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
6151
6152
6153
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6154
6155
6156
6157
6158
6159
6160
6161
                                      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
6162
6163
6164
6165
6166
                                      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/
6167
6168
6169
                                      type: object
                                  type: object
                                restartPolicy:
6170
6171
                                  description: |-
                                    RestartPolicy defines the restart behavior of individual containers in a pod.
6172
                                    This overrides the pod-level restart policy. When this field is not specified,
6173
                                    the restart behavior is defined by the Pod's restart policy and the container type.
6174
6175
                                    Additionally, setting the RestartPolicy as "Always" for the init container will
                                    have the following effect:
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
                                    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.
6186
                                  type: string
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
                                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
6238
                                securityContext:
6239
6240
6241
6242
                                  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/
6243
6244
                                  properties:
                                    allowPrivilegeEscalation:
6245
6246
6247
6248
6249
6250
6251
6252
                                      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.
6253
6254
                                      type: boolean
                                    appArmorProfile:
6255
6256
6257
6258
                                      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.
6259
6260
                                      properties:
                                        localhostProfile:
6261
6262
6263
6264
6265
                                          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".
6266
6267
                                          type: string
                                        type:
6268
6269
6270
6271
6272
6273
                                          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.
6274
6275
6276
6277
6278
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
6279
6280
6281
6282
                                      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.
6283
6284
                                      properties:
                                        add:
6285
                                          description: Added capabilities
6286
                                          items:
6287
                                            description: Capability represent POSIX capabilities type
6288
6289
6290
6291
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
6292
                                          description: Removed capabilities
6293
                                          items:
6294
                                            description: Capability represent POSIX capabilities type
6295
6296
6297
6298
6299
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
6300
6301
6302
6303
6304
                                      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.
6305
6306
                                      type: boolean
                                    procMount:
6307
6308
6309
6310
6311
6312
                                      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.
6313
6314
                                      type: string
                                    readOnlyRootFilesystem:
6315
6316
6317
6318
                                      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.
6319
6320
                                      type: boolean
                                    runAsGroup:
6321
6322
6323
6324
6325
6326
                                      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.
6327
6328
6329
                                      format: int64
                                      type: integer
                                    runAsNonRoot:
6330
6331
6332
6333
6334
6335
6336
                                      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.
6337
6338
                                      type: boolean
                                    runAsUser:
6339
6340
6341
6342
6343
6344
                                      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.
6345
6346
6347
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
6348
6349
6350
6351
6352
6353
                                      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.
6354
6355
                                      properties:
                                        level:
6356
                                          description: Level is SELinux level label that applies to the container.
6357
6358
                                          type: string
                                        role:
6359
                                          description: Role is a SELinux role label that applies to the container.
6360
6361
                                          type: string
                                        type:
6362
                                          description: Type is a SELinux type label that applies to the container.
6363
6364
                                          type: string
                                        user:
6365
                                          description: User is a SELinux user label that applies to the container.
6366
6367
6368
                                          type: string
                                      type: object
                                    seccompProfile:
6369
6370
6371
6372
6373
                                      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.
6374
6375
                                      properties:
                                        localhostProfile:
6376
6377
6378
6379
6380
                                          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.
6381
6382
                                          type: string
                                        type:
6383
6384
6385
6386
6387
6388
6389
                                          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.
6390
6391
6392
6393
6394
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
6395
6396
6397
6398
6399
                                      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.
6400
6401
                                      properties:
                                        gmsaCredentialSpec:
6402
6403
6404
6405
                                          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.
6406
6407
                                          type: string
                                        gmsaCredentialSpecName:
6408
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
6409
6410
                                          type: string
                                        hostProcess:
6411
6412
6413
6414
6415
                                          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.
6416
6417
                                          type: boolean
                                        runAsUserName:
6418
6419
6420
6421
6422
                                          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.
6423
6424
6425
6426
                                          type: string
                                      type: object
                                  type: object
                                startupProbe:
6427
6428
6429
6430
6431
6432
6433
6434
                                  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
6435
6436
                                  properties:
                                    exec:
6437
                                      description: Exec specifies a command to execute in the container.
6438
6439
                                      properties:
                                        command:
6440
6441
6442
6443
6444
6445
                                          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.
6446
6447
6448
6449
6450
6451
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
6452
6453
6454
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
6455
6456
6457
                                      format: int32
                                      type: integer
                                    grpc:
6458
                                      description: GRPC specifies a GRPC HealthCheckRequest.
6459
6460
                                      properties:
                                        port:
6461
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
6462
6463
6464
6465
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
6466
6467
6468
6469
6470
                                          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.
6471
6472
6473
6474
6475
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
6476
                                      description: HTTPGet specifies an HTTP GET request to perform.
6477
6478
                                      properties:
                                        host:
6479
6480
6481
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
6482
6483
                                          type: string
                                        httpHeaders:
6484
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
6485
                                          items:
6486
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
6487
6488
                                            properties:
                                              name:
6489
6490
6491
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
6492
6493
                                                type: string
                                              value:
6494
                                                description: The header field value
6495
6496
6497
6498
6499
6500
6501
6502
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
6503
                                          description: Path to access on the HTTP server.
6504
6505
6506
6507
6508
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
6509
6510
6511
6512
                                          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.
6513
6514
                                          x-kubernetes-int-or-string: true
                                        scheme:
6515
6516
6517
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
6518
6519
6520
6521
6522
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
6523
6524
6525
                                      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
6526
6527
6528
                                      format: int32
                                      type: integer
                                    periodSeconds:
6529
6530
6531
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
6532
6533
6534
                                      format: int32
                                      type: integer
                                    successThreshold:
6535
6536
6537
                                      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.
6538
6539
6540
                                      format: int32
                                      type: integer
                                    tcpSocket:
6541
                                      description: TCPSocket specifies a connection to a TCP port.
6542
6543
                                      properties:
                                        host:
6544
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
6545
6546
6547
6548
6549
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
6550
6551
6552
6553
                                          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.
6554
6555
6556
6557
6558
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
                                      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.
6570
6571
6572
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
6573
6574
6575
6576
                                      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
6577
6578
6579
6580
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
6581
6582
6583
6584
                                  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.
6585
6586
                                  type: boolean
                                stdinOnce:
6587
6588
6589
6590
6591
6592
6593
6594
                                  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
6595
6596
                                  type: boolean
                                terminationMessagePath:
6597
6598
6599
6600
6601
6602
6603
6604
                                  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.
6605
6606
                                  type: string
                                terminationMessagePolicy:
6607
6608
6609
6610
6611
6612
6613
6614
                                  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.
6615
6616
                                  type: string
                                tty:
6617
6618
6619
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
6620
6621
                                  type: boolean
                                volumeDevices:
6622
                                  description: volumeDevices is the list of block devices to be used by the container.
6623
                                  items:
6624
                                    description: volumeDevice describes a mapping of a raw block device within a container.
6625
6626
                                    properties:
                                      devicePath:
6627
                                        description: devicePath is the path inside of the container that the device will be mapped to.
6628
6629
                                        type: string
                                      name:
6630
                                        description: name must match the name of a persistentVolumeClaim in the pod
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
                                        type: string
                                    required:
                                      - devicePath
                                      - name
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
6641
6642
6643
                                  description: |-
                                    Pod volumes to mount into the container's filesystem.
                                    Cannot be updated.
6644
                                  items:
6645
                                    description: VolumeMount describes a mounting of a Volume within a container.
6646
6647
                                    properties:
                                      mountPath:
6648
6649
6650
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
6651
6652
                                        type: string
                                      mountPropagation:
6653
6654
6655
6656
6657
6658
6659
                                        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).
6660
6661
                                        type: string
                                      name:
6662
                                        description: This must match the Name of a Volume.
6663
6664
                                        type: string
                                      readOnly:
6665
6666
6667
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
6668
6669
                                        type: boolean
                                      recursiveReadOnly:
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
                                        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.
6687
6688
                                        type: string
                                      subPath:
6689
6690
6691
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
6692
6693
                                        type: string
                                      subPathExpr:
6694
6695
6696
6697
6698
                                        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.
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
                                        type: string
                                    required:
                                      - mountPath
                                      - name
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
6709
6710
6711
6712
6713
                                  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.
6714
6715
6716
6717
6718
6719
6720
6721
6722
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          mainContainer:
6723
                            description: A single application container that you want to run within a pod.
6724
6725
                            properties:
                              args:
6726
6727
6728
6729
6730
6731
6732
6733
6734
                                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
6735
6736
6737
6738
6739
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              command:
6740
6741
6742
6743
6744
6745
6746
6747
6748
                                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
6749
6750
6751
6752
6753
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              env:
6754
6755
6756
                                description: |-
                                  List of environment variables to set in the container.
                                  Cannot be updated.
6757
                                items:
6758
                                  description: EnvVar represents an environment variable present in a Container.
6759
6760
                                  properties:
                                    name:
6761
6762
6763
                                      description: |-
                                        Name of the environment variable.
                                        May consist of any printable ASCII characters except '='.
6764
6765
                                      type: string
                                    value:
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
                                      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 "".
6776
6777
                                      type: string
                                    valueFrom:
6778
                                      description: Source for the environment variable's value. Cannot be used if value is not empty.
6779
6780
                                      properties:
                                        configMapKeyRef:
6781
                                          description: Selects a key of a ConfigMap.
6782
6783
                                          properties:
                                            key:
6784
                                              description: The key to select.
6785
6786
6787
                                              type: string
                                            name:
                                              default: ""
6788
6789
6790
6791
6792
6793
                                              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
6794
6795
                                              type: string
                                            optional:
6796
                                              description: Specify whether the ConfigMap or its key must be defined
6797
6798
6799
6800
6801
6802
                                              type: boolean
                                          required:
                                            - key
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        fieldRef:
6803
6804
6805
                                          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.
6806
6807
                                          properties:
                                            apiVersion:
6808
                                              description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
6809
6810
                                              type: string
                                            fieldPath:
6811
                                              description: Path of the field to select in the specified API version.
6812
6813
6814
6815
6816
                                              type: string
                                          required:
                                            - fieldPath
                                          type: object
                                          x-kubernetes-map-type: atomic
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
                                        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
6853
                                        resourceFieldRef:
6854
6855
6856
                                          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.
6857
6858
                                          properties:
                                            containerName:
6859
                                              description: 'Container name: required for volumes, optional for env vars'
6860
6861
6862
6863
6864
                                              type: string
                                            divisor:
                                              anyOf:
                                                - type: integer
                                                - type: string
6865
                                              description: Specifies the output format of the exposed resources, defaults to "1"
6866
6867
6868
                                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                              x-kubernetes-int-or-string: true
                                            resource:
6869
                                              description: 'Required: resource to select'
6870
6871
6872
6873
6874
6875
                                              type: string
                                          required:
                                            - resource
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        secretKeyRef:
6876
                                          description: Selects a key of a secret in the pod's namespace
6877
6878
                                          properties:
                                            key:
6879
                                              description: The key of the secret to select from.  Must be a valid secret key.
6880
6881
6882
                                              type: string
                                            name:
                                              default: ""
6883
6884
6885
6886
6887
6888
                                              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
6889
6890
                                              type: string
                                            optional:
6891
                                              description: Specify whether the Secret or its key must be defined
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
                                              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:
6906
6907
                                description: |-
                                  List of sources to populate environment variables in the container.
6908
6909
                                  The keys defined within a source may consist of any printable ASCII characters except '='.
                                  When a key exists in multiple
6910
6911
6912
                                  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.
6913
                                items:
6914
                                  description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
6915
6916
                                  properties:
                                    configMapRef:
6917
                                      description: The ConfigMap to select from
6918
6919
6920
                                      properties:
                                        name:
                                          default: ""
6921
6922
6923
6924
6925
6926
                                          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
6927
6928
                                          type: string
                                        optional:
6929
                                          description: Specify whether the ConfigMap must be defined
6930
6931
6932
6933
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    prefix:
6934
6935
6936
                                      description: |-
                                        Optional text to prepend to the name of each environment variable.
                                        May consist of any printable ASCII characters except '='.
6937
6938
                                      type: string
                                    secretRef:
6939
                                      description: The Secret to select from
6940
6941
6942
                                      properties:
                                        name:
                                          default: ""
6943
6944
6945
6946
6947
6948
                                          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
6949
6950
                                          type: string
                                        optional:
6951
                                          description: Specify whether the Secret must be defined
6952
6953
6954
6955
6956
6957
6958
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              image:
6959
6960
6961
6962
6963
                                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.
6964
6965
                                type: string
                              imagePullPolicy:
6966
6967
6968
6969
6970
6971
                                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
6972
6973
                                type: string
                              lifecycle:
6974
6975
6976
                                description: |-
                                  Actions that the management system should take in response to container lifecycle events.
                                  Cannot be updated.
6977
6978
                                properties:
                                  postStart:
6979
6980
6981
6982
6983
                                    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
6984
6985
                                    properties:
                                      exec:
6986
                                        description: Exec specifies a command to execute in the container.
6987
6988
                                        properties:
                                          command:
6989
6990
6991
6992
6993
6994
                                            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.
6995
6996
6997
6998
6999
7000
                                            items:
                                              type: string
                                            type: array
                                            x-kubernetes-list-type: atomic
                                        type: object
                                      httpGet:
7001
                                        description: HTTPGet specifies an HTTP GET request to perform.
7002
7003
                                        properties:
                                          host:
7004
7005
7006
                                            description: |-
                                              Host name to connect to, defaults to the pod IP. You probably want to set
                                              "Host" in httpHeaders instead.
7007
7008
                                            type: string
                                          httpHeaders:
7009
                                            description: Custom headers to set in the request. HTTP allows repeated headers.
7010
                                            items:
7011
                                              description: HTTPHeader describes a custom header to be used in HTTP probes
7012
7013
                                              properties:
                                                name:
7014
7015
7016
                                                  description: |-
                                                    The header field name.
                                                    This will be canonicalized upon output, so case-variant names will be understood as the same header.
7017
7018
                                                  type: string
                                                value:
7019
                                                  description: The header field value
7020
7021
7022
7023
7024
7025
7026
7027
                                                  type: string
                                              required:
                                                - name
                                                - value
                                              type: object
                                            type: array
                                            x-kubernetes-list-type: atomic
                                          path:
7028
                                            description: Path to access on the HTTP server.
7029
7030
7031
7032
7033
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
7034
7035
7036
7037
                                            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.
7038
7039
                                            x-kubernetes-int-or-string: true
                                          scheme:
7040
7041
7042
                                            description: |-
                                              Scheme to use for connecting to the host.
                                              Defaults to HTTP.
7043
7044
7045
7046
7047
                                            type: string
                                        required:
                                          - port
                                        type: object
                                      sleep:
7048
                                        description: Sleep represents a duration that the container should sleep.
7049
7050
                                        properties:
                                          seconds:
7051
                                            description: Seconds is the number of seconds to sleep.
7052
7053
7054
7055
7056
7057
                                            format: int64
                                            type: integer
                                        required:
                                          - seconds
                                        type: object
                                      tcpSocket:
7058
7059
7060
7061
                                        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.
7062
7063
                                        properties:
                                          host:
7064
                                            description: 'Optional: Host name to connect to, defaults to the pod IP.'
7065
7066
7067
7068
7069
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
7070
7071
7072
7073
                                            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.
7074
7075
7076
7077
7078
7079
                                            x-kubernetes-int-or-string: true
                                        required:
                                          - port
                                        type: object
                                    type: object
                                  preStop:
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
                                    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
7090
7091
                                    properties:
                                      exec:
7092
                                        description: Exec specifies a command to execute in the container.
7093
7094
                                        properties:
                                          command:
7095
7096
7097
7098
7099
7100
                                            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.
7101
7102
7103
7104
7105
7106
                                            items:
                                              type: string
                                            type: array
                                            x-kubernetes-list-type: atomic
                                        type: object
                                      httpGet:
7107
                                        description: HTTPGet specifies an HTTP GET request to perform.
7108
7109
                                        properties:
                                          host:
7110
7111
7112
                                            description: |-
                                              Host name to connect to, defaults to the pod IP. You probably want to set
                                              "Host" in httpHeaders instead.
7113
7114
                                            type: string
                                          httpHeaders:
7115
                                            description: Custom headers to set in the request. HTTP allows repeated headers.
7116
                                            items:
7117
                                              description: HTTPHeader describes a custom header to be used in HTTP probes
7118
7119
                                              properties:
                                                name:
7120
7121
7122
                                                  description: |-
                                                    The header field name.
                                                    This will be canonicalized upon output, so case-variant names will be understood as the same header.
7123
7124
                                                  type: string
                                                value:
7125
                                                  description: The header field value
7126
7127
7128
7129
7130
7131
7132
7133
                                                  type: string
                                              required:
                                                - name
                                                - value
                                              type: object
                                            type: array
                                            x-kubernetes-list-type: atomic
                                          path:
7134
                                            description: Path to access on the HTTP server.
7135
7136
7137
7138
7139
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
7140
7141
7142
7143
                                            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.
7144
7145
                                            x-kubernetes-int-or-string: true
                                          scheme:
7146
7147
7148
                                            description: |-
                                              Scheme to use for connecting to the host.
                                              Defaults to HTTP.
7149
7150
7151
7152
7153
                                            type: string
                                        required:
                                          - port
                                        type: object
                                      sleep:
7154
                                        description: Sleep represents a duration that the container should sleep.
7155
7156
                                        properties:
                                          seconds:
7157
                                            description: Seconds is the number of seconds to sleep.
7158
7159
7160
7161
7162
7163
                                            format: int64
                                            type: integer
                                        required:
                                          - seconds
                                        type: object
                                      tcpSocket:
7164
7165
7166
7167
                                        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.
7168
7169
                                        properties:
                                          host:
7170
                                            description: 'Optional: Host name to connect to, defaults to the pod IP.'
7171
7172
7173
7174
7175
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
7176
7177
7178
7179
                                            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.
7180
7181
7182
7183
7184
7185
                                            x-kubernetes-int-or-string: true
                                        required:
                                          - port
                                        type: object
                                    type: object
                                  stopSignal:
7186
7187
7188
7189
                                    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
7190
7191
7192
                                    type: string
                                type: object
                              livenessProbe:
7193
7194
7195
7196
7197
                                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
7198
7199
                                properties:
                                  exec:
7200
                                    description: Exec specifies a command to execute in the container.
7201
7202
                                    properties:
                                      command:
7203
7204
7205
7206
7207
7208
                                        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.
7209
7210
7211
7212
7213
7214
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
7215
7216
7217
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
7218
7219
7220
                                    format: int32
                                    type: integer
                                  grpc:
7221
                                    description: GRPC specifies a GRPC HealthCheckRequest.
7222
7223
                                    properties:
                                      port:
7224
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
7225
7226
7227
7228
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
7229
7230
7231
7232
7233
                                        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.
7234
7235
7236
7237
7238
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
7239
                                    description: HTTPGet specifies an HTTP GET request to perform.
7240
7241
                                    properties:
                                      host:
7242
7243
7244
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
7245
7246
                                        type: string
                                      httpHeaders:
7247
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
7248
                                        items:
7249
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
7250
7251
                                          properties:
                                            name:
7252
7253
7254
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
7255
7256
                                              type: string
                                            value:
7257
                                              description: The header field value
7258
7259
7260
7261
7262
7263
7264
7265
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
7266
                                        description: Path to access on the HTTP server.
7267
7268
7269
7270
7271
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7272
7273
7274
7275
                                        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.
7276
7277
                                        x-kubernetes-int-or-string: true
                                      scheme:
7278
7279
7280
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
7281
7282
7283
7284
7285
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
7286
7287
7288
                                    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
7289
7290
7291
                                    format: int32
                                    type: integer
                                  periodSeconds:
7292
7293
7294
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
7295
7296
7297
                                    format: int32
                                    type: integer
                                  successThreshold:
7298
7299
7300
                                    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.
7301
7302
7303
                                    format: int32
                                    type: integer
                                  tcpSocket:
7304
                                    description: TCPSocket specifies a connection to a TCP port.
7305
7306
                                    properties:
                                      host:
7307
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
7308
7309
7310
7311
7312
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7313
7314
7315
7316
                                        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.
7317
7318
7319
7320
7321
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
                                    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.
7333
7334
7335
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
7336
7337
7338
7339
                                    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
7340
7341
7342
7343
                                    format: int32
                                    type: integer
                                type: object
                              name:
7344
7345
7346
7347
                                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.
7348
7349
                                type: string
                              ports:
7350
7351
7352
7353
7354
7355
7356
7357
                                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.
7358
                                items:
7359
                                  description: ContainerPort represents a network port in a single container.
7360
7361
                                  properties:
                                    containerPort:
7362
7363
7364
                                      description: |-
                                        Number of port to expose on the pod's IP address.
                                        This must be a valid port number, 0 < x < 65536.
7365
7366
7367
                                      format: int32
                                      type: integer
                                    hostIP:
7368
                                      description: What host IP to bind the external port to.
7369
7370
                                      type: string
                                    hostPort:
7371
7372
7373
7374
7375
                                      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.
7376
7377
7378
                                      format: int32
                                      type: integer
                                    name:
7379
7380
7381
7382
                                      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.
7383
7384
7385
                                      type: string
                                    protocol:
                                      default: TCP
7386
7387
7388
                                      description: |-
                                        Protocol for port. Must be UDP, TCP, or SCTP.
                                        Defaults to "TCP".
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
                                      type: string
                                  required:
                                    - containerPort
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - containerPort
                                  - protocol
                                x-kubernetes-list-type: map
                              readinessProbe:
7399
7400
7401
7402
7403
                                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
7404
7405
                                properties:
                                  exec:
7406
                                    description: Exec specifies a command to execute in the container.
7407
7408
                                    properties:
                                      command:
7409
7410
7411
7412
7413
7414
                                        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.
7415
7416
7417
7418
7419
7420
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
7421
7422
7423
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
7424
7425
7426
                                    format: int32
                                    type: integer
                                  grpc:
7427
                                    description: GRPC specifies a GRPC HealthCheckRequest.
7428
7429
                                    properties:
                                      port:
7430
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
7431
7432
7433
7434
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
7435
7436
7437
7438
7439
                                        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.
7440
7441
7442
7443
7444
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
7445
                                    description: HTTPGet specifies an HTTP GET request to perform.
7446
7447
                                    properties:
                                      host:
7448
7449
7450
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
7451
7452
                                        type: string
                                      httpHeaders:
7453
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
7454
                                        items:
7455
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
7456
7457
                                          properties:
                                            name:
7458
7459
7460
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
7461
7462
                                              type: string
                                            value:
7463
                                              description: The header field value
7464
7465
7466
7467
7468
7469
7470
7471
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
7472
                                        description: Path to access on the HTTP server.
7473
7474
7475
7476
7477
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7478
7479
7480
7481
                                        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.
7482
7483
                                        x-kubernetes-int-or-string: true
                                      scheme:
7484
7485
7486
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
7487
7488
7489
7490
7491
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
7492
7493
7494
                                    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
7495
7496
7497
                                    format: int32
                                    type: integer
                                  periodSeconds:
7498
7499
7500
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
7501
7502
7503
                                    format: int32
                                    type: integer
                                  successThreshold:
7504
7505
7506
                                    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.
7507
7508
7509
                                    format: int32
                                    type: integer
                                  tcpSocket:
7510
                                    description: TCPSocket specifies a connection to a TCP port.
7511
7512
                                    properties:
                                      host:
7513
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
7514
7515
7516
7517
7518
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7519
7520
7521
7522
                                        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.
7523
7524
7525
7526
7527
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
                                    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.
7539
7540
7541
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
7542
7543
7544
7545
                                    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
7546
7547
7548
7549
                                    format: int32
                                    type: integer
                                type: object
                              resizePolicy:
7550
                                description: Resources resize policy for the container.
7551
                                items:
7552
                                  description: ContainerResizePolicy represents resource resize policy for the container.
7553
7554
                                  properties:
                                    resourceName:
7555
7556
7557
                                      description: |-
                                        Name of the resource to which this resource resize policy applies.
                                        Supported values: cpu, memory.
7558
7559
                                      type: string
                                    restartPolicy:
7560
7561
7562
                                      description: |-
                                        Restart policy to apply when specified resource is resized.
                                        If not specified, it defaults to NotRequired.
7563
7564
7565
7566
7567
7568
7569
7570
                                      type: string
                                  required:
                                    - resourceName
                                    - restartPolicy
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              resources:
7571
7572
7573
7574
                                description: |-
                                  Compute Resources required by this container.
                                  Cannot be updated.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
7575
7576
                                properties:
                                  claims:
7577
7578
7579
7580
                                    description: |-
                                      Claims lists the names of resources, defined in spec.resourceClaims,
                                      that are used by this container.

7581
                                      This field depends on the
7582
7583
7584
                                      DynamicResourceAllocation feature gate.

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

                              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.
8368
8369
                            properties:
                              claims:
8370
8371
8372
8373
                                description: |-
                                  Claims lists the names of resources, defined in spec.resourceClaims,
                                  that are used by this container.

8374
                                  This field depends on the
8375
8376
8377
                                  DynamicResourceAllocation feature gate.

                                  This field is immutable. It can only be set for containers.
8378
                                items:
8379
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
8380
8381
                                  properties:
                                    name:
8382
8383
8384
8385
                                      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.
8386
8387
                                      type: string
                                    request:
8388
8389
8390
8391
                                      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.
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
                                      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
8407
8408
8409
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
8410
8411
8412
8413
8414
8415
8416
8417
                                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
8418
8419
8420
8421
8422
                                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/
8423
8424
8425
                                type: object
                            type: object
                          restartPolicy:
8426
8427
8428
8429
8430
                            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
8431
8432
                            type: string
                          runtimeClassName:
8433
8434
8435
8436
8437
8438
                            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
8439
8440
                            type: string
                          schedulerName:
8441
8442
8443
                            description: |-
                              If specified, the pod will be dispatched by specified scheduler.
                              If not specified, the pod will be dispatched by default scheduler.
8444
8445
                            type: string
                          schedulingGates:
8446
8447
8448
8449
8450
8451
                            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.
8452
                            items:
8453
                              description: PodSchedulingGate is associated to a Pod to guard its scheduling.
8454
8455
                              properties:
                                name:
8456
8457
8458
                                  description: |-
                                    Name of the scheduling gate.
                                    Each scheduling gate must have a unique name field.
8459
8460
8461
8462
8463
8464
8465
8466
8467
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          securityContext:
8468
8469
8470
                            description: |-
                              SecurityContext holds pod-level security attributes and common container settings.
                              Optional: Defaults to empty.  See type description for default values of each field.
8471
8472
                            properties:
                              appArmorProfile:
8473
8474
8475
                                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.
8476
8477
                                properties:
                                  localhostProfile:
8478
8479
8480
8481
8482
                                    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".
8483
8484
                                    type: string
                                  type:
8485
8486
8487
8488
8489
8490
                                    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.
8491
8492
8493
8494
8495
                                    type: string
                                required:
                                  - type
                                type: object
                              fsGroup:
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
                                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.
8507
8508
8509
                                format: int64
                                type: integer
                              fsGroupChangePolicy:
8510
8511
8512
8513
8514
8515
8516
8517
                                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.
8518
8519
                                type: string
                              runAsGroup:
8520
8521
8522
8523
8524
8525
8526
                                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.
8527
8528
8529
                                format: int64
                                type: integer
                              runAsNonRoot:
8530
8531
8532
8533
8534
8535
8536
                                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.
8537
8538
                                type: boolean
                              runAsUser:
8539
8540
8541
8542
8543
8544
8545
                                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.
8546
8547
8548
                                format: int64
                                type: integer
                              seLinuxChangePolicy:
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
                                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.
8573
8574
                                type: string
                              seLinuxOptions:
8575
8576
8577
8578
8579
8580
8581
                                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.
8582
8583
                                properties:
                                  level:
8584
                                    description: Level is SELinux level label that applies to the container.
8585
8586
                                    type: string
                                  role:
8587
                                    description: Role is a SELinux role label that applies to the container.
8588
8589
                                    type: string
                                  type:
8590
                                    description: Type is a SELinux type label that applies to the container.
8591
8592
                                    type: string
                                  user:
8593
                                    description: User is a SELinux user label that applies to the container.
8594
8595
8596
                                    type: string
                                type: object
                              seccompProfile:
8597
8598
8599
                                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.
8600
8601
                                properties:
                                  localhostProfile:
8602
8603
8604
8605
8606
                                    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.
8607
8608
                                    type: string
                                  type:
8609
8610
8611
8612
8613
8614
8615
                                    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.
8616
8617
8618
8619
8620
                                    type: string
                                required:
                                  - type
                                type: object
                              supplementalGroups:
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
                                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.
8631
8632
8633
8634
8635
8636
                                items:
                                  format: int64
                                  type: integer
                                type: array
                                x-kubernetes-list-type: atomic
                              supplementalGroupsPolicy:
8637
8638
8639
8640
8641
8642
                                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.
8643
8644
                                type: string
                              sysctls:
8645
8646
8647
8648
                                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.
8649
                                items:
8650
                                  description: Sysctl defines a kernel parameter to be set
8651
8652
                                  properties:
                                    name:
8653
                                      description: Name of a property to set
8654
8655
                                      type: string
                                    value:
8656
                                      description: Value of a property to set
8657
8658
8659
8660
8661
8662
8663
8664
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              windowsOptions:
8665
8666
8667
8668
8669
                                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.
8670
8671
                                properties:
                                  gmsaCredentialSpec:
8672
8673
8674
8675
                                    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.
8676
8677
                                    type: string
                                  gmsaCredentialSpecName:
8678
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
8679
8680
                                    type: string
                                  hostProcess:
8681
8682
8683
8684
8685
                                    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.
8686
8687
                                    type: boolean
                                  runAsUserName:
8688
8689
8690
8691
8692
                                    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.
8693
8694
8695
8696
                                    type: string
                                type: object
                            type: object
                          serviceAccount:
8697
8698
8699
                            description: |-
                              DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.
                              Deprecated: Use serviceAccountName instead.
8700
8701
                            type: string
                          serviceAccountName:
8702
8703
8704
                            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/
8705
8706
                            type: string
                          setHostnameAsFQDN:
8707
8708
8709
8710
8711
8712
                            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.
8713
8714
                            type: boolean
                          shareProcessNamespace:
8715
8716
8717
8718
8719
8720
                            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.
8721
8722
                            type: boolean
                          subdomain:
8723
8724
8725
                            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.
8726
8727
                            type: string
                          terminationGracePeriodSeconds:
8728
8729
8730
8731
8732
8733
8734
8735
8736
                            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.
8737
8738
8739
                            format: int64
                            type: integer
                          tolerations:
8740
                            description: If specified, the pod's tolerations.
8741
                            items:
8742
8743
8744
                              description: |-
                                The pod this Toleration is attached to tolerates any taint that matches
                                the triple <key,value,effect> using the matching operator <operator>.
8745
8746
                              properties:
                                effect:
8747
8748
8749
                                  description: |-
                                    Effect indicates the taint effect to match. Empty means match all taint effects.
                                    When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
8750
8751
                                  type: string
                                key:
8752
8753
8754
                                  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.
8755
8756
                                  type: string
                                operator:
8757
8758
8759
8760
8761
                                  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.
8762
8763
                                  type: string
                                tolerationSeconds:
8764
8765
8766
8767
8768
                                  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.
8769
8770
8771
                                  format: int64
                                  type: integer
                                value:
8772
8773
8774
                                  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.
8775
8776
8777
8778
8779
                                  type: string
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          topologySpreadConstraints:
8780
8781
8782
8783
                            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.
8784
                            items:
8785
                              description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
8786
8787
                              properties:
                                labelSelector:
8788
8789
8790
8791
                                  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.
8792
8793
                                  properties:
                                    matchExpressions:
8794
                                      description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
8795
                                      items:
8796
8797
8798
                                        description: |-
                                          A label selector requirement is a selector that contains values, a key, and an operator that
                                          relates the key and values.
8799
8800
                                        properties:
                                          key:
8801
                                            description: key is the label key that the selector applies to.
8802
8803
                                            type: string
                                          operator:
8804
8805
8806
                                            description: |-
                                              operator represents a key's relationship to a set of values.
                                              Valid operators are In, NotIn, Exists and DoesNotExist.
8807
8808
                                            type: string
                                          values:
8809
8810
8811
8812
8813
                                            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.
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
                                            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
8827
8828
8829
8830
                                      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.
8831
8832
8833
8834
                                      type: object
                                  type: object
                                  x-kubernetes-map-type: atomic
                                matchLabelKeys:
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
                                  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).
8846
8847
8848
8849
8850
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                maxSkew:
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
                                  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.
8869
8870
8871
                                  format: int32
                                  type: integer
                                minDomains:
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
                                  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.
8892
8893
8894
                                  format: int32
                                  type: integer
                                nodeAffinityPolicy:
8895
8896
8897
8898
8899
8900
8901
                                  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.
8902
8903
                                  type: string
                                nodeTaintsPolicy:
8904
8905
8906
8907
8908
8909
8910
8911
                                  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.
8912
8913
                                  type: string
                                topologyKey:
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
                                  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.
8925
8926
                                  type: string
                                whenUnsatisfiable:
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
                                  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.
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
                                  type: string
                              required:
                                - maxSkew
                                - topologyKey
                                - whenUnsatisfiable
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - topologyKey
                              - whenUnsatisfiable
                            x-kubernetes-list-type: map
                          volumes:
8958
8959
8960
                            description: |-
                              List of volumes that can be mounted by containers belonging to the pod.
                              More info: https://kubernetes.io/docs/concepts/storage/volumes
8961
                            items:
8962
                              description: Volume represents a named volume in a pod that may be accessed by any container in the pod.
8963
8964
                              properties:
                                awsElasticBlockStore:
8965
8966
8967
8968
8969
8970
                                  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
8971
8972
                                  properties:
                                    fsType:
8973
8974
8975
8976
8977
                                      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
8978
8979
                                      type: string
                                    partition:
8980
8981
8982
8983
8984
                                      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).
8985
8986
8987
                                      format: int32
                                      type: integer
                                    readOnly:
8988
8989
8990
                                      description: |-
                                        readOnly value true will force the readOnly setting in VolumeMounts.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
8991
8992
                                      type: boolean
                                    volumeID:
8993
8994
8995
                                      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
8996
8997
8998
8999
9000
                                      type: string
                                  required:
                                    - volumeID
                                  type: object
                                azureDisk:
9001
9002
9003
9004
                                  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.
9005
9006
                                  properties:
                                    cachingMode:
9007
                                      description: 'cachingMode is the Host Caching mode: None, Read Only, Read Write.'
9008
9009
                                      type: string
                                    diskName:
9010
                                      description: diskName is the Name of the data disk in the blob storage
9011
9012
                                      type: string
                                    diskURI:
9013
                                      description: diskURI is the URI of data disk in the blob storage
9014
9015
9016
                                      type: string
                                    fsType:
                                      default: ext4
9017
9018
9019
9020
                                      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.
9021
9022
                                      type: string
                                    kind:
9023
                                      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'
9024
9025
9026
                                      type: string
                                    readOnly:
                                      default: false
9027
9028
9029
                                      description: |-
                                        readOnly Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9030
9031
9032
9033
9034
9035
                                      type: boolean
                                  required:
                                    - diskName
                                    - diskURI
                                  type: object
                                azureFile:
9036
9037
9038
9039
                                  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.
9040
9041
                                  properties:
                                    readOnly:
9042
9043
9044
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9045
9046
                                      type: boolean
                                    secretName:
9047
                                      description: secretName is the  name of secret that contains Azure Storage Account Name and Key
9048
9049
                                      type: string
                                    shareName:
9050
                                      description: shareName is the azure share Name
9051
9052
9053
9054
9055
9056
                                      type: string
                                  required:
                                    - secretName
                                    - shareName
                                  type: object
                                cephfs:
9057
9058
9059
                                  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.
9060
9061
                                  properties:
                                    monitors:
9062
9063
9064
                                      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
9065
9066
9067
9068
9069
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    path:
9070
                                      description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /'
9071
9072
                                      type: string
                                    readOnly:
9073
9074
9075
9076
                                      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
9077
9078
                                      type: boolean
                                    secretFile:
9079
9080
9081
                                      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
9082
9083
                                      type: string
                                    secretRef:
9084
9085
9086
                                      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
9087
9088
9089
                                      properties:
                                        name:
                                          default: ""
9090
9091
9092
9093
9094
9095
                                          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
9096
9097
9098
9099
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    user:
9100
9101
9102
                                      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
9103
9104
9105
9106
9107
                                      type: string
                                  required:
                                    - monitors
                                  type: object
                                cinder:
9108
9109
9110
9111
9112
                                  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
9113
9114
                                  properties:
                                    fsType:
9115
9116
9117
9118
9119
                                      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
9120
9121
                                      type: string
                                    readOnly:
9122
9123
9124
9125
                                      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
9126
9127
                                      type: boolean
                                    secretRef:
9128
9129
9130
                                      description: |-
                                        secretRef is optional: points to a secret object containing parameters used to connect
                                        to OpenStack.
9131
9132
9133
                                      properties:
                                        name:
                                          default: ""
9134
9135
9136
9137
9138
9139
                                          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
9140
9141
9142
9143
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    volumeID:
9144
9145
9146
                                      description: |-
                                        volumeID used to identify the volume in cinder.
                                        More info: https://examples.k8s.io/mysql-cinder-pd/README.md
9147
9148
9149
9150
9151
                                      type: string
                                  required:
                                    - volumeID
                                  type: object
                                configMap:
9152
                                  description: configMap represents a configMap that should populate this volume
9153
9154
                                  properties:
                                    defaultMode:
9155
9156
9157
9158
9159
9160
9161
9162
                                      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.
9163
9164
9165
                                      format: int32
                                      type: integer
                                    items:
9166
9167
9168
9169
9170
9171
9172
9173
                                      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 '..'.
9174
                                      items:
9175
                                        description: Maps a string key to a path within a volume.
9176
9177
                                        properties:
                                          key:
9178
                                            description: key is the key to project.
9179
9180
                                            type: string
                                          mode:
9181
9182
9183
9184
9185
9186
9187
                                            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.
9188
9189
9190
                                            format: int32
                                            type: integer
                                          path:
9191
9192
9193
9194
9195
                                            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 '..'.
9196
9197
9198
9199
9200
9201
9202
9203
9204
                                            type: string
                                        required:
                                          - key
                                          - path
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    name:
                                      default: ""
9205
9206
9207
9208
9209
9210
                                      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
9211
9212
                                      type: string
                                    optional:
9213
                                      description: optional specify whether the ConfigMap or its keys must be defined
9214
9215
9216
9217
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                                csi:
9218
                                  description: csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
9219
9220
                                  properties:
                                    driver:
9221
9222
9223
                                      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.
9224
9225
                                      type: string
                                    fsType:
9226
9227
9228
9229
                                      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.
9230
9231
                                      type: string
                                    nodePublishSecretRef:
9232
9233
9234
9235
9236
9237
                                      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.
9238
9239
9240
                                      properties:
                                        name:
                                          default: ""
9241
9242
9243
9244
9245
9246
                                          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
9247
9248
9249
9250
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    readOnly:
9251
9252
9253
                                      description: |-
                                        readOnly specifies a read-only configuration for the volume.
                                        Defaults to false (read/write).
9254
9255
9256
9257
                                      type: boolean
                                    volumeAttributes:
                                      additionalProperties:
                                        type: string
9258
9259
9260
                                      description: |-
                                        volumeAttributes stores driver-specific properties that are passed to the CSI
                                        driver. Consult your driver's documentation for supported values.
9261
9262
9263
9264
9265
                                      type: object
                                  required:
                                    - driver
                                  type: object
                                downwardAPI:
9266
                                  description: downwardAPI represents downward API about the pod that should populate this volume
9267
9268
                                  properties:
                                    defaultMode:
9269
9270
9271
9272
9273
9274
9275
9276
9277
                                      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.
9278
9279
9280
                                      format: int32
                                      type: integer
                                    items:
9281
                                      description: Items is a list of downward API volume file
9282
                                      items:
9283
                                        description: DownwardAPIVolumeFile represents information to create the file containing the pod field
9284
9285
                                        properties:
                                          fieldRef:
9286
                                            description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
9287
9288
                                            properties:
                                              apiVersion:
9289
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
9290
9291
                                                type: string
                                              fieldPath:
9292
                                                description: Path of the field to select in the specified API version.
9293
9294
9295
9296
9297
9298
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          mode:
9299
9300
9301
9302
9303
9304
9305
                                            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.
9306
9307
9308
                                            format: int32
                                            type: integer
                                          path:
9309
                                            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 ''..'''
9310
9311
                                            type: string
                                          resourceFieldRef:
9312
9313
9314
                                            description: |-
                                              Selects a resource of the container: only resources limits and requests
                                              (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
9315
9316
                                            properties:
                                              containerName:
9317
                                                description: 'Container name: required for volumes, optional for env vars'
9318
9319
9320
9321
9322
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
9323
                                                description: Specifies the output format of the exposed resources, defaults to "1"
9324
9325
9326
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
9327
                                                description: 'Required: resource to select'
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
                                                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:
9340
9341
9342
                                  description: |-
                                    emptyDir represents a temporary directory that shares a pod's lifetime.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
9343
9344
                                  properties:
                                    medium:
9345
9346
9347
9348
9349
                                      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
9350
9351
9352
9353
9354
                                      type: string
                                    sizeLimit:
                                      anyOf:
                                        - type: integer
                                        - type: string
9355
9356
9357
9358
9359
9360
9361
                                      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
9362
9363
9364
9365
                                      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:
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
                                  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.
9391
9392
                                  properties:
                                    volumeClaimTemplate:
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
                                      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.
9415
9416
                                      properties:
                                        metadata:
9417
9418
9419
9420
                                          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.
9421
9422
                                          type: object
                                        spec:
9423
9424
9425
9426
9427
                                          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.
9428
9429
                                          properties:
                                            accessModes:
9430
9431
9432
                                              description: |-
                                                accessModes contains the desired access modes the volume should have.
                                                More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
9433
9434
9435
9436
9437
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            dataSource:
9438
9439
9440
9441
9442
9443
9444
9445
9446
                                              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.
9447
9448
                                              properties:
                                                apiGroup:
9449
9450
9451
9452
                                                  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.
9453
9454
                                                  type: string
                                                kind:
9455
                                                  description: Kind is the type of resource being referenced
9456
9457
                                                  type: string
                                                name:
9458
                                                  description: Name is the name of resource being referenced
9459
9460
9461
9462
9463
9464
9465
                                                  type: string
                                              required:
                                                - kind
                                                - name
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            dataSourceRef:
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
                                              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.
9490
9491
                                              properties:
                                                apiGroup:
9492
9493
9494
9495
                                                  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.
9496
9497
                                                  type: string
                                                kind:
9498
                                                  description: Kind is the type of resource being referenced
9499
9500
                                                  type: string
                                                name:
9501
                                                  description: Name is the name of resource being referenced
9502
9503
                                                  type: string
                                                namespace:
9504
9505
9506
9507
                                                  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.
9508
9509
9510
9511
9512
9513
                                                  type: string
                                              required:
                                                - kind
                                                - name
                                              type: object
                                            resources:
9514
9515
9516
9517
9518
9519
                                              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
9520
9521
9522
9523
9524
9525
9526
9527
                                              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
9528
9529
9530
                                                  description: |-
                                                    Limits describes the maximum amount of compute resources allowed.
                                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
9531
9532
9533
9534
9535
9536
9537
9538
                                                  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
9539
9540
9541
9542
9543
                                                  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/
9544
9545
9546
                                                  type: object
                                              type: object
                                            selector:
9547
                                              description: selector is a label query over volumes to consider for binding.
9548
9549
                                              properties:
                                                matchExpressions:
9550
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
9551
                                                  items:
9552
9553
9554
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
9555
9556
                                                    properties:
                                                      key:
9557
                                                        description: key is the label key that the selector applies to.
9558
9559
                                                        type: string
                                                      operator:
9560
9561
9562
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
9563
9564
                                                        type: string
                                                      values:
9565
9566
9567
9568
9569
                                                        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.
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
                                                        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
9583
9584
9585
9586
                                                  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.
9587
9588
9589
9590
                                                  type: object
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            storageClassName:
9591
9592
9593
                                              description: |-
                                                storageClassName is the name of the StorageClass required by the claim.
                                                More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
9594
9595
                                              type: string
                                            volumeAttributesClassName:
9596
9597
9598
9599
                                              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,
9600
9601
9602
                                                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.
9603
9604
9605
9606
                                                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/
9607
9608
                                              type: string
                                            volumeMode:
9609
9610
9611
                                              description: |-
                                                volumeMode defines what type of volume is required by the claim.
                                                Value of Filesystem is implied when not included in claim spec.
9612
9613
                                              type: string
                                            volumeName:
9614
                                              description: volumeName is the binding reference to the PersistentVolume backing this claim.
9615
9616
9617
9618
9619
9620
9621
                                              type: string
                                          type: object
                                      required:
                                        - spec
                                      type: object
                                  type: object
                                fc:
9622
                                  description: fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
9623
9624
                                  properties:
                                    fsType:
9625
9626
9627
9628
                                      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.
9629
9630
                                      type: string
                                    lun:
9631
                                      description: 'lun is Optional: FC target lun number'
9632
9633
9634
                                      format: int32
                                      type: integer
                                    readOnly:
9635
9636
9637
                                      description: |-
                                        readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9638
9639
                                      type: boolean
                                    targetWWNs:
9640
                                      description: 'targetWWNs is Optional: FC target worldwide names (WWNs)'
9641
9642
9643
9644
9645
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    wwids:
9646
9647
9648
                                      description: |-
                                        wwids Optional: FC volume world wide identifiers (wwids)
                                        Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
9649
9650
9651
9652
9653
9654
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                flexVolume:
9655
9656
9657
9658
                                  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.
9659
9660
                                  properties:
                                    driver:
9661
                                      description: driver is the name of the driver to use for this volume.
9662
9663
                                      type: string
                                    fsType:
9664
9665
9666
9667
                                      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.
9668
9669
9670
9671
                                      type: string
                                    options:
                                      additionalProperties:
                                        type: string
9672
                                      description: 'options is Optional: this field holds extra command options if any.'
9673
9674
                                      type: object
                                    readOnly:
9675
9676
9677
                                      description: |-
                                        readOnly is Optional: defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9678
9679
                                      type: boolean
                                    secretRef:
9680
9681
9682
9683
9684
9685
                                      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.
9686
9687
9688
                                      properties:
                                        name:
                                          default: ""
9689
9690
9691
9692
9693
9694
                                          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
9695
9696
9697
9698
9699
9700
9701
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                  required:
                                    - driver
                                  type: object
                                flocker:
9702
9703
9704
                                  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.
9705
9706
                                  properties:
                                    datasetName:
9707
9708
9709
                                      description: |-
                                        datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
                                        should be considered as deprecated
9710
9711
                                      type: string
                                    datasetUUID:
9712
                                      description: datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
9713
9714
9715
                                      type: string
                                  type: object
                                gcePersistentDisk:
9716
9717
9718
9719
9720
9721
                                  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
9722
9723
                                  properties:
                                    fsType:
9724
9725
9726
9727
9728
                                      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
9729
9730
                                      type: string
                                    partition:
9731
9732
9733
9734
9735
9736
                                      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
9737
9738
9739
                                      format: int32
                                      type: integer
                                    pdName:
9740
9741
9742
                                      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
9743
9744
                                      type: string
                                    readOnly:
9745
9746
9747
9748
                                      description: |-
                                        readOnly here will force the ReadOnly setting in VolumeMounts.
                                        Defaults to false.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
9749
9750
9751
9752
9753
                                      type: boolean
                                  required:
                                    - pdName
                                  type: object
                                gitRepo:
9754
9755
9756
9757
9758
                                  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.
9759
9760
                                  properties:
                                    directory:
9761
9762
9763
9764
9765
                                      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.
9766
9767
                                      type: string
                                    repository:
9768
                                      description: repository is the URL
9769
9770
                                      type: string
                                    revision:
9771
                                      description: revision is the commit hash for the specified revision.
9772
9773
9774
9775
9776
                                      type: string
                                  required:
                                    - repository
                                  type: object
                                glusterfs:
9777
9778
9779
                                  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.
9780
9781
                                  properties:
                                    endpoints:
9782
                                      description: endpoints is the endpoint name that details Glusterfs topology.
9783
9784
                                      type: string
                                    path:
9785
9786
9787
                                      description: |-
                                        path is the Glusterfs volume path.
                                        More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
9788
9789
                                      type: string
                                    readOnly:
9790
9791
9792
9793
                                      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
9794
9795
9796
9797
9798
9799
                                      type: boolean
                                  required:
                                    - endpoints
                                    - path
                                  type: object
                                hostPath:
9800
9801
9802
9803
9804
9805
                                  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
9806
9807
                                  properties:
                                    path:
9808
9809
9810
9811
                                      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
9812
9813
                                      type: string
                                    type:
9814
9815
9816
9817
                                      description: |-
                                        type for HostPath Volume
                                        Defaults to ""
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
9818
9819
9820
9821
9822
                                      type: string
                                  required:
                                    - path
                                  type: object
                                image:
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
                                  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.
9838
9839
                                  properties:
                                    pullPolicy:
9840
9841
9842
9843
9844
9845
                                      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.
9846
9847
                                      type: string
                                    reference:
9848
9849
9850
9851
9852
9853
9854
                                      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.
9855
9856
9857
                                      type: string
                                  type: object
                                iscsi:
9858
9859
9860
                                  description: |-
                                    iscsi represents an ISCSI Disk resource that is attached to a
                                    kubelet's host machine and then exposed to the pod.
9861
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes/#iscsi
9862
9863
                                  properties:
                                    chapAuthDiscovery:
9864
                                      description: chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
9865
9866
                                      type: boolean
                                    chapAuthSession:
9867
                                      description: chapAuthSession defines whether support iSCSI Session CHAP authentication
9868
9869
                                      type: boolean
                                    fsType:
9870
9871
9872
9873
9874
                                      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
9875
9876
                                      type: string
                                    initiatorName:
9877
9878
9879
9880
                                      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.
9881
9882
                                      type: string
                                    iqn:
9883
                                      description: iqn is the target iSCSI Qualified Name.
9884
9885
9886
                                      type: string
                                    iscsiInterface:
                                      default: default
9887
9888
9889
                                      description: |-
                                        iscsiInterface is the interface Name that uses an iSCSI transport.
                                        Defaults to 'default' (tcp).
9890
9891
                                      type: string
                                    lun:
9892
                                      description: lun represents iSCSI Target Lun number.
9893
9894
9895
                                      format: int32
                                      type: integer
                                    portals:
9896
9897
9898
                                      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).
9899
9900
9901
9902
9903
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    readOnly:
9904
9905
9906
                                      description: |-
                                        readOnly here will force the ReadOnly setting in VolumeMounts.
                                        Defaults to false.
9907
9908
                                      type: boolean
                                    secretRef:
9909
                                      description: secretRef is the CHAP Secret for iSCSI target and initiator authentication
9910
9911
9912
                                      properties:
                                        name:
                                          default: ""
9913
9914
9915
9916
9917
9918
                                          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
9919
9920
9921
9922
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    targetPortal:
9923
9924
9925
                                      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).
9926
9927
9928
9929
9930
9931
9932
                                      type: string
                                  required:
                                    - iqn
                                    - lun
                                    - targetPortal
                                  type: object
                                name:
9933
9934
9935
9936
                                  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
9937
9938
                                  type: string
                                nfs:
9939
9940
9941
                                  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
9942
                                  properties:
9943
                                    path:
9944
9945
9946
                                      description: |-
                                        path that is exported by the NFS server.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9947
                                      type: string
9948
                                    readOnly:
9949
9950
9951
9952
                                      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
9953
9954
                                      type: boolean
                                    server:
9955
9956
9957
                                      description: |-
                                        server is the hostname or IP address of the NFS server.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9958
9959
                                      type: string
                                  required:
9960
9961
                                    - path
                                    - server
9962
                                  type: object
9963
                                persistentVolumeClaim:
9964
9965
9966
9967
                                  description: |-
                                    persistentVolumeClaimVolumeSource represents a reference to a
                                    PersistentVolumeClaim in the same namespace.
                                    More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
9968
                                  properties:
9969
                                    claimName:
9970
9971
9972
                                      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
9973
                                      type: string
9974
                                    readOnly:
9975
9976
9977
                                      description: |-
                                        readOnly Will force the ReadOnly setting in VolumeMounts.
                                        Default false.
9978
9979
9980
9981
9982
                                      type: boolean
                                  required:
                                    - claimName
                                  type: object
                                photonPersistentDisk:
9983
9984
9985
                                  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.
9986
9987
                                  properties:
                                    fsType:
9988
9989
9990
9991
                                      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.
9992
                                      type: string
9993
                                    pdID:
9994
                                      description: pdID is the ID that identifies Photon Controller persistent disk
9995
9996
9997
9998
9999
                                      type: string
                                  required:
                                    - pdID
                                  type: object
                                portworxVolume:
10000
10001
10002
10003
10004
                                  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.
10005
10006
                                  properties:
                                    fsType:
10007
10008
10009
10010
                                      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.
10011
                                      type: string
10012
                                    readOnly:
10013
10014
10015
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
10016
                                      type: boolean
10017
                                    volumeID:
10018
                                      description: volumeID uniquely identifies a Portworx volume
10019
                                      type: string
10020
10021
10022
10023
                                  required:
                                    - volumeID
                                  type: object
                                projected:
10024
                                  description: projected items for all in one resources secrets, configmaps, and downward API
10025
10026
                                  properties:
                                    defaultMode:
10027
10028
10029
10030
10031
10032
10033
                                      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.
10034
10035
10036
                                      format: int32
                                      type: integer
                                    sources:
10037
10038
10039
                                      description: |-
                                        sources is the list of volume projections. Each entry in this list
                                        handles one source.
10040
                                      items:
10041
10042
10043
                                        description: |-
                                          Projection that may be projected along with other supported volume types.
                                          Exactly one of these fields must be set.
10044
10045
                                        properties:
                                          clusterTrustBundle:
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
                                            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.
10060
10061
                                            properties:
                                              labelSelector:
10062
10063
10064
10065
10066
                                                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".
10067
10068
                                                properties:
                                                  matchExpressions:
10069
                                                    description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
10070
                                                    items:
10071
10072
10073
                                                      description: |-
                                                        A label selector requirement is a selector that contains values, a key, and an operator that
                                                        relates the key and values.
10074
10075
                                                      properties:
                                                        key:
10076
                                                          description: key is the label key that the selector applies to.
10077
10078
                                                          type: string
                                                        operator:
10079
10080
10081
                                                          description: |-
                                                            operator represents a key's relationship to a set of values.
                                                            Valid operators are In, NotIn, Exists and DoesNotExist.
10082
10083
                                                          type: string
                                                        values:
10084
10085
10086
10087
10088
                                                          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.
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
                                                          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
10102
10103
10104
10105
                                                    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.
10106
10107
10108
10109
                                                    type: object
                                                type: object
                                                x-kubernetes-map-type: atomic
                                              name:
10110
10111
10112
                                                description: |-
                                                  Select a single ClusterTrustBundle by object name.  Mutually-exclusive
                                                  with signerName and labelSelector.
10113
10114
                                                type: string
                                              optional:
10115
10116
10117
10118
10119
10120
                                                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.
10121
10122
                                                type: boolean
                                              path:
10123
                                                description: Relative path from the volume root to write the bundle.
10124
10125
                                                type: string
                                              signerName:
10126
10127
10128
10129
                                                description: |-
                                                  Select all ClusterTrustBundles that match this signer name.
                                                  Mutually-exclusive with name.  The contents of all selected
                                                  ClusterTrustBundles will be unified and deduplicated.
10130
10131
10132
10133
10134
                                                type: string
                                            required:
                                              - path
                                            type: object
                                          configMap:
10135
                                            description: configMap information about the configMap data to project
10136
10137
                                            properties:
                                              items:
10138
10139
10140
10141
10142
10143
10144
10145
                                                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 '..'.
10146
                                                items:
10147
                                                  description: Maps a string key to a path within a volume.
10148
10149
                                                  properties:
                                                    key:
10150
                                                      description: key is the key to project.
10151
10152
                                                      type: string
                                                    mode:
10153
10154
10155
10156
10157
10158
10159
                                                      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.
10160
10161
10162
                                                      format: int32
                                                      type: integer
                                                    path:
10163
10164
10165
10166
10167
                                                      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 '..'.
10168
10169
10170
10171
10172
10173
10174
10175
10176
                                                      type: string
                                                  required:
                                                    - key
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                              name:
                                                default: ""
10177
10178
10179
10180
10181
10182
                                                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
10183
10184
                                                type: string
                                              optional:
10185
                                                description: optional specify whether the ConfigMap or its keys must be defined
10186
10187
10188
10189
                                                type: boolean
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          downwardAPI:
10190
                                            description: downwardAPI information about the downwardAPI data to project
10191
10192
                                            properties:
                                              items:
10193
                                                description: Items is a list of DownwardAPIVolume file
10194
                                                items:
10195
                                                  description: DownwardAPIVolumeFile represents information to create the file containing the pod field
10196
10197
                                                  properties:
                                                    fieldRef:
10198
                                                      description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
10199
10200
                                                      properties:
                                                        apiVersion:
10201
                                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
10202
10203
                                                          type: string
                                                        fieldPath:
10204
                                                          description: Path of the field to select in the specified API version.
10205
10206
10207
10208
10209
10210
                                                          type: string
                                                      required:
                                                        - fieldPath
                                                      type: object
                                                      x-kubernetes-map-type: atomic
                                                    mode:
10211
10212
10213
10214
10215
10216
10217
                                                      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.
10218
10219
10220
                                                      format: int32
                                                      type: integer
                                                    path:
10221
                                                      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 ''..'''
10222
10223
                                                      type: string
                                                    resourceFieldRef:
10224
10225
10226
                                                      description: |-
                                                        Selects a resource of the container: only resources limits and requests
                                                        (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
10227
10228
                                                      properties:
                                                        containerName:
10229
                                                          description: 'Container name: required for volumes, optional for env vars'
10230
10231
10232
10233
10234
                                                          type: string
                                                        divisor:
                                                          anyOf:
                                                            - type: integer
                                                            - type: string
10235
                                                          description: Specifies the output format of the exposed resources, defaults to "1"
10236
10237
10238
                                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                          x-kubernetes-int-or-string: true
                                                        resource:
10239
                                                          description: 'Required: resource to select'
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
                                                          type: string
                                                      required:
                                                        - resource
                                                      type: object
                                                      x-kubernetes-map-type: atomic
                                                  required:
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                            type: object
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
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
                                          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
10355
                                          secret:
10356
                                            description: secret information about the secret data to project
10357
10358
                                            properties:
                                              items:
10359
10360
10361
10362
10363
10364
10365
10366
                                                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 '..'.
10367
                                                items:
10368
                                                  description: Maps a string key to a path within a volume.
10369
10370
                                                  properties:
                                                    key:
10371
                                                      description: key is the key to project.
10372
10373
                                                      type: string
                                                    mode:
10374
10375
10376
10377
10378
10379
10380
                                                      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.
10381
10382
10383
                                                      format: int32
                                                      type: integer
                                                    path:
10384
10385
10386
10387
10388
                                                      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 '..'.
10389
10390
10391
10392
10393
10394
10395
10396
10397
                                                      type: string
                                                  required:
                                                    - key
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                              name:
                                                default: ""
10398
10399
10400
10401
10402
10403
                                                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
10404
10405
                                                type: string
                                              optional:
10406
                                                description: optional field specify whether the Secret or its key must be defined
10407
10408
10409
10410
                                                type: boolean
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          serviceAccountToken:
10411
                                            description: serviceAccountToken is information about the serviceAccountToken data to project
10412
10413
                                            properties:
                                              audience:
10414
10415
10416
10417
10418
                                                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.
10419
10420
                                                type: string
                                              expirationSeconds:
10421
10422
10423
10424
10425
10426
10427
                                                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.
10428
10429
10430
                                                format: int64
                                                type: integer
                                              path:
10431
10432
10433
                                                description: |-
                                                  path is the path relative to the mount point of the file to project the
                                                  token into.
10434
10435
10436
10437
10438
10439
10440
10441
10442
                                                type: string
                                            required:
                                              - path
                                            type: object
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                quobyte:
10443
10444
10445
                                  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.
10446
10447
                                  properties:
                                    group:
10448
10449
10450
                                      description: |-
                                        group to map volume access to
                                        Default is no group
10451
                                      type: string
10452
                                    readOnly:
10453
10454
10455
                                      description: |-
                                        readOnly here will force the Quobyte volume to be mounted with read-only permissions.
                                        Defaults to false.
10456
10457
                                      type: boolean
                                    registry:
10458
10459
10460
10461
                                      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
10462
10463
                                      type: string
                                    tenant:
10464
10465
10466
                                      description: |-
                                        tenant owning the given Quobyte volume in the Backend
                                        Used with dynamically provisioned Quobyte volumes, value is set by the plugin
10467
10468
                                      type: string
                                    user:
10469
10470
10471
                                      description: |-
                                        user to map volume access to
                                        Defaults to serivceaccount user
10472
10473
                                      type: string
                                    volume:
10474
                                      description: volume is a string that references an already created Quobyte volume by name.
10475
10476
                                      type: string
                                  required:
10477
10478
                                    - registry
                                    - volume
10479
                                  type: object
10480
                                rbd:
10481
10482
10483
                                  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.
10484
                                  properties:
10485
                                    fsType:
10486
10487
10488
10489
10490
                                      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
10491
10492
                                      type: string
                                    image:
10493
10494
10495
                                      description: |-
                                        image is the rados image name.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10496
10497
10498
                                      type: string
                                    keyring:
                                      default: /etc/ceph/keyring
10499
10500
10501
10502
                                      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
10503
10504
                                      type: string
                                    monitors:
10505
10506
10507
                                      description: |-
                                        monitors is a collection of Ceph monitors.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10508
10509
10510
10511
10512
10513
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    pool:
                                      default: rbd
10514
10515
10516
10517
                                      description: |-
                                        pool is the rados pool name.
                                        Default is rbd.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10518
10519
                                      type: string
                                    readOnly:
10520
10521
10522
10523
                                      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
10524
10525
                                      type: boolean
                                    secretRef:
10526
10527
10528
10529
10530
                                      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
10531
10532
10533
                                      properties:
                                        name:
                                          default: ""
10534
10535
10536
10537
10538
10539
                                          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
10540
10541
10542
10543
10544
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    user:
                                      default: admin
10545
10546
10547
10548
                                      description: |-
                                        user is the rados user name.
                                        Default is admin.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10549
10550
10551
10552
10553
10554
                                      type: string
                                  required:
                                    - image
                                    - monitors
                                  type: object
                                scaleIO:
10555
10556
10557
                                  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.
10558
10559
10560
                                  properties:
                                    fsType:
                                      default: xfs
10561
10562
10563
10564
10565
                                      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".
10566
10567
                                      type: string
                                    gateway:
10568
                                      description: gateway is the host address of the ScaleIO API Gateway.
10569
10570
                                      type: string
                                    protectionDomain:
10571
                                      description: protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
10572
10573
                                      type: string
                                    readOnly:
10574
10575
10576
                                      description: |-
                                        readOnly Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
10577
10578
                                      type: boolean
                                    secretRef:
10579
10580
10581
                                      description: |-
                                        secretRef references to the secret for ScaleIO user and other
                                        sensitive information. If this is not provided, Login operation will fail.
10582
10583
10584
                                      properties:
                                        name:
                                          default: ""
10585
10586
10587
10588
10589
10590
                                          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
10591
10592
10593
10594
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    sslEnabled:
10595
                                      description: sslEnabled Flag enable/disable SSL communication with Gateway, default false
10596
10597
10598
                                      type: boolean
                                    storageMode:
                                      default: ThinProvisioned
10599
10600
10601
                                      description: |-
                                        storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
                                        Default is ThinProvisioned.
10602
10603
                                      type: string
                                    storagePool:
10604
                                      description: storagePool is the ScaleIO Storage Pool associated with the protection domain.
10605
10606
                                      type: string
                                    system:
10607
                                      description: system is the name of the storage system as configured in ScaleIO.
10608
10609
                                      type: string
                                    volumeName:
10610
10611
10612
                                      description: |-
                                        volumeName is the name of a volume already created in the ScaleIO system
                                        that is associated with this volume source.
10613
10614
10615
10616
10617
10618
10619
                                      type: string
                                  required:
                                    - gateway
                                    - secretRef
                                    - system
                                  type: object
                                secret:
10620
10621
10622
                                  description: |-
                                    secret represents a secret that should populate this volume.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
10623
10624
                                  properties:
                                    defaultMode:
10625
10626
10627
10628
10629
10630
10631
10632
                                      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.
10633
10634
10635
                                      format: int32
                                      type: integer
                                    items:
10636
10637
10638
10639
10640
10641
10642
10643
                                      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 '..'.
10644
                                      items:
10645
                                        description: Maps a string key to a path within a volume.
10646
                                        properties:
10647
                                          key:
10648
                                            description: key is the key to project.
10649
                                            type: string
10650
                                          mode:
10651
10652
10653
10654
10655
10656
10657
                                            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.
10658
10659
10660
                                            format: int32
                                            type: integer
                                          path:
10661
10662
10663
10664
10665
                                            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 '..'.
10666
10667
                                            type: string
                                        required:
10668
                                          - key
10669
                                          - path
10670
10671
10672
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
10673
                                    optional:
10674
                                      description: optional field specify whether the Secret or its keys must be defined
10675
10676
                                      type: boolean
                                    secretName:
10677
10678
10679
                                      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
10680
10681
10682
                                      type: string
                                  type: object
                                storageos:
10683
10684
10685
                                  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.
10686
10687
                                  properties:
                                    fsType:
10688
10689
10690
10691
                                      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.
10692
10693
                                      type: string
                                    readOnly:
10694
10695
10696
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
10697
10698
                                      type: boolean
                                    secretRef:
10699
10700
10701
                                      description: |-
                                        secretRef specifies the secret to use for obtaining the StorageOS API
                                        credentials.  If not specified, default values will be attempted.
10702
10703
10704
                                      properties:
                                        name:
                                          default: ""
10705
10706
10707
10708
10709
10710
                                          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
10711
                                          type: string
10712
                                      type: object
10713
10714
                                      x-kubernetes-map-type: atomic
                                    volumeName:
10715
10716
10717
                                      description: |-
                                        volumeName is the human-readable name of the StorageOS volume.  Volume
                                        names are only unique within a namespace.
10718
10719
                                      type: string
                                    volumeNamespace:
10720
10721
10722
10723
10724
10725
10726
                                      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.
10727
10728
10729
                                      type: string
                                  type: object
                                vsphereVolume:
10730
10731
10732
10733
                                  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.
10734
10735
                                  properties:
                                    fsType:
10736
10737
10738
10739
                                      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.
10740
10741
                                      type: string
                                    storagePolicyID:
10742
                                      description: storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
10743
10744
                                      type: string
                                    storagePolicyName:
10745
                                      description: storagePolicyName is the storage Policy Based Management (SPBM) profile name.
10746
10747
                                      type: string
                                    volumePath:
10748
                                      description: volumePath is the path that identifies vSphere volume vmdk
10749
10750
10751
                                      type: string
                                  required:
                                    - volumePath
10752
                                  type: object
10753
                              required:
10754
                                - name
10755
                              type: object
10756
                            type: array
10757
10758
10759
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
10760
                        required: []
10761
                        type: object
10762
10763
10764
                      globalDynamoNamespace:
                        description: GlobalDynamoNamespace indicates that the Component will be placed in the global Dynamo namespace
                        type: boolean
10765
                      ingress:
10766
                        description: Ingress config to expose the component outside the cluster (or through a service mesh).
10767
10768
10769
                        properties:
                          annotations:
                            additionalProperties:
10770
                              type: string
10771
                            description: Annotations to set on the generated Ingress/VirtualService resources.
10772
10773
                            type: object
                          enabled:
10774
                            description: Enabled exposes the component through an ingress or virtual service when true.
10775
10776
                            type: boolean
                          host:
10777
                            description: Host is the base host name to route external traffic to this component.
10778
10779
                            type: string
                          hostPrefix:
10780
                            description: HostPrefix is an optional prefix added before the host.
10781
10782
                            type: string
                          hostSuffix:
10783
                            description: HostSuffix is an optional suffix appended after the host.
10784
10785
                            type: string
                          ingressControllerClassName:
10786
                            description: IngressControllerClassName selects the ingress controller class (e.g., "nginx").
10787
10788
10789
                            type: string
                          labels:
                            additionalProperties:
10790
                              type: string
10791
                            description: Labels to set on the generated Ingress/VirtualService resources.
10792
10793
                            type: object
                          tls:
10794
                            description: TLS holds the TLS configuration used by the Ingress/VirtualService.
10795
10796
                            properties:
                              secretName:
10797
                                description: SecretName is the name of a Kubernetes Secret containing the TLS certificate and key.
10798
10799
10800
                                type: string
                            type: object
                          useVirtualService:
10801
                            description: UseVirtualService indicates whether to configure a service-mesh VirtualService instead of a standard Ingress.
10802
10803
                            type: boolean
                          virtualServiceGateway:
10804
                            description: VirtualServiceGateway optionally specifies the gateway name to attach the VirtualService to.
10805
                            type: string
10806
10807
10808
                        type: object
                      labels:
                        additionalProperties:
10809
                          type: string
10810
                        description: Labels to add to generated Kubernetes resources for this component.
10811
10812
                        type: object
                      livenessProbe:
10813
                        description: LivenessProbe to detect and restart unhealthy containers.
10814
10815
                        properties:
                          exec:
10816
                            description: Exec specifies a command to execute in the container.
10817
10818
                            properties:
                              command:
10819
10820
10821
10822
10823
10824
                                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.
10825
10826
10827
10828
10829
10830
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          failureThreshold:
10831
10832
10833
                            description: |-
                              Minimum consecutive failures for the probe to be considered failed after having succeeded.
                              Defaults to 3. Minimum value is 1.
10834
10835
10836
                            format: int32
                            type: integer
                          grpc:
10837
                            description: GRPC specifies a GRPC HealthCheckRequest.
10838
                            properties:
10839
                              port:
10840
                                description: Port number of the gRPC service. Number must be in the range 1 to 65535.
10841
10842
10843
10844
                                format: int32
                                type: integer
                              service:
                                default: ""
10845
10846
10847
10848
10849
                                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.
10850
                                type: string
10851
10852
10853
10854
                            required:
                              - port
                            type: object
                          httpGet:
10855
                            description: HTTPGet specifies an HTTP GET request to perform.
10856
10857
                            properties:
                              host:
10858
10859
10860
                                description: |-
                                  Host name to connect to, defaults to the pod IP. You probably want to set
                                  "Host" in httpHeaders instead.
10861
                                type: string
10862
                              httpHeaders:
10863
                                description: Custom headers to set in the request. HTTP allows repeated headers.
10864
                                items:
10865
                                  description: HTTPHeader describes a custom header to be used in HTTP probes
10866
10867
                                  properties:
                                    name:
10868
10869
10870
                                      description: |-
                                        The header field name.
                                        This will be canonicalized upon output, so case-variant names will be understood as the same header.
10871
10872
                                      type: string
                                    value:
10873
                                      description: The header field value
10874
10875
10876
10877
10878
10879
10880
10881
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
10882
                                description: Path to access on the HTTP server.
10883
                                type: string
10884
10885
10886
10887
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10888
10889
10890
10891
                                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.
10892
10893
                                x-kubernetes-int-or-string: true
                              scheme:
10894
10895
10896
                                description: |-
                                  Scheme to use for connecting to the host.
                                  Defaults to HTTP.
10897
                                type: string
10898
10899
                            required:
                              - port
10900
                            type: object
10901
                          initialDelaySeconds:
10902
10903
10904
                            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
10905
10906
10907
                            format: int32
                            type: integer
                          periodSeconds:
10908
10909
10910
                            description: |-
                              How often (in seconds) to perform the probe.
                              Default to 10 seconds. Minimum value is 1.
10911
10912
10913
                            format: int32
                            type: integer
                          successThreshold:
10914
10915
10916
                            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.
10917
10918
10919
                            format: int32
                            type: integer
                          tcpSocket:
10920
                            description: TCPSocket specifies a connection to a TCP port.
10921
                            properties:
10922
                              host:
10923
                                description: 'Optional: Host name to connect to, defaults to the pod IP.'
10924
10925
10926
10927
10928
                                type: string
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10929
10930
10931
10932
                                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.
10933
10934
10935
10936
10937
                                x-kubernetes-int-or-string: true
                            required:
                              - port
                            type: object
                          terminationGracePeriodSeconds:
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
                            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.
10949
10950
10951
                            format: int64
                            type: integer
                          timeoutSeconds:
10952
10953
10954
10955
                            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
10956
10957
10958
                            format: int32
                            type: integer
                        type: object
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
                      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
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
                      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
10988
                      readinessProbe:
10989
                        description: ReadinessProbe to signal when the container is ready to receive traffic.
10990
10991
                        properties:
                          exec:
10992
                            description: Exec specifies a command to execute in the container.
10993
10994
                            properties:
                              command:
10995
10996
10997
10998
10999
11000
                                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.
11001
11002
11003
11004
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
11005
11006
                            type: object
                          failureThreshold:
11007
11008
11009
                            description: |-
                              Minimum consecutive failures for the probe to be considered failed after having succeeded.
                              Defaults to 3. Minimum value is 1.
11010
11011
11012
                            format: int32
                            type: integer
                          grpc:
11013
                            description: GRPC specifies a GRPC HealthCheckRequest.
11014
11015
                            properties:
                              port:
11016
                                description: Port number of the gRPC service. Number must be in the range 1 to 65535.
11017
11018
                                format: int32
                                type: integer
11019
11020
                              service:
                                default: ""
11021
11022
11023
11024
11025
                                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.
11026
                                type: string
11027
11028
11029
11030
                            required:
                              - port
                            type: object
                          httpGet:
11031
                            description: HTTPGet specifies an HTTP GET request to perform.
11032
11033
                            properties:
                              host:
11034
11035
11036
                                description: |-
                                  Host name to connect to, defaults to the pod IP. You probably want to set
                                  "Host" in httpHeaders instead.
11037
                                type: string
11038
                              httpHeaders:
11039
                                description: Custom headers to set in the request. HTTP allows repeated headers.
11040
                                items:
11041
                                  description: HTTPHeader describes a custom header to be used in HTTP probes
11042
11043
                                  properties:
                                    name:
11044
11045
11046
                                      description: |-
                                        The header field name.
                                        This will be canonicalized upon output, so case-variant names will be understood as the same header.
11047
11048
                                      type: string
                                    value:
11049
                                      description: The header field value
11050
11051
11052
11053
11054
11055
11056
11057
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
11058
                                description: Path to access on the HTTP server.
11059
                                type: string
11060
11061
11062
11063
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
11064
11065
11066
11067
                                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.
11068
11069
                                x-kubernetes-int-or-string: true
                              scheme:
11070
11071
11072
                                description: |-
                                  Scheme to use for connecting to the host.
                                  Defaults to HTTP.
11073
11074
                                type: string
                            required:
11075
                              - port
11076
                            type: object
11077
                          initialDelaySeconds:
11078
11079
11080
                            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
11081
11082
11083
                            format: int32
                            type: integer
                          periodSeconds:
11084
11085
11086
                            description: |-
                              How often (in seconds) to perform the probe.
                              Default to 10 seconds. Minimum value is 1.
11087
11088
11089
                            format: int32
                            type: integer
                          successThreshold:
11090
11091
11092
                            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.
11093
11094
11095
                            format: int32
                            type: integer
                          tcpSocket:
11096
                            description: TCPSocket specifies a connection to a TCP port.
11097
11098
                            properties:
                              host:
11099
                                description: 'Optional: Host name to connect to, defaults to the pod IP.'
11100
                                type: string
11101
11102
11103
11104
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
11105
11106
11107
11108
                                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.
11109
11110
11111
11112
11113
                                x-kubernetes-int-or-string: true
                            required:
                              - port
                            type: object
                          terminationGracePeriodSeconds:
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
                            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.
11125
11126
11127
                            format: int64
                            type: integer
                          timeoutSeconds:
11128
11129
11130
11131
                            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
11132
11133
11134
11135
                            format: int32
                            type: integer
                        type: object
                      replicas:
11136
11137
                        description: |-
                          Replicas is the desired number of Pods for this component.
11138
                          When scalingAdapter is enabled, this field is managed by the
11139
                          DynamoGraphDeploymentScalingAdapter and should not be modified directly.
11140
                        format: int32
11141
                        minimum: 0
11142
11143
                        type: integer
                      resources:
11144
11145
11146
                        description: |-
                          Resources requested and limits for this component, including CPU, memory,
                          GPUs/devices, and any runtime-specific resources.
11147
                        properties:
11148
                          claims:
11149
                            description: Claims specifies resource claims for dynamic resource allocation
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
                            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
11169
                          limits:
11170
                            description: Limits specifies the maximum resources allowed for the component
11171
11172
                            properties:
                              cpu:
11173
                                description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
11174
11175
11176
11177
                                type: string
                              custom:
                                additionalProperties:
                                  type: string
11178
                                description: Custom specifies additional custom resource requests/limits
11179
                                type: object
11180
                              gpu:
11181
                                description: |-
11182
11183
11184
11185
11186
11187
11188
                                  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"
11189
                                type: string
11190
                              memory:
11191
                                description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
11192
11193
11194
                                type: string
                            type: object
                          requests:
11195
                            description: Requests specifies the minimum resources required by the component
11196
11197
                            properties:
                              cpu:
11198
                                description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
11199
11200
11201
11202
                                type: string
                              custom:
                                additionalProperties:
                                  type: string
11203
                                description: Custom specifies additional custom resource requests/limits
11204
                                type: object
11205
                              gpu:
11206
                                description: |-
11207
11208
11209
11210
11211
11212
11213
                                  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"
11214
                                type: string
11215
                              memory:
11216
                                description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
11217
                                type: string
11218
11219
                            type: object
                        type: object
11220
11221
11222
                      scalingAdapter:
                        description: |-
                          ScalingAdapter configures whether this service uses the DynamoGraphDeploymentScalingAdapter.
11223
                          When enabled, replicas are managed via DGDSA and external autoscalers can scale
11224
11225
                          the service using the Scale subresource. When disabled, replicas can be modified directly.
                        properties:
11226
                          enabled:
11227
11228
                            default: false
                            description: |-
11229
11230
11231
                              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.
11232
11233
                            type: boolean
                        type: object
11234
                      serviceName:
11235
                        description: The name of the component
11236
                        type: string
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
                      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
11249
11250
11251
                      subComponentType:
                        description: SubComponentType indicates the sub-role of this component (for example, "prefill").
                        type: string
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
                      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
11276
                    type: object
11277
                  description: Services are the services to deploy as part of this deployment.
11278
                  maxProperties: 25
11279
                  type: object
11280
11281
              type: object
            status:
11282
              description: Status reflects the current observed state of this graph deployment.
11283
              properties:
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
                checkpoints:
                  additionalProperties:
                    description: ServiceCheckpointStatus contains checkpoint information for a single service.
                    properties:
                      checkpointName:
                        description: CheckpointName is the name of the associated Checkpoint CR
                        type: string
                      identityHash:
                        description: IdentityHash is the computed hash of the checkpoint identity
                        type: string
                      ready:
                        description: Ready indicates if the checkpoint is ready for use
                        type: boolean
                    type: object
                  description: |-
                    Checkpoints contains per-service checkpoint status information.
                    The map key is the service name from spec.services.
                  type: object
11302
                conditions:
11303
11304
11305
                  description: |-
                    Conditions contains the latest observed conditions of the graph deployment.
                    The slice is merged by type on patch updates.
11306
                  items:
11307
                    description: Condition contains details for one aspect of the current state of this API Resource.
11308
11309
                    properties:
                      lastTransitionTime:
11310
11311
11312
                        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.
11313
11314
11315
                        format: date-time
                        type: string
                      message:
11316
11317
11318
                        description: |-
                          message is a human readable message indicating details about the transition.
                          This may be an empty string.
11319
11320
11321
                        maxLength: 32768
                        type: string
                      observedGeneration:
11322
11323
11324
11325
                        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.
11326
11327
11328
11329
                        format: int64
                        minimum: 0
                        type: integer
                      reason:
11330
11331
11332
11333
11334
11335
                        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.
11336
11337
11338
11339
11340
                        maxLength: 1024
                        minLength: 1
                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
                        type: string
                      status:
11341
                        description: status of the condition, one of True, False, Unknown.
11342
11343
11344
11345
11346
11347
                        enum:
                          - "True"
                          - "False"
                          - Unknown
                        type: string
                      type:
11348
                        description: type of condition in CamelCase or in foo.example.com/CamelCase.
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
                        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
11360
11361
11362
11363
                observedGeneration:
                  description: ObservedGeneration is the most recent generation observed by the controller.
                  format: int64
                  type: integer
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
                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
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
                rollingUpdate:
                  description: |-
                    RollingUpdate tracks the progress of operator manged rolling updates.
                    Currently only supported for singl-node, non-Grove deployments (DCD/Deployment).
                  properties:
                    endTime:
                      description: EndTime is when the rolling update completed (successfully or failed).
                      format: date-time
                      type: string
                    phase:
                      description: Phase indicates the current phase of the rolling update.
                      enum:
                        - Pending
                        - InProgress
                        - Completed
                        - Failed
                        - ""
                      type: string
                    startTime:
                      description: StartTime is when the rolling update began.
                      format: date-time
                      type: string
                    updatedServices:
                      description: |-
                        UpdatedServices is the list of services that have completed the rolling update.
                        A service is considered updated when its new replicas are all ready and old replicas are fully scaled down.
                        Only services of componentType Worker (or Prefill/Decode) are considered.
                      items:
                        type: string
                      type: array
                  type: object
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
                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:
11435
11436
11437
11438
                        description: |-
                          ComponentName is the name of the primary underlying resource.
                          DEPRECATED: Use ComponentNames instead. This field will be removed in a future release.
                          During rolling updates, this reflects the new (target) component name.
11439
                        type: string
11440
11441
11442
11443
11444
11445
11446
11447
                      componentNames:
                        description: |-
                          ComponentNames is the list of underlying resource names for this service.
                          During normal operation, this contains a single name.
                          During rolling updates, this contains both old and new component names.
                        items:
                          type: string
                        type: array
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
                      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
11481
                state:
11482
                  default: initializing
11483
                  description: State is a high-level textual status of the graph deployment lifecycle.
11484
11485
11486
11487
11488
                  enum:
                    - initializing
                    - pending
                    - successful
                    - failed
11489
                  type: string
11490
11491
              required:
                - state
11492
11493
11494
11495
11496
11497
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}