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

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.16.4
22
    helm.sh/resource-policy: keep
23
  name: dynamographdeployments.nvidia.com
24
25
26
spec:
  group: nvidia.com
  names:
27
28
29
    kind: DynamoGraphDeployment
    listKind: DynamoGraphDeploymentList
    plural: dynamographdeployments
30
    shortNames:
31
      - dgd
32
    singular: dynamographdeployment
33
34
  scope: Namespaced
  versions:
35
36
37
38
39
40
41
42
43
44
45
46
47
    - additionalPrinterColumns:
        - description: Ready status of the graph deployment
          jsonPath: .status.conditions[?(@.type=="Ready")].status
          name: Ready
          type: string
        - description: Backend framework (sglang, vllm, trtllm)
          jsonPath: .spec.backendFramework
          name: Backend
          type: string
        - jsonPath: .metadata.creationTimestamp
          name: Age
          type: date
      name: v1alpha1
48
49
      schema:
        openAPIV3Schema:
50
          description: DynamoGraphDeployment is the Schema for the dynamographdeployments API.
51
52
          properties:
            apiVersion:
53
54
55
56
57
              description: |-
                APIVersion defines the versioned schema of this representation of an object.
                Servers should convert recognized schemas to the latest internal value, and
                may reject unrecognized values.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
58
59
              type: string
            kind:
60
61
62
63
64
65
              description: |-
                Kind is a string value representing the REST resource this object represents.
                Servers may infer this from the endpoint the client submits requests to.
                Cannot be updated.
                In CamelCase.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
66
67
68
69
              type: string
            metadata:
              type: object
            spec:
70
              description: Spec defines the desired state for this graph deployment.
71
              properties:
72
                backendFramework:
73
                  description: BackendFramework specifies the backend framework (e.g., "sglang", "vllm", "trtllm").
74
75
76
77
78
                  enum:
                    - sglang
                    - vllm
                    - trtllm
                  type: string
79
                envs:
80
                  description: |-
81
                    Envs are environment variables applied to all services in the deployment unless
82
                    overridden by service-specific configuration.
83
                  items:
84
                    description: EnvVar represents an environment variable present in a Container.
85
86
                    properties:
                      name:
87
88
89
                        description: |-
                          Name of the environment variable.
                          May consist of any printable ASCII characters except '='.
90
                        type: string
91
                      value:
92
93
94
95
96
97
98
99
100
101
                        description: |-
                          Variable references $(VAR_NAME) are expanded
                          using the previously defined environment variables in the container and
                          any service environment variables. If a variable cannot be resolved,
                          the reference in the input string will be unchanged. Double $$ are reduced
                          to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
                          "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
                          Escaped references will never be expanded, regardless of whether the variable
                          exists or not.
                          Defaults to "".
102
103
                        type: string
                      valueFrom:
104
                        description: Source for the environment variable's value. Cannot be used if value is not empty.
105
106
                        properties:
                          configMapKeyRef:
107
                            description: Selects a key of a ConfigMap.
108
                            properties:
109
                              key:
110
                                description: The key to select.
111
112
113
                                type: string
                              name:
                                default: ""
114
115
116
117
118
119
                                description: |-
                                  Name of the referent.
                                  This field is effectively required, but due to backwards compatibility is
                                  allowed to be empty. Instances of this type with an empty value here are
                                  almost certainly wrong.
                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
120
121
                                type: string
                              optional:
122
                                description: Specify whether the ConfigMap or its key must be defined
123
124
125
126
127
128
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                          fieldRef:
129
130
131
                            description: |-
                              Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
                              spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
132
133
                            properties:
                              apiVersion:
134
                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
135
136
                                type: string
                              fieldPath:
137
                                description: Path of the field to select in the specified API version.
138
139
140
141
142
                                type: string
                            required:
                              - fieldPath
                            type: object
                            x-kubernetes-map-type: atomic
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
                          fileKeyRef:
                            description: |-
                              FileKeyRef selects a key of the env file.
                              Requires the EnvFiles feature gate to be enabled.
                            properties:
                              key:
                                description: |-
                                  The key within the env file. An invalid key will prevent the pod from starting.
                                  The keys defined within a source may consist of any printable ASCII characters except '='.
                                  During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
                                type: string
                              optional:
                                default: false
                                description: |-
                                  Specify whether the file or its key must be defined. If the file or key
                                  does not exist, then the env var is not published.
                                  If optional is set to true and the specified key does not exist,
                                  the environment variable will not be set in the Pod's containers.

                                  If optional is set to false and the specified key does not exist,
                                  an error will be returned during Pod creation.
                                type: boolean
                              path:
                                description: |-
                                  The path within the volume from which to select the file.
                                  Must be relative and may not contain the '..' path or start with '..'.
                                type: string
                              volumeName:
                                description: The name of the volume mount containing the env file.
                                type: string
                            required:
                              - key
                              - path
                              - volumeName
                            type: object
                            x-kubernetes-map-type: atomic
179
                          resourceFieldRef:
