nvidia.com_dynamocomponentdeployments.yaml 743 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/pages/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
681
682
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
                checkpoint:
                  description: |-
                    Checkpoint configures container checkpointing for this service.
                    When enabled, pods can be restored from a checkpoint files for faster cold start.
                  properties:
                    checkpointRef:
                      description: |-
                        CheckpointRef references an existing Checkpoint CR to use
                        If specified, Identity is ignored and this checkpoint is used directly
                      type: string
                    enabled:
                      default: false
                      description: Enabled indicates whether checkpointing is enabled for this service
                      type: boolean
                    identity:
                      description: |-
                        Identity defines the checkpoint identity for hash computation
                        Used when Mode is Auto or when looking up existing checkpoints
                        Required when checkpointRef is not specified
                      properties:
                        backendFramework:
                          description: BackendFramework is the runtime framework (vllm, sglang, trtllm)
                          enum:
                            - vllm
                            - sglang
                            - trtllm
                          type: string
                        dtype:
                          description: Dtype is the data type (fp16, bf16, fp8, etc.)
                          type: string
                        dynamoVersion:
                          description: |-
                            DynamoVersion is the Dynamo platform version (optional)
                            If not specified, version is not included in identity hash
                            This ensures checkpoint compatibility across Dynamo releases
                          type: string
                        extraParameters:
                          additionalProperties:
                            type: string
                          description: |-
                            ExtraParameters are additional parameters that affect the checkpoint hash
                            Use for any framework-specific or custom parameters not covered above
                          type: object
                        maxModelLen:
                          description: MaxModelLen is the maximum sequence length
                          format: int32
                          minimum: 1
                          type: integer
                        model:
                          description: Model is the model identifier (e.g., "meta-llama/Llama-3-70B")
                          type: string
                        pipelineParallelSize:
                          default: 1
                          description: PipelineParallelSize is the pipeline parallel configuration
                          format: int32
                          minimum: 1
                          type: integer
                        tensorParallelSize:
                          default: 1
                          description: TensorParallelSize is the tensor parallel configuration
                          format: int32
                          minimum: 1
                          type: integer
                      required:
                        - backendFramework
                        - model
                      type: object
                    mode:
                      default: Auto
                      description: |-
                        Mode defines how checkpoint creation is handled
                        - Auto: DGD controller creates Checkpoint CR automatically
                        - Manual: User must create Checkpoint CR
                      enum:
                        - Auto
                        - Manual
                      type: string
                  type: object
                  x-kubernetes-validations:
                    - message: When enabled, either checkpointRef or both identity.model and identity.backendFramework must be specified
                      rule: '!self.enabled || (has(self.checkpointRef) && size(self.checkpointRef) > 0) || (has(self.identity) && has(self.identity.model) && has(self.identity.backendFramework))'
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
967
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
1069
                eppConfig:
                  description: |-
                    EPPConfig defines EPP-specific configuration options for Endpoint Picker Plugin components.
                    Only applicable when ComponentType is "epp".
                  properties:
                    config:
                      description: |-
                        Config allows specifying EPP EndpointPickerConfig directly as a structured object.
                        The operator will marshal this to YAML and create a ConfigMap automatically.
                        Mutually exclusive with ConfigMapRef.
                        One of ConfigMapRef or Config must be specified (no default configuration).
                        Uses the upstream type from github.com/kubernetes-sigs/gateway-api-inference-extension
                      properties:
                        apiVersion:
                          description: |-
                            APIVersion defines the versioned schema of this representation of an object.
                            Servers should convert recognized schemas to the latest internal value, and
                            may reject unrecognized values.
                            More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
                          type: string
                        featureGates:
                          description: |-
                            FeatureGates is a set of flags that enable various experimental features with the EPP.
                            If omitted non of these experimental features will be enabled.
                          items:
                            type: string
                          type: array
                        kind:
                          description: |-
                            Kind is a string value representing the REST resource this object represents.
                            Servers may infer this from the endpoint the client submits requests to.
                            Cannot be updated.
                            In CamelCase.
                            More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
                          type: string
                        plugins:
                          description: Plugins is the list of plugins that will be instantiated.
                          items:
                            description: |-
                              PluginSpec contains the information that describes a plugin that
                              will be instantiated.
                            properties:
                              name:
                                description: |-
                                  Name provides a name for plugin entries to reference. If
                                  omitted, the value of the Plugin's Type field will be used.
                                type: string
                              parameters:
                                description: |-
                                  Parameters are the set of parameters to be passed to the plugin's
                                  factory function. The factory function is responsible
                                  to parse the parameters.
                                format: byte
                                type: string
                              type:
                                description: Type specifies the plugin type to be instantiated.
                                type: string
                            required:
                              - type
                            type: object
                          type: array
                        saturationDetector:
                          description: |-
                            SaturationDetector when present specifies the configuration of the
                            Saturation detector. If not present, default values are used.
                          properties:
                            kvCacheUtilThreshold:
                              description: |-
                                KVCacheUtilThreshold defines the KV cache utilization (0.0 to 1.0) above
                                which a pod is considered to have insufficient capacity.
                              type: number
                            metricsStalenessThreshold:
                              description: |-
                                MetricsStalenessThreshold defines how old a pod's metrics can be.
                                If a pod's metrics are older than this, it might be excluded from
                                "good capacity" considerations or treated as having no capacity for
                                safety.
                              type: string
                            queueDepthThreshold:
                              description: |-
                                QueueDepthThreshold defines the backend waiting queue size above which a
                                pod is considered to have insufficient capacity for new requests.
                              type: integer
                          type: object
                        schedulingProfiles:
                          description: |-
                            SchedulingProfiles is the list of named SchedulingProfiles
                            that will be created.
                          items:
                            description: |-
                              SchedulingProfile contains the information to create a SchedulingProfile
                              entry to be used by the scheduler.
                            properties:
                              name:
                                description: Name specifies the name of this SchedulingProfile
                                type: string
                              plugins:
                                description: |-
                                  Plugins is the list of plugins for this SchedulingProfile. They are assigned
                                  to the appropriate "slots" based on their type.
                                items:
                                  description: |-
                                    SchedulingPlugin describes a plugin that will be associated with a
                                    SchedulingProfile entry.
                                  properties:
                                    pluginRef:
                                      description: |-
                                        PluginRef specifies a partiular Plugin instance to be associated with
                                        this SchedulingProfile. The reference is to the name of an
                                        entry of the Plugins defined in the configuration's Plugins
                                        section
                                      type: string
                                    weight:
                                      description: Weight is the weight fo be used if this plugin is a Scorer.
                                      type: integer
                                  required:
                                    - pluginRef
                                  type: object
                                type: array
                            required:
                              - name
                              - plugins
                            type: object
                          type: array
                      required:
                        - plugins
                        - schedulingProfiles
                      type: object
                      x-kubernetes-preserve-unknown-fields: true
                    configMapRef:
                      description: |-
                        ConfigMapRef references a user-provided ConfigMap containing EPP configuration.
                        The ConfigMap should contain EndpointPickerConfig YAML.
                        Mutually exclusive with Config.
                      properties:
                        key:
                          description: The key to select.
                          type: string
                        name:
                          default: ""
                          description: |-
                            Name of the referent.
                            This field is effectively required, but due to backwards compatibility is
                            allowed to be empty. Instances of this type with an empty value here are
                            almost certainly wrong.
                            More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
                          type: string
                        optional:
                          description: Specify whether the ConfigMap or its key must be defined
                          type: boolean
                      required:
                        - key
                      type: object
                      x-kubernetes-map-type: atomic
                  type: object
