nvidia.com_dynamographdeployments.yaml 835 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/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
                      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.
1176
                                      x-kubernetes-preserve-unknown-fields: true
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
                                    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
1278
                      extraPodMetadata:
1279
                        description: ExtraPodMetadata adds labels/annotations to the created Pods.
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
                        properties:
                          annotations:
                            additionalProperties:
                              type: string
                            type: object
                          labels:
                            additionalProperties:
                              type: string
                            type: object
                        type: object
                      extraPodSpec:
1291
                        description: |-
1292
1293
1294
                          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.
1295
                        properties:
1296
                          activeDeadlineSeconds:
1297
1298
1299
1300
                            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.
1301
1302
                            format: int64
                            type: integer
1303
                          affinity:
1304
                            description: If specified, the pod's scheduling constraints
1305
1306
                            properties:
                              nodeAffinity:
1307
                                description: Describes node affinity scheduling rules for the pod.
1308
1309
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
                                    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.
1320
                                    items:
1321
1322
1323
                                      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).
1324
1325
                                      properties:
                                        preference:
1326
                                          description: A node selector term, associated with the corresponding weight.
1327
1328
                                          properties:
                                            matchExpressions:
1329
                                              description: A list of node selector requirements by node's labels.
1330
                                              items:
1331
1332
1333
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1334
1335
                                                properties:
                                                  key:
1336
                                                    description: The label key that the selector applies to.
1337
1338
                                                    type: string
                                                  operator:
1339
1340
1341
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1342
1343
                                                    type: string
                                                  values:
1344
1345
1346
1347
1348
1349
                                                    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.
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchFields:
1361
                                              description: A list of node selector requirements by node's fields.
1362
                                              items:
1363
1364
1365
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1366
1367
                                                properties:
                                                  key:
1368
                                                    description: The label key that the selector applies to.
1369
1370
                                                    type: string
                                                  operator:
1371
1372
1373
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1374
1375
                                                    type: string
                                                  values:
1376
1377
1378
1379
1380
1381
                                                    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.
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
                                                    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:
1395
                                          description: Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
1396
1397
1398
1399
1400
1401
1402
1403
1404
                                          format: int32
                                          type: integer
                                      required:
                                        - preference
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1405
1406
1407
1408
1409
1410
                                    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.
1411
                                    properties:
1412
                                      nodeSelectorTerms:
1413
                                        description: Required. A list of node selector terms. The terms are ORed.
1414
                                        items:
1415
1416
1417
1418
                                          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.
1419
1420
                                          properties:
                                            matchExpressions:
1421
                                              description: A list of node selector requirements by node's labels.
1422
                                              items:
1423
1424
1425
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1426
1427
                                                properties:
                                                  key:
1428
                                                    description: The label key that the selector applies to.
1429
                                                    type: string
1430
                                                  operator:
1431
1432
1433
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1434
                                                    type: string
1435
                                                  values:
1436
1437
1438
1439
1440
1441
                                                    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.
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchFields:
1453
                                              description: A list of node selector requirements by node's fields.
1454
                                              items:
1455
1456
1457
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1458
1459
                                                properties:
                                                  key:
1460
                                                    description: The label key that the selector applies to.
1461
1462
                                                    type: string
                                                  operator:
1463
1464
1465
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1466
1467
                                                    type: string
                                                  values:
1468
1469
1470
1471
1472
1473
                                                    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.
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
                                                    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
1488
                                    required:
1489
                                      - nodeSelectorTerms
1490
                                    type: object
1491
1492
1493
                                    x-kubernetes-map-type: atomic
                                type: object
                              podAffinity:
1494
                                description: Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
1495
1496
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
                                    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.
1507
                                    items:
1508
                                      description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1509
1510
                                      properties:
                                        podAffinityTerm:
1511
                                          description: Required. A pod affinity term, associated with the corresponding weight.
1512
1513
                                          properties:
                                            labelSelector:
1514
1515
1516
                                              description: |-
                                                A label query over a set of resources, in this case pods.
                                                If it's null, this PodAffinityTerm matches with no Pods.
1517
                                              properties:
1518
                                                matchExpressions:
1519
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1520
                                                  items:
1521
1522
1523
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1524
1525
                                                    properties:
                                                      key:
1526
                                                        description: key is the label key that the selector applies to.
