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

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

2835
                                  This field depends on the
2836
2837
2838
                                  DynamicResourceAllocation feature gate.

                                  This field is immutable. It can only be set for containers.
2839
                                items:
2840
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
2841
                                  properties:
2842
                                    name:
2843
2844
2845
2846
                                      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.
2847
2848
                                      type: string
                                    request:
2849
2850
2851
2852
                                      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.
2853
2854
2855
                                      type: string
                                  required:
                                    - name
2856
2857
                                  type: object
                                type: array
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
                                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
2868
2869
2870
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2871
2872
2873
2874
2875
2876
2877
2878
                                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
2879
2880
2881
2882
2883
                                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/
2884
                                type: object
2885
                            type: object
2886
                          restartPolicy:
2887
2888
                            description: |-
                              RestartPolicy defines the restart behavior of individual containers in a pod.
2889
                              This overrides the pod-level restart policy. When this field is not specified,
2890
                              the restart behavior is defined by the Pod's restart policy and the container type.
2891
2892
                              Additionally, setting the RestartPolicy as "Always" for the init container will
                              have the following effect:
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
                              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.
2903
                            type: string
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
                          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
2955
                          securityContext:
2956
2957
2958
2959
                            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/
2960
2961
                            properties:
                              allowPrivilegeEscalation:
2962
2963
2964
2965
2966
2967
2968
2969
                                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.
2970
2971
                                type: boolean
                              appArmorProfile:
2972
2973
2974
2975
                                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.
2976
2977
                                properties:
                                  localhostProfile:
2978
2979
2980
2981
2982
                                    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".
2983
2984
                                    type: string
                                  type:
2985
2986
2987
2988
2989
2990
                                    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.
2991
2992
2993
2994
2995
                                    type: string
                                required:
                                  - type
                                type: object
                              capabilities:
2996
2997
2998
2999
                                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.
3000
3001
                                properties:
                                  add:
3002
                                    description: Added capabilities
3003
                                    items:
3004
                                      description: Capability represent POSIX capabilities type
3005
                                      type: string
3006
3007
3008
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  drop:
3009
                                    description: Removed capabilities
3010
                                    items:
3011
                                      description: Capability represent POSIX capabilities type
3012
3013
3014
3015
3016
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              privileged:
3017
3018
3019
3020
3021
                                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.
3022
3023
                                type: boolean
                              procMount:
3024
3025
3026
3027
3028
3029
                                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.
3030
3031
                                type: string
                              readOnlyRootFilesystem:
3032
3033
3034
3035
                                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.
3036
3037
                                type: boolean
                              runAsGroup:
3038
3039
3040
3041
3042
3043
                                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.
3044
3045
3046
                                format: int64
                                type: integer
                              runAsNonRoot:
3047
3048
3049
3050
3051
3052
3053
                                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.
3054
3055
                                type: boolean
                              runAsUser:
3056
3057
3058
3059
3060
3061
                                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.
3062
3063
3064
                                format: int64
                                type: integer
                              seLinuxOptions:
3065
3066
3067
3068
3069
3070
                                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.
3071
3072
                                properties:
                                  level:
3073
                                    description: Level is SELinux level label that applies to the container.
3074
3075
                                    type: string
                                  role:
3076
                                    description: Role is a SELinux role label that applies to the container.
3077
3078
                                    type: string
                                  type:
3079
                                    description: Type is a SELinux type label that applies to the container.
3080
3081
                                    type: string
                                  user:
3082
                                    description: User is a SELinux user label that applies to the container.
3083
3084
3085
                                    type: string
                                type: object
                              seccompProfile:
3086
3087
3088
3089
3090
                                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.
3091
3092
                                properties:
                                  localhostProfile:
3093
3094
3095
3096
3097
                                    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.
3098
3099
                                    type: string
                                  type:
3100
3101
3102
3103
3104
3105
3106
                                    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.
3107
3108
3109
3110
3111
                                    type: string
                                required:
                                  - type
                                type: object
                              windowsOptions:
3112
3113
3114
3115
3116
                                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.
3117
3118
                                properties:
                                  gmsaCredentialSpec:
3119
3120
3121
3122
                                    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.
3123
3124
                                    type: string
                                  gmsaCredentialSpecName:
3125
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
3126
3127
                                    type: string
                                  hostProcess:
3128
3129
3130
3131
3132
                                    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.
3133
3134
                                    type: boolean
                                  runAsUserName:
3135
3136
3137
3138
3139
                                    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.
3140
3141
3142
3143
                                    type: string
                                type: object
                            type: object
                          startupProbe:
3144
3145
3146
3147
3148
3149
3150
3151
                            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
3152
3153
                            properties:
                              exec:
3154
                                description: Exec specifies a command to execute in the container.
3155
3156
                                properties:
                                  command:
3157
3158
3159
3160
3161
3162
                                    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.
3163
3164
3165
3166
3167
3168
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
3169
3170
3171
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
3172
3173
3174
                                format: int32
                                type: integer
                              grpc:
3175
                                description: GRPC specifies a GRPC HealthCheckRequest.
3176
3177
                                properties:
                                  port:
3178
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3179
3180
3181
3182
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
3183
3184
3185
3186
3187
                                    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.
3188
3189
3190
3191
3192
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
3193
                                description: HTTPGet specifies an HTTP GET request to perform.
3194
3195
                                properties:
                                  host:
3196
3197
3198
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
3199
3200
                                    type: string
                                  httpHeaders:
3201
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
3202
                                    items:
3203
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
3204
3205
                                      properties:
                                        name:
3206
3207
3208
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
3209
3210
                                          type: string
                                        value:
3211
                                          description: The header field value
3212
3213
3214
3215
                                          type: string
                                      required:
                                        - name
                                        - value
3216
                                      type: object
3217
3218
3219
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
3220
                                    description: Path to access on the HTTP server.
3221
                                    type: string
3222
3223
3224
3225
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
3226
3227
3228
3229
                                    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.
3230
3231
                                    x-kubernetes-int-or-string: true
                                  scheme:
3232
3233
3234
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
3235
                                    type: string
3236
3237
3238
3239
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
3240
3241
3242
                                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
3243
3244
3245
                                format: int32
                                type: integer
                              periodSeconds:
3246
3247
3248
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
3249
3250
3251
                                format: int32
                                type: integer
                              successThreshold:
3252
3253
3254
                                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.
3255
3256
3257
                                format: int32
                                type: integer
                              tcpSocket:
3258
                                description: TCPSocket specifies a connection to a TCP port.
3259
3260
                                properties:
                                  host:
3261
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
3262
                                    type: string
3263
3264
3265
3266
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
3267
3268
3269
3270
                                    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.
3271
3272
3273
3274
3275
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
                                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.
3287
3288
3289
                                format: int64
                                type: integer
                              timeoutSeconds:
3290
3291
3292
3293
                                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
3294
3295
3296
3297
                                format: int32
                                type: integer
                            type: object
                          stdin:
3298
3299
3300
3301
                            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.
3302
3303
                            type: boolean
                          stdinOnce:
3304
3305
3306
3307
3308
3309
3310
3311
                            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
3312
3313
                            type: boolean
                          terminationMessagePath:
3314
3315
3316
3317
3318
3319
3320
3321
                            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.
3322
3323
                            type: string
                          terminationMessagePolicy:
3324
3325
3326
3327
3328
3329
3330
3331
                            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.
3332
3333
                            type: string
                          tty:
3334
3335
3336
                            description: |-
                              Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                              Default is false.
3337
3338
                            type: boolean
                          volumeDevices:
3339
                            description: volumeDevices is the list of block devices to be used by the container.
3340
                            items:
3341
                              description: volumeDevice describes a mapping of a raw block device within a container.
3342
                              properties:
3343
                                devicePath:
3344
                                  description: devicePath is the path inside of the container that the device will be mapped to.
3345
3346
                                  type: string
                                name:
3347
                                  description: name must match the name of a persistentVolumeClaim in the pod
3348
                                  type: string
3349
                              required:
3350
3351
                                - devicePath
                                - name
3352
3353
                              type: object
                            type: array
3354
3355
3356
3357
                            x-kubernetes-list-map-keys:
                              - devicePath
                            x-kubernetes-list-type: map
                          volumeMounts:
3358
3359
3360
                            description: |-
                              Pod volumes to mount into the container's filesystem.
                              Cannot be updated.
3361
                            items:
3362
                              description: VolumeMount describes a mounting of a Volume within a container.
3363
                              properties:
3364
                                mountPath:
3365
3366
3367
                                  description: |-
                                    Path within the container at which the volume should be mounted.  Must
                                    not contain ':'.
3368
3369
                                  type: string
                                mountPropagation:
3370
3371
3372
3373
3374
3375
3376
                                  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).
3377
3378
                                  type: string
                                name:
3379
                                  description: This must match the Name of a Volume.
3380
3381
                                  type: string
                                readOnly:
3382
3383
3384
                                  description: |-
                                    Mounted read-only if true, read-write otherwise (false or unspecified).
                                    Defaults to false.
3385
3386
                                  type: boolean
                                recursiveReadOnly:
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
                                  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.
3404
3405
                                  type: string
                                subPath:
3406
3407
3408
                                  description: |-
                                    Path within the volume from which the container's volume should be mounted.
                                    Defaults to "" (volume's root).
3409
3410
                                  type: string
                                subPathExpr:
3411
3412
3413
3414
3415
                                  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.
3416
3417
                                  type: string
                              required:
3418
3419
                                - mountPath
                                - name
3420
3421
                              type: object
                            type: array
3422
3423
3424
3425
                            x-kubernetes-list-map-keys:
                              - mountPath
                            x-kubernetes-list-type: map
                          workingDir:
3426
3427
3428
3429
3430
                            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.
3431
3432
3433
                            type: string
                        required:
                          - name
3434
                        type: object
3435
                      type: array
3436
3437
3438
3439
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    dnsConfig:
3440
3441
3442
3443
                      description: |-
                        Specifies the DNS parameters of a pod.
                        Parameters specified here will be merged to the generated DNS
                        configuration based on DNSPolicy.
3444
                      properties:
3445
                        nameservers:
3446
3447
3448
3449
                          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.
3450
3451
3452
3453
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
3454
                        options:
3455
3456
3457
3458
3459
                          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.
3460
                          items:
3461
                            description: PodDNSConfigOption defines DNS resolver options of a pod.
3462
3463
                            properties:
                              name:
3464
3465
3466
                                description: |-
                                  Name is this DNS resolver option's name.
                                  Required.
3467
3468
                                type: string
                              value:
3469
                                description: Value is this DNS resolver option's value.
3470
                                type: string
3471
3472
3473
3474
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        searches:
3475
3476
3477
3478
                          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.
3479
3480
3481
3482
3483
3484
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
                      type: object
                    dnsPolicy:
3485
3486
3487
3488
3489
3490
3491
                      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'.
3492
3493
                      type: string
                    enableServiceLinks:
3494
3495
3496
3497
                      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.
3498
3499
                      type: boolean
                    ephemeralContainers:
3500
3501
3502
3503
3504
                      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.
3505
                      items:
3506
3507
3508
3509
3510
3511
3512
3513
3514
                        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.
3515
3516
                        properties:
                          args:
3517
3518
3519
3520
3521
3522
3523
3524
3525
                            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
3526
3527
3528
3529
3530
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          command:
3531
3532
3533
3534
3535
3536
3537
3538
3539
                            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
3540
3541
3542
3543
3544
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          env:
3545
3546
3547
                            description: |-
                              List of environment variables to set in the container.
                              Cannot be updated.
3548
                            items:
3549
                              description: EnvVar represents an environment variable present in a Container.
3550
3551
                              properties:
                                name:
3552
3553
3554
                                  description: |-
                                    Name of the environment variable.
                                    May consist of any printable ASCII characters except '='.
3555
3556
                                  type: string
                                value:
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
                                  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 "".
3567
3568
                                  type: string
                                valueFrom:
3569
                                  description: Source for the environment variable's value. Cannot be used if value is not empty.
3570
3571
                                  properties:
                                    configMapKeyRef:
3572
                                      description: Selects a key of a ConfigMap.
3573
3574
                                      properties:
                                        key:
3575
                                          description: The key to select.
3576
3577
3578
                                          type: string
                                        name:
                                          default: ""
3579
3580
3581
3582
3583
3584
                                          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
3585
3586
                                          type: string
                                        optional:
3587
                                          description: Specify whether the ConfigMap or its key must be defined
3588
3589
3590
3591
3592
3593
                                          type: boolean
                                      required:
                                        - key
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    fieldRef:
3594
3595
3596
                                      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.
3597
3598
                                      properties:
                                        apiVersion:
3599
                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
3600
3601
                                          type: string
                                        fieldPath:
3602
                                          description: Path of the field to select in the specified API version.
3603
3604
3605
3606
3607
                                          type: string
                                      required:
                                        - fieldPath
                                      type: object
                                      x-kubernetes-map-type: atomic
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
                                    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
3644
                                    resourceFieldRef:
3645
3646
3647
                                      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.
3648
3649
                                      properties:
                                        containerName:
3650
                                          description: 'Container name: required for volumes, optional for env vars'
3651
3652
3653
3654
3655
                                          type: string
                                        divisor:
                                          anyOf:
                                            - type: integer
                                            - type: string
3656
                                          description: Specifies the output format of the exposed resources, defaults to "1"
3657
3658
3659
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        resource:
3660
                                          description: 'Required: resource to select'
3661
3662
3663
3664
3665
3666
                                          type: string
                                      required:
                                        - resource
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    secretKeyRef:
3667
                                      description: Selects a key of a secret in the pod's namespace
3668
3669
                                      properties:
                                        key:
3670
                                          description: The key of the secret to select from.  Must be a valid secret key.
3671
3672
3673
                                          type: string
                                        name:
                                          default: ""
3674
3675
3676
3677
3678
3679
                                          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
3680
3681
                                          type: string
                                        optional:
3682
                                          description: Specify whether the Secret or its key must be defined
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
                                          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:
3697
3698
                            description: |-
                              List of sources to populate environment variables in the container.
3699
3700
                              The keys defined within a source may consist of any printable ASCII characters except '='.
                              When a key exists in multiple
3701
3702
3703
                              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.
3704
                            items:
3705
                              description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
3706
3707
                              properties:
                                configMapRef:
3708
                                  description: The ConfigMap to select from
3709
3710
3711
                                  properties:
                                    name:
                                      default: ""
3712
3713
3714
3715
3716
3717
                                      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
3718
3719
                                      type: string
                                    optional:
3720
                                      description: Specify whether the ConfigMap must be defined
3721
3722
3723
3724
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                                prefix:
3725
3726
3727
                                  description: |-
                                    Optional text to prepend to the name of each environment variable.
                                    May consist of any printable ASCII characters except '='.
3728
3729
                                  type: string
                                secretRef:
3730
                                  description: The Secret to select from
3731
3732
3733
                                  properties:
                                    name:
                                      default: ""
3734
3735
3736
3737
3738
3739
                                      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
3740
3741
                                      type: string
                                    optional:
3742
                                      description: Specify whether the Secret must be defined
3743
3744
3745
3746
3747
3748
3749
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          image:
3750
3751
3752
                            description: |-
                              Container image name.
                              More info: https://kubernetes.io/docs/concepts/containers/images
3753
3754
                            type: string
                          imagePullPolicy:
3755
3756
3757
3758
3759
3760
                            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
3761
3762
                            type: string
                          lifecycle:
3763
                            description: Lifecycle is not allowed for ephemeral containers.
3764
3765
                            properties:
                              postStart:
3766
3767
3768
3769
3770
                                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
3771
                                properties:
3772
                                  exec:
3773
                                    description: Exec specifies a command to execute in the container.
3774
                                    properties:
3775
                                      command:
3776
3777
3778
3779
3780
3781
                                        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.
3782
3783
3784
3785
3786
3787
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
3788
                                    description: HTTPGet specifies an HTTP GET request to perform.
3789
3790
                                    properties:
                                      host:
3791
3792
3793
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
3794
                                        type: string
3795
                                      httpHeaders:
3796
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
3797
                                        items:
3798
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
3799
3800
                                          properties:
                                            name:
3801
3802
3803
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
3804
3805
                                              type: string
                                            value:
3806
                                              description: The header field value
3807
3808
3809
3810
3811
3812
3813
3814
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
3815
                                        description: Path to access on the HTTP server.
3816
3817
3818
3819
3820
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
3821
3822
3823
3824
                                        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.
3825
3826
                                        x-kubernetes-int-or-string: true
                                      scheme:
3827
3828
3829
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
3830
3831
                                        type: string
                                    required:
3832
                                      - port
3833
                                    type: object
3834
                                  sleep:
3835
                                    description: Sleep represents a duration that the container should sleep.
3836
                                    properties:
3837
                                      seconds:
3838
                                        description: Seconds is the number of seconds to sleep.
3839
3840
                                        format: int64
                                        type: integer
3841
                                    required:
3842
                                      - seconds
3843
                                    type: object
3844
                                  tcpSocket:
3845
3846
3847
3848
                                    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.
3849
                                    properties:
3850
                                      host:
3851
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
3852
                                        type: string
3853
                                      port:
3854
                                        anyOf:
3855
3856
                                          - type: integer
                                          - type: string
3857
3858
3859
3860
                                        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.
3861
3862
                                        x-kubernetes-int-or-string: true
                                    required:
3863
                                      - port
3864
                                    type: object
3865
3866
                                type: object
                              preStop:
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
                                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
3877
3878
                                properties:
                                  exec:
3879
                                    description: Exec specifies a command to execute in the container.
3880
                                    properties:
3881
                                      command:
3882
3883
3884
3885
3886
3887
                                        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.
3888
3889
3890
3891
3892
3893
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
3894
                                    description: HTTPGet specifies an HTTP GET request to perform.
3895
3896
                                    properties:
                                      host:
3897
3898
3899
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
3900
                                        type: string
3901
                                      httpHeaders:
3902
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
3903
                                        items:
3904
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
3905
3906
                                          properties:
                                            name:
3907
3908
3909
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
3910
3911
                                              type: string
                                            value:
3912
                                              description: The header field value
3913
3914
3915
3916
3917
3918
3919
3920
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
3921
                                        description: Path to access on the HTTP server.
3922
3923
3924
3925
3926
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
3927
3928
3929
3930
                                        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.
3931
3932
                                        x-kubernetes-int-or-string: true
                                      scheme:
3933
3934
3935
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
3936
3937
                                        type: string
                                    required:
3938
                                      - port
3939
                                    type: object
3940
                                  sleep:
3941
                                    description: Sleep represents a duration that the container should sleep.
3942
3943
                                    properties:
                                      seconds:
3944
                                        description: Seconds is the number of seconds to sleep.
3945
3946
3947
3948
3949
3950
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
3951
3952
3953
3954
                                    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.
3955
3956
                                    properties:
                                      host:
3957
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
3958
3959
3960
3961
3962
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
3963
3964
3965
3966
                                        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.
3967
3968
3969
3970
3971
3972
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
                              stopSignal:
3973
3974
3975
3976
                                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
3977
3978
3979
                                type: string
                            type: object
                          livenessProbe:
3980
                            description: Probes are not allowed for ephemeral containers.
3981
3982
                            properties:
                              exec:
3983
                                description: Exec specifies a command to execute in the container.
3984
3985
                                properties:
                                  command:
3986
3987
3988
3989
3990
3991
                                    description: |-
                                      Command is the command line to execute inside the container, the working directory for the
                                      command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                      not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                      a shell, you need to explicitly call out to that shell.
                                      Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
3992
3993
3994
3995
3996
3997
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
3998
3999
4000
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
4001
4002
4003
                                format: int32
                                type: integer
                              grpc:
4004
                                description: GRPC specifies a GRPC HealthCheckRequest.
4005
4006
                                properties:
                                  port:
4007
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4008
4009
4010
                                    format: int32
                                    type: integer
                                  service:
4011
                                    default: ""
4012
4013
4014
4015
4016
                                    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.
4017
                                    type: string
4018
4019
                                required:
                                  - port
4020
                                type: object
4021
                              httpGet:
4022
                                description: HTTPGet specifies an HTTP GET request to perform.
4023
                                properties:
4024
                                  host:
4025
4026
4027
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
4028
4029
                                    type: string
                                  httpHeaders:
4030
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
4031
                                    items:
4032
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
4033
4034
                                      properties:
                                        name:
4035
4036
4037
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
4038
4039
                                          type: string
                                        value:
4040
                                          description: The header field value
4041
4042
4043
4044
4045
4046
4047
4048
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
4049
                                    description: Path to access on the HTTP server.
4050
4051
4052
4053
4054
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
4055
4056
4057
4058
                                    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.
4059
4060
                                    x-kubernetes-int-or-string: true
                                  scheme:
4061
4062
4063
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
4064
4065
4066
4067
4068
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
4069
4070
4071
                                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
4072
4073
4074
                                format: int32
                                type: integer
                              periodSeconds:
4075
4076
4077
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
4078
4079
4080
                                format: int32
                                type: integer
                              successThreshold:
4081
4082
4083
                                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.
4084
4085
4086
                                format: int32
                                type: integer
                              tcpSocket:
4087
                                description: TCPSocket specifies a connection to a TCP port.
4088
4089
                                properties:
                                  host:
4090
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
4091
4092
4093
4094
4095
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
4096
4097
4098
4099
                                    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.
4100
4101
4102
4103
4104
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
                                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.
4116
4117
4118
                                format: int64
                                type: integer
                              timeoutSeconds:
4119
4120
4121
4122
                                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
4123
4124
4125
4126
                                format: int32
                                type: integer
                            type: object
                          name:
4127
4128
4129
                            description: |-
                              Name of the ephemeral container specified as a DNS_LABEL.
                              This name must be unique among all containers, init containers and ephemeral containers.
4130
4131
                            type: string
                          ports:
4132
                            description: Ports are not allowed for ephemeral containers.
4133
                            items:
4134
                              description: ContainerPort represents a network port in a single container.
4135
4136
                              properties:
                                containerPort:
4137
4138
4139
                                  description: |-
                                    Number of port to expose on the pod's IP address.
                                    This must be a valid port number, 0 < x < 65536.
4140
4141
4142
                                  format: int32
                                  type: integer
                                hostIP:
4143
                                  description: What host IP to bind the external port to.
4144
4145
                                  type: string
                                hostPort:
4146
4147
4148
4149
4150
                                  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.
4151
4152
4153
                                  format: int32
                                  type: integer
                                name:
4154
4155
4156
4157
                                  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.
4158
4159
4160
                                  type: string
                                protocol:
                                  default: TCP
4161
4162
4163
                                  description: |-
                                    Protocol for port. Must be UDP, TCP, or SCTP.
                                    Defaults to "TCP".
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
                                  type: string
                              required:
                                - containerPort
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - containerPort
                              - protocol
                            x-kubernetes-list-type: map
                          readinessProbe:
4174
                            description: Probes are not allowed for ephemeral containers.
4175
4176
                            properties:
                              exec:
4177
                                description: Exec specifies a command to execute in the container.
4178
4179
                                properties:
                                  command:
4180
4181
4182
4183
4184
4185
                                    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.
4186
4187
4188
4189
4190
4191
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
4192
4193
4194
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
4195
4196
4197
                                format: int32
                                type: integer
                              grpc:
4198
                                description: GRPC specifies a GRPC HealthCheckRequest.
4199
4200
                                properties:
                                  port:
4201
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4202
4203
4204
                                    format: int32
                                    type: integer
                                  service:
4205
                                    default: ""
4206
4207
4208
4209
4210
                                    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.
4211
                                    type: string
4212
4213
                                required:
                                  - port
4214
                                type: object
4215
                              httpGet:
4216
                                description: HTTPGet specifies an HTTP GET request to perform.
4217
4218
                                properties:
                                  host:
4219
4220
4221
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
4222
4223
                                    type: string
                                  httpHeaders:
4224
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
4225
                                    items:
4226
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
4227
4228
                                      properties:
                                        name:
4229
4230
4231
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
4232
4233
                                          type: string
                                        value:
4234
                                          description: The header field value
4235
4236
4237
4238
4239
4240
4241
4242
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
4243
                                    description: Path to access on the HTTP server.
4244
4245
4246
4247
4248
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
4249
4250
4251
4252
                                    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.
4253
4254
                                    x-kubernetes-int-or-string: true
                                  scheme:
4255
4256
4257
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
4258
4259
4260
4261
4262
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
4263
4264
4265
                                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
4266
4267
4268
                                format: int32
                                type: integer
                              periodSeconds:
4269
4270
4271
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
4272
4273
4274
                                format: int32
                                type: integer
                              successThreshold:
4275
4276
4277
                                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.
4278
4279
4280
                                format: int32
                                type: integer
                              tcpSocket:
4281
                                description: TCPSocket specifies a connection to a TCP port.
4282
4283
                                properties:
                                  host:
4284
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
4285
4286
4287
4288
4289
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
4290
4291
4292
4293
                                    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.
4294
4295
4296
4297
4298
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
                                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.
4310
4311
4312
                                format: int64
                                type: integer
                              timeoutSeconds:
4313
4314
4315
4316
                                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
4317
4318
                                format: int32
                                type: integer
4319
                            type: object
4320
                          resizePolicy:
4321
                            description: Resources resize policy for the container.
4322
                            items:
4323
                              description: ContainerResizePolicy represents resource resize policy for the container.
4324
                              properties:
4325
                                resourceName:
4326
4327
4328
                                  description: |-
                                    Name of the resource to which this resource resize policy applies.
                                    Supported values: cpu, memory.
4329
4330
                                  type: string
                                restartPolicy:
4331
4332
4333
                                  description: |-
                                    Restart policy to apply when specified resource is resized.
                                    If not specified, it defaults to NotRequired.
4334
4335
4336
4337
4338
4339
4340
4341
                                  type: string
                              required:
                                - resourceName
                                - restartPolicy
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          resources:
4342
4343
4344
                            description: |-
                              Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
                              already allocated to the pod.
4345
4346
                            properties:
                              claims:
4347
4348
4349
4350
                                description: |-
                                  Claims lists the names of resources, defined in spec.resourceClaims,
                                  that are used by this container.

4351
                                  This field depends on the
4352
4353
4354
                                  DynamicResourceAllocation feature gate.

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

5908
                                  This field depends on the
5909
5910
5911
                                  DynamicResourceAllocation feature gate.

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

7371
                                This field depends on the
7372
7373
7374
                                DynamicResourceAllocation feature gate.

                                This field is immutable. It can only be set for containers.
7375
                              items:
7376
                                description: ResourceClaim references one entry in PodSpec.ResourceClaims.
7377
7378
                                properties:
                                  name:
7379
7380
7381
7382
                                    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.
7383
7384
                                    type: string
                                  request:
7385
7386
7387
7388
                                    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.
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
                                    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
7404
7405
7406
                              description: |-
                                Limits describes the maximum amount of compute resources allowed.
                                More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
7407
7408
7409
7410
7411
7412
7413
7414
                              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
7415
7416
7417
7418
7419
                              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/
7420
7421
7422
                              type: object
                          type: object
                        restartPolicy:
7423
7424
                          description: |-
                            RestartPolicy defines the restart behavior of individual containers in a pod.
7425
                            This overrides the pod-level restart policy. When this field is not specified,
7426
                            the restart behavior is defined by the Pod's restart policy and the container type.
7427
7428
                            Additionally, setting the RestartPolicy as "Always" for the init container will
                            have the following effect:
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
                            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.
7439
                          type: string
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
                        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
7491
                        securityContext:
7492
7493
7494
7495
                          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/
7496
7497
                          properties:
                            allowPrivilegeEscalation:
7498
7499
7500
7501
7502
7503
7504
7505
                              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.
7506
7507
                              type: boolean
                            appArmorProfile:
7508
7509
7510
7511
                              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.
7512
7513
                              properties:
                                localhostProfile:
7514
7515
7516
7517
7518
                                  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".
7519
7520
                                  type: string
                                type:
7521
7522
7523
7524
7525
7526
                                  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.
7527
7528
7529
7530
7531
                                  type: string
                              required:
                                - type
                              type: object
                            capabilities:
7532
7533
7534
7535
                              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.
7536
7537
                              properties:
                                add:
7538
                                  description: Added capabilities
7539
                                  items:
7540
                                    description: Capability represent POSIX capabilities type
7541
7542
7543
7544
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                drop:
7545
                                  description: Removed capabilities
7546
                                  items:
7547
                                    description: Capability represent POSIX capabilities type
7548
7549
7550
7551
7552
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                              type: object
                            privileged:
7553
7554
7555
7556
7557
                              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.
7558
7559
                              type: boolean
                            procMount:
7560
7561
7562
7563
7564
7565
                              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.
7566
7567
                              type: string
                            readOnlyRootFilesystem:
7568
7569
7570
7571
                              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.
7572
7573
                              type: boolean
                            runAsGroup:
7574
7575
7576
7577
7578
7579
                              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.
7580
7581
7582
                              format: int64
                              type: integer
                            runAsNonRoot:
7583
7584
7585
7586
7587
7588
7589
                              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.
7590
7591
                              type: boolean
                            runAsUser:
7592
7593
7594
7595
7596
7597
                              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.
7598
7599
7600
                              format: int64
                              type: integer
                            seLinuxOptions:
7601
7602
7603
7604
7605
7606
                              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.
7607
7608
                              properties:
                                level:
7609
                                  description: Level is SELinux level label that applies to the container.
7610
7611
                                  type: string
                                role:
7612
                                  description: Role is a SELinux role label that applies to the container.
7613
7614
                                  type: string
                                type:
7615
                                  description: Type is a SELinux type label that applies to the container.
7616
7617
                                  type: string
                                user:
7618
                                  description: User is a SELinux user label that applies to the container.
7619
7620
7621
                                  type: string
                              type: object
                            seccompProfile:
7622
7623
7624
7625
7626
                              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.
7627
7628
                              properties:
                                localhostProfile:
7629
7630
7631
7632
7633
                                  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.
7634
7635
                                  type: string
                                type:
7636
7637
7638
7639
7640
7641
7642
                                  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.
7643
7644
7645
7646
7647
                                  type: string
                              required:
                                - type
                              type: object
                            windowsOptions:
7648
7649
7650
7651
7652
                              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.
7653
7654
                              properties:
                                gmsaCredentialSpec:
7655
7656
7657
7658
                                  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.
7659
7660
                                  type: string
                                gmsaCredentialSpecName:
7661
                                  description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
7662
7663
                                  type: string
                                hostProcess:
7664
7665
7666
7667
7668
                                  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.
7669
7670
                                  type: boolean
                                runAsUserName:
7671
7672
7673
7674
7675
                                  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.
7676
7677
7678
7679
                                  type: string
                              type: object
                          type: object
                        startupProbe:
7680
7681
7682
7683
7684
7685
7686
7687
                          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
7688
7689
                          properties:
                            exec:
7690
                              description: Exec specifies a command to execute in the container.
7691
7692
                              properties:
                                command:
7693
7694
7695
7696
7697
7698
                                  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.
7699
7700
7701
7702
7703
7704
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                              type: object
                            failureThreshold:
7705
7706
7707
                              description: |-
                                Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                Defaults to 3. Minimum value is 1.
7708
7709
7710
                              format: int32
                              type: integer
                            grpc:
7711
                              description: GRPC specifies a GRPC HealthCheckRequest.
7712
7713
                              properties:
                                port:
7714
                                  description: Port number of the gRPC service. Number must be in the range 1 to 65535.
7715
7716
7717
7718
                                  format: int32
                                  type: integer
                                service:
                                  default: ""
7719
7720
7721
7722
7723
                                  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.
7724
7725
7726
7727
7728
                                  type: string
                              required:
                                - port
                              type: object
                            httpGet:
7729
                              description: HTTPGet specifies an HTTP GET request to perform.
7730
7731
                              properties:
                                host:
7732
7733
7734
                                  description: |-
                                    Host name to connect to, defaults to the pod IP. You probably want to set
                                    "Host" in httpHeaders instead.
7735
7736
                                  type: string
                                httpHeaders:
7737
                                  description: Custom headers to set in the request. HTTP allows repeated headers.
7738
                                  items:
7739
                                    description: HTTPHeader describes a custom header to be used in HTTP probes
7740
7741
                                    properties:
                                      name:
7742
7743
7744
                                        description: |-
                                          The header field name.
                                          This will be canonicalized upon output, so case-variant names will be understood as the same header.
7745
7746
                                        type: string
                                      value:
7747
                                        description: The header field value
7748
7749
7750
7751
7752
7753
7754
7755
                                        type: string
                                    required:
                                      - name
                                      - value
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                path:
7756
                                  description: Path to access on the HTTP server.
7757
7758
7759
7760
7761
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
7762
7763
7764
7765
                                  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.
7766
7767
                                  x-kubernetes-int-or-string: true
                                scheme:
7768
7769
7770
                                  description: |-
                                    Scheme to use for connecting to the host.
                                    Defaults to HTTP.
7771
7772
7773
7774
7775
                                  type: string
                              required:
                                - port
                              type: object
                            initialDelaySeconds:
7776
7777
7778
                              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
7779
7780
7781
                              format: int32
                              type: integer
                            periodSeconds:
7782
7783
7784
                              description: |-
                                How often (in seconds) to perform the probe.
                                Default to 10 seconds. Minimum value is 1.
7785
7786
7787
                              format: int32
                              type: integer
                            successThreshold:
7788
7789
7790
                              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.
7791
7792
7793
                              format: int32
                              type: integer
                            tcpSocket:
7794
                              description: TCPSocket specifies a connection to a TCP port.
7795
7796
                              properties:
                                host:
7797
                                  description: 'Optional: Host name to connect to, defaults to the pod IP.'
7798
7799
7800
7801
7802
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
7803
7804
7805
7806
                                  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.
7807
7808
7809
7810
7811
                                  x-kubernetes-int-or-string: true
                              required:
                                - port
                              type: object
                            terminationGracePeriodSeconds:
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
                              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.
7823
7824
7825
                              format: int64
                              type: integer
                            timeoutSeconds:
7826
7827
7828
7829
                              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
7830
7831
7832
7833
                              format: int32
                              type: integer
                          type: object
                        stdin:
7834
7835
7836
7837
                          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.
7838
7839
                          type: boolean
                        stdinOnce:
7840
7841
7842
7843
7844
7845
7846
7847
                          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
7848
7849
                          type: boolean
                        terminationMessagePath:
7850
7851
7852
7853
7854
7855
7856
7857
                          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.
7858
7859
                          type: string
                        terminationMessagePolicy:
7860
7861
7862
7863
7864
7865
7866
7867
                          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.
7868
7869
                          type: string
                        tty:
7870
7871
7872
                          description: |-
                            Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                            Default is false.
7873
7874
                          type: boolean
                        volumeDevices:
7875
                          description: volumeDevices is the list of block devices to be used by the container.
7876
                          items:
7877
                            description: volumeDevice describes a mapping of a raw block device within a container.
7878
7879
                            properties:
                              devicePath:
7880
                                description: devicePath is the path inside of the container that the device will be mapped to.
7881
7882
                                type: string
                              name:
7883
                                description: name must match the name of a persistentVolumeClaim in the pod
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
                                type: string
                            required:
                              - devicePath
                              - name
                            type: object
                          type: array
                          x-kubernetes-list-map-keys:
                            - devicePath
                          x-kubernetes-list-type: map
                        volumeMounts:
7894
7895
7896
                          description: |-
                            Pod volumes to mount into the container's filesystem.
                            Cannot be updated.
7897
                          items:
7898
                            description: VolumeMount describes a mounting of a Volume within a container.
7899
7900
                            properties:
                              mountPath:
7901
7902
7903
                                description: |-
                                  Path within the container at which the volume should be mounted.  Must
                                  not contain ':'.
7904
7905
                                type: string
                              mountPropagation:
7906
7907
7908
7909
7910
7911
7912
                                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).