180
181
182
                            description: |-
                              Selects a resource of the container: only resources limits and requests
                              (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
183
184
                            properties:
                              containerName:
185
                                description: 'Container name: required for volumes, optional for env vars'
186
187
188
189
190
                                type: string
                              divisor:
                                anyOf:
                                  - type: integer
                                  - type: string
191
                                description: Specifies the output format of the exposed resources, defaults to "1"
192
193
                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                x-kubernetes-int-or-string: true
194
                              resource:
195
                                description: 'Required: resource to select'
196
197
                                type: string
                            required:
198
                              - resource
199
                            type: object
200
201
                            x-kubernetes-map-type: atomic
                          secretKeyRef:
202
                            description: Selects a key of a secret in the pod's namespace
203
                            properties:
204
                              key:
205
                                description: The key of the secret to select from.  Must be a valid secret key.
206
207
208
                                type: string
                              name:
                                default: ""
209
210
211
212
213
214
                                description: |-
                                  Name of the referent.
                                  This field is effectively required, but due to backwards compatibility is
                                  allowed to be empty. Instances of this type with an empty value here are
                                  almost certainly wrong.
                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
215
216
                                type: string
                              optional:
217
                                description: Specify whether the Secret or its key must be defined
218
219
220
221
222
223
224
225
226
227
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                        type: object
                    required:
                      - name
                    type: object
                  type: array
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
                pvcs:
                  description: |-
                    PVCs defines a list of persistent volume claims that can be referenced by components.
                    Each PVC must have a unique name that can be referenced in component specifications.
                  items:
                    properties:
                      create:
                        description: Create indicates to create a new PVC
                        type: boolean
                      name:
                        description: Name is the name of the PVC
                        type: string
                      size:
                        anyOf:
                          - type: integer
                          - type: string
                        description: Size of the volume in Gi, used during PVC creation. Required when create is true.
                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                        x-kubernetes-int-or-string: true
                      storageClass:
                        description: StorageClass to be used for PVC creation. Required when create is true.
                        type: string
                      volumeAccessMode:
                        description: VolumeAccessMode is the volume access mode of the PVC. Required when create is true.
                        type: string
                    required:
                      - name
                    type: object
                    x-kubernetes-validations:
                      - message: When create is true, size, storageClass, and volumeAccessMode are required
                        rule: '!has(self.create) || self.create == false || (has(self.size) && has(self.storageClass) && has(self.volumeAccessMode))'
259
                  maxItems: 100
260
                  type: array
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
                restart:
                  description: Restart specifies the restart policy for the graph deployment.
                  properties:
                    id:
                      description: |-
                        ID is an arbitrary string that triggers a restart when changed.
                        Any modification to this value will initiate a restart of the graph deployment according to the strategy.
                      minLength: 1
                      type: string
                    strategy:
                      description: Strategy specifies the restart strategy for the graph deployment.
                      properties:
                        order:
                          description: Order specifies the order in which the services should be restarted.
                          items:
                            type: string
                          type: array
                        type:
                          default: Sequential
                          description: Type specifies the restart strategy type.
                          enum:
                            - Sequential
                            - Parallel
                          type: string
                      type: object
                  required:
                    - id
                  type: object
289
290
291
292
293
294
                services:
                  additionalProperties:
                    properties:
                      annotations:
                        additionalProperties:
                          type: string
295
296
297
                        description: |-
                          Annotations to add to generated Kubernetes resources for this component
                          (such as Pod, Service, and Ingress when applicable).
298
299
                        type: object
                      autoscaling:
300
301
                        description: |-
                          Deprecated: This field is deprecated and ignored. Use DynamoGraphDeploymentScalingAdapter
302
                          with HPA, KEDA, or Planner for autoscaling instead. See docs/pages/kubernetes/autoscaling.md
303
                          for migration guidance. This field will be removed in a future API version.
304
305
                        properties:
                          behavior:
306
                            description: 'Deprecated: This field is ignored.'
307
308
                            properties:
                              scaleDown:
309
310
311
312
313
                                description: |-
                                  scaleDown is scaling policy for scaling Down.
                                  If not set, the default value is to allow to scale down to minReplicas pods, with a
                                  300 second stabilization window (i.e., the highest recommendation for
                                  the last 300sec is used).
314
                                properties:
315
                                  policies:
316
317
318
319
320
                                    description: |-
                                      policies is a list of potential scaling polices which can be used during scaling.
                                      If not set, use the default values:
                                      - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window.
                                      - For scale down: allow all pods to be removed in a 15s window.
321
                                    items:
322
                                      description: HPAScalingPolicy is a single policy which must hold true for a specified past interval.
323
324
                                      properties:
                                        periodSeconds:
325
326
327
                                          description: |-
                                            periodSeconds specifies the window of time for which the policy should hold true.
                                            PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
328
329
330
                                          format: int32
                                          type: integer
                                        type:
331
                                          description: type is used to specify the scaling policy.
332
333
                                          type: string
                                        value:
334
335
336
                                          description: |-
                                            value contains the amount of change which is permitted by the policy.
                                            It must be greater than zero
337
338
339
340
341
342
343
344
345
346
                                          format: int32
                                          type: integer
                                      required:
                                        - periodSeconds
                                        - type
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  selectPolicy:
347
348
349
                                    description: |-
                                      selectPolicy is used to specify which policy should be used.
                                      If not set, the default value Max is used.
350
                                    type: string
351
                                  stabilizationWindowSeconds:
352
353
354
355
356
357
358
                                    description: |-
                                      stabilizationWindowSeconds is the number of seconds for which past recommendations should be
                                      considered while scaling up or scaling down.
                                      StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
                                      If not set, use the default values:
                                      - For scale up: 0 (i.e. no stabilization is done).
                                      - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
359
360
                                    format: int32
                                    type: integer
361
362
363
364
                                  tolerance:
                                    anyOf:
                                      - type: integer
                                      - type: string
365
366
367
368
369
370
371
372
373
374
375
376
                                    description: |-
                                      tolerance is the tolerance on the ratio between the current and desired
                                      metric value under which no updates are made to the desired number of
                                      replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not
                                      set, the default cluster-wide tolerance is applied (by default 10%).

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

                                      This is an alpha field and requires enabling the HPAConfigurableTolerance
                                      feature gate.
377
378
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
379
                                type: object
380
                              scaleUp:
381
382
383
384
385
386
                                description: |-
                                  scaleUp is scaling policy for scaling Up.
                                  If not set, the default value is the higher of:
                                    * increase no more than 4 pods per 60 seconds
                                    * double the number of pods per 60 seconds
                                  No stabilization is used.
387
                                properties:
388
                                  policies:
389
390
391
392
393
                                    description: |-
                                      policies is a list of potential scaling polices which can be used during scaling.
                                      If not set, use the default values:
                                      - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window.
                                      - For scale down: allow all pods to be removed in a 15s window.
394
                                    items:
395
                                      description: HPAScalingPolicy is a single policy which must hold true for a specified past interval.
396
397
                                      properties:
                                        periodSeconds:
398
399
400
                                          description: |-
                                            periodSeconds specifies the window of time for which the policy should hold true.
                                            PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
401
402
403
                                          format: int32
                                          type: integer
                                        type:
404
                                          description: type is used to specify the scaling policy.
405
406
                                          type: string
                                        value:
407
408
409
                                          description: |-
                                            value contains the amount of change which is permitted by the policy.
                                            It must be greater than zero
410
411
412
413
414
415
416
417
418
419
                                          format: int32
                                          type: integer
                                      required:
                                        - periodSeconds
                                        - type
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  selectPolicy:
420
421
422
                                    description: |-
                                      selectPolicy is used to specify which policy should be used.
                                      If not set, the default value Max is used.
423
                                    type: string
424
                                  stabilizationWindowSeconds:
425
426
427
428
429
430
431
                                    description: |-
                                      stabilizationWindowSeconds is the number of seconds for which past recommendations should be
                                      considered while scaling up or scaling down.
                                      StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
                                      If not set, use the default values:
                                      - For scale up: 0 (i.e. no stabilization is done).
                                      - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
432
433
                                    format: int32
                                    type: integer
434
435
436
437
                                  tolerance:
                                    anyOf:
                                      - type: integer
                                      - type: string
438
439
440
441
442
443
444
445
446
447
448
449
                                    description: |-
                                      tolerance is the tolerance on the ratio between the current and desired
                                      metric value under which no updates are made to the desired number of
                                      replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not
                                      set, the default cluster-wide tolerance is applied (by default 10%).

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

                                      This is an alpha field and requires enabling the HPAConfigurableTolerance
                                      feature gate.
450
451
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
452
453
                                type: object
                            type: object
454
                          enabled:
455
                            description: 'Deprecated: This field is ignored.'
456
457
                            type: boolean
                          maxReplicas:
458
                            description: 'Deprecated: This field is ignored.'
459
460
                            type: integer
                          metrics:
461
                            description: 'Deprecated: This field is ignored.'
462
                            items:
463
464
465
                              description: |-
                                MetricSpec specifies how to scale based on a single metric
                                (only `type` and one other matching field should be set at once).
466
467
                              properties:
                                containerResource:
468
469
470
471
472
473
                                  description: |-
                                    containerResource refers to a resource metric (such as those specified in
                                    requests and limits) known to Kubernetes describing a single container in
                                    each pod of the current scale target (e.g. CPU or memory). Such metrics are
                                    built in to Kubernetes, and have special scaling options on top of those
                                    available to normal per-pod metrics using the "pods" source.
474
475
                                  properties:
                                    container:
476
                                      description: container is the name of the container in the pods of the scaling target
477
478
                                      type: string
                                    name:
479
                                      description: name is the name of the resource in question.
480
481
                                      type: string
                                    target:
482
                                      description: target specifies the target value for the given metric
483
484
                                      properties:
                                        averageUtilization:
485
486
487
488
489
                                          description: |-
                                            averageUtilization is the target value of the average of the
                                            resource metric across all relevant pods, represented as a percentage of
                                            the requested value of the resource for the pods.
                                            Currently only valid for Resource metric source type
490
491
492
493
494
495
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
496
497
498
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
499
500
501
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
502
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
503
504
505
506
507
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
508
                                          description: value is the target value of the metric (as a quantity).
509
510
511
512
513
514
515
516
517
518
519
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - type
                                      type: object
                                  required:
                                    - container
                                    - name
                                    - target
                                  type: object
                                external:
520
521
522
523
524
525
                                  description: |-
                                    external refers to a global metric that is not associated
                                    with any Kubernetes object. It allows autoscaling based on information
                                    coming from components running outside of cluster
                                    (for example length of queue in cloud messaging service, or
                                    QPS from loadbalancer running outside of cluster).
526
527
                                  properties:
                                    metric:
528
                                      description: metric identifies the target metric by name and selector
529
530
                                      properties:
                                        name:
531
                                          description: name is the name of the given metric
532
533
                                          type: string
                                        selector:
534
535
536
537
                                          description: |-
                                            selector is the string-encoded form of a standard kubernetes label selector for the given metric
                                            When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
                                            When unset, just the metricName will be used to gather metrics.
538
539
                                          properties:
                                            matchExpressions:
540
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
541
                                              items:
542
543
544
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
545
546
                                                properties:
                                                  key:
547
                                                    description: key is the label key that the selector applies to.
548
549
                                                    type: string
                                                  operator:
550
551
552
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
553
554
                                                    type: string
                                                  values:
555
556
557
558
559
                                                    description: |-
                                                      values is an array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. This array is replaced during a strategic
                                                      merge patch.
560
561
562
563
564
565
566
567
568
569
570
571
572
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
573
574
575
576
                                              description: |-
                                                matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                operator is "In", and the values array contains only "value". The requirements are ANDed.
577
578
579
580
581
582
583
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
584
                                      description: target specifies the target value for the given metric
585
586
                                      properties:
                                        averageUtilization:
587
588
589
590
591
                                          description: |-
                                            averageUtilization is the target value of the average of the
                                            resource metric across all relevant pods, represented as a percentage of
                                            the requested value of the resource for the pods.
                                            Currently only valid for Resource metric source type
592
593
594
595
596
597
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
598
599
600
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
601
602
603
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
604
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
605
606
607
608
609
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
610
                                          description: value is the target value of the metric (as a quantity).
611
612
613
614
615
616
617
618
619
620
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - type
                                      type: object
                                  required:
                                    - metric
                                    - target
                                  type: object
                                object:
621
622
623
                                  description: |-
                                    object refers to a metric describing a single kubernetes object
                                    (for example, hits-per-second on an Ingress object).
624
625
                                  properties:
                                    describedObject:
626
                                      description: describedObject specifies the descriptions of a object,such as kind,name apiVersion
627
628
                                      properties:
                                        apiVersion:
629
                                          description: apiVersion is the API version of the referent
630
631
                                          type: string
                                        kind:
632
                                          description: 'kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
633
634
                                          type: string
                                        name:
635
                                          description: 'name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
636
637
638
639
640
641
                                          type: string
                                      required:
                                        - kind
                                        - name
                                      type: object
                                    metric:
642
                                      description: metric identifies the target metric by name and selector
643
644
                                      properties:
                                        name:
645
                                          description: name is the name of the given metric
646
647
                                          type: string
                                        selector:
648
649
650
651
                                          description: |-
                                            selector is the string-encoded form of a standard kubernetes label selector for the given metric
                                            When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
                                            When unset, just the metricName will be used to gather metrics.
652
653
                                          properties:
                                            matchExpressions:
654
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
655
                                              items:
656
657
658
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
659
660
                                                properties:
                                                  key:
661
                                                    description: key is the label key that the selector applies to.
662
663
                                                    type: string
                                                  operator:
664
665
666
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
667
668
                                                    type: string
                                                  values:
669
670
671
672
673
                                                    description: |-
                                                      values is an array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. This array is replaced during a strategic
                                                      merge patch.
674
675
676
677
678
679
680
681
682
683
684
685
686
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
687
688
689
690
                                              description: |-
                                                matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                operator is "In", and the values array contains only "value". The requirements are ANDed.
691
692
693
694
695
696
697
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
698
                                      description: target specifies the target value for the given metric
699
700
                                      properties:
                                        averageUtilization:
701
702
703
704
705
                                          description: |-
                                            averageUtilization is the target value of the average of the
                                            resource metric across all relevant pods, represented as a percentage of
                                            the requested value of the resource for the pods.
                                            Currently only valid for Resource metric source type
706
707
708
709
710
711
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
712
713
714
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
715
716
717
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
718
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
719
720
721
722
723
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
724
                                          description: value is the target value of the metric (as a quantity).
725
726
727
728
729
730
731
732
733
734
735
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - type
                                      type: object
                                  required:
                                    - describedObject
                                    - metric
                                    - target
                                  type: object
                                pods:
736
737
738
739
                                  description: |-
                                    pods refers to a metric describing each pod in the current scale target
                                    (for example, transactions-processed-per-second).  The values will be
                                    averaged together before being compared to the target value.
740
741
                                  properties:
                                    metric:
742
                                      description: metric identifies the target metric by name and selector
743
744
                                      properties:
                                        name:
745
                                          description: name is the name of the given metric
746
747
                                          type: string
                                        selector:
748
749
750
751
                                          description: |-
                                            selector is the string-encoded form of a standard kubernetes label selector for the given metric
                                            When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
                                            When unset, just the metricName will be used to gather metrics.
752
753
                                          properties:
                                            matchExpressions:
754
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
755
                                              items:
756
757
758
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
759
760
                                                properties:
                                                  key:
761
                                                    description: key is the label key that the selector applies to.
762
763
                                                    type: string
                                                  operator:
764
765
766
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
767
768
                                                    type: string
                                                  values:
769
770
771
772
773
                                                    description: |-
                                                      values is an array of string values. If the operator is In or NotIn,
                                                      the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                      the values array must be empty. This array is replaced during a strategic
                                                      merge patch.
774
775
776
777
778
779
780
781
782
783
784
785
786
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
787
788
789
790
                                              description: |-
                                                matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                                map is equivalent to an element of matchExpressions, whose key field is "key", the
                                                operator is "In", and the values array contains only "value". The requirements are ANDed.
791
792
793
794
795
796
797
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                      required:
                                        - name
                                      type: object
                                    target:
798
                                      description: target specifies the target value for the given metric
799
800
                                      properties:
                                        averageUtilization:
801
802
803
804
805
                                          description: |-
                                            averageUtilization is the target value of the average of the
                                            resource metric across all relevant pods, represented as a percentage of
                                            the requested value of the resource for the pods.
                                            Currently only valid for Resource metric source type
806
807
808
809
810
811
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
812
813
814
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
815
816
817
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
818
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
819
820
821
822
823
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
824
                                          description: value is the target value of the metric (as a quantity).
825
826
827
828
829
830
831
832
833
834
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - type
                                      type: object
                                  required:
                                    - metric
                                    - target
                                  type: object
                                resource:
835
836
837
838
839
840
                                  description: |-
                                    resource refers to a resource metric (such as those specified in
                                    requests and limits) known to Kubernetes describing each pod in the
                                    current scale target (e.g. CPU or memory). Such metrics are built in to
                                    Kubernetes, and have special scaling options on top of those available
                                    to normal per-pod metrics using the "pods" source.
841
842
                                  properties:
                                    name:
843
                                      description: name is the name of the resource in question.
844
845
                                      type: string
                                    target:
846
                                      description: target specifies the target value for the given metric
847
848
                                      properties:
                                        averageUtilization:
849
850
851
852
853
                                          description: |-
                                            averageUtilization is the target value of the average of the
                                            resource metric across all relevant pods, represented as a percentage of
                                            the requested value of the resource for the pods.
                                            Currently only valid for Resource metric source type
854
855
856
857
858
859
                                          format: int32
                                          type: integer
                                        averageValue:
                                          anyOf:
                                            - type: integer
                                            - type: string
860
861
862
                                          description: |-
                                            averageValue is the target value of the average of the
                                            metric across all relevant pods (as a quantity)
863
864
865
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        type:
866
                                          description: type represents whether the metric type is Utilization, Value, or AverageValue
867
868
869
870
871
                                          type: string
                                        value:
                                          anyOf:
                                            - type: integer
                                            - type: string
872
                                          description: value is the target value of the metric (as a quantity).
873
874
875
876
877
878
879
880
881
882
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - type
                                      type: object
                                  required:
                                    - name
                                    - target
                                  type: object
                                type:
883
884
885
                                  description: |-
                                    type is the type of metric source.  It should be one of "ContainerResource", "External",
                                    "Object", "Pods" or "Resource", each mapping to a matching field in the object.
886
887
888
889
890
891
                                  type: string
                              required:
                                - type
                              type: object
                            type: array
                          minReplicas:
892
                            description: 'Deprecated: This field is ignored.'
893
                            type: integer
894
                        type: object
895
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
964
965
966
967
968
969
970
971
972
973
974
975
                      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))'