1527
1528
                                                        type: string
                                                      operator:
1529
1530
1531
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1532
1533
                                                        type: string
                                                      values:
1534
1535
1536
1537
1538
                                                        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.
1539
1540
1541
1542
1543
1544
1545
1546
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1547
1548
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1549
1550
1551
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1552
1553
1554
1555
                                                  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.
1556
                                                  type: object
1557
                                              type: object
1558
1559
                                              x-kubernetes-map-type: atomic
                                            matchLabelKeys:
1560
1561
1562
1563
1564
1565
1566
1567
1568
                                              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.
1569
1570
1571
1572
1573
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            mismatchLabelKeys:
1574
1575
1576
1577
1578
1579
1580
1581
1582
                                              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.
1583
1584
1585
1586
1587
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            namespaceSelector:
1588
1589
1590
1591
1592
1593
                                              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.
1594
                                              properties:
1595
                                                matchExpressions:
1596
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1597
                                                  items:
1598
1599
1600
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1601
1602
                                                    properties:
                                                      key:
1603
                                                        description: key is the label key that the selector applies to.
1604
1605
                                                        type: string
                                                      operator:
1606
1607
1608
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1609
1610
                                                        type: string
                                                      values:
1611
1612
1613
1614
1615
                                                        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.
1616
1617
1618
1619
1620
1621
1622
1623
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1624
1625
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1626
1627
1628
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1629
1630
1631
1632
                                                  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.
1633
                                                  type: object
1634
                                              type: object
1635
1636
                                              x-kubernetes-map-type: atomic
                                            namespaces:
1637
1638
1639
1640
1641
                                              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".
1642
1643
1644
1645
1646
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            topologyKey:
1647
1648
1649
1650
1651
1652
                                              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.
1653
1654
1655
1656
1657
                                              type: string
                                          required:
                                            - topologyKey
                                          type: object
                                        weight:
1658
1659
1660
                                          description: |-
                                            weight associated with matching the corresponding podAffinityTerm,
                                            in the range 1-100.
1661
1662
1663
1664
1665
1666
1667
1668
1669
                                          format: int32
                                          type: integer
                                      required:
                                        - podAffinityTerm
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1670
1671
1672
1673
1674
1675
1676
1677
                                    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.
1678
                                    items:
1679
1680
1681
1682
1683
1684
1685
                                      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
1686
1687
                                      properties:
                                        labelSelector:
1688
1689
1690
                                          description: |-
                                            A label query over a set of resources, in this case pods.
                                            If it's null, this PodAffinityTerm matches with no Pods.
1691
1692
                                          properties:
                                            matchExpressions:
1693
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1694
                                              items:
1695
1696
1697
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1698
1699
                                                properties:
                                                  key:
1700
                                                    description: key is the label key that the selector applies to.
1701
1702
                                                    type: string
                                                  operator:
1703
1704
1705
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1706
1707
                                                    type: string
                                                  values:
1708
1709
1710
1711
1712
                                                    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.
1713
                                                    items:
1714
                                                      type: string
1715
1716
1717
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
1718
1719
1720
                                                  - key
                                                  - operator
                                                type: object
1721
1722
1723
1724
1725
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1726
1727
1728
1729
                                              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.
1730
1731
1732
1733
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        matchLabelKeys:
1734
1735
1736
1737
1738
1739
1740
1741
1742
                                          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.
1743
1744
1745
1746
1747
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        mismatchLabelKeys:
1748
1749
1750
1751
1752
1753
1754
1755
1756
                                          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.
1757
1758
1759
1760
1761
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        namespaceSelector:
1762
1763
1764
1765
1766
1767
                                          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.
1768
1769
                                          properties:
                                            matchExpressions:
1770
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1771
                                              items:
1772
1773
1774
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1775
1776
                                                properties:
                                                  key:
1777
                                                    description: key is the label key that the selector applies to.
1778
1779
                                                    type: string
                                                  operator:
1780
1781
1782
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1783
1784
                                                    type: string
                                                  values:
1785
1786
1787
1788
1789
                                                    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.
1790
                                                    items:
1791
                                                      type: string
1792
1793
1794
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
1795
1796
1797
                                                  - key
                                                  - operator
                                                type: object