7913
7914
                                type: string
                              name:
7915
                                description: This must match the Name of a Volume.
7916
7917
                                type: string
                              readOnly:
7918
7919
7920
                                description: |-
                                  Mounted read-only if true, read-write otherwise (false or unspecified).
                                  Defaults to false.
7921
7922
                                type: boolean
                              recursiveReadOnly:
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
                                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.
7940
7941
                                type: string
                              subPath:
7942
7943
7944
                                description: |-
                                  Path within the volume from which the container's volume should be mounted.
                                  Defaults to "" (volume's root).
7945
7946
                                type: string
                              subPathExpr:
7947
7948
7949
7950
7951
                                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.
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
                                type: string
                            required:
                              - mountPath
                              - name
                            type: object
                          type: array
                          x-kubernetes-list-map-keys:
                            - mountPath
                          x-kubernetes-list-type: map
                        workingDir:
7962
7963
7964
7965
7966
                          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.
7967
7968
7969
7970
                          type: string
                      required: []
                      type: object
                    nodeName:
7971
7972
7973
7974
7975
7976
                      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
7977
7978
7979
7980
                      type: string
                    nodeSelector:
                      additionalProperties:
                        type: string
7981
7982
7983
7984
                      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/
7985
7986
7987
                      type: object
                      x-kubernetes-map-type: atomic
                    os:
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
                      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
7999
                        - spec.resources
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
                        - 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
8021
8022
                      properties:
                        name:
8023
8024
8025
8026
8027
                          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
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
                          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
8039
8040
8041
8042
8043
8044
8045
8046
                      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
8047
8048
                      type: object
                    preemptionPolicy:
8049
8050
8051
8052
                      description: |-
                        PreemptionPolicy is the Policy for preempting pods with lower priority.
                        One of Never, PreemptLowerPriority.
                        Defaults to PreemptLowerPriority if unset.
8053
8054
                      type: string
                    priority:
8055
8056
8057
8058
8059
8060
                      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.
8061
8062
8063
                      format: int32
                      type: integer
                    priorityClassName:
8064
8065
8066
8067
8068
8069
8070
                      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.
8071
8072
                      type: string
                    readinessGates:
8073
8074
8075
8076
8077
                      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
8078
                      items:
8079
                        description: PodReadinessGate contains the reference to a pod condition
8080
8081
                        properties:
                          conditionType:
8082
                            description: ConditionType refers to a condition in the pod's condition list with matching type.
8083
8084
8085
8086
8087
8088
8089
                            type: string
                        required:
                          - conditionType
                        type: object
                      type: array
                      x-kubernetes-list-type: atomic
                    resourceClaims:
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
                      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.
8100
                      items:
8101
8102
8103
8104
8105
8106
8107
                        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.
8108
8109
                        properties:
                          name:
8110
8111
8112
                            description: |-
                              Name uniquely identifies this resource claim inside the pod.
                              This must be a DNS_LABEL.
8113
8114
                            type: string
                          resourceClaimName:
8115
8116
8117
8118
8119
8120
                            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.
8121
8122
                            type: string
                          resourceClaimTemplateName:
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
                            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.
8139
8140
8141
8142
8143
8144
8145
8146
8147
                            type: string
                        required:
                          - name
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    resources:
8148
8149
8150
                      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
8151
                        "cpu", "memory" and "hugepages-" resource names only. ResourceClaims are not supported.
8152
8153
8154
8155
8156
8157

                        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.
8158
8159
                      properties:
                        claims:
8160
8161
8162
8163
                          description: |-
                            Claims lists the names of resources, defined in spec.resourceClaims,
                            that are used by this container.

8164
                            This field depends on the
8165
8166
8167
                            DynamicResourceAllocation feature gate.

                            This field is immutable. It can only be set for containers.
8168
                          items:
8169
                            description: ResourceClaim references one entry in PodSpec.ResourceClaims.
8170
8171
                            properties:
                              name:
8172
8173
8174
8175
                                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.
8176
8177
                                type: string
                              request:
8178
8179
8180
8181
                                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.
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
                                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
8197
8198
8199
                          description: |-
                            Limits describes the maximum amount of compute resources allowed.
                            More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
8200
8201
8202
8203
8204
8205
8206
8207
                          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
8208
8209
8210
8211
8212
                          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/
8213
8214
8215
                          type: object
                      type: object
                    restartPolicy:
8216
8217
8218
8219
8220
                      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
8221
8222
                      type: string
                    runtimeClassName:
8223
8224
8225
8226
8227
8228
                      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
8229
8230
                      type: string
                    schedulerName:
8231
8232
8233
                      description: |-
                        If specified, the pod will be dispatched by specified scheduler.
                        If not specified, the pod will be dispatched by default scheduler.
8234
8235
                      type: string
                    schedulingGates:
8236
8237
8238
8239
8240
8241
                      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.
8242
                      items:
8243
                        description: PodSchedulingGate is associated to a Pod to guard its scheduling.
8244
8245
                        properties:
                          name:
8246
8247
8248
                            description: |-
                              Name of the scheduling gate.
                              Each scheduling gate must have a unique name field.
8249
8250
8251
8252
8253
8254
8255
8256
8257
                            type: string
                        required:
                          - name
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    securityContext:
8258
8259
8260
                      description: |-
                        SecurityContext holds pod-level security attributes and common container settings.
                        Optional: Defaults to empty.  See type description for default values of each field.
8261
8262
                      properties:
                        appArmorProfile:
8263
8264
8265
                          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.
8266
8267
                          properties:
                            localhostProfile:
8268
8269
8270
8271
8272
                              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".
8273
8274
                              type: string
                            type:
8275
8276
8277
8278
8279
8280
                              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.
8281
8282
8283
8284
8285
                              type: string
                          required:
                            - type
                          type: object
                        fsGroup:
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
                          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.
8297
8298
8299
                          format: int64
                          type: integer
                        fsGroupChangePolicy:
8300
8301
8302
8303
8304
8305
8306
8307
                          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.
8308
8309
                          type: string
                        runAsGroup:
8310
8311
8312
8313
8314
8315
8316
                          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.
8317
8318
8319
                          format: int64
                          type: integer
                        runAsNonRoot:
8320
8321
8322
8323
8324
8325
8326
                          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.
8327
8328
                          type: boolean
                        runAsUser:
8329
8330
8331
8332
8333
8334
8335
                          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.
8336
8337
8338
                          format: int64
                          type: integer
                        seLinuxChangePolicy:
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
                          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.
8363
8364
                          type: string
                        seLinuxOptions:
8365
8366
8367
8368
8369
8370
8371
                          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.
8372
8373
                          properties:
                            level:
8374
                              description: Level is SELinux level label that applies to the container.
8375
8376
                              type: string
                            role:
8377
                              description: Role is a SELinux role label that applies to the container.
8378
8379
                              type: string
                            type:
8380
                              description: Type is a SELinux type label that applies to the container.
8381
8382
                              type: string
                            user:
8383
                              description: User is a SELinux user label that applies to the container.
8384
8385
8386
                              type: string
                          type: object
                        seccompProfile:
8387
8388
8389
                          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.
8390
8391
                          properties:
                            localhostProfile:
8392
8393
8394
8395
8396
                              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.
8397
8398
                              type: string
                            type:
8399
8400
8401
8402
8403
8404
8405
                              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.
8406
8407
8408
8409
8410
                              type: string
                          required:
                            - type
                          type: object
                        supplementalGroups:
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
                          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.
8421
8422
8423
8424
8425
8426
                          items:
                            format: int64
                            type: integer
                          type: array
                          x-kubernetes-list-type: atomic
                        supplementalGroupsPolicy:
8427
8428
8429
8430
8431
8432
                          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.
8433
8434
                          type: string
                        sysctls:
8435
8436
8437
8438
                          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.
8439
                          items:
8440
                            description: Sysctl defines a kernel parameter to be set
8441
8442
                            properties:
                              name:
8443
                                description: Name of a property to set
8444
8445
                                type: string
                              value:
8446
                                description: Value of a property to set
8447
8448
8449
8450
8451
8452
8453
8454
                                type: string
                            required:
                              - name
                              - value
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        windowsOptions:
8455
8456
8457
8458
8459
                          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.
8460
8461
                          properties:
                            gmsaCredentialSpec:
8462
8463
8464
8465
                              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.
8466
8467
                              type: string
                            gmsaCredentialSpecName:
8468
                              description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
8469
8470
                              type: string
                            hostProcess:
8471
8472
8473
8474
8475
                              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.
8476
8477
                              type: boolean
                            runAsUserName:
8478
8479
8480
8481
8482
                              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.
8483
8484
8485
8486
                              type: string
                          type: object
                      type: object
                    serviceAccount:
8487
8488
8489
                      description: |-
                        DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.
                        Deprecated: Use serviceAccountName instead.
8490
8491
                      type: string
                    serviceAccountName:
8492
8493
8494
                      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/
8495
8496
                      type: string
                    setHostnameAsFQDN:
8497
8498
8499
8500
8501
8502
                      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.
8503
8504
                      type: boolean
                    shareProcessNamespace:
8505
8506
8507
8508
8509
8510
                      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.
8511
8512
                      type: boolean
                    subdomain:
8513
8514
8515
                      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.
8516
8517
                      type: string
                    terminationGracePeriodSeconds:
8518
8519
8520
8521
8522
8523
8524
8525
8526
                      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.
8527
8528
8529
                      format: int64
                      type: integer
                    tolerations:
8530
                      description: If specified, the pod's tolerations.
8531
                      items:
8532
8533
8534
                        description: |-
                          The pod this Toleration is attached to tolerates any taint that matches
                          the triple <key,value,effect> using the matching operator <operator>.
8535
8536
                        properties:
                          effect:
8537
8538
8539
                            description: |-
                              Effect indicates the taint effect to match. Empty means match all taint effects.
                              When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
8540
8541
                            type: string
                          key:
8542
8543
8544
                            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.
8545
8546
                            type: string
                          operator:
8547
8548
8549
8550
8551
                            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.
8552
8553
                            type: string
                          tolerationSeconds:
8554
8555
8556
8557
8558
                            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.
8559
8560
8561
                            format: int64
                            type: integer
                          value:
8562
8563
8564
                            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.
8565
8566
8567
8568
8569
                            type: string
                        type: object
                      type: array
                      x-kubernetes-list-type: atomic
                    topologySpreadConstraints:
8570
8571
8572
8573
                      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.
8574
                      items:
8575
                        description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
8576
8577
                        properties:
                          labelSelector:
8578
8579
8580
8581
                            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.
8582
8583
                            properties:
                              matchExpressions:
8584
                                description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
8585
                                items:
8586
8587
8588
                                  description: |-
                                    A label selector requirement is a selector that contains values, a key, and an operator that
                                    relates the key and values.
8589
8590
                                  properties:
                                    key:
8591
                                      description: key is the label key that the selector applies to.
8592
8593
                                      type: string
                                    operator:
8594
8595
8596
                                      description: |-
                                        operator represents a key's relationship to a set of values.
                                        Valid operators are In, NotIn, Exists and DoesNotExist.
8597
8598
                                      type: string
                                    values:
8599
8600
8601
8602
8603
                                      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.
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
                                      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
8617
8618
8619
8620
                                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.
8621
8622
8623
8624
                                type: object
                            type: object
                            x-kubernetes-map-type: atomic
                          matchLabelKeys:
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
                            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).