976
                      componentType:
977
                        description: ComponentType indicates the role of this component (for example, "main").
978
979
                        type: string
                      dynamoNamespace:
980
981
982
                        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
983
984
                        type: string
                      envFromSecret:
985
986
987
                        description: |-
                          EnvFromSecret references a Secret whose key/value pairs will be exposed as
                          environment variables in the component containers.
988
989
                        type: string
                      envs:
990
                        description: Envs defines additional environment variables to inject into the component containers.
991
                        items:
992
                          description: EnvVar represents an environment variable present in a Container.
993
                          properties:
994
                            name:
995
996
997
                              description: |-
                                Name of the environment variable.
                                May consist of any printable ASCII characters except '='.
998
999
                              type: string
                            value:
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
                              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 "".
1010
1011
                              type: string
                            valueFrom:
1012
                              description: Source for the environment variable's value. Cannot be used if value is not empty.
1013
                              properties:
1014
                                configMapKeyRef:
1015
                                  description: Selects a key of a ConfigMap.
1016
1017
                                  properties:
                                    key:
1018
                                      description: The key to select.
1019
1020
1021
                                      type: string
                                    name:
                                      default: ""
1022
1023
1024
1025
1026
1027
                                      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
1028
1029
                                      type: string
                                    optional:
1030
                                      description: Specify whether the ConfigMap or its key must be defined