1070
                extraPodMetadata:
1071
                  description: ExtraPodMetadata adds labels/annotations to the created Pods.
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
                  properties:
                    annotations:
                      additionalProperties:
                        type: string
                      type: object
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                  type: object
                extraPodSpec:
1083
                  description: |-
1084
1085
1086
                    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.
1087
                  properties:
1088
                    activeDeadlineSeconds:
1089
1090
1091
1092
                      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.
1093
1094
                      format: int64
                      type: integer
1095
                    affinity:
1096
                      description: If specified, the pod's scheduling constraints
1097
1098
                      properties:
                        nodeAffinity:
1099
                          description: Describes node affinity scheduling rules for the pod.
1100
1101
                          properties:
                            preferredDuringSchedulingIgnoredDuringExecution:
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
                              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.
1112
                              items:
1113
1114
1115
                                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).
1116
1117
                                properties:
                                  preference:
1118
                                    description: A node selector term, associated with the corresponding weight.
1119
1120
                                    properties:
                                      matchExpressions:
1121
                                        description: A list of node selector requirements by node's labels.
1122
                                        items:
1123
1124
1125
                                          description: |-
                                            A node selector requirement is a selector that contains values, a key, and an operator
                                            that relates the key and values.
1126
1127
                                          properties:
                                            key:
1128
                                              description: The label key that the selector applies to.
1129
1130
                                              type: string
                                            operator:
1131
1132
1133
                                              description: |-
                                                Represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1134
1135
                                              type: string
                                            values:
1136
1137
1138
1139
1140
1141
                                              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.
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          required:
                                            - key
                                            - operator
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      matchFields:
1153
                                        description: A list of node selector requirements by node's fields.