8636
8637
8638
8639
8640
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          maxSkew:
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
                            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.
8659
8660
8661
                            format: int32
                            type: integer
                          minDomains:
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
                            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.
8682
8683
8684
                            format: int32
                            type: integer
                          nodeAffinityPolicy:
8685
8686
8687
8688
8689
8690
8691
                            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.
8692
8693
                            type: string
                          nodeTaintsPolicy:
8694
8695
8696
8697
8698
8699
8700
8701
                            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.
8702
8703
                            type: string
                          topologyKey:
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
                            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.
8715
8716
                            type: string
                          whenUnsatisfiable:
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
                            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.
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
                            type: string
                        required:
                          - maxSkew
                          - topologyKey
                          - whenUnsatisfiable
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - topologyKey
                        - whenUnsatisfiable
                      x-kubernetes-list-type: map
                    volumes:
8748
8749
8750
                      description: |-
                        List of volumes that can be mounted by containers belonging to the pod.
                        More info: https://kubernetes.io/docs/concepts/storage/volumes
8751
                      items:
8752
                        description: Volume represents a named volume in a pod that may be accessed by any container in the pod.
8753
8754
                        properties:
                          awsElasticBlockStore:
8755
8756
8757
8758
8759
8760
                            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
8761
8762
                            properties:
                              fsType:
8763
8764
8765
8766
8767
                                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
8768
8769
                                type: string
                              partition:
8770
8771
8772
8773
8774
                                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).
8775
8776
8777
                                format: int32
                                type: integer
                              readOnly:
8778
8779
8780
                                description: |-
                                  readOnly value true will force the readOnly setting in VolumeMounts.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
8781
8782
                                type: boolean
                              volumeID:
8783
8784
8785
                                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
8786
8787
8788
8789
8790
                                type: string
                            required:
                              - volumeID
                            type: object
                          azureDisk:
8791
8792
8793
8794
                            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.
8795
8796
                            properties:
                              cachingMode:
8797
                                description: 'cachingMode is the Host Caching mode: None, Read Only, Read Write.'
8798
8799
                                type: string
                              diskName:
8800
                                description: diskName is the Name of the data disk in the blob storage
8801
8802
                                type: string
                              diskURI:
8803
                                description: diskURI is the URI of data disk in the blob storage
8804
8805
8806
                                type: string
                              fsType:
                                default: ext4
8807
8808
8809
8810
                                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.
8811
8812
                                type: string
                              kind:
8813
                                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'
8814
8815
8816
                                type: string
                              readOnly:
                                default: false
8817
8818
8819
                                description: |-
                                  readOnly Defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
8820
8821
8822
8823
8824
8825
                                type: boolean
                            required:
                              - diskName
                              - diskURI
                            type: object
                          azureFile:
8826
8827
8828
8829
                            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.