1031
1032
1033
1034
1035
1036
                                      type: boolean
                                  required:
                                    - key
                                  type: object
                                  x-kubernetes-map-type: atomic
                                fieldRef:
1037
1038
1039
                                  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.
1040
1041
                                  properties:
                                    apiVersion:
1042
                                      description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
1043
1044
                                      type: string
                                    fieldPath:
1045
                                      description: Path of the field to select in the specified API version.
1046
1047
1048
1049
1050
                                      type: string
                                  required:
                                    - fieldPath
                                  type: object
                                  x-kubernetes-map-type: atomic
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
                                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
1087
                                resourceFieldRef:
1088
1089
1090
                                  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.
1091
1092
                                  properties:
                                    containerName:
1093
                                      description: 'Container name: required for volumes, optional for env vars'
1094
1095
1096
1097
1098
                                      type: string
                                    divisor:
                                      anyOf:
                                        - type: integer
                                        - type: string
1099
                                      description: Specifies the output format of the exposed resources, defaults to "1"
1100
1101
1102
                                      pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                      x-kubernetes-int-or-string: true
                                    resource:
1103
                                      description: 'Required: resource to select'
1104
1105
1106
1107
1108
1109
                                      type: string
                                  required:
                                    - resource
                                  type: object
                                  x-kubernetes-map-type: atomic
                                secretKeyRef:
1110
                                  description: Selects a key of a secret in the pod's namespace
1111
1112
                                  properties:
                                    key:
1113
                                      description: The key of the secret to select from.  Must be a valid secret key.
1114
1115
1116
                                      type: string
                                    name:
                                      default: ""
1117
1118
1119
1120
1121
1122
                                      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
1123
1124
                                      type: string
                                    optional:
1125
                                      description: Specify whether the Secret or its key must be defined
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
                                      type: boolean
                                  required:
                                    - key
                                  type: object
                                  x-kubernetes-map-type: atomic
                              type: object
                          required:
                            - name
                          type: object
                        type: array
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
                      eppConfig:
                        description: |-
                          EPPConfig defines EPP-specific configuration options for Endpoint Picker Plugin components.
                          Only applicable when ComponentType is "epp".
                        properties:
                          config:
                            description: |-
                              Config allows specifying EPP EndpointPickerConfig directly as a structured object.
                              The operator will marshal this to YAML and create a ConfigMap automatically.
                              Mutually exclusive with ConfigMapRef.
                              One of ConfigMapRef or Config must be specified (no default configuration).
                              Uses the upstream type from github.com/kubernetes-sigs/gateway-api-inference-extension
                            properties:
                              apiVersion:
                                description: |-
                                  APIVersion defines the versioned schema of this representation of an object.
                                  Servers should convert recognized schemas to the latest internal value, and
                                  may reject unrecognized values.
                                  More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
                                type: string
                              featureGates:
                                description: |-
                                  FeatureGates is a set of flags that enable various experimental features with the EPP.
                                  If omitted non of these experimental features will be enabled.
                                items:
                                  type: string
                                type: array
                              kind:
                                description: |-
                                  Kind is a string value representing the REST resource this object represents.
                                  Servers may infer this from the endpoint the client submits requests to.
                                  Cannot be updated.
                                  In CamelCase.
                                  More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
                                type: string
                              plugins:
                                description: Plugins is the list of plugins that will be instantiated.
                                items:
                                  description: |-
                                    PluginSpec contains the information that describes a plugin that
                                    will be instantiated.
                                  properties:
                                    name:
                                      description: |-
                                        Name provides a name for plugin entries to reference. If
                                        omitted, the value of the Plugin's Type field will be used.
                                      type: string
                                    parameters:
                                      description: |-
                                        Parameters are the set of parameters to be passed to the plugin's
                                        factory function. The factory function is responsible
                                        to parse the parameters.
                                      format: byte
                                      type: string
                                    type:
                                      description: Type specifies the plugin type to be instantiated.
                                      type: string
                                  required:
                                    - type
                                  type: object
                                type: array
                              saturationDetector:
                                description: |-
                                  SaturationDetector when present specifies the configuration of the
                                  Saturation detector. If not present, default values are used.
                                properties:
                                  kvCacheUtilThreshold:
                                    description: |-
                                      KVCacheUtilThreshold defines the KV cache utilization (0.0 to 1.0) above
                                      which a pod is considered to have insufficient capacity.
                                    type: number
                                  metricsStalenessThreshold:
                                    description: |-
                                      MetricsStalenessThreshold defines how old a pod's metrics can be.
                                      If a pod's metrics are older than this, it might be excluded from
                                      "good capacity" considerations or treated as having no capacity for
                                      safety.
                                    type: string
                                  queueDepthThreshold:
                                    description: |-
                                      QueueDepthThreshold defines the backend waiting queue size above which a
                                      pod is considered to have insufficient capacity for new requests.
                                    type: integer
                                type: object
                              schedulingProfiles:
                                description: |-
                                  SchedulingProfiles is the list of named SchedulingProfiles
                                  that will be created.
                                items:
                                  description: |-
                                    SchedulingProfile contains the information to create a SchedulingProfile
                                    entry to be used by the scheduler.
                                  properties:
                                    name:
                                      description: Name specifies the name of this SchedulingProfile
                                      type: string
                                    plugins:
                                      description: |-
                                        Plugins is the list of plugins for this SchedulingProfile. They are assigned
                                        to the appropriate "slots" based on their type.
                                      items:
                                        description: |-
                                          SchedulingPlugin describes a plugin that will be associated with a
                                          SchedulingProfile entry.
                                        properties:
                                          pluginRef:
                                            description: |-
                                              PluginRef specifies a partiular Plugin instance to be associated with
                                              this SchedulingProfile. The reference is to the name of an
                                              entry of the Plugins defined in the configuration's Plugins
                                              section
                                            type: string
                                          weight:
                                            description: Weight is the weight fo be used if this plugin is a Scorer.
                                            type: integer
                                        required:
                                          - pluginRef
                                        type: object
                                      type: array
                                  required:
                                    - name
                                    - plugins
                                  type: object
                                type: array
                            required:
                              - plugins
                              - schedulingProfiles
                            type: object
                            x-kubernetes-preserve-unknown-fields: true
                          configMapRef:
                            description: |-
                              ConfigMapRef references a user-provided ConfigMap containing EPP configuration.
                              The ConfigMap should contain EndpointPickerConfig YAML.
                              Mutually exclusive with Config.
                            properties:
                              key:
                                description: The key to select.
                                type: string
                              name:
                                default: ""
                                description: |-
                                  Name of the referent.
                                  This field is effectively required, but due to backwards compatibility is
                                  allowed to be empty. Instances of this type with an empty value here are
                                  almost certainly wrong.
                                  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                type: string
                              optional:
                                description: Specify whether the ConfigMap or its key must be defined
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                        type: object
1291
                      extraPodMetadata:
1292
                        description: ExtraPodMetadata adds labels/annotations to the created Pods.
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
                        properties:
                          annotations:
                            additionalProperties:
                              type: string
                            type: object
                          labels:
                            additionalProperties:
                              type: string
                            type: object
                        type: object
                      extraPodSpec:
1304
                        description: |-
1305
1306
1307
                          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.
1308
                        properties:
1309
                          activeDeadlineSeconds:
1310
1311
1312
1313
                            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.
1314
1315
                            format: int64
                            type: integer
1316
                          affinity:
1317
                            description: If specified, the pod's scheduling constraints
1318
1319
                            properties:
                              nodeAffinity:
1320
                                description: Describes node affinity scheduling rules for the pod.
1321
1322
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
                                    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.
1333
                                    items:
1334
1335
1336
                                      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).
1337
1338
                                      properties:
                                        preference:
1339
                                          description: A node selector term, associated with the corresponding weight.
1340
1341
                                          properties:
                                            matchExpressions:
1342
                                              description: A list of node selector requirements by node's labels.
1343
                                              items:
1344
1345
1346
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1347
1348
                                                properties:
                                                  key:
1349
                                                    description: The label key that the selector applies to.
1350
1351
                                                    type: string
                                                  operator:
1352
1353
1354
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1355
1356
                                                    type: string
                                                  values:
1357
1358
1359
1360
1361
1362
                                                    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.
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchFields:
1374
                                              description: A list of node selector requirements by node's fields.
1375
                                              items:
1376
1377
1378
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1379
1380
                                                properties:
                                                  key:
1381
                                                    description: The label key that the selector applies to.
1382
1383
                                                    type: string
                                                  operator:
1384
1385
1386
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1387
1388
                                                    type: string
                                                  values:
1389
1390
1391
1392
1393
1394
                                                    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.
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
                                                    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:
1408
                                          description: Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
1409
1410
1411
1412
1413
1414
1415
1416
1417
                                          format: int32
                                          type: integer
                                      required:
                                        - preference
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1418
1419
1420
1421
1422
1423
                                    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.
1424
                                    properties:
1425
                                      nodeSelectorTerms:
1426
                                        description: Required. A list of node selector terms. The terms are ORed.
1427
                                        items:
1428
1429
1430
1431
                                          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.
1432
1433
                                          properties:
                                            matchExpressions:
1434
                                              description: A list of node selector requirements by node's labels.
1435
                                              items:
1436
1437
1438
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1439
1440
                                                properties:
                                                  key:
1441
                                                    description: The label key that the selector applies to.
1442
                                                    type: string
1443
                                                  operator:
1444
1445
1446
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1447
                                                    type: string
1448
                                                  values:
1449
1450
1451
1452
1453
1454
                                                    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.
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
                                                    items:
                                                      type: string
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
                                                  - key
                                                  - operator
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchFields:
1466
                                              description: A list of node selector requirements by node's fields.
1467
                                              items:
1468
1469
1470
                                                description: |-
                                                  A node selector requirement is a selector that contains values, a key, and an operator
                                                  that relates the key and values.
1471
1472
                                                properties:
                                                  key:
1473
                                                    description: The label key that the selector applies to.
1474
1475
                                                    type: string
                                                  operator:
1476
1477
1478
                                                    description: |-
                                                      Represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1479
1480
                                                    type: string
                                                  values:
1481
1482
1483
1484
1485
1486
                                                    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.
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
                                                    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
1501
                                    required:
1502
                                      - nodeSelectorTerms
1503
                                    type: object
1504
1505
1506
                                    x-kubernetes-map-type: atomic
                                type: object
                              podAffinity:
1507
                                description: Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
1508
1509
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
                                    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.
1520
                                    items:
1521
                                      description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1522
1523
                                      properties:
                                        podAffinityTerm:
1524
                                          description: Required. A pod affinity term, associated with the corresponding weight.
1525
1526
                                          properties:
                                            labelSelector:
1527
1528
1529
                                              description: |-
                                                A label query over a set of resources, in this case pods.
                                                If it's null, this PodAffinityTerm matches with no Pods.
1530
                                              properties:
1531
                                                matchExpressions:
1532
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1533
                                                  items:
1534
1535
1536
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1537
1538
                                                    properties:
                                                      key:
1539
                                                        description: key is the label key that the selector applies to.
1540
1541
                                                        type: string
                                                      operator:
1542
1543
1544
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1545
1546
                                                        type: string
                                                      values:
1547
1548
1549
1550
1551
                                                        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.
1552
1553
1554
1555
1556
1557
1558
1559
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1560
1561
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1562
1563
1564
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1565
1566
1567
1568
                                                  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.
1569
                                                  type: object
1570
                                              type: object
1571
1572
                                              x-kubernetes-map-type: atomic
                                            matchLabelKeys:
1573
1574
1575
1576
1577
1578
1579
1580
1581
                                              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.
1582
1583
1584
1585
1586
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            mismatchLabelKeys:
1587
1588
1589
1590
1591
1592
1593
1594
1595
                                              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.
1596
1597
1598
1599
1600
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            namespaceSelector:
1601
1602
1603
1604
1605
1606
                                              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.
1607
                                              properties:
1608
                                                matchExpressions:
1609
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1610
                                                  items:
1611
1612
1613
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1614
1615
                                                    properties:
                                                      key:
1616
                                                        description: key is the label key that the selector applies to.
1617
1618
                                                        type: string
                                                      operator:
1619
1620
1621
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1622
1623
                                                        type: string
                                                      values:
1624
1625
1626
1627
1628
                                                        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.
1629
1630
1631
1632
1633
1634
1635
1636
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1637
1638
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1639
1640
1641
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1642
1643
1644
1645
                                                  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.
1646
                                                  type: object
1647
                                              type: object
1648
1649
                                              x-kubernetes-map-type: atomic
                                            namespaces:
1650
1651
1652
1653
1654
                                              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".
1655
1656
1657
1658
1659
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            topologyKey:
1660
1661
1662
1663
1664
1665
                                              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.
1666
1667
1668
1669
1670
                                              type: string
                                          required:
                                            - topologyKey
                                          type: object
                                        weight:
1671
1672
1673
                                          description: |-
                                            weight associated with matching the corresponding podAffinityTerm,
                                            in the range 1-100.
1674
1675
1676
1677
1678
1679
1680
1681
1682
                                          format: int32
                                          type: integer
                                      required:
                                        - podAffinityTerm
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
1683
1684
1685
1686
1687
1688
1689
1690
                                    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.
1691
                                    items:
1692
1693
1694
1695
1696
1697
1698
                                      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
1699
1700
                                      properties:
                                        labelSelector:
1701
1702
1703
                                          description: |-
                                            A label query over a set of resources, in this case pods.
                                            If it's null, this PodAffinityTerm matches with no Pods.
1704
1705
                                          properties:
                                            matchExpressions:
1706
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1707
                                              items:
1708
1709
1710
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1711
1712
                                                properties:
                                                  key:
1713
                                                    description: key is the label key that the selector applies to.
1714
1715
                                                    type: string
                                                  operator:
1716
1717
1718
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1719
1720
                                                    type: string
                                                  values:
1721
1722
1723
1724
1725
                                                    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.