1154
                                        items:
1155
1156
1157
                                          description: |-
                                            A node selector requirement is a selector that contains values, a key, and an operator
                                            that relates the key and values.
1158
1159
                                          properties:
                                            key:
1160
                                              description: The label key that the selector applies to.
1161
1162
                                              type: string
                                            operator:
1163
1164
1165
                                              description: |-
                                                Represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1166
1167
                                              type: string
                                            values:
1168
1169
1170
1171
1172
1173
                                              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.
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
                                              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:
1187
                                    description: Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
1188
1189
1190
1191
1192
1193
1194
1195
1196
                                    format: int32
                                    type: integer
                                required:
                                  - preference
                                  - weight
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                            requiredDuringSchedulingIgnoredDuringExecution:
1197
1198
1199
1200
1201
1202
                              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.
1203
1204
                              properties:
                                nodeSelectorTerms:
1205
                                  description: Required. A list of node selector terms. The terms are ORed.
1206
                                  items:
1207
1208
1209
1210
                                    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.
1211
1212
                                    properties:
                                      matchExpressions:
1213
                                        description: A list of node selector requirements by node's labels.
1214
                                        items:
1215
1216
1217
                                          description: |-
                                            A node selector requirement is a selector that contains values, a key, and an operator
                                            that relates the key and values.
1218
1219
                                          properties:
                                            key:
1220
                                              description: The label key that the selector applies to.
1221
1222
                                              type: string
                                            operator:
1223
1224
1225
                                              description: |-
                                                Represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1226
1227
                                              type: string
                                            values:
1228
1229
1230
1231
1232
1233
                                              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.
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          required:
                                            - key
                                            - operator
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      matchFields:
1245
                                        description: A list of node selector requirements by node's fields.
1246
                                        items:
1247
1248
1249
                                          description: |-
                                            A node selector requirement is a selector that contains values, a key, and an operator
                                            that relates the key and values.
1250
1251
                                          properties:
                                            key:
1252
                                              description: The label key that the selector applies to.
1253
1254
                                              type: string
                                            operator:
1255
1256
1257
                                              description: |-
                                                Represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
1258
1259
                                              type: string
                                            values:
1260
1261
1262
1263
1264
1265
                                              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.
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
                                              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:
1286
                          description: Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
1287
1288
                          properties:
                            preferredDuringSchedulingIgnoredDuringExecution:
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
                              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.
1299
                              items:
1300
                                description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1301
1302
                                properties:
                                  podAffinityTerm:
1303
                                    description: Required. A pod affinity term, associated with the corresponding weight.
1304
1305
                                    properties:
                                      labelSelector:
1306
1307
1308
                                        description: |-
                                          A label query over a set of resources, in this case pods.
                                          If it's null, this PodAffinityTerm matches with no Pods.
1309
1310
                                        properties:
                                          matchExpressions:
1311
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1312
                                            items:
1313
1314
1315
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
1316
1317
                                              properties:
                                                key:
1318
                                                  description: key is the label key that the selector applies to.
1319
1320
                                                  type: string
                                                operator:
1321
1322
1323
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
1324
1325
                                                  type: string
                                                values:
1326
1327
1328
1329
1330
                                                  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.
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
                                                  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
1344
1345
1346
1347
                                            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.
1348
1349
1350
1351
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      matchLabelKeys:
1352
1353
1354
1355
1356
1357
1358
1359
1360
                                        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.
1361
1362
1363
1364
1365
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      mismatchLabelKeys:
1366
1367
1368
1369
1370
1371
1372
1373
1374
                                        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.
1375
1376
1377
1378
1379
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      namespaceSelector:
1380
1381
1382
1383
1384
1385
                                        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.
1386
1387
                                        properties:
                                          matchExpressions:
1388
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1389
                                            items:
1390
1391
1392
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
1393
1394
                                              properties:
                                                key:
1395
                                                  description: key is the label key that the selector applies to.
1396
1397
                                                  type: string
                                                operator:
1398
1399
1400
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
1401
1402
                                                  type: string
                                                values:
1403
1404
1405
1406
1407
                                                  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.
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
                                                  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
1421
1422
1423
1424
                                            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.
1425
1426
1427
1428
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      namespaces:
1429
1430
1431
1432
1433
                                        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".
1434
1435
1436
1437
1438
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      topologyKey:
1439
1440
1441
1442
1443
1444
                                        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.
1445
1446
1447
1448
1449
                                        type: string
                                    required:
                                      - topologyKey
                                    type: object
                                  weight:
1450
1451
1452
                                    description: |-
                                      weight associated with matching the corresponding podAffinityTerm,
                                      in the range 1-100.
1453
1454
1455
1456
1457
1458
1459
1460
1461
                                    format: int32
                                    type: integer
                                required:
                                  - podAffinityTerm
                                  - weight
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                            requiredDuringSchedulingIgnoredDuringExecution:
1462
1463
1464
1465
1466
1467
1468
1469
                              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.
1470
                              items:
1471
1472
1473
1474
1475
1476
1477
                                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
1478
1479
                                properties:
                                  labelSelector:
1480
1481
1482
                                    description: |-
                                      A label query over a set of resources, in this case pods.
                                      If it's null, this PodAffinityTerm matches with no Pods.
1483
1484
                                    properties:
                                      matchExpressions:
1485
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1486
                                        items:
1487
1488
1489
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
1490
1491
                                          properties:
                                            key:
1492
                                              description: key is the label key that the selector applies to.
1493
1494
                                              type: string
                                            operator:
1495
1496
1497
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
1498
1499
                                              type: string
                                            values:
1500
1501
1502
1503
1504
                                              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.
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
                                              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
1518
1519
1520
1521
                                        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.
1522
1523
1524
1525
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  matchLabelKeys:
1526
1527
1528
1529
1530
1531
1532
1533
1534
                                    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.
1535
1536
1537
1538
1539
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  mismatchLabelKeys:
1540
1541
1542
1543
1544
1545
1546
1547
1548
                                    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.
1549
1550
1551
1552
1553
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  namespaceSelector:
1554
1555
1556
1557
1558
1559
                                    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.
1560
1561
                                    properties:
                                      matchExpressions:
1562
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1563
                                        items:
1564
1565
1566
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
1567
1568
                                          properties:
                                            key:
1569
                                              description: key is the label key that the selector applies to.
1570
1571
                                              type: string
                                            operator:
1572
1573
1574
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
1575
1576
                                              type: string
                                            values:
1577
1578
1579
1580
1581
                                              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.
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
                                              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
1595
1596
1597
1598
                                        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.
1599
1600
1601
1602
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  namespaces:
1603
1604
1605
1606
1607
                                    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".
1608
1609
1610
1611
1612
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  topologyKey:
1613
1614
1615
1616
1617
1618
                                    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.
1619
1620
1621
1622
1623
1624
1625
1626
                                    type: string
                                required:
                                  - topologyKey
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                          type: object
                        podAntiAffinity:
1627
                          description: Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
1628
1629
                          properties:
                            preferredDuringSchedulingIgnoredDuringExecution:
1630
1631
1632
1633
1634
1635
1636
                              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.),
1637
1638
                                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
1639
                                node(s) with the highest sum are the most preferred.
1640
                              items:
1641
                                description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1642
1643
                                properties:
                                  podAffinityTerm:
1644
                                    description: Required. A pod affinity term, associated with the corresponding weight.
1645
1646
                                    properties:
                                      labelSelector:
1647
1648
1649
                                        description: |-
                                          A label query over a set of resources, in this case pods.
                                          If it's null, this PodAffinityTerm matches with no Pods.
1650
1651
                                        properties:
                                          matchExpressions:
1652
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1653
                                            items:
1654
1655
1656
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
1657
1658
                                              properties:
                                                key:
1659
                                                  description: key is the label key that the selector applies to.
1660
1661
                                                  type: string
                                                operator:
1662
1663
1664
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
1665
1666
                                                  type: string
                                                values:
1667
1668
1669
1670
1671
                                                  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.
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
                                                  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
1685
1686
1687
1688
                                            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.
1689
1690
1691
1692
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      matchLabelKeys:
1693
1694
1695
1696
1697
1698
1699
1700
1701
                                        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.
1702
1703
1704
1705
1706
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      mismatchLabelKeys:
1707
1708
1709
1710
1711
1712
1713
1714
1715
                                        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.
1716
1717
1718
1719
1720
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      namespaceSelector:
1721
1722
1723
1724
1725
1726
                                        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.
1727
1728
                                        properties:
                                          matchExpressions:
1729
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1730
                                            items:
1731
1732
1733
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
1734
1735
                                              properties:
                                                key:
1736
                                                  description: key is the label key that the selector applies to.
1737
1738
                                                  type: string
                                                operator:
1739
1740
1741
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
1742
1743
                                                  type: string
                                                values:
1744
1745
1746
1747
1748
                                                  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.
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
                                                  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
1762
1763
1764
1765
                                            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.
1766
1767
1768
1769
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      namespaces:
1770
1771
1772
1773
1774
                                        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".