8830
8831
                            properties:
                              readOnly:
8832
8833
8834
                                description: |-
                                  readOnly defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
8835
8836
                                type: boolean
                              secretName:
8837
                                description: secretName is the  name of secret that contains Azure Storage Account Name and Key
8838
8839
                                type: string
                              shareName:
8840
                                description: shareName is the azure share Name
8841
8842
8843
8844
8845
8846
                                type: string
                            required:
                              - secretName
                              - shareName
                            type: object
                          cephfs:
8847
8848
8849
                            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.
8850
8851
                            properties:
                              monitors:
8852
8853
8854
                                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
8855
8856
8857
8858
8859
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
8860
                                description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /'
8861
8862
                                type: string
                              readOnly:
8863
8864
8865
8866
                                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
8867
8868
                                type: boolean
                              secretFile:
8869
8870
8871
                                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
8872
8873
                                type: string
                              secretRef:
8874
8875
8876
                                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
8877
8878
8879
                                properties:
                                  name:
                                    default: ""
8880
8881
8882
8883
8884
8885
                                    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
8886
8887
8888
8889
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              user:
8890
8891
8892
                                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
8893
8894
8895
8896
8897
                                type: string
                            required:
                              - monitors
                            type: object
                          cinder:
8898
8899
8900
8901
8902
                            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
8903
8904
                            properties:
                              fsType:
8905
8906
8907
8908
8909
                                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
8910
8911
                                type: string
                              readOnly:
8912
8913
8914
8915
                                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
8916
8917
                                type: boolean
                              secretRef:
8918
8919
8920
                                description: |-
                                  secretRef is optional: points to a secret object containing parameters used to connect
                                  to OpenStack.
8921
8922
8923
                                properties:
                                  name:
                                    default: ""
8924
8925
8926
8927
8928
8929
                                    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
8930
8931
8932
8933
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              volumeID:
8934
8935
8936
                                description: |-
                                  volumeID used to identify the volume in cinder.
                                  More info: https://examples.k8s.io/mysql-cinder-pd/README.md
8937
8938
8939
8940
8941
                                type: string
                            required:
                              - volumeID
                            type: object
                          configMap:
8942
                            description: configMap represents a configMap that should populate this volume
8943
8944
                            properties:
                              defaultMode:
8945
8946
8947
8948
8949
8950
8951
8952
                                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.
8953
8954
8955
                                format: int32
                                type: integer
                              items:
8956
8957
8958
8959
8960
8961
8962
8963
                                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 '..'.
8964
                                items:
8965
                                  description: Maps a string key to a path within a volume.
8966
8967
                                  properties:
                                    key:
8968
                                      description: key is the key to project.
8969
8970
                                      type: string
                                    mode:
8971
8972
8973
8974
8975
8976
8977
                                      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.
8978
8979
8980
                                      format: int32
                                      type: integer
                                    path:
8981
8982
8983
8984
8985
                                      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 '..'.
8986
8987
8988
8989
8990
8991
8992
8993
8994
                                      type: string
                                  required:
                                    - key
                                    - path
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              name:
                                default: ""
8995
8996
8997
8998
8999
9000
                                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
9001
9002
                                type: string
                              optional:
9003
                                description: optional specify whether the ConfigMap or its keys must be defined
9004
9005
9006
9007
                                type: boolean
                            type: object
                            x-kubernetes-map-type: atomic
                          csi:
9008
                            description: csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
9009
9010
                            properties:
                              driver:
9011
9012
9013
                                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.
9014
9015
                                type: string
                              fsType:
9016
9017
9018
9019
                                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.
9020
9021
                                type: string
                              nodePublishSecretRef:
9022
9023
9024
9025
9026
9027
                                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.
9028
9029
9030
                                properties:
                                  name:
                                    default: ""
9031
9032
9033
9034
9035
9036
                                    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
9037
9038
9039
9040
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              readOnly:
9041
9042
9043
                                description: |-
                                  readOnly specifies a read-only configuration for the volume.
                                  Defaults to false (read/write).
9044
9045
9046
9047
                                type: boolean
                              volumeAttributes:
                                additionalProperties:
                                  type: string
9048
9049
9050
                                description: |-
                                  volumeAttributes stores driver-specific properties that are passed to the CSI
                                  driver. Consult your driver's documentation for supported values.
9051
9052
9053
9054
9055
                                type: object
                            required:
                              - driver
                            type: object
                          downwardAPI:
9056
                            description: downwardAPI represents downward API about the pod that should populate this volume
9057
9058
                            properties:
                              defaultMode:
9059
9060
9061
9062
9063
9064
9065
9066
9067
                                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.
9068
9069
9070
                                format: int32
                                type: integer
                              items:
9071
                                description: Items is a list of downward API volume file
9072
                                items:
9073
                                  description: DownwardAPIVolumeFile represents information to create the file containing the pod field
9074
9075
                                  properties:
                                    fieldRef:
9076
                                      description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
9077
9078
                                      properties:
                                        apiVersion:
9079
                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
9080
9081
                                          type: string
                                        fieldPath:
9082
                                          description: Path of the field to select in the specified API version.
9083
9084
9085
9086
9087
9088
                                          type: string
                                      required:
                                        - fieldPath
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    mode:
9089
9090
9091
9092
9093
9094
9095
                                      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.
9096
9097
9098
                                      format: int32
                                      type: integer
                                    path:
9099
                                      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 ''..'''
9100
9101
                                      type: string
                                    resourceFieldRef:
9102
9103
9104
                                      description: |-
                                        Selects a resource of the container: only resources limits and requests
                                        (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
9105
9106
                                      properties:
                                        containerName:
9107
                                          description: 'Container name: required for volumes, optional for env vars'
9108
9109
9110
9111
9112
                                          type: string
                                        divisor:
                                          anyOf:
                                            - type: integer
                                            - type: string
9113
                                          description: Specifies the output format of the exposed resources, defaults to "1"
9114
9115
9116
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        resource:
9117
                                          description: 'Required: resource to select'
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
                                          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:
9130
9131
9132
                            description: |-
                              emptyDir represents a temporary directory that shares a pod's lifetime.
                              More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
9133
9134
                            properties:
                              medium:
9135
9136
9137
9138
9139
                                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
9140
9141
9142
9143
9144
                                type: string
                              sizeLimit:
                                anyOf:
                                  - type: integer
                                  - type: string
9145
9146
9147
9148
9149
9150
9151
                                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
9152
9153
9154
9155
                                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:
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
                            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.
9181
9182
                            properties:
                              volumeClaimTemplate:
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
                                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.
9205
9206
                                properties:
                                  metadata:
9207
9208
9209
9210
                                    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.
9211
9212
                                    type: object
                                  spec:
9213
9214
9215
9216
9217
                                    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.
9218
9219
                                    properties:
                                      accessModes:
9220
9221
9222
                                        description: |-
                                          accessModes contains the desired access modes the volume should have.
                                          More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
9223
9224
9225
9226
9227
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      dataSource:
9228
9229
9230
9231
9232
9233
9234
9235
9236
                                        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.
9237
9238
                                        properties:
                                          apiGroup:
9239
9240
9241
9242
                                            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.
9243
9244
                                            type: string
                                          kind:
9245
                                            description: Kind is the type of resource being referenced
9246
9247
                                            type: string
                                          name:
9248
                                            description: Name is the name of resource being referenced
9249
9250
9251
9252
9253
9254
9255
                                            type: string
                                        required:
                                          - kind
                                          - name
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      dataSourceRef:
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
                                        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.
9280
9281
                                        properties:
                                          apiGroup:
9282
9283
9284
9285
                                            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.
9286
9287
                                            type: string
                                          kind:
9288
                                            description: Kind is the type of resource being referenced
9289
9290
                                            type: string
                                          name:
9291
                                            description: Name is the name of resource being referenced
9292
9293
                                            type: string
                                          namespace:
9294
9295
9296
9297
                                            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.
9298
9299
9300
9301
9302
9303
                                            type: string
                                        required:
                                          - kind
                                          - name
                                        type: object
                                      resources:
9304
9305
9306
9307
9308
9309
                                        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
9310
9311
9312
9313
9314
9315
9316
9317
                                        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
9318
9319
9320
                                            description: |-
                                              Limits describes the maximum amount of compute resources allowed.
                                              More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
9321
9322
9323
9324
9325
9326
9327
9328
                                            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
9329
9330
9331
9332
9333
                                            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/
9334
9335
9336
                                            type: object
                                        type: object
                                      selector:
9337
                                        description: selector is a label query over volumes to consider for binding.
9338
9339
                                        properties:
                                          matchExpressions:
9340
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
9341
                                            items:
9342
9343
9344
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
9345
9346
                                              properties:
                                                key:
9347
                                                  description: key is the label key that the selector applies to.
9348
9349
                                                  type: string
                                                operator:
9350
9351
9352
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
9353
9354
                                                  type: string
                                                values:
9355
9356
9357
9358
9359
                                                  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.
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
                                                  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
9373
9374
9375
9376
                                            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.
9377
9378
9379
9380
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      storageClassName:
9381
9382
9383
                                        description: |-
                                          storageClassName is the name of the StorageClass required by the claim.
                                          More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
9384
9385
                                        type: string
                                      volumeAttributesClassName:
9386
9387
9388
9389
                                        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,
9390
9391
9392
                                          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.
9393
9394
9395
9396
                                          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/
9397
9398
                                        type: string
                                      volumeMode:
9399
9400
9401
                                        description: |-
                                          volumeMode defines what type of volume is required by the claim.
                                          Value of Filesystem is implied when not included in claim spec.
9402
9403
                                        type: string
                                      volumeName:
9404
                                        description: volumeName is the binding reference to the PersistentVolume backing this claim.
9405
9406
9407
9408
9409
9410
9411
                                        type: string
                                    type: object
                                required:
                                  - spec
                                type: object
                            type: object
                          fc:
9412
                            description: fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
9413
9414
                            properties:
                              fsType:
9415
9416
9417
9418
                                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.
9419
9420
                                type: string
                              lun:
9421
                                description: 'lun is Optional: FC target lun number'
9422
9423
9424
                                format: int32
                                type: integer
                              readOnly:
9425
9426
9427
                                description: |-
                                  readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
9428
9429
                                type: boolean
                              targetWWNs:
9430
                                description: 'targetWWNs is Optional: FC target worldwide names (WWNs)'
9431
9432
9433
9434
9435
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              wwids:
9436
9437
9438
                                description: |-
                                  wwids Optional: FC volume world wide identifiers (wwids)
                                  Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
9439
9440
9441
9442
9443
9444
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          flexVolume:
9445
9446
9447
9448
                            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.
9449
9450
                            properties:
                              driver:
9451
                                description: driver is the name of the driver to use for this volume.
9452
9453
                                type: string
                              fsType:
9454
9455
9456
9457
                                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.
9458
9459
9460
9461
                                type: string
                              options:
                                additionalProperties:
                                  type: string
9462
                                description: 'options is Optional: this field holds extra command options if any.'
9463
9464
                                type: object
                              readOnly:
9465
9466
9467
                                description: |-
                                  readOnly is Optional: defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
9468
9469
                                type: boolean
                              secretRef:
9470
9471
9472
9473
9474
9475
                                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.
9476
9477
9478
                                properties:
                                  name:
                                    default: ""
9479
9480
9481
9482
9483
9484
                                    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
9485
9486
9487
9488
9489
9490
9491
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                            required:
                              - driver
                            type: object
                          flocker:
9492
9493
9494
                            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.
9495
9496
                            properties:
                              datasetName:
9497
9498
9499
                                description: |-
                                  datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
                                  should be considered as deprecated
9500
9501
                                type: string
                              datasetUUID:
9502
                                description: datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
9503
9504
9505
                                type: string
                            type: object
                          gcePersistentDisk:
9506
9507
9508
9509
9510
9511
                            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
9512
9513
                            properties:
                              fsType:
9514
9515
9516
9517
9518
                                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
9519
9520
                                type: string
                              partition:
9521
9522
9523
9524
9525
9526
                                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
9527
9528
9529
                                format: int32
                                type: integer
                              pdName:
9530
9531
9532
                                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
9533
9534
                                type: string
                              readOnly:
9535
9536
9537
9538
                                description: |-
                                  readOnly here will force the ReadOnly setting in VolumeMounts.
                                  Defaults to false.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
9539
9540
9541
9542
9543
                                type: boolean
                            required:
                              - pdName
                            type: object
                          gitRepo:
9544
9545
9546
9547
9548
                            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.
9549
9550
                            properties:
                              directory:
9551
9552
9553
9554
9555
                                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.
9556
9557
                                type: string
                              repository:
9558
                                description: repository is the URL
9559
9560
                                type: string
                              revision:
9561
                                description: revision is the commit hash for the specified revision.
9562
9563
9564
9565
9566
                                type: string
                            required:
                              - repository
                            type: object
                          glusterfs:
9567
9568
9569
                            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.
9570
9571
                            properties:
                              endpoints:
9572
                                description: endpoints is the endpoint name that details Glusterfs topology.
9573
9574
                                type: string
                              path:
9575
9576
9577
                                description: |-
                                  path is the Glusterfs volume path.
                                  More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
9578
9579
                                type: string
                              readOnly:
9580
9581
9582
9583
                                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
9584
9585
9586
9587
9588
9589
                                type: boolean
                            required:
                              - endpoints
                              - path
                            type: object
                          hostPath:
9590
9591
9592
9593
9594
9595
                            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
9596
9597
                            properties:
                              path:
9598
9599
9600
9601
                                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
9602
9603
                                type: string
                              type:
9604
9605
9606
9607
                                description: |-
                                  type for HostPath Volume
                                  Defaults to ""
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
9608
9609
9610
9611
9612
                                type: string
                            required:
                              - path
                            type: object
                          image:
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
                            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.
9628
9629
                            properties:
                              pullPolicy:
9630
9631
9632
9633
9634
9635
                                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.
9636
9637
                                type: string
                              reference:
9638
9639
9640
9641
9642
9643
9644
                                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.
9645
9646
9647
                                type: string
                            type: object
                          iscsi:
9648
9649
9650
                            description: |-
                              iscsi represents an ISCSI Disk resource that is attached to a
                              kubelet's host machine and then exposed to the pod.
9651
                              More info: https://kubernetes.io/docs/concepts/storage/volumes/#iscsi
9652
9653
                            properties:
                              chapAuthDiscovery:
9654
                                description: chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
9655
9656
                                type: boolean
                              chapAuthSession:
9657
                                description: chapAuthSession defines whether support iSCSI Session CHAP authentication
9658
9659
                                type: boolean
                              fsType:
9660
9661
9662
9663
9664
                                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
9665
9666
                                type: string
                              initiatorName:
9667
9668
9669
9670
                                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.
9671
9672
                                type: string
                              iqn:
9673
                                description: iqn is the target iSCSI Qualified Name.
9674
9675
9676
                                type: string
                              iscsiInterface:
                                default: default
9677
9678
9679
                                description: |-
                                  iscsiInterface is the interface Name that uses an iSCSI transport.
                                  Defaults to 'default' (tcp).
9680
9681
                                type: string
                              lun:
9682
                                description: lun represents iSCSI Target Lun number.
9683
9684
9685
                                format: int32
                                type: integer
                              portals:
9686
9687
9688
                                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).
9689
9690
9691
9692
9693
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              readOnly:
9694
9695
9696
                                description: |-
                                  readOnly here will force the ReadOnly setting in VolumeMounts.
                                  Defaults to false.
9697
9698
                                type: boolean
                              secretRef:
9699
                                description: secretRef is the CHAP Secret for iSCSI target and initiator authentication
9700
9701
9702
                                properties:
                                  name:
                                    default: ""
9703
9704
9705
9706
9707
9708
                                    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
9709
9710
9711
9712
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              targetPortal:
9713
9714
9715
                                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).
9716
9717
9718
9719
9720
9721
9722
                                type: string
                            required:
                              - iqn
                              - lun
                              - targetPortal
                            type: object
                          name:
9723
9724
9725
9726
                            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
9727
9728
                            type: string
                          nfs:
9729
9730
9731
                            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
9732
                            properties:
9733
                              path:
9734
9735
9736
                                description: |-
                                  path that is exported by the NFS server.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9737
                                type: string
9738
                              readOnly:
9739
9740
9741
9742
                                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
9743
9744
                                type: boolean
                              server:
9745
9746
9747
                                description: |-
                                  server is the hostname or IP address of the NFS server.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9748
9749
                                type: string
                            required:
9750
9751
                              - path
                              - server
9752
                            type: object
9753
                          persistentVolumeClaim:
9754
9755
9756
9757
                            description: |-
                              persistentVolumeClaimVolumeSource represents a reference to a
                              PersistentVolumeClaim in the same namespace.
                              More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
9758
                            properties:
9759
                              claimName:
9760
9761
9762
                                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
9763
                                type: string
9764
                              readOnly:
9765
9766
9767
                                description: |-
                                  readOnly Will force the ReadOnly setting in VolumeMounts.
                                  Default false.
9768
9769
9770
9771
9772
                                type: boolean
                            required:
                              - claimName
                            type: object
                          photonPersistentDisk:
9773
9774
9775
                            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.
9776
9777
                            properties:
                              fsType:
9778
9779
9780
9781
                                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.
9782
                                type: string
9783
                              pdID:
9784
                                description: pdID is the ID that identifies Photon Controller persistent disk
9785
9786
9787
9788
9789
                                type: string
                            required:
                              - pdID
                            type: object
                          portworxVolume:
9790
9791
9792
9793
9794
                            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.
9795
9796
                            properties:
                              fsType:
9797
9798
9799
9800
                                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.
9801
                                type: string
9802
                              readOnly:
9803
9804
9805
                                description: |-
                                  readOnly defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
9806
                                type: boolean
9807
                              volumeID:
9808
                                description: volumeID uniquely identifies a Portworx volume
9809
                                type: string
9810
9811
9812
9813
                            required:
                              - volumeID
                            type: object
                          projected:
9814
                            description: projected items for all in one resources secrets, configmaps, and downward API
9815
9816
                            properties:
                              defaultMode:
9817
9818
9819
9820
9821
9822
9823
                                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.
9824
9825
9826
                                format: int32
                                type: integer
                              sources:
9827
9828
9829
                                description: |-
                                  sources is the list of volume projections. Each entry in this list
                                  handles one source.
9830
                                items:
9831
9832
9833
                                  description: |-
                                    Projection that may be projected along with other supported volume types.
                                    Exactly one of these fields must be set.
9834
9835
                                  properties:
                                    clusterTrustBundle:
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
                                      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.
9850
9851
                                      properties:
                                        labelSelector:
9852
9853
9854
9855
9856
                                          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".
9857
9858
                                          properties:
                                            matchExpressions:
9859
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
9860
                                              items:
9861
9862
9863
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
9864
9865
                                                properties:
                                                  key:
9866
                                                    description: key is the label key that the selector applies to.
9867
9868
                                                    type: string
                                                  operator:
9869
9870
9871
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
9872
9873
                                                    type: string
                                                  values:
9874
9875
9876
9877
9878
                                                    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.
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
                                                    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
9892
9893
9894
9895
                                              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.
9896
9897
9898
9899
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        name:
9900
9901
9902
                                          description: |-
                                            Select a single ClusterTrustBundle by object name.  Mutually-exclusive
                                            with signerName and labelSelector.
9903
9904
                                          type: string
                                        optional:
9905
9906
9907
9908
9909
9910
                                          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.
9911
9912
                                          type: boolean
                                        path:
9913
                                          description: Relative path from the volume root to write the bundle.
9914
9915
                                          type: string
                                        signerName:
9916
9917
9918
9919
                                          description: |-
                                            Select all ClusterTrustBundles that match this signer name.
                                            Mutually-exclusive with name.  The contents of all selected
                                            ClusterTrustBundles will be unified and deduplicated.
9920
9921
9922
9923
9924
                                          type: string
                                      required:
                                        - path
                                      type: object
                                    configMap:
9925
                                      description: configMap information about the configMap data to project
9926
9927
                                      properties:
                                        items:
9928
9929
9930
9931
9932
9933
9934
9935
                                          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 '..'.
9936
                                          items:
9937
                                            description: Maps a string key to a path within a volume.
9938
9939
                                            properties:
                                              key:
9940
                                                description: key is the key to project.
9941
9942
                                                type: string
                                              mode:
9943
9944
9945
9946
9947
9948
9949
                                                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.
9950
9951
9952
                                                format: int32
                                                type: integer
                                              path:
9953
9954
9955
9956
9957
                                                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 '..'.
9958
9959
9960
9961
9962
9963
9964
9965
9966
                                                type: string
                                            required:
                                              - key
                                              - path
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        name:
                                          default: ""
9967
9968
9969
9970
9971
9972
                                          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
9973
9974
                                          type: string
                                        optional:
9975
                                          description: optional specify whether the ConfigMap or its keys must be defined
9976
9977
9978
9979
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    downwardAPI:
9980
                                      description: downwardAPI information about the downwardAPI data to project
9981
9982
                                      properties:
                                        items:
9983
                                          description: Items is a list of DownwardAPIVolume file
9984
                                          items:
9985
                                            description: DownwardAPIVolumeFile represents information to create the file containing the pod field
9986
9987
                                            properties:
                                              fieldRef:
9988
                                                description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
9989
9990
                                                properties:
                                                  apiVersion:
9991
                                                    description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
9992
9993
                                                    type: string
                                                  fieldPath:
9994
                                                    description: Path of the field to select in the specified API version.
9995
9996
9997
9998
9999
10000
                                                    type: string
                                                required:
                                                  - fieldPath
                                                type: object
                                                x-kubernetes-map-type: atomic
                                              mode:
10001
10002
10003
10004
10005
10006
10007
                                                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.
10008
10009
10010
                                                format: int32
                                                type: integer
                                              path:
10011
                                                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 ''..'''
10012
10013
                                                type: string
                                              resourceFieldRef:
10014
10015
10016
                                                description: |-
                                                  Selects a resource of the container: only resources limits and requests
                                                  (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
10017
10018
                                                properties:
                                                  containerName:
10019
                                                    description: 'Container name: required for volumes, optional for env vars'
10020
10021
10022
10023
10024
                                                    type: string
                                                  divisor:
                                                    anyOf:
                                                      - type: integer
                                                      - type: string
10025
                                                    description: Specifies the output format of the exposed resources, defaults to "1"
10026
10027
10028
                                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                    x-kubernetes-int-or-string: true
                                                  resource:
10029
                                                    description: 'Required: resource to select'
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
                                                    type: string
                                                required:
                                                  - resource
                                                type: object
                                                x-kubernetes-map-type: atomic
                                            required:
                                              - path
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
                                    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
10145
                                    secret:
10146
                                      description: secret information about the secret data to project
10147
10148
                                      properties:
                                        items:
10149
10150
10151
10152
10153
10154
10155
10156
                                          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 '..'.
10157
                                          items:
10158
                                            description: Maps a string key to a path within a volume.
10159
10160
                                            properties:
                                              key:
10161
                                                description: key is the key to project.
10162
10163
                                                type: string
                                              mode:
10164
10165
10166
10167
10168
10169
10170
                                                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.
10171
10172
10173
                                                format: int32
                                                type: integer
                                              path:
10174
10175
10176
10177
10178
                                                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 '..'.
10179
10180
10181
10182
10183
10184
10185
10186
10187
                                                type: string
                                            required:
                                              - key
                                              - path
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        name:
                                          default: ""
10188
10189
10190
10191
10192
10193
                                          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
10194
10195
                                          type: string
                                        optional:
10196
                                          description: optional field specify whether the Secret or its key must be defined
10197
10198
10199
10200
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    serviceAccountToken:
10201
                                      description: serviceAccountToken is information about the serviceAccountToken data to project
10202
10203
                                      properties:
                                        audience:
10204
10205
10206
10207
10208
                                          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.
10209
10210
                                          type: string
                                        expirationSeconds:
10211
10212
10213
10214
10215
10216
10217
                                          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.
10218
10219
10220
                                          format: int64
                                          type: integer
                                        path:
10221
10222
10223
                                          description: |-
                                            path is the path relative to the mount point of the file to project the
                                            token into.
10224
10225
10226
10227
10228
10229
10230
10231
10232
                                          type: string
                                      required:
                                        - path
                                      type: object
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          quobyte:
10233
10234
10235
                            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.
10236
10237
                            properties:
                              group:
10238
10239
10240
                                description: |-
                                  group to map volume access to
                                  Default is no group
10241
                                type: string
10242
                              readOnly:
10243
10244
10245
                                description: |-
                                  readOnly here will force the Quobyte volume to be mounted with read-only permissions.
                                  Defaults to false.
10246
10247
                                type: boolean
                              registry:
10248
10249
10250
10251
                                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
10252
10253
                                type: string
                              tenant:
10254
10255
10256
                                description: |-
                                  tenant owning the given Quobyte volume in the Backend
                                  Used with dynamically provisioned Quobyte volumes, value is set by the plugin
10257
10258
                                type: string
                              user:
10259
10260
10261
                                description: |-
                                  user to map volume access to
                                  Defaults to serivceaccount user
10262
10263
                                type: string
                              volume:
10264
                                description: volume is a string that references an already created Quobyte volume by name.
10265
10266
                                type: string
                            required:
10267
10268
                              - registry
                              - volume
10269
                            type: object
10270
                          rbd:
10271
10272
10273
                            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.
10274
                            properties:
10275
                              fsType:
10276
10277
10278
10279
10280
                                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
10281
10282
                                type: string
                              image:
10283
10284
10285
                                description: |-
                                  image is the rados image name.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10286
10287
10288
                                type: string
                              keyring:
                                default: /etc/ceph/keyring
10289
10290
10291
10292
                                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
10293
10294
                                type: string
                              monitors:
10295
10296
10297
                                description: |-
                                  monitors is a collection of Ceph monitors.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10298
10299
10300
10301
10302
10303
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              pool:
                                default: rbd
10304
10305
10306
10307
                                description: |-
                                  pool is the rados pool name.
                                  Default is rbd.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10308
10309
                                type: string
                              readOnly:
10310
10311
10312
10313
                                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
10314
10315
                                type: boolean
                              secretRef:
10316
10317
10318
10319
10320
                                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
10321
10322
10323
                                properties:
                                  name:
                                    default: ""
10324
10325
10326
10327
10328
10329
                                    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
10330
10331
10332
10333
10334
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              user:
                                default: admin
10335
10336
10337
10338
                                description: |-
                                  user is the rados user name.
                                  Default is admin.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
10339
10340
10341
10342
10343
10344
                                type: string
                            required:
                              - image
                              - monitors
                            type: object
                          scaleIO:
10345
10346
10347
                            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.
10348
10349
10350
                            properties:
                              fsType:
                                default: xfs
10351
10352
10353
10354
10355
                                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".
10356
10357
                                type: string
                              gateway:
10358
                                description: gateway is the host address of the ScaleIO API Gateway.
10359
10360
                                type: string
                              protectionDomain:
10361
                                description: protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
10362
10363
                                type: string
                              readOnly:
10364
10365
10366
                                description: |-
                                  readOnly Defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
10367
10368
                                type: boolean
                              secretRef:
10369
10370
10371
                                description: |-
                                  secretRef references to the secret for ScaleIO user and other
                                  sensitive information. If this is not provided, Login operation will fail.
10372
10373
10374
                                properties:
                                  name:
                                    default: ""
10375
10376
10377
10378
10379
10380
                                    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
10381
10382
10383
10384
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              sslEnabled:
10385
                                description: sslEnabled Flag enable/disable SSL communication with Gateway, default false
10386
10387
10388
                                type: boolean
                              storageMode:
                                default: ThinProvisioned
10389
10390
10391
                                description: |-
                                  storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
                                  Default is ThinProvisioned.
10392
10393
                                type: string
                              storagePool:
10394
                                description: storagePool is the ScaleIO Storage Pool associated with the protection domain.
10395
10396
                                type: string
                              system:
10397
                                description: system is the name of the storage system as configured in ScaleIO.
10398
10399
                                type: string
                              volumeName:
10400
10401
10402
                                description: |-
                                  volumeName is the name of a volume already created in the ScaleIO system
                                  that is associated with this volume source.
10403
10404
10405
10406
10407
10408
10409
                                type: string
                            required:
                              - gateway
                              - secretRef
                              - system
                            type: object
                          secret:
10410
10411
10412
                            description: |-
                              secret represents a secret that should populate this volume.
                              More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
10413
10414
                            properties:
                              defaultMode:
10415
10416
10417
10418
10419
10420
10421
10422
                                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.
10423
10424
10425
                                format: int32
                                type: integer
                              items:
10426
10427
10428
10429
10430
10431
10432
10433
                                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 '..'.
10434
                                items:
10435
                                  description: Maps a string key to a path within a volume.
10436
                                  properties:
10437
                                    key:
10438
                                      description: key is the key to project.
10439
                                      type: string
10440
                                    mode:
10441
10442
10443
10444
10445
10446
10447
                                      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.
10448
10449
10450
                                      format: int32
                                      type: integer
                                    path:
10451
10452
10453
10454
10455
                                      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 '..'.
10456
10457
                                      type: string
                                  required:
10458
                                    - key
10459
                                    - path
10460
10461
10462
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
10463
                              optional:
10464
                                description: optional field specify whether the Secret or its keys must be defined
10465
10466
                                type: boolean
                              secretName:
10467
10468
10469
                                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
10470
10471
10472
                                type: string
                            type: object
                          storageos:
10473
10474
10475
                            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.
10476
10477
                            properties:
                              fsType:
10478
10479
10480
10481
                                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.
10482
10483
                                type: string
                              readOnly:
10484
10485
10486
                                description: |-
                                  readOnly defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
10487
10488
                                type: boolean
                              secretRef:
10489
10490
10491
                                description: |-
                                  secretRef specifies the secret to use for obtaining the StorageOS API
                                  credentials.  If not specified, default values will be attempted.
10492
10493
10494
                                properties:
                                  name:
                                    default: ""
10495
10496
10497
10498
10499
10500
                                    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
10501
                                    type: string
10502
                                type: object
10503
10504
                                x-kubernetes-map-type: atomic
                              volumeName:
10505
10506
10507
                                description: |-
                                  volumeName is the human-readable name of the StorageOS volume.  Volume
                                  names are only unique within a namespace.
10508
10509
                                type: string
                              volumeNamespace:
10510
10511
10512
10513
10514
10515
10516
                                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.
10517
10518
10519
                                type: string
                            type: object
                          vsphereVolume:
10520
10521
10522
10523
                            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.
10524
10525
                            properties:
                              fsType:
10526
10527
10528
10529
                                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.
10530
10531
                                type: string
                              storagePolicyID:
10532
                                description: storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
10533
10534
                                type: string
                              storagePolicyName:
10535
                                description: storagePolicyName is the storage Policy Based Management (SPBM) profile name.
10536
10537
                                type: string
                              volumePath:
10538
                                description: volumePath is the path that identifies vSphere volume vmdk
10539
10540
10541
                                type: string
                            required:
                              - volumePath
10542
                            type: object
10543
                        required:
10544
                          - name
10545
                        type: object
10546
                      type: array
10547
10548
10549
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
10550
                  required: []
10551
                  type: object
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
                frontendSidecar:
                  description: |-
                    FrontendSidecar configures an auto-generated frontend sidecar container.
                    When specified, the operator injects a fully configured frontend container
                    with all standard Dynamo environment variables, health probes, and ports.
                    This eliminates the need to manually specify these in extraPodSpec.containers. (GAIE)
                  properties:
                    args:
                      description: |-
                        Args overrides the default frontend arguments. When specified, these replace
                        the default ["-m", "dynamo.frontend"] entirely.
                        For example, ["-m", "dynamo.frontend", "--router-mode", "direct"] for GAIE deployments.
                      items:
                        type: string
                      type: array
                    envFromSecret:
                      description: |-
                        EnvFromSecret references a Secret whose key/value pairs will be exposed as
                        environment variables in the frontend sidecar container.
                      type: string
                    envs:
                      description: |-
                        Envs defines additional environment variables for the frontend sidecar.
                        These are merged with (and can override) the auto-generated Dynamo env vars.
                      items:
                        description: EnvVar represents an environment variable present in a Container.
                        properties:
                          name:
                            description: |-
                              Name of the environment variable.
                              May consist of any printable ASCII characters except '='.
                            type: string
                          value:
                            description: |-
                              Variable references $(VAR_NAME) are expanded
                              using the previously defined environment variables in the container and
                              any service environment variables. If a variable cannot be resolved,
                              the reference in the input string will be unchanged. Double $$ are reduced
                              to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
                              "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
                              Escaped references will never be expanded, regardless of whether the variable
                              exists or not.
                              Defaults to "".
                            type: string
                          valueFrom:
                            description: Source for the environment variable's value. Cannot be used if value is not empty.
                            properties:
                              configMapKeyRef:
                                description: Selects a key of a ConfigMap.
                                properties:
                                  key:
                                    description: The key to select.
                                    type: string
                                  name:
                                    default: ""
                                    description: |-
                                      Name of the referent.
                                      This field is effectively required, but due to backwards compatibility is
                                      allowed to be empty. Instances of this type with an empty value here are
                                      almost certainly wrong.
                                      More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                    type: string
                                  optional:
                                    description: Specify whether the ConfigMap or its key must be defined
                                    type: boolean
                                required:
                                  - key
                                type: object
                                x-kubernetes-map-type: atomic
                              fieldRef:
                                description: |-
                                  Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
                                  spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
                                properties:
                                  apiVersion:
                                    description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
                                    type: string
                                  fieldPath:
                                    description: Path of the field to select in the specified API version.
                                    type: string
                                required:
                                  - fieldPath
                                type: object
                                x-kubernetes-map-type: atomic
                              fileKeyRef:
                                description: |-
                                  FileKeyRef selects a key of the env file.
                                  Requires the EnvFiles feature gate to be enabled.
                                properties:
                                  key:
                                    description: |-
                                      The key within the env file. An invalid key will prevent the pod from starting.
                                      The keys defined within a source may consist of any printable ASCII characters except '='.
                                      During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
                                    type: string
                                  optional:
                                    default: false
                                    description: |-
                                      Specify whether the file or its key must be defined. If the file or key
                                      does not exist, then the env var is not published.
                                      If optional is set to true and the specified key does not exist,
                                      the environment variable will not be set in the Pod's containers.

                                      If optional is set to false and the specified key does not exist,
                                      an error will be returned during Pod creation.
                                    type: boolean
                                  path:
                                    description: |-
                                      The path within the volume from which to select the file.
                                      Must be relative and may not contain the '..' path or start with '..'.
                                    type: string
                                  volumeName:
                                    description: The name of the volume mount containing the env file.
                                    type: string
                                required:
                                  - key
                                  - path
                                  - volumeName
                                type: object
                                x-kubernetes-map-type: atomic
                              resourceFieldRef:
                                description: |-
                                  Selects a resource of the container: only resources limits and requests
                                  (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
                                properties:
                                  containerName:
                                    description: 'Container name: required for volumes, optional for env vars'
                                    type: string
                                  divisor:
                                    anyOf:
                                      - type: integer
                                      - type: string
                                    description: Specifies the output format of the exposed resources, defaults to "1"
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                  resource:
                                    description: 'Required: resource to select'
                                    type: string
                                required:
                                  - resource
                                type: object
                                x-kubernetes-map-type: atomic
                              secretKeyRef:
                                description: Selects a key of a secret in the pod's namespace
                                properties:
                                  key:
                                    description: The key of the secret to select from.  Must be a valid secret key.
                                    type: string
                                  name:
                                    default: ""
                                    description: |-
                                      Name of the referent.
                                      This field is effectively required, but due to backwards compatibility is
                                      allowed to be empty. Instances of this type with an empty value here are
                                      almost certainly wrong.
                                      More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                                    type: string
                                  optional:
                                    description: Specify whether the Secret or its key must be defined
                                    type: boolean
                                required:
                                  - key
                                type: object
                                x-kubernetes-map-type: atomic
                            type: object
                        required:
                          - name
                        type: object
                      type: array
                    image:
                      description: Image is the container image for the frontend sidecar.
                      type: string
                  required:
                    - image
                  type: object
10727
10728
10729
                globalDynamoNamespace:
                  description: GlobalDynamoNamespace indicates that the Component will be placed in the global Dynamo namespace
                  type: boolean
10730
                ingress:
10731
                  description: Ingress config to expose the component outside the cluster (or through a service mesh).
10732
10733
10734
                  properties:
                    annotations:
                      additionalProperties:
10735
                        type: string
10736
                      description: Annotations to set on the generated Ingress/VirtualService resources.
10737
10738
                      type: object
                    enabled:
10739
                      description: Enabled exposes the component through an ingress or virtual service when true.
10740
10741
                      type: boolean
                    host:
10742
                      description: Host is the base host name to route external traffic to this component.
10743
10744
                      type: string
                    hostPrefix:
10745
                      description: HostPrefix is an optional prefix added before the host.
10746
10747
                      type: string
                    hostSuffix:
10748
                      description: HostSuffix is an optional suffix appended after the host.
10749
10750
                      type: string
                    ingressControllerClassName:
10751
                      description: IngressControllerClassName selects the ingress controller class (e.g., "nginx").
10752
10753
10754
                      type: string
                    labels:
                      additionalProperties:
10755
                        type: string
10756
                      description: Labels to set on the generated Ingress/VirtualService resources.
10757
10758
                      type: object
                    tls:
10759
                      description: TLS holds the TLS configuration used by the Ingress/VirtualService.
10760
10761
                      properties:
                        secretName:
10762
                          description: SecretName is the name of a Kubernetes Secret containing the TLS certificate and key.
10763
10764
10765
                          type: string
                      type: object
                    useVirtualService:
10766
                      description: UseVirtualService indicates whether to configure a service-mesh VirtualService instead of a standard Ingress.
10767
10768
                      type: boolean
                    virtualServiceGateway:
10769
                      description: VirtualServiceGateway optionally specifies the gateway name to attach the VirtualService to.
10770
                      type: string
10771
10772
10773
                  type: object
                labels:
                  additionalProperties:
10774
                    type: string
10775
                  description: Labels to add to generated Kubernetes resources for this component.
10776
10777
                  type: object
                livenessProbe:
10778
                  description: LivenessProbe to detect and restart unhealthy containers.
10779
10780
                  properties:
                    exec:
10781
                      description: Exec specifies a command to execute in the container.
10782
10783
                      properties:
                        command:
10784
10785
10786
10787
10788
10789
                          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.
10790
10791
10792
10793
10794
10795
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
                      type: object
                    failureThreshold:
10796
10797
10798
                      description: |-
                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                        Defaults to 3. Minimum value is 1.
10799
10800
10801
                      format: int32
                      type: integer
                    grpc:
10802
                      description: GRPC specifies a GRPC HealthCheckRequest.
10803
                      properties:
10804
                        port:
10805
                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
10806
10807
10808
10809
                          format: int32
                          type: integer
                        service:
                          default: ""
10810
10811
10812
10813
10814
                          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.
10815
                          type: string
10816
10817
10818
10819
                      required:
                        - port
                      type: object
                    httpGet:
10820
                      description: HTTPGet specifies an HTTP GET request to perform.
10821
10822
                      properties:
                        host:
10823
10824
10825
                          description: |-
                            Host name to connect to, defaults to the pod IP. You probably want to set
                            "Host" in httpHeaders instead.
10826
                          type: string
10827
                        httpHeaders:
10828
                          description: Custom headers to set in the request. HTTP allows repeated headers.
10829
                          items:
10830
                            description: HTTPHeader describes a custom header to be used in HTTP probes
10831
10832
                            properties:
                              name:
10833
10834
10835
                                description: |-
                                  The header field name.
                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
10836
10837
                                type: string
                              value:
10838
                                description: The header field value
10839
10840
10841
10842
10843
10844
10845
10846
                                type: string
                            required:
                              - name
                              - value
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        path:
10847
                          description: Path to access on the HTTP server.
10848
                          type: string
10849
10850
10851
10852
                        port:
                          anyOf:
                            - type: integer
                            - type: string
10853
10854
10855
10856
                          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.
10857
10858
                          x-kubernetes-int-or-string: true
                        scheme:
10859
10860
10861
                          description: |-
                            Scheme to use for connecting to the host.
                            Defaults to HTTP.
10862
                          type: string
10863
10864
                      required:
                        - port
10865
                      type: object
10866
                    initialDelaySeconds:
10867
10868
10869
                      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
10870
10871
10872
                      format: int32
                      type: integer
                    periodSeconds:
10873
10874
10875
                      description: |-
                        How often (in seconds) to perform the probe.
                        Default to 10 seconds. Minimum value is 1.
10876
10877
10878
                      format: int32
                      type: integer
                    successThreshold:
10879
10880
10881
                      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.
10882
10883
10884
                      format: int32
                      type: integer
                    tcpSocket:
10885
                      description: TCPSocket specifies a connection to a TCP port.
10886
                      properties:
10887
                        host:
10888
                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
10889
10890
10891
10892
10893
                          type: string
                        port:
                          anyOf:
                            - type: integer
                            - type: string
10894
10895
10896
10897
                          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.
10898
10899
10900
10901
10902
                          x-kubernetes-int-or-string: true
                      required:
                        - port
                      type: object
                    terminationGracePeriodSeconds:
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
                      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.
10914
10915
10916
                      format: int64
                      type: integer
                    timeoutSeconds:
10917
10918
10919
10920
                      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
10921
10922
10923
                      format: int32
                      type: integer
                  type: object
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
                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
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
                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
10953
                readinessProbe:
10954
                  description: ReadinessProbe to signal when the container is ready to receive traffic.
10955
10956
                  properties:
                    exec:
10957
                      description: Exec specifies a command to execute in the container.
10958
10959
                      properties:
                        command:
10960
10961
10962
10963
10964
10965
                          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.
10966
10967
10968
10969
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
10970
10971
                      type: object
                    failureThreshold:
10972
10973
10974
                      description: |-
                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                        Defaults to 3. Minimum value is 1.
10975
10976
10977
                      format: int32
                      type: integer
                    grpc:
10978
                      description: GRPC specifies a GRPC HealthCheckRequest.
10979
10980
                      properties:
                        port:
10981
                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
10982
10983
                          format: int32
                          type: integer
10984
10985
                        service:
                          default: ""
10986
10987
10988
10989
10990
                          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.
10991
                          type: string
10992
10993
10994
10995
                      required:
                        - port
                      type: object
                    httpGet:
10996
                      description: HTTPGet specifies an HTTP GET request to perform.
10997
10998
                      properties:
                        host:
10999
11000
11001
                          description: |-
                            Host name to connect to, defaults to the pod IP. You probably want to set
                            "Host" in httpHeaders instead.
11002
                          type: string
11003
                        httpHeaders:
11004
                          description: Custom headers to set in the request. HTTP allows repeated headers.
11005
                          items:
11006
                            description: HTTPHeader describes a custom header to be used in HTTP probes
11007
11008
                            properties:
                              name:
11009
11010
11011
                                description: |-
                                  The header field name.
                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
11012
11013
                                type: string
                              value:
11014
                                description: The header field value
11015
11016
11017
11018
11019
11020
11021
11022
                                type: string
                            required:
                              - name
                              - value
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        path:
11023
                          description: Path to access on the HTTP server.
11024
                          type: string
11025
11026
11027
11028
                        port:
                          anyOf:
                            - type: integer
                            - type: string
11029
11030
11031
11032
                          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.
11033
11034
                          x-kubernetes-int-or-string: true
                        scheme:
11035
11036
11037
                          description: |-
                            Scheme to use for connecting to the host.
                            Defaults to HTTP.
11038
11039
                          type: string
                      required:
11040
                        - port
11041
                      type: object
11042
                    initialDelaySeconds:
11043
11044
11045
                      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
11046
11047
11048
                      format: int32
                      type: integer
                    periodSeconds:
11049
11050
11051
                      description: |-
                        How often (in seconds) to perform the probe.
                        Default to 10 seconds. Minimum value is 1.
11052
11053
11054
                      format: int32
                      type: integer
                    successThreshold:
11055
11056
11057
                      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.
11058
11059
11060
                      format: int32
                      type: integer
                    tcpSocket:
11061
                      description: TCPSocket specifies a connection to a TCP port.
11062
11063
                      properties:
                        host:
11064
                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
11065
                          type: string
11066
11067
11068
11069
                        port:
                          anyOf:
                            - type: integer
                            - type: string
11070
11071
11072
11073
                          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.
11074
11075
11076
11077
11078
                          x-kubernetes-int-or-string: true
                      required:
                        - port
                      type: object
                    terminationGracePeriodSeconds:
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
                      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.
11090
11091
11092
                      format: int64
                      type: integer
                    timeoutSeconds:
11093
11094
11095
11096
                      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
11097
11098
11099
11100
                      format: int32
                      type: integer
                  type: object
                replicas:
11101
11102
                  description: |-
                    Replicas is the desired number of Pods for this component.
11103
                    When scalingAdapter is enabled, this field is managed by the
11104
                    DynamoGraphDeploymentScalingAdapter and should not be modified directly.
11105
                  format: int32
11106
                  minimum: 0
11107
11108
                  type: integer
                resources:
11109
11110
11111
                  description: |-
                    Resources requested and limits for this component, including CPU, memory,
                    GPUs/devices, and any runtime-specific resources.
11112
                  properties:
11113
                    claims:
11114
                      description: Claims specifies resource claims for dynamic resource allocation
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
                      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
11134
                    limits:
11135
                      description: Limits specifies the maximum resources allowed for the component
11136
11137
                      properties:
                        cpu:
11138
                          description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
11139
11140
11141
11142
                          type: string
                        custom:
                          additionalProperties:
                            type: string
11143
                          description: Custom specifies additional custom resource requests/limits
11144
                          type: object
11145
                        gpu:
11146
                          description: |-
11147
11148
11149
11150
11151
11152
11153
                            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"
11154
                          type: string
11155
                        memory:
11156
                          description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
11157
11158
11159
                          type: string
                      type: object
                    requests:
11160
                      description: Requests specifies the minimum resources required by the component
11161
11162
                      properties:
                        cpu:
11163
                          description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
11164
11165
11166
11167
                          type: string
                        custom:
                          additionalProperties:
                            type: string
11168
                          description: Custom specifies additional custom resource requests/limits
11169
                          type: object
11170
                        gpu:
11171
                          description: |-
11172
11173
11174
11175
11176
11177
11178
                            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"
11179
                          type: string
11180
                        memory:
11181
                          description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
11182
11183
11184
                          type: string
                      type: object
                  type: object
11185
11186
11187
                scalingAdapter:
                  description: |-
                    ScalingAdapter configures whether this service uses the DynamoGraphDeploymentScalingAdapter.
11188
                    When enabled, replicas are managed via DGDSA and external autoscalers can scale
11189
11190
                    the service using the Scale subresource. When disabled, replicas can be modified directly.
                  properties:
11191
                    enabled:
11192
11193
                      default: false
                      description: |-
11194
11195
11196
                        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.
11197
11198
                      type: boolean
                  type: object
11199
                serviceName:
11200
                  description: The name of the component
11201
                  type: string
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
                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
11214
11215
11216
                  x-kubernetes-validations:
                    - message: sharedMemory.size must not be set when sharedMemory.disabled is true
                      rule: '!(self.disabled && has(self.size))'
11217
11218
11219
                subComponentType:
                  description: SubComponentType indicates the sub-role of this component (for example, "prefill").
                  type: string
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
                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
11244
11245
              type: object
            status:
11246
              description: Status reflects the current observed state of the component deployment.
11247
11248
              properties:
                conditions:
11249
11250
11251
                  description: |-
                    Conditions captures the latest observed state of the component (including
                    availability and readiness) using standard Kubernetes condition types.
11252
                  items:
11253
                    description: Condition contains details for one aspect of the current state of this API Resource.
11254
11255
                    properties:
                      lastTransitionTime:
11256
11257
11258
                        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.
11259
                        format: date-time
11260
                        type: string
11261
                      message:
11262
11263
11264
                        description: |-
                          message is a human readable message indicating details about the transition.
                          This may be an empty string.
11265
                        maxLength: 32768
11266
                        type: string
11267
                      observedGeneration:
11268
11269
11270
11271
                        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.
11272
11273
11274
11275
                        format: int64
                        minimum: 0
                        type: integer
                      reason:
11276
11277
11278
11279
11280
11281
                        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.
11282
11283
11284
                        maxLength: 1024
                        minLength: 1
                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
11285
                        type: string
11286
                      status:
11287
                        description: status of the condition, one of True, False, Unknown.
11288
11289
11290
11291
                        enum:
                          - "True"
                          - "False"
                          - Unknown
11292
                        type: string
11293
                      type:
11294
                        description: type of condition in CamelCase or in foo.example.com/CamelCase.
11295
11296
                        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])$
11297
                        type: string
11298
11299
11300
11301
11302
11303
                    required:
                      - lastTransitionTime
                      - message
                      - reason
                      - status
                      - type
11304
                    type: object
11305
                  type: array
11306
11307
11308
11309
                observedGeneration:
                  description: ObservedGeneration is the most recent generation observed by the controller.
                  format: int64
                  type: integer
11310
11311
11312
                podSelector:
                  additionalProperties:
                    type: string
11313
11314
11315
                  description: |-
                    PodSelector contains the labels that can be used to select Pods belonging to
                    this component deployment.
11316
                  type: object
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
                service:
                  description: Service contains replica status information for this 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:
11339
11340
11341
11342
                      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.
11343
                      type: string
11344
11345
11346
11347
11348
11349
11350
11351
                    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
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
                    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
11381
11382
11383
11384
11385
11386
11387
11388
              required:
                - conditions
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}