1726
                                                    items:
1727
                                                      type: string
1728
1729
1730
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
1731
1732
1733
                                                  - key
                                                  - operator
                                                type: object
1734
1735
1736
1737
1738
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1739
1740
1741
1742
                                              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.
1743
1744
1745
1746
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        matchLabelKeys:
1747
1748
1749
1750
1751
1752
1753
1754
1755
                                          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.
1756
1757
1758
1759
1760
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        mismatchLabelKeys:
1761
1762
1763
1764
1765
1766
1767
1768
1769
                                          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.
1770
1771
1772
1773
1774
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        namespaceSelector:
1775
1776
1777
1778
1779
1780
                                          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.
1781
1782
                                          properties:
                                            matchExpressions:
1783
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1784
                                              items:
1785
1786
1787
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
1788
1789
                                                properties:
                                                  key:
1790
                                                    description: key is the label key that the selector applies to.
1791
1792
                                                    type: string
                                                  operator:
1793
1794
1795
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
1796
1797
                                                    type: string
                                                  values:
1798
1799
1800
1801
1802
                                                    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.
1803
                                                    items:
1804
                                                      type: string
1805
1806
1807
                                                    type: array
                                                    x-kubernetes-list-type: atomic
                                                required:
1808
1809
1810
                                                  - key
                                                  - operator
                                                type: object
1811
1812
1813
1814
1815
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            matchLabels:
                                              additionalProperties:
                                                type: string
1816
1817
1818
1819
                                              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.
1820
1821
1822
1823
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        namespaces:
1824
1825
1826
1827
1828
                                          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".
1829
                                          items:
1830
                                            type: string
1831
1832
1833
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        topologyKey:
1834
1835
1836
1837
1838
1839
                                          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.
1840
1841
                                          type: string
                                      required:
1842
                                        - topologyKey
1843
1844
1845
1846
1847
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              podAntiAffinity:
1848
                                description: Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
1849
1850
                                properties:
                                  preferredDuringSchedulingIgnoredDuringExecution:
1851
1852
1853
1854
1855
1856
1857
                                    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.),
1858
1859
                                      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
1860
                                      node(s) with the highest sum are the most preferred.
1861
                                    items:
1862
                                      description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1863
1864
                                      properties:
                                        podAffinityTerm:
1865
                                          description: Required. A pod affinity term, associated with the corresponding weight.
1866
1867
                                          properties:
                                            labelSelector:
1868
1869
1870
                                              description: |-
                                                A label query over a set of resources, in this case pods.
                                                If it's null, this PodAffinityTerm matches with no Pods.
1871
                                              properties:
1872
                                                matchExpressions:
1873
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1874
                                                  items:
1875
1876
1877
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1878
1879
                                                    properties:
                                                      key:
1880
                                                        description: key is the label key that the selector applies to.
1881
1882
                                                        type: string
                                                      operator:
1883
1884
1885
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1886
1887
                                                        type: string
                                                      values:
1888
1889
1890
1891
1892
                                                        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.
1893
1894
1895
1896
1897
1898
1899
1900
                                                        items:
                                                          type: string
                                                        type: array
                                                        x-kubernetes-list-type: atomic
                                                    required:
                                                      - key
                                                      - operator
                                                    type: object
1901
1902
                                                  type: array
                                                  x-kubernetes-list-type: atomic
1903
1904
1905
                                                matchLabels:
                                                  additionalProperties:
                                                    type: string
1906
1907
1908
1909
                                                  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.
1910
                                                  type: object
1911
                                              type: object
1912
1913
                                              x-kubernetes-map-type: atomic
                                            matchLabelKeys:
1914
1915
1916
1917
1918
1919
1920
1921
1922
                                              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.
1923
1924
1925
1926
1927
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            mismatchLabelKeys:
1928
1929
1930
1931
1932
1933
1934
1935
1936
                                              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.
1937
1938
1939
1940
1941
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            namespaceSelector:
1942
1943
1944
1945
1946
1947
                                              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.
1948
                                              properties:
1949
                                                matchExpressions:
1950
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1951
                                                  items:
1952
1953
1954
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
1955
1956
                                                    properties:
                                                      key:
1957
                                                        description: key is the label key that the selector applies to.
1958
1959
                                                        type: string
                                                      operator:
1960
1961
1962
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
1963
1964
                                                        type: string
                                                      values:
1965
1966
1967
1968
1969
                                                        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.
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
                                                        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
1983
1984
1985
1986
                                                  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.
1987
1988
1989
1990
                                                  type: object
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            namespaces:
1991
1992
1993
1994
1995
                                              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".
1996
1997
1998
1999
2000
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            topologyKey:
2001
2002
2003
2004
2005
2006
                                              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.
2007
2008
2009
2010
2011
                                              type: string
                                          required:
                                            - topologyKey
                                          type: object
                                        weight:
2012
2013
2014
                                          description: |-
                                            weight associated with matching the corresponding podAffinityTerm,
                                            in the range 1-100.
2015
2016
2017
2018
2019
2020
2021
2022
2023
                                          format: int32
                                          type: integer
                                      required:
                                        - podAffinityTerm
                                        - weight
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  requiredDuringSchedulingIgnoredDuringExecution:
2024
2025
2026
2027
2028
2029
2030
2031
                                    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.
2032
                                    items:
2033
2034
2035
2036
2037
2038
2039
                                      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
2040
2041
                                      properties:
                                        labelSelector:
2042
2043
2044
                                          description: |-
                                            A label query over a set of resources, in this case pods.
                                            If it's null, this PodAffinityTerm matches with no Pods.
2045
2046
                                          properties:
                                            matchExpressions:
2047
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
2048
                                              items:
2049
2050
2051
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
2052
2053
                                                properties:
                                                  key:
2054
                                                    description: key is the label key that the selector applies to.
2055
2056
                                                    type: string
                                                  operator:
2057
2058
2059
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
2060
2061
                                                    type: string
                                                  values:
2062
2063
2064
2065
2066
                                                    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.
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
                                                    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
2080
2081
2082
2083
                                              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.
2084
2085
2086
2087
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        matchLabelKeys:
2088
2089
2090
2091
2092
2093
2094
2095
2096
                                          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.
2097
2098
2099
2100
2101
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        mismatchLabelKeys:
2102
2103
2104
2105
2106
2107
2108
2109
2110
                                          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.
2111
2112
2113
2114
2115
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        namespaceSelector:
2116
2117
2118
2119
2120
2121
                                          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.
2122
2123
                                          properties:
                                            matchExpressions:
2124
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
2125
                                              items:
2126
2127
2128
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
2129
2130
                                                properties:
                                                  key:
2131
                                                    description: key is the label key that the selector applies to.
2132
                                                    type: string
2133
                                                  operator:
2134
2135
2136
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
2137
2138
                                                    type: string
                                                  values:
2139
2140
2141
2142
2143
                                                    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.
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
                                                    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
2157
2158
2159
2160
                                              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.
2161
                                              type: object
2162
2163
2164
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        namespaces:
2165
2166
2167
2168
2169
                                          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".
2170
2171
2172
2173
2174
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        topologyKey:
2175
2176
2177
2178
2179
2180
                                          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.
2181
                                          type: string
2182
2183
2184
2185
2186
2187
2188
                                      required:
                                        - topologyKey
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                            type: object
2189
                          automountServiceAccountToken:
2190
                            description: AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
2191
                            type: boolean
2192
                          containers:
2193
2194
2195
2196
2197
                            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.
2198
                            items:
2199
                              description: A single application container that you want to run within a pod.
2200
2201
                              properties:
                                args:
2202
2203
2204
2205
2206
2207
2208
2209
2210
                                  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
2211
2212
                                  items:
                                    type: string
2213
2214
                                  type: array
                                  x-kubernetes-list-type: atomic
2215
                                command:
2216
2217
2218
2219
2220
2221
2222
2223
2224
                                  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
