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
10
11
12
13
14
15
16
17
18
19
20
21
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

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

2848
                                  This field depends on the
2849
2850
2851
                                  DynamicResourceAllocation feature gate.

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

4364
                                  This field depends on the
4365
4366
4367
                                  DynamicResourceAllocation feature gate.

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

5921
                                  This field depends on the
5922
5923
5924
                                  DynamicResourceAllocation feature gate.

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

7384
                                This field depends on the
7385
7386
7387
                                DynamicResourceAllocation feature gate.

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

                        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.
8171
8172
                      properties:
                        claims:
8173
8174
8175
8176
                          description: |-
                            Claims lists the names of resources, defined in spec.resourceClaims,
                            that are used by this container.

8177
                            This field depends on the
8178
8179
8180
                            DynamicResourceAllocation feature gate.

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