1775
1776
1777
1778
1779
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      topologyKey:
1780
1781
1782
1783
1784
1785
                                        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.
1786
1787
1788
1789
1790
                                        type: string
                                    required:
                                      - topologyKey
                                    type: object
                                  weight:
1791
1792
1793
                                    description: |-
                                      weight associated with matching the corresponding podAffinityTerm,
                                      in the range 1-100.
1794
1795
1796
1797
1798
1799
1800
1801
1802
                                    format: int32
                                    type: integer
                                required:
                                  - podAffinityTerm
                                  - weight
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                            requiredDuringSchedulingIgnoredDuringExecution:
1803
1804
1805
1806
1807
1808
1809
1810
                              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.
1811
                              items:
1812
1813
1814
1815
1816
1817
1818
                                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
1819
1820
                                properties:
                                  labelSelector:
1821
1822
1823
                                    description: |-
                                      A label query over a set of resources, in this case pods.
                                      If it's null, this PodAffinityTerm matches with no Pods.
1824
1825
                                    properties:
                                      matchExpressions:
1826
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1827
                                        items:
1828
1829
1830
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
1831
1832
                                          properties:
                                            key:
1833
                                              description: key is the label key that the selector applies to.
1834
1835
                                              type: string
                                            operator:
1836
1837
1838
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
1839
1840
                                              type: string
                                            values:
1841
1842
1843
1844
1845
                                              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.
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
                                              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
1859
1860
1861
1862
                                        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.
1863
1864
1865
1866
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  matchLabelKeys:
1867
1868
1869
1870
1871
1872
1873
1874
1875
                                    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.
1876
1877
1878
1879
1880
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  mismatchLabelKeys:
1881
1882
1883
1884
1885
1886
1887
1888
1889
                                    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.
1890
1891
1892
1893
1894
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  namespaceSelector:
1895
1896
1897
1898
1899
1900
                                    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.
1901
1902
                                    properties:
                                      matchExpressions:
1903
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1904
                                        items:
1905
1906
1907
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
1908
1909
                                          properties:
                                            key:
1910
                                              description: key is the label key that the selector applies to.
1911
1912
                                              type: string
                                            operator:
1913
1914
1915
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
1916
1917
                                              type: string
                                            values:
1918
1919
1920
1921
1922
                                              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.
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
                                              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
1936
1937
1938
1939
                                        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.
1940
1941
1942
1943
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  namespaces:
1944
1945
1946
1947
1948
                                    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".
1949
1950
1951
1952
1953
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  topologyKey:
1954
1955
1956
1957
1958
1959
                                    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.
1960
1961
1962
1963
1964
1965
1966
1967
                                    type: string
                                required:
                                  - topologyKey
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                          type: object
                      type: object
1968
                    automountServiceAccountToken:
1969
                      description: AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
1970
                      type: boolean
1971
                    containers:
1972
1973
1974
1975
1976
                      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.
1977
                      items:
1978
                        description: A single application container that you want to run within a pod.
1979
                        properties:
1980
                          args:
1981
1982
1983
1984
1985
1986
1987
1988
1989
                            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
1990
                            items:
1991
                              type: string
1992
1993
                            type: array
                            x-kubernetes-list-type: atomic
1994
                          command:
1995
1996
1997
1998
1999
2000
2001
2002
2003
                            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
2004
                            items:
2005
                              type: string
2006
2007
                            type: array
                            x-kubernetes-list-type: atomic
2008
                          env:
2009
2010
2011
                            description: |-
                              List of environment variables to set in the container.
                              Cannot be updated.
2012
                            items:
2013
                              description: EnvVar represents an environment variable present in a Container.
2014
                              properties:
2015
                                name:
2016
2017
2018
                                  description: |-
                                    Name of the environment variable.
                                    May consist of any printable ASCII characters except '='.
2019
2020
                                  type: string
                                value:
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
                                  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 "".
2031
                                  type: string
2032
                                valueFrom:
2033
                                  description: Source for the environment variable's value. Cannot be used if value is not empty.
2034
                                  properties:
2035
                                    configMapKeyRef:
2036
                                      description: Selects a key of a ConfigMap.
2037
2038
                                      properties:
                                        key:
2039
                                          description: The key to select.
2040
2041
2042
                                          type: string
                                        name:
                                          default: ""
2043
2044
2045
2046
2047
2048
                                          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
2049
2050
                                          type: string
                                        optional:
2051
                                          description: Specify whether the ConfigMap or its key must be defined
2052
2053
2054
2055
2056
2057
                                          type: boolean
                                      required:
                                        - key
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    fieldRef:
2058
2059
2060
                                      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.
2061
2062
                                      properties:
                                        apiVersion:
2063
                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
2064
2065
                                          type: string
                                        fieldPath:
2066
                                          description: Path of the field to select in the specified API version.
2067
2068
2069
2070
2071
                                          type: string
                                      required:
                                        - fieldPath
                                      type: object
                                      x-kubernetes-map-type: atomic
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
2107
                                    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
2108
                                    resourceFieldRef:
2109
2110
2111
                                      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.
2112
2113
                                      properties:
                                        containerName:
2114
                                          description: 'Container name: required for volumes, optional for env vars'
2115
2116
2117
2118
2119
                                          type: string
                                        divisor:
                                          anyOf:
                                            - type: integer
                                            - type: string
2120
                                          description: Specifies the output format of the exposed resources, defaults to "1"
2121
2122
2123
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        resource:
2124
                                          description: 'Required: resource to select'
2125
2126
2127
2128
2129
2130
                                          type: string
                                      required:
                                        - resource
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    secretKeyRef:
2131
                                      description: Selects a key of a secret in the pod's namespace
2132
2133
                                      properties:
                                        key:
2134
                                          description: The key of the secret to select from.  Must be a valid secret key.
2135
2136
2137
                                          type: string
                                        name:
                                          default: ""
2138
2139
2140
2141
2142
2143
                                          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
2144
2145
                                          type: string
                                        optional:
2146
                                          description: Specify whether the Secret or its key must be defined
2147
2148
                                          type: boolean
                                      required:
2149
2150
                                        - key
                                      type: object
2151
                                      x-kubernetes-map-type: atomic
2152
2153
                                  type: object
                              required:
2154
                                - name
2155
                              type: object
2156
2157
                            type: array
                            x-kubernetes-list-map-keys:
2158
                              - name
2159
2160
                            x-kubernetes-list-type: map
                          envFrom:
2161
2162
                            description: |-
                              List of sources to populate environment variables in the container.
2163
2164
                              The keys defined within a source may consist of any printable ASCII characters except '='.
                              When a key exists in multiple
2165
2166
2167
                              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.
2168
                            items:
2169
                              description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
2170
                              properties:
2171
                                configMapRef:
2172
                                  description: The ConfigMap to select from
2173
                                  properties:
2174
2175
                                    name:
                                      default: ""
2176
2177
2178
2179
2180
2181
                                      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
2182
2183
                                      type: string
                                    optional:
2184
                                      description: Specify whether the ConfigMap must be defined
2185
                                      type: boolean
2186
2187
                                  type: object
                                  x-kubernetes-map-type: atomic
2188
                                prefix:
2189
2190
2191
                                  description: |-
                                    Optional text to prepend to the name of each environment variable.
                                    May consist of any printable ASCII characters except '='.
2192
                                  type: string
2193
                                secretRef:
2194
                                  description: The Secret to select from
2195
2196
2197
                                  properties:
                                    name:
                                      default: ""
2198
2199
2200
2201
2202
2203
                                      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
2204
2205
                                      type: string
                                    optional:
2206
                                      description: Specify whether the Secret must be defined
2207
2208
2209
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
2210
                              type: object
2211
2212
2213
                            type: array
                            x-kubernetes-list-type: atomic
                          image:
2214
2215
2216
2217
2218
                            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.
2219
2220
                            type: string
                          imagePullPolicy:
2221
2222
2223
2224
2225
2226
                            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
2227
2228
                            type: string
                          lifecycle:
2229
2230
2231
                            description: |-
                              Actions that the management system should take in response to container lifecycle events.
                              Cannot be updated.
2232
2233
                            properties:
                              postStart:
2234
2235
2236
2237
2238
                                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
2239
2240
                                properties:
                                  exec:
2241
                                    description: Exec specifies a command to execute in the container.
2242
2243
                                    properties:
                                      command:
2244
2245
2246
2247
2248
2249
                                        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.
2250
2251
2252
2253
2254
2255
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
2256
                                    description: HTTPGet specifies an HTTP GET request to perform.
2257
2258
                                    properties:
                                      host:
2259
2260
2261
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
2262
2263
                                        type: string
                                      httpHeaders:
2264
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
2265
                                        items:
2266
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
2267
2268
                                          properties:
                                            name:
2269
2270
2271
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
2272
                                              type: string
2273
                                            value:
2274
                                              description: The header field value
2275
2276
2277
2278
2279
2280
2281
2282
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
2283
                                        description: Path to access on the HTTP server.
2284
2285
2286
2287
2288
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
2289
2290
2291
2292
                                        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.
2293
2294
                                        x-kubernetes-int-or-string: true
                                      scheme:
2295
2296
2297
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
2298
2299
2300
2301
2302
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  sleep:
2303
                                    description: Sleep represents a duration that the container should sleep.
2304
2305
                                    properties:
                                      seconds:
2306
                                        description: Seconds is the number of seconds to sleep.
2307
2308
2309
2310
2311
2312
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
2313
2314
2315
2316
                                    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.
2317
2318
                                    properties:
                                      host:
2319
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
2320
2321
2322
2323
2324
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
2325
2326
2327
2328
                                        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.
2329
2330
2331
2332
2333
2334
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
                              preStop:
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
                                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
2345
2346
                                properties:
                                  exec:
2347
                                    description: Exec specifies a command to execute in the container.
2348
2349
                                    properties:
                                      command:
2350
2351
2352
2353
2354
2355
                                        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.
2356
2357
2358
2359
2360
2361
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
2362
                                    description: HTTPGet specifies an HTTP GET request to perform.
2363
2364
                                    properties:
                                      host:
2365
2366
2367
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
2368
2369
                                        type: string
                                      httpHeaders:
2370
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
2371
                                        items:
2372
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
2373
2374
                                          properties:
                                            name:
2375
2376
2377
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
2378
2379
                                              type: string
                                            value:
2380
                                              description: The header field value
2381
2382
2383
2384
2385
2386
2387
2388
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
2389
                                        description: Path to access on the HTTP server.
2390
2391
2392
2393
2394
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
2395
2396
2397
2398
                                        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.
2399
2400
                                        x-kubernetes-int-or-string: true
                                      scheme:
2401
2402
2403
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
2404
2405
2406
2407
2408
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  sleep:
2409
                                    description: Sleep represents a duration that the container should sleep.
2410
2411
                                    properties:
                                      seconds:
2412
                                        description: Seconds is the number of seconds to sleep.
2413
2414
2415
2416
2417
2418
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
2419
2420
2421
2422
                                    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.
2423
2424
                                    properties:
                                      host:
2425
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
2426
                                        type: string
2427
2428
2429
2430
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
2431
2432
2433
2434
                                        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.
2435
2436
2437
2438
2439
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
2440
                              stopSignal:
2441
2442
2443
2444
                                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
2445
                                type: string
2446
2447
                            type: object
                          livenessProbe:
2448
2449
2450
2451
2452
                            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
2453
2454
                            properties:
                              exec:
2455
                                description: Exec specifies a command to execute in the container.
2456
2457
                                properties:
                                  command:
2458
2459
2460
2461
2462
2463
                                    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.
2464
2465
2466
2467
2468
2469
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
2470
2471
2472
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
2473
2474
2475
                                format: int32
                                type: integer
                              grpc:
2476
                                description: GRPC specifies a GRPC HealthCheckRequest.
2477
2478
                                properties:
                                  port:
2479
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2480
2481
2482
2483
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
2484
2485
2486
2487
2488
                                    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.
2489
2490
2491
2492
2493
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
2494
                                description: HTTPGet specifies an HTTP GET request to perform.
2495
2496
                                properties:
                                  host:
2497
2498
2499
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
2500
2501
                                    type: string
                                  httpHeaders:
2502
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
2503
                                    items:
2504
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
2505
2506
                                      properties:
                                        name:
2507
2508
2509
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
2510
2511
                                          type: string
                                        value:
2512
                                          description: The header field value
2513
2514
2515
2516
                                          type: string
                                      required:
                                        - name
                                        - value
2517
                                      type: object
2518
2519
2520
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
2521
                                    description: Path to access on the HTTP server.
2522
2523
2524
2525
2526
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2527
2528
2529
2530
                                    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.
2531
2532
                                    x-kubernetes-int-or-string: true
                                  scheme:
2533
2534
2535
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
2536
2537
2538
2539
2540
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
2541
2542
2543
                                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
2544
2545
2546
                                format: int32
                                type: integer
                              periodSeconds:
2547
2548
2549
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
2550
2551
2552
                                format: int32
                                type: integer
                              successThreshold:
2553
2554
2555
                                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.
2556
2557
2558
                                format: int32
                                type: integer
                              tcpSocket:
2559
                                description: TCPSocket specifies a connection to a TCP port.
2560
2561
                                properties:
                                  host:
2562
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
2563
2564
2565
2566
2567
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2568
2569
2570
2571
                                    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.
2572
2573
2574
2575
2576
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
                                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.
2588
2589
2590
                                format: int64
                                type: integer
                              timeoutSeconds:
2591
2592
2593
2594
                                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
2595
2596
2597
2598
                                format: int32
                                type: integer
                            type: object
                          name:
2599
2600
2601
2602
                            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.