2225
2226
2227
2228
2229
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
2230
2231
2232
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
2233
                                  items:
2234
                                    description: EnvVar represents an environment variable present in a Container.
2235
                                    properties:
2236
                                      name:
2237
2238
2239
                                        description: |-
                                          Name of the environment variable.
                                          May consist of any printable ASCII characters except '='.
2240
2241
                                        type: string
                                      value:
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
                                        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 "".
2252
2253
                                        type: string
                                      valueFrom:
2254
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
2255
                                        properties:
2256
                                          configMapKeyRef:
2257
                                            description: Selects a key of a ConfigMap.
2258
                                            properties:
2259
                                              key:
2260
                                                description: The key to select.
2261
2262
2263
                                                type: string
                                              name:
                                                default: ""
2264
2265
2266
2267
2268
2269
                                                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
2270
2271
                                                type: string
                                              optional:
2272
                                                description: Specify whether the ConfigMap or its key must be defined
2273
2274
2275
                                                type: boolean
                                            required:
                                              - key
2276
2277
                                            type: object
                                            x-kubernetes-map-type: atomic
2278
                                          fieldRef:
2279
2280
2281
                                            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.
2282
                                            properties:
2283
                                              apiVersion:
2284
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
2285
2286
                                                type: string
                                              fieldPath:
2287
                                                description: Path of the field to select in the specified API version.
2288
2289
2290
2291
2292
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
                                          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
2329
                                          resourceFieldRef:
2330
2331
2332
                                            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.
2333
2334
                                            properties:
                                              containerName:
2335
                                                description: 'Container name: required for volumes, optional for env vars'
2336
2337
2338
2339
2340
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
2341
                                                description: Specifies the output format of the exposed resources, defaults to "1"
2342
2343
2344
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
2345
                                                description: 'Required: resource to select'
2346
2347
2348
2349
2350
2351
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
2352
                                            description: Selects a key of a secret in the pod's namespace
2353
2354
                                            properties:
                                              key:
2355
                                                description: The key of the secret to select from.  Must be a valid secret key.
2356
2357
2358
                                                type: string
                                              name:
                                                default: ""
2359
2360
2361
2362
2363
2364
                                                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
2365
2366
                                                type: string
                                              optional:
2367
                                                description: Specify whether the Secret or its key must be defined
2368
2369
2370
                                                type: boolean
                                            required:
                                              - key
2371
2372
                                            type: object
                                            x-kubernetes-map-type: atomic
2373
2374
                                        type: object
                                    required:
2375
                                      - name
2376
2377
                                    type: object
                                  type: array
2378
2379
2380
2381
                                  x-kubernetes-list-map-keys:
                                    - name
                                  x-kubernetes-list-type: map
                                envFrom:
2382
2383
                                  description: |-
                                    List of sources to populate environment variables in the container.
2384
2385
                                    The keys defined within a source may consist of any printable ASCII characters except '='.
                                    When a key exists in multiple
2386
2387
2388
                                    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.
2389
                                  items:
2390
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
2391
                                    properties:
2392
                                      configMapRef:
2393
                                        description: The ConfigMap to select from
2394
                                        properties:
2395
2396
                                          name:
                                            default: ""
2397
2398
2399
2400
2401
2402
                                            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
2403
2404
                                            type: string
                                          optional:
2405
                                            description: Specify whether the ConfigMap must be defined
2406
                                            type: boolean
2407
                                        type: object
2408
                                        x-kubernetes-map-type: atomic
2409
                                      prefix:
2410
2411
2412
                                        description: |-
                                          Optional text to prepend to the name of each environment variable.
                                          May consist of any printable ASCII characters except '='.
2413
2414
                                        type: string
                                      secretRef:
2415
                                        description: The Secret to select from
2416
                                        properties:
2417
2418
                                          name:
                                            default: ""
2419
2420
2421
2422
2423
2424
                                            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
2425
2426
                                            type: string
                                          optional:
2427
                                            description: Specify whether the Secret must be defined
2428
                                            type: boolean
2429
                                        type: object
2430
2431
2432
2433
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
2434
                                image:
2435
2436
2437
2438
2439
                                  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.
2440
                                  type: string
2441
                                imagePullPolicy:
2442
2443
2444
2445
2446
2447
                                  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
2448
                                  type: string
2449
                                lifecycle:
2450
2451
2452
                                  description: |-
                                    Actions that the management system should take in response to container lifecycle events.
                                    Cannot be updated.
2453
                                  properties:
2454
                                    postStart:
2455
2456
2457
2458
2459
                                      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
2460
                                      properties:
2461
                                        exec:
2462
                                          description: Exec specifies a command to execute in the container.
2463
                                          properties:
2464
                                            command:
2465
2466
2467
2468
2469
2470
                                              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.
2471
2472
2473
2474
2475
2476
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
2477
                                          description: HTTPGet specifies an HTTP GET request to perform.
2478
2479
                                          properties:
                                            host:
2480
2481
2482
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
2483
                                              type: string
2484
                                            httpHeaders:
2485
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
2486
                                              items:
2487
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
2488
2489
                                                properties:
                                                  name:
2490
2491
2492
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
2493
2494
                                                    type: string
                                                  value:
2495
                                                    description: The header field value
2496
2497
2498
2499
2500
2501
2502
2503
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
2504
                                              description: Path to access on the HTTP server.
2505
2506
2507
2508
2509
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2510
2511
2512
2513
                                              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.
2514
2515
                                              x-kubernetes-int-or-string: true
                                            scheme:
2516
2517
2518
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
2519
                                              type: string
2520
                                          required:
2521
                                            - port
2522
                                          type: object
2523
                                        sleep:
2524
                                          description: Sleep represents a duration that the container should sleep.
2525
                                          properties:
2526
                                            seconds:
2527
                                              description: Seconds is the number of seconds to sleep.
2528
2529
2530
2531
2532
2533
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
2534
2535
2536
2537
                                          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.
2538
2539
                                          properties:
                                            host:
2540
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
2541
                                              type: string
2542
2543
2544
2545
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2546
2547
2548
2549
                                              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.
2550
                                              x-kubernetes-int-or-string: true
2551
                                          required:
2552
                                            - port
2553
                                          type: object
2554
2555
                                      type: object
                                    preStop:
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
                                      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
2566
2567
                                      properties:
                                        exec:
2568
                                          description: Exec specifies a command to execute in the container.
2569
                                          properties:
2570
                                            command:
2571
2572
2573
2574
2575
2576
                                              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.
2577
2578
2579
2580
2581
2582
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
2583
                                          description: HTTPGet specifies an HTTP GET request to perform.
2584
2585
                                          properties:
                                            host:
2586
2587
2588
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
2589
                                              type: string
2590
                                            httpHeaders:
2591
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
2592
                                              items:
2593
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
2594
2595
                                                properties:
                                                  name:
2596
2597
2598
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
2599
2600
                                                    type: string
                                                  value:
2601
                                                    description: The header field value
2602
2603
2604
2605
2606
2607
2608
2609
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
2610
                                              description: Path to access on the HTTP server.
2611
2612
                                              type: string
                                            port:
2613
                                              anyOf:
2614
2615
                                                - type: integer
                                                - type: string
2616
2617
2618
2619
                                              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.
2620
                                              x-kubernetes-int-or-string: true
2621
                                            scheme:
2622
2623
2624
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
2625
2626
                                              type: string
                                          required:
2627
                                            - port
2628
                                          type: object
2629
                                        sleep:
2630
                                          description: Sleep represents a duration that the container should sleep.
2631
                                          properties:
2632
                                            seconds:
2633
                                              description: Seconds is the number of seconds to sleep.
2634
2635
2636
2637
2638
2639
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
2640
2641
2642
2643
                                          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.
2644
2645
                                          properties:
                                            host:
2646
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
2647
                                              type: string
2648
2649
2650
2651
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
2652
2653
2654
2655
                                              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.
2656
                                              x-kubernetes-int-or-string: true