1798
1799
1800
1801
1802
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1803
1804
1805
1806
                                              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.
1807
1808
1809
1810
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        namespaces:
1811
1812
1813
1814
1815
                                          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".
1816
                                          items:
1817
                                            type: string
1818
1819
1820
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        topologyKey:
1821
1822
1823
1824
1825
1826
                                          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.
1827
1828
                                          type: string
                                      required:
1829
                                        - topologyKey
1830
1831
1832
1833
1834
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              podAntiAffinity:
1835
                                description: Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
1836
1837
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1838
1839
1840
1841
1842
1843
1844
                                    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.),
1845
1846
                                      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
1847
                                      node(s) with the highest sum are the most preferred.
1848
                                    items:
1849
                                      description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1850
1851
                                      properties:
                                        podAffinityTerm:
1852
                                          description: Required. A pod affinity term, associated with the corresponding weight.
1853
1854
                                          properties:
                                            labelSelector:
1855
1856
1857
                                              description: |-
                                                A label query over a set of resources, in this case pods.
                                                If it's null, this PodAffinityTerm matches with no Pods.
1858
                                              properties:
1859
                                                matchExpressions:
1860
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1861
                                                  items:
1862
1863
1864
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1865
1866
                                                    properties:
                                                      key:
1867
                                                        description: key is the label key that the selector applies to.
1868
1869
                                                        type: string
                                                      operator:
1870
1871
1872
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1873
1874
                                                        type: string
                                                      values:
1875
1876
1877
1878
1879
                                                        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.
1880
1881
1882
1883
1884
1885
1886
1887
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1888
1889
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1890
1891
1892
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1893
1894
1895
1896
                                                  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.
1897
                                                  type: object
1898
                                              type: object
1899
1900
                                              x-kubernetes-map-type: atomic
                                            matchLabelKeys:
1901
1902
1903
1904
1905
1906
1907
1908
1909
                                              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.
1910
1911
1912
1913
1914
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            mismatchLabelKeys:
1915
1916
1917
1918
1919
1920
1921
1922
1923
                                              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.
1924
1925
1926
1927
1928
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            namespaceSelector:
1929
1930
1931
1932
1933
1934
                                              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.
1935
                                              properties:
1936
                                                matchExpressions:
1937
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1938
                                                  items:
1939
1940
1941
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1942
1943
                                                    properties:
                                                      key:
1944
                                                        description: key is the label key that the selector applies to.
1945
1946
                                                        type: string
                                                      operator:
1947
1948
1949
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1950
1951
                                                        type: string
                                                      values:
1952
1953
1954
1955
1956
                                                        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.
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
                                                        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
1970
1971
1972
1973
                                                  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.
1974
1975
1976
1977
                                                  type: object
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            namespaces:
1978
1979
1980
1981
1982
                                              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".
1983
1984
1985
1986
1987
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            topologyKey:
1988
1989
1990
1991
1992
1993
                                              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.
1994
1995
1996
1997
1998
                                              type: string
                                          required:
                                            - topologyKey
                                          type: object
                                        weight:
1999
2000
2001
                                          description: |-
                                            weight associated with matching the corresponding podAffinityTerm,
                                            in the range 1-100.
2002
2003
2004
2005
2006
2007
2008
2009
2010
                                          format: int32
                                          type: integer
                                      required:
                                        - podAffinityTerm
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
2011
2012
2013
2014
2015
2016
2017
2018
                                    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.
2019
                                    items:
2020
2021
2022
2023
2024
2025
2026
                                      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
2027
2028
                                      properties:
                                        labelSelector:
2029
2030
2031
                                          description: |-
                                            A label query over a set of resources, in this case pods.
                                            If it's null, this PodAffinityTerm matches with no Pods.
2032
2033
                                          properties:
                                            matchExpressions:
2034
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
2035
                                              items:
2036
2037
2038
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
2039
2040
                                                properties:
                                                  key:
2041
                                                    description: key is the label key that the selector applies to.
2042
2043
                                                    type: string
                                                  operator:
2044
2045
2046
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
2047
2048
                                                    type: string
                                                  values:
2049
2050
2051
2052
2053
                                                    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.
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
                                                    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
2067
2068
2069
2070
                                              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.
2071
2072
2073
2074
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        matchLabelKeys:
2075
2076
2077
2078
2079
2080
2081
2082
2083
                                          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.