2603
2604
                            type: string
                          ports:
2605
2606
2607
2608
2609
2610
2611
2612
                            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.
2613
                            items:
2614
                              description: ContainerPort represents a network port in a single container.
2615
                              properties:
2616
                                containerPort:
2617
2618
2619
                                  description: |-
                                    Number of port to expose on the pod's IP address.
                                    This must be a valid port number, 0 < x < 65536.
2620
2621
                                  format: int32
                                  type: integer
2622
                                hostIP:
2623
                                  description: What host IP to bind the external port to.
2624
                                  type: string
2625
                                hostPort:
2626
2627
2628
2629
2630
                                  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.
2631
2632
                                  format: int32
                                  type: integer
2633
                                name:
2634
2635
2636
2637
                                  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.
2638
2639
2640
                                  type: string
                                protocol:
                                  default: TCP
2641
2642
2643
                                  description: |-
                                    Protocol for port. Must be UDP, TCP, or SCTP.
                                    Defaults to "TCP".
2644
2645
                                  type: string
                              required:
2646
                                - containerPort
2647
                              type: object
2648
2649
2650
2651
2652
2653
                            type: array
                            x-kubernetes-list-map-keys:
                              - containerPort
                              - protocol
                            x-kubernetes-list-type: map
                          readinessProbe:
2654
2655
2656
2657
2658
                            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
2659
2660
                            properties:
                              exec:
2661
                                description: Exec specifies a command to execute in the container.
2662
2663
                                properties:
                                  command:
2664
2665
2666
2667
2668
2669
                                    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.
2670
2671
2672
2673
2674
2675
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
2676
2677
2678
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
2679
2680
2681
                                format: int32
                                type: integer
                              grpc:
2682
                                description: GRPC specifies a GRPC HealthCheckRequest.
2683
2684
                                properties:
                                  port:
2685
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2686
2687
2688
2689
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
2690
2691
2692
2693
2694
                                    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.
2695
2696
2697
2698
2699
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
2700
                                description: HTTPGet specifies an HTTP GET request to perform.
2701
2702
                                properties:
                                  host:
2703
2704
2705
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
2706
2707
                                    type: string
                                  httpHeaders:
2708
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
2709
                                    items:
2710
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
2711
2712
                                      properties:
                                        name:
2713
2714
2715
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
2716
2717
                                          type: string
                                        value:
2718
                                          description: The header field value
2719
2720
2721
2722
2723
2724
2725
2726
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
2727
                                    description: Path to access on the HTTP server.
2728
2729
2730
2731
2732
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2733
2734
2735
2736
                                    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.
2737
2738
                                    x-kubernetes-int-or-string: true
                                  scheme:
2739
2740
2741
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
2742
2743
2744
2745
2746
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
2747
2748
2749
                                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
2750
2751
2752
                                format: int32
                                type: integer
                              periodSeconds:
2753
2754
2755
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
2756
2757
2758
                                format: int32
                                type: integer
                              successThreshold:
2759
2760
2761
                                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.
2762
2763
2764
                                format: int32
                                type: integer
                              tcpSocket:
2765
                                description: TCPSocket specifies a connection to a TCP port.
2766
2767
                                properties:
                                  host:
2768
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
2769
2770
2771
2772
2773
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2774
2775
2776
2777
                                    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.
2778
2779
2780
2781
2782
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
                                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.
2794
2795
2796
                                format: int64
                                type: integer
                              timeoutSeconds:
2797
2798
2799
2800
                                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
2801
2802
2803
2804
                                format: int32
                                type: integer
                            type: object
                          resizePolicy:
2805
                            description: Resources resize policy for the container.
2806
                            items:
2807
                              description: ContainerResizePolicy represents resource resize policy for the container.
2808
                              properties:
2809
                                resourceName:
2810
2811
2812
                                  description: |-
                                    Name of the resource to which this resource resize policy applies.
                                    Supported values: cpu, memory.
2813
2814
                                  type: string
                                restartPolicy:
2815
2816
2817
                                  description: |-
                                    Restart policy to apply when specified resource is resized.
                                    If not specified, it defaults to NotRequired.
2818
                                  type: string
2819
                              required:
2820
2821
                                - resourceName
                                - restartPolicy
2822
2823
2824
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
2825
                          resources:
2826
2827
2828
2829
                            description: |-
                              Compute Resources required by this container.
                              Cannot be updated.
                              More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2830
                            properties:
2831
                              claims:
2832
2833
2834
2835
                                description: |-
                                  Claims lists the names of resources, defined in spec.resourceClaims,
                                  that are used by this container.

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

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

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

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

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

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

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

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

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

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

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