2657
                                          required:
2658
                                            - port
2659
2660
                                          type: object
                                      type: object
2661
                                    stopSignal:
2662
2663
2664
2665
                                      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
2666
                                      type: string
2667
                                  type: object
2668
                                livenessProbe:
2669
2670
2671
2672
2673
                                  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
2674
                                  properties:
2675
                                    exec:
2676
                                      description: Exec specifies a command to execute in the container.
2677
2678
                                      properties:
                                        command:
2679
2680
2681
2682
2683
2684
                                          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.
2685
2686
2687
2688
2689
2690
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2691
2692
2693
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2694
2695
2696
                                      format: int32
                                      type: integer
                                    grpc:
2697
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2698
                                      properties:
2699
                                        port:
2700
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2701
2702
2703
                                          format: int32
                                          type: integer
                                        service:
2704
                                          default: ""
2705
2706
2707
2708
2709
                                          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.
2710
                                          type: string
2711
2712
                                      required:
                                        - port
2713
                                      type: object
2714
                                    httpGet:
2715
                                      description: HTTPGet specifies an HTTP GET request to perform.
2716
                                      properties:
2717
                                        host:
2718
2719
2720
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2721
                                          type: string
2722
                                        httpHeaders:
2723
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2724
                                          items:
2725
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2726
2727
                                            properties:
                                              name:
2728
2729
2730
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2731
2732
                                                type: string
                                              value:
2733
                                                description: The header field value
2734
2735
                                                type: string
                                            required:
2736
2737
                                              - name
                                              - value
2738
2739
2740
2741
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2742
                                          description: Path to access on the HTTP server.
2743
2744
2745
                                          type: string
                                        port:
                                          anyOf:
2746
2747
                                            - type: integer
                                            - type: string
2748
2749
2750
2751
                                          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.
2752
2753
                                          x-kubernetes-int-or-string: true
                                        scheme:
2754
2755
2756
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2757
2758
                                          type: string
                                      required:
2759
                                        - port
2760
2761
                                      type: object
                                    initialDelaySeconds:
2762
2763
2764
                                      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
2765
2766
2767
                                      format: int32
                                      type: integer
                                    periodSeconds:
2768
2769
2770
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2771
2772
2773
                                      format: int32
                                      type: integer
                                    successThreshold:
2774
2775
2776
                                      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.
2777
2778
2779
                                      format: int32
                                      type: integer
                                    tcpSocket:
2780
                                      description: TCPSocket specifies a connection to a TCP port.
2781
2782
                                      properties:
                                        host:
2783
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2784
2785
2786
                                          type: string
                                        port:
                                          anyOf:
2787
2788
                                            - type: integer
                                            - type: string
2789
2790
2791
2792
                                          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.
2793
2794
                                          x-kubernetes-int-or-string: true
                                      required:
2795
                                        - port
2796
2797
                                      type: object
                                    terminationGracePeriodSeconds:
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
                                      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.
2809
2810
2811
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
2812
2813
2814
2815
                                      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
2816
2817
2818
2819
                                      format: int32
                                      type: integer
                                  type: object
                                name:
2820
2821
2822
2823
                                  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.
2824
2825
                                  type: string
                                ports:
2826
2827
2828
2829
2830
2831
2832
2833
                                  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.
2834
                                  items:
2835
                                    description: ContainerPort represents a network port in a single container.
2836
                                    properties:
2837
                                      containerPort:
2838
2839
2840
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
2841
2842
2843
                                        format: int32
                                        type: integer
                                      hostIP:
2844
                                        description: What host IP to bind the external port to.
2845
2846
                                        type: string
                                      hostPort:
2847
2848
2849
2850
2851
                                        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.
2852
2853
2854
                                        format: int32
                                        type: integer
                                      name:
2855
2856
2857
2858
                                        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.
2859
2860
2861
                                        type: string
                                      protocol:
                                        default: TCP
2862
2863
2864
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
                                        type: string
                                    required:
                                      - containerPort
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
2875
2876
2877
2878
2879
                                  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
2880
2881
                                  properties:
                                    exec:
2882
                                      description: Exec specifies a command to execute in the container.
2883
2884
                                      properties:
                                        command:
2885
2886
2887
2888
2889
2890
                                          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.
2891
                                          items:
2892
                                            type: string
2893
2894
2895
2896
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2897
2898
2899
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2900
2901
2902
                                      format: int32
                                      type: integer
                                    grpc:
2903
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2904
2905
                                      properties:
                                        port:
2906
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2907
2908
2909
2910
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
2911
2912
2913
2914
2915
                                          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.
2916
2917
2918
2919
2920
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
2921
                                      description: HTTPGet specifies an HTTP GET request to perform.
2922
2923
                                      properties:
                                        host:
2924
2925
2926
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2927
2928
                                          type: string
                                        httpHeaders:
2929
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2930
                                          items:
2931
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2932
2933
                                            properties:
                                              name:
2934
2935
2936
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2937
2938
                                                type: string
                                              value:
2939
                                                description: The header field value
2940
2941
                                                type: string
                                            required:
2942
2943
                                              - name
                                              - value
2944
2945
2946
2947
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2948
                                          description: Path to access on the HTTP server.
2949
2950
2951
                                          type: string
                                        port:
                                          anyOf:
2952
2953
                                            - type: integer
                                            - type: string
2954
2955
2956
2957
                                          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.
2958
2959
                                          x-kubernetes-int-or-string: true
                                        scheme:
2960
2961
2962
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2963
2964
                                          type: string
                                      required:
2965
                                        - port
2966
2967
                                      type: object
                                    initialDelaySeconds:
2968
2969
2970
                                      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
2971
2972
2973
                                      format: int32
                                      type: integer
                                    periodSeconds:
2974
2975
2976
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2977
2978
2979
                                      format: int32
                                      type: integer
                                    successThreshold:
2980
2981
2982
                                      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.
2983
2984
2985
                                      format: int32
                                      type: integer
                                    tcpSocket:
2986
                                      description: TCPSocket specifies a connection to a TCP port.
2987
2988
                                      properties:
                                        host:
2989
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2990
                                          type: string
2991
2992
2993
2994
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
2995
2996
2997
2998
                                          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.
2999
3000
3001
3002
3003
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
                                      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.
3015
3016
3017
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
3018
3019
3020
3021
                                      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
3022
3023
3024
3025
                                      format: int32
                                      type: integer
                                  type: object
                                resizePolicy:
3026
                                  description: Resources resize policy for the container.
3027
                                  items:
3028
                                    description: ContainerResizePolicy represents resource resize policy for the container.
3029
                                    properties:
3030
                                      resourceName:
3031
3032
3033
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
3034
3035
                                        type: string
                                      restartPolicy:
3036
3037
3038
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
3039
3040
                                        type: string
                                    required:
3041
3042
                                      - resourceName
                                      - restartPolicy
3043
                                    type: object
3044
3045
3046
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
3047
3048
3049
3050
                                  description: |-
                                    Compute Resources required by this container.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
3051
3052
                                  properties:
                                    claims:
3053
3054
3055
3056
                                      description: |-
                                        Claims lists the names of resources, defined in spec.resourceClaims,
                                        that are used by this container.

3057
                                        This field depends on the
3058
3059
3060
                                        DynamicResourceAllocation feature gate.

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

4573
                                        This field depends on the
4574
4575
4576
                                        DynamicResourceAllocation feature gate.

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

6130
                                        This field depends on the
6131
6132
6133
                                        DynamicResourceAllocation feature gate.

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

7593
                                      This field depends on the
7594
7595
7596
                                      DynamicResourceAllocation feature gate.

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

                              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.
8380
8381
                            properties:
                              claims:
8382
8383
8384
8385
                                description: |-
                                  Claims lists the names of resources, defined in spec.resourceClaims,
                                  that are used by this container.

8386
                                  This field depends on the
8387
8388
8389
                                  DynamicResourceAllocation feature gate.

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