2084
2085
2086
2087
2088
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        mismatchLabelKeys:
2089
2090
2091
2092
2093
2094
2095
2096
2097
                                          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.
2098
2099
2100
2101
2102
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        namespaceSelector:
2103
2104
2105
2106
2107
2108
                                          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.
2109
2110
                                          properties:
                                            matchExpressions:
2111
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
2112
                                              items:
2113
2114
2115
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
2116
2117
                                                properties:
                                                  key:
2118
                                                    description: key is the label key that the selector applies to.
2119
                                                    type: string
2120
                                                  operator:
2121
2122
2123
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
2124
2125
                                                    type: string
                                                  values:
2126
2127
2128
2129
2130
                                                    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.
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
                                                    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
2144
2145
2146
2147
                                              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.
2148
                                              type: object
2149
2150
2151
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        namespaces:
2152
2153
2154
2155
2156
                                          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".
2157
2158
2159
2160
2161
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        topologyKey:
2162
2163
2164
2165
2166
2167
                                          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.
2168
                                          type: string
2169
2170
2171
2172
2173
2174
2175
                                      required:
                                        - topologyKey
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                            type: object
2176
                          automountServiceAccountToken:
2177
                            description: AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
2178
                            type: boolean
2179
                          containers:
2180
2181
2182
2183
2184
                            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.
2185
                            items:
2186
                              description: A single application container that you want to run within a pod.
2187
2188
                              properties:
                                args:
2189
2190
2191
2192
2193
2194
2195
2196
2197
                                  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
2198
2199
                                  items:
                                    type: string
2200
2201
                                  type: array
                                  x-kubernetes-list-type: atomic
2202
                                command:
2203
2204
2205
2206
2207
2208
2209
2210
2211
                                  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
2212
2213
2214
2215
2216
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
2217
2218
2219
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
2220
                                  items:
2221
                                    description: EnvVar represents an environment variable present in a Container.
2222
                                    properties:
2223
                                      name:
2224
2225
2226
                                        description: |-
                                          Name of the environment variable.
                                          May consist of any printable ASCII characters except '='.
2227
2228
                                        type: string
                                      value:
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
                                        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 "".
2239
2240
                                        type: string
                                      valueFrom:
2241
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
2242
                                        properties:
2243
                                          configMapKeyRef:
2244
                                            description: Selects a key of a ConfigMap.
2245
                                            properties:
2246
                                              key:
2247
                                                description: The key to select.
2248
2249
2250
                                                type: string
                                              name:
                                                default: ""
2251
2252
2253
2254
2255
2256
                                                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
2257
2258
                                                type: string
                                              optional:
2259
                                                description: Specify whether the ConfigMap or its key must be defined
2260
2261
2262
                                                type: boolean
                                            required:
                                              - key
2263
2264
                                            type: object
                                            x-kubernetes-map-type: atomic
2265
                                          fieldRef:
2266
2267
2268
                                            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.
2269
                                            properties:
2270
                                              apiVersion:
2271
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
2272
2273
                                                type: string
                                              fieldPath:
2274
                                                description: Path of the field to select in the specified API version.
2275
2276
2277
2278
2279
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
2280
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
                                          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
2316
                                          resourceFieldRef:
2317
2318
2319
                                            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.
2320
2321
                                            properties:
                                              containerName:
2322
                                                description: 'Container name: required for volumes, optional for env vars'
2323
2324
2325
2326
2327
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
2328
                                                description: Specifies the output format of the exposed resources, defaults to "1"
2329
2330
2331
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
2332
                                                description: 'Required: resource to select'
2333
2334
2335
2336
2337
2338
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
2339
                                            description: Selects a key of a secret in the pod's namespace
2340
2341
                                            properties:
                                              key:
2342
                                                description: The key of the secret to select from.  Must be a valid secret key.
2343
2344
2345
                                                type: string
                                              name:
                                                default: ""
2346
2347
2348
2349
2350
2351
                                                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
2352
2353
                                                type: string
                                              optional:
2354
                                                description: Specify whether the Secret or its key must be defined
2355
2356
2357
                                                type: boolean
                                            required:
                                              - key
2358
2359
                                            type: object
                                            x-kubernetes-map-type: atomic
2360
2361
                                        type: object
                                    required:
2362
                                      - name
2363
2364
                                    type: object
                                  type: array
2365
2366
2367
2368
                                  x-kubernetes-list-map-keys:
                                    - name
                                  x-kubernetes-list-type: map
                                envFrom:
2369
2370
                                  description: |-
                                    List of sources to populate environment variables in the container.
2371
2372
                                    The keys defined within a source may consist of any printable ASCII characters except '='.
                                    When a key exists in multiple
2373
2374
2375
                                    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.
2376
                                  items:
2377
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
2378
                                    properties:
2379
                                      configMapRef:
2380
                                        description: The ConfigMap to select from
2381
                                        properties:
2382
2383
                                          name:
                                            default: ""
2384
2385
2386
2387
2388
2389
                                            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
2390
2391
                                            type: string
                                          optional:
2392
                                            description: Specify whether the ConfigMap must be defined
2393
                                            type: boolean
2394
                                        type: object
2395
                                        x-kubernetes-map-type: atomic
2396
                                      prefix:
2397
2398
2399
                                        description: |-
                                          Optional text to prepend to the name of each environment variable.
                                          May consist of any printable ASCII characters except '='.
2400
2401
                                        type: string
                                      secretRef:
2402
                                        description: The Secret to select from
2403
                                        properties:
2404
2405
                                          name:
                                            default: ""
2406
2407
2408
2409
2410
2411
                                            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
2412
2413
                                            type: string
                                          optional:
2414
                                            description: Specify whether the Secret must be defined
2415
                                            type: boolean
2416
                                        type: object
2417
2418
2419
2420
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
2421
                                image:
2422
2423
2424
2425
2426
                                  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.
2427
                                  type: string
2428
                                imagePullPolicy:
2429
2430
2431
2432
2433
2434
                                  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
2435
                                  type: string
2436
                                lifecycle:
2437
2438
2439
                                  description: |-
                                    Actions that the management system should take in response to container lifecycle events.
                                    Cannot be updated.
2440
                                  properties:
2441
                                    postStart:
2442
2443
2444
2445
2446
                                      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
2447
                                      properties:
2448
                                        exec:
2449
                                          description: Exec specifies a command to execute in the container.
2450
                                          properties:
2451
                                            command:
2452
2453
2454
2455
2456
2457
                                              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.
2458
2459
2460
2461
2462
2463
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
2464
                                          description: HTTPGet specifies an HTTP GET request to perform.
2465
2466
                                          properties:
                                            host:
2467
2468
2469
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
2470
                                              type: string
2471
                                            httpHeaders:
2472
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
2473
                                              items:
2474
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
2475
2476
                                                properties:
                                                  name:
2477
2478
2479
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
2480
2481
                                                    type: string
                                                  value:
2482
                                                    description: The header field value
2483
2484
2485
2486
2487
2488
2489
2490
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
2491
                                              description: Path to access on the HTTP server.
2492
2493
2494
2495
2496
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2497
2498
2499
2500
                                              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.
2501
2502
                                              x-kubernetes-int-or-string: true
                                            scheme:
2503
2504
2505
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
2506
                                              type: string
2507
                                          required:
2508
                                            - port
2509
                                          type: object
2510
                                        sleep:
2511
                                          description: Sleep represents a duration that the container should sleep.
2512
                                          properties:
2513
                                            seconds:
2514
                                              description: Seconds is the number of seconds to sleep.
2515
2516
2517
2518
2519
2520
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
2521
2522
2523
2524
                                          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.
2525
2526
                                          properties:
                                            host:
2527
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
2528
                                              type: string
2529
2530
2531
2532
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2533
2534
2535
2536
                                              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.
2537
                                              x-kubernetes-int-or-string: true
2538
                                          required:
2539
                                            - port
2540
                                          type: object
2541
2542
                                      type: object
                                    preStop:
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
                                      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
2553
2554
                                      properties:
                                        exec:
2555
                                          description: Exec specifies a command to execute in the container.
2556
                                          properties:
2557
                                            command:
2558
2559
2560
2561
2562
2563
                                              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.
2564
2565
2566
2567
2568
2569
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
2570
                                          description: HTTPGet specifies an HTTP GET request to perform.
2571
2572
                                          properties:
                                            host:
2573
2574
2575
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
2576
                                              type: string
2577
                                            httpHeaders:
2578
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
2579
                                              items:
2580
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
2581
2582
                                                properties:
                                                  name:
2583
2584
2585
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
2586
2587
                                                    type: string
                                                  value:
2588
                                                    description: The header field value
2589
2590
2591
2592
2593
2594
2595
2596
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
2597
                                              description: Path to access on the HTTP server.
2598
2599
                                              type: string
                                            port:
2600
                                              anyOf:
2601
2602
                                                - type: integer
                                                - type: string
2603
2604
2605
2606
                                              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.
2607
                                              x-kubernetes-int-or-string: true
2608
                                            scheme:
2609
2610
2611
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
2612
2613
                                              type: string
                                          required:
2614
                                            - port
2615
                                          type: object
2616
                                        sleep:
2617
                                          description: Sleep represents a duration that the container should sleep.
2618
                                          properties:
2619
                                            seconds:
2620
                                              description: Seconds is the number of seconds to sleep.
2621
2622
2623
2624
2625
2626
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
2627
2628
2629
2630
                                          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.
2631
2632
                                          properties:
                                            host:
2633
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
2634
                                              type: string
2635
2636
2637
2638
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2639
2640
2641
2642
                                              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.
2643
                                              x-kubernetes-int-or-string: true
2644
                                          required:
2645
                                            - port
2646
2647
                                          type: object
                                      type: object
2648
                                    stopSignal:
2649
2650
2651
2652
                                      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
2653
                                      type: string
2654
                                  type: object
2655
                                livenessProbe:
2656
2657
2658
2659
2660
                                  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
2661
                                  properties:
2662
                                    exec:
2663
                                      description: Exec specifies a command to execute in the container.
2664
2665
                                      properties:
                                        command:
2666
2667
2668
2669
2670
2671
                                          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.
2672
2673
2674
2675
2676
2677
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2678
2679
2680
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2681
2682
2683
                                      format: int32
                                      type: integer
                                    grpc:
2684
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2685
                                      properties:
2686
                                        port:
2687
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2688
2689
2690
                                          format: int32
                                          type: integer
                                        service:
2691
                                          default: ""
2692
2693
2694
2695
2696
                                          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.
2697
                                          type: string
2698
2699
                                      required:
                                        - port
2700
                                      type: object
2701
                                    httpGet:
2702
                                      description: HTTPGet specifies an HTTP GET request to perform.
2703
                                      properties:
2704
                                        host:
2705
2706
2707
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2708
                                          type: string
2709
                                        httpHeaders:
2710
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2711
                                          items:
2712
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2713
2714
                                            properties:
                                              name:
2715
2716
2717
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2718
2719
                                                type: string
                                              value:
2720
                                                description: The header field value
2721
2722
                                                type: string
                                            required:
2723
2724
                                              - name
                                              - value
2725
2726
2727
2728
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2729
                                          description: Path to access on the HTTP server.
2730
2731
2732
                                          type: string
                                        port:
                                          anyOf:
2733
2734
                                            - type: integer
                                            - type: string
2735
2736
2737
2738
                                          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.
2739
2740
                                          x-kubernetes-int-or-string: true
                                        scheme:
2741
2742
2743
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2744
2745
                                          type: string
                                      required:
2746
                                        - port
2747
2748
                                      type: object
                                    initialDelaySeconds:
2749
2750
2751
                                      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
2752
2753
2754
                                      format: int32
                                      type: integer
                                    periodSeconds:
2755
2756
2757
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2758
2759
2760
                                      format: int32
                                      type: integer
                                    successThreshold:
2761
2762
2763
                                      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.
2764
2765
2766
                                      format: int32
                                      type: integer
                                    tcpSocket:
2767
                                      description: TCPSocket specifies a connection to a TCP port.
2768
2769
                                      properties:
                                        host:
2770
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2771
2772
2773
                                          type: string
                                        port:
                                          anyOf:
2774
2775
                                            - type: integer
                                            - type: string
2776
2777
2778
2779
                                          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.
2780
2781
                                          x-kubernetes-int-or-string: true
                                      required:
2782
                                        - port
2783
2784
                                      type: object
                                    terminationGracePeriodSeconds:
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
                                      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.
2796
2797
2798
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
2799
2800
2801
2802
                                      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
2803
2804
2805
2806
                                      format: int32
                                      type: integer
                                  type: object
                                name:
2807
2808
2809
2810
                                  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.
2811
2812
                                  type: string
                                ports:
2813
2814
2815
2816
2817
2818
2819
2820
                                  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.
2821
                                  items:
2822
                                    description: ContainerPort represents a network port in a single container.
2823
                                    properties:
2824
                                      containerPort:
2825
2826
2827
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
2828
2829
2830
                                        format: int32
                                        type: integer
                                      hostIP:
2831
                                        description: What host IP to bind the external port to.
2832
2833
                                        type: string
                                      hostPort:
2834
2835
2836
2837
2838
                                        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.
2839
2840
2841
                                        format: int32
                                        type: integer
                                      name:
2842
2843
2844
2845
                                        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.
2846
2847
2848
                                        type: string
                                      protocol:
                                        default: TCP
2849
2850
2851
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
                                        type: string
                                    required:
                                      - containerPort
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
2862
2863
2864
2865
2866
                                  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
2867
2868
                                  properties:
                                    exec:
2869
                                      description: Exec specifies a command to execute in the container.
2870
2871
                                      properties:
                                        command:
2872
2873
2874
2875
2876
2877
                                          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.
2878
                                          items:
2879
                                            type: string
2880
2881
2882
2883
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2884
2885
2886
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2887
2888
2889
                                      format: int32
                                      type: integer
                                    grpc:
2890
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2891
2892
                                      properties:
                                        port:
2893
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2894
2895
2896
2897
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
2898
2899
2900
2901
2902
                                          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.
2903
2904
2905
2906
2907
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
2908
                                      description: HTTPGet specifies an HTTP GET request to perform.
2909
2910
                                      properties:
                                        host:
2911
2912
2913
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2914
2915
                                          type: string
                                        httpHeaders:
2916
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2917
                                          items:
2918
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2919
2920
                                            properties:
                                              name:
2921
2922
2923
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2924
2925
                                                type: string
                                              value:
2926
                                                description: The header field value
2927
2928
                                                type: string
                                            required:
2929
2930
                                              - name
                                              - value
2931
2932
2933
2934
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2935
                                          description: Path to access on the HTTP server.
2936
2937
2938
                                          type: string
                                        port:
                                          anyOf:
2939
2940
                                            - type: integer
                                            - type: string
2941
2942
2943
2944
                                          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.
2945
2946
                                          x-kubernetes-int-or-string: true
                                        scheme:
2947
2948
2949
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2950
2951
                                          type: string
                                      required:
2952
                                        - port
2953
2954
                                      type: object
                                    initialDelaySeconds:
2955
2956
2957
                                      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
2958
2959
2960
                                      format: int32
                                      type: integer
                                    periodSeconds:
2961
2962
2963
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2964
2965
2966
                                      format: int32
                                      type: integer
                                    successThreshold:
2967
2968
2969
                                      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.
2970
2971
2972
                                      format: int32
                                      type: integer
                                    tcpSocket:
2973
                                      description: TCPSocket specifies a connection to a TCP port.
2974
2975
                                      properties:
                                        host:
2976
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2977
                                          type: string
2978
2979
2980
2981
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
2982
2983
2984
2985
                                          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.
2986
2987
2988
2989
2990
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
                                      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.
3002
3003
3004
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
3005
3006
3007
3008
                                      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
3009
3010
3011
3012
                                      format: int32
                                      type: integer
                                  type: object
                                resizePolicy:
3013
                                  description: Resources resize policy for the container.
3014
                                  items:
3015
                                    description: ContainerResizePolicy represents resource resize policy for the container.
3016
                                    properties:
3017
                                      resourceName:
3018
3019
3020
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
3021
3022
                                        type: string
                                      restartPolicy:
3023
3024
3025
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
3026
3027
                                        type: string
                                    required:
3028
3029
                                      - resourceName
                                      - restartPolicy
3030
                                    type: object
3031
3032
3033
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
3034
3035
3036
3037
                                  description: |-
                                    Compute Resources required by this container.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
3038
3039
                                  properties:
                                    claims:
3040
3041
3042
3043
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

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

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

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

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

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

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

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

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

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

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

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