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

                                  This is an alpha field and requires enabling the
                                  DynamicResourceAllocation feature gate.

                                  This field is immutable. It can only be set for containers.
2534
                                items:
2535
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
2536
                                  properties:
2537
                                    name:
2538
2539
2540
2541
                                      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.
2542
2543
                                      type: string
                                    request:
2544
2545
2546
2547
                                      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.
2548
2549
2550
                                      type: string
                                  required:
                                    - name
2551
2552
                                  type: object
                                type: array
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
                                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
2563
2564
2565
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2566
2567
2568
2569
2570
2571
2572
2573
                                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
2574
2575
2576
2577
2578
                                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/
2579
                                type: object
2580
                            type: object
2581
                          restartPolicy:
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
                            description: |-
                              RestartPolicy defines the restart behavior of individual containers in a pod.
                              This field may only be set for init containers, and the only allowed value is "Always".
                              For non-init containers or when this field is not specified,
                              the restart behavior is defined by the Pod's restart policy and the container type.
                              Setting the RestartPolicy as "Always" for the init container will have the following effect:
                              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.
2598
2599
                            type: string
                          securityContext:
2600
2601
2602
2603
                            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/
2604
2605
                            properties:
                              allowPrivilegeEscalation:
2606
2607
2608
2609
2610
2611
2612
2613
                                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.
2614
2615
                                type: boolean
                              appArmorProfile:
2616
2617
2618
2619
                                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.
2620
2621
                                properties:
                                  localhostProfile:
2622
2623
2624
2625
2626
                                    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".
2627
2628
                                    type: string
                                  type:
2629
2630
2631
2632
2633
2634
                                    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.
2635
2636
2637
2638
2639
                                    type: string
                                required:
                                  - type
                                type: object
                              capabilities:
2640
2641
2642
2643
                                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.
2644
2645
                                properties:
                                  add:
2646
                                    description: Added capabilities
2647
                                    items:
2648
                                      description: Capability represent POSIX capabilities type
2649
                                      type: string
2650
2651
2652
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  drop:
2653
                                    description: Removed capabilities
2654
                                    items:
2655
                                      description: Capability represent POSIX capabilities type
2656
2657
2658
2659
2660
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              privileged:
2661
2662
2663
2664
2665
                                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.
2666
2667
                                type: boolean
                              procMount:
2668
2669
2670
2671
2672
2673
                                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.
2674
2675
                                type: string
                              readOnlyRootFilesystem:
2676
2677
2678
2679
                                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.
2680
2681
                                type: boolean
                              runAsGroup:
2682
2683
2684
2685
2686
2687
                                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.
2688
2689
2690
                                format: int64
                                type: integer
                              runAsNonRoot:
2691
2692
2693
2694
2695
2696
2697
                                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.
2698
2699
                                type: boolean
                              runAsUser:
2700
2701
2702
2703
2704
2705
                                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.
2706
2707
2708
                                format: int64
                                type: integer
                              seLinuxOptions:
2709
2710
2711
2712
2713
2714
                                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.
2715
2716
                                properties:
                                  level:
2717
                                    description: Level is SELinux level label that applies to the container.
2718
2719
                                    type: string
                                  role:
2720
                                    description: Role is a SELinux role label that applies to the container.
2721
2722
                                    type: string
                                  type:
2723
                                    description: Type is a SELinux type label that applies to the container.
2724
2725
                                    type: string
                                  user:
2726
                                    description: User is a SELinux user label that applies to the container.
2727
2728
2729
                                    type: string
                                type: object
                              seccompProfile:
2730
2731
2732
2733
2734
                                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.
2735
2736
                                properties:
                                  localhostProfile:
2737
2738
2739
2740
2741
                                    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.
2742
2743
                                    type: string
                                  type:
2744
2745
2746
2747
2748
2749
2750
                                    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.
2751
2752
2753
2754
2755
                                    type: string
                                required:
                                  - type
                                type: object
                              windowsOptions:
2756
2757
2758
2759
2760
                                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.
2761
2762
                                properties:
                                  gmsaCredentialSpec:
2763
2764
2765
2766
                                    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.
2767
2768
                                    type: string
                                  gmsaCredentialSpecName:
2769
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
2770
2771
                                    type: string
                                  hostProcess:
2772
2773
2774
2775
2776
                                    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.
2777
2778
                                    type: boolean
                                  runAsUserName:
2779
2780
2781
2782
2783
                                    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.
2784
2785
2786
2787
                                    type: string
                                type: object
                            type: object
                          startupProbe:
2788
2789
2790
2791
2792
2793
2794
2795
                            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
2796
2797
                            properties:
                              exec:
2798
                                description: Exec specifies a command to execute in the container.
2799
2800
                                properties:
                                  command:
2801
2802
2803
2804
2805
2806
                                    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.
2807
2808
2809
2810
2811
2812
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
2813
2814
2815
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
2816
2817
2818
                                format: int32
                                type: integer
                              grpc:
2819
                                description: GRPC specifies a GRPC HealthCheckRequest.
2820
2821
                                properties:
                                  port:
2822
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2823
2824
2825
2826
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
2827
2828
2829
2830
2831
                                    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.
2832
2833
2834
2835
2836
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
2837
                                description: HTTPGet specifies an HTTP GET request to perform.
2838
2839
                                properties:
                                  host:
2840
2841
2842
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
2843
2844
                                    type: string
                                  httpHeaders:
2845
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
2846
                                    items:
2847
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
2848
2849
                                      properties:
                                        name:
2850
2851
2852
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
2853
2854
                                          type: string
                                        value:
2855
                                          description: The header field value
2856
2857
2858
2859
                                          type: string
                                      required:
                                        - name
                                        - value
2860
                                      type: object
2861
2862
2863
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
2864
                                    description: Path to access on the HTTP server.
2865
                                    type: string
2866
2867
2868
2869
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2870
2871
2872
2873
                                    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.
2874
2875
                                    x-kubernetes-int-or-string: true
                                  scheme:
2876
2877
2878
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
2879
                                    type: string
2880
2881
2882
2883
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
2884
2885
2886
                                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
2887
2888
2889
                                format: int32
                                type: integer
                              periodSeconds:
2890
2891
2892
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
2893
2894
2895
                                format: int32
                                type: integer
                              successThreshold:
2896
2897
2898
                                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.
2899
2900
2901
                                format: int32
                                type: integer
                              tcpSocket:
2902
                                description: TCPSocket specifies a connection to a TCP port.
2903
2904
                                properties:
                                  host:
2905
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
2906
                                    type: string
2907
2908
2909
2910
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2911
2912
2913
2914
                                    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.
2915
2916
2917
2918
2919
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
                                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.
2931
2932
2933
                                format: int64
                                type: integer
                              timeoutSeconds:
2934
2935
2936
2937
                                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
2938
2939
2940
2941
                                format: int32
                                type: integer
                            type: object
                          stdin:
2942
2943
2944
2945
                            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.
2946
2947
                            type: boolean
                          stdinOnce:
2948
2949
2950
2951
2952
2953
2954
2955
                            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
2956
2957
                            type: boolean
                          terminationMessagePath:
2958
2959
2960
2961
2962
2963
2964
2965
                            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.
2966
2967
                            type: string
                          terminationMessagePolicy:
2968
2969
2970
2971
2972
2973
2974
2975
                            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.
2976
2977
                            type: string
                          tty:
2978
2979
2980
                            description: |-
                              Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                              Default is false.
2981
2982
                            type: boolean
                          volumeDevices:
2983
                            description: volumeDevices is the list of block devices to be used by the container.
2984
                            items:
2985
                              description: volumeDevice describes a mapping of a raw block device within a container.
2986
                              properties:
2987
                                devicePath:
2988
                                  description: devicePath is the path inside of the container that the device will be mapped to.
2989
2990
                                  type: string
                                name:
2991
                                  description: name must match the name of a persistentVolumeClaim in the pod
2992
                                  type: string
2993
                              required:
2994
2995
                                - devicePath
                                - name
2996
2997
                              type: object
                            type: array
2998
2999
3000
3001
                            x-kubernetes-list-map-keys:
                              - devicePath
                            x-kubernetes-list-type: map
                          volumeMounts:
3002
3003
3004
                            description: |-
                              Pod volumes to mount into the container's filesystem.
                              Cannot be updated.
3005
                            items:
3006
                              description: VolumeMount describes a mounting of a Volume within a container.
3007
                              properties:
3008
                                mountPath:
3009
3010
3011
                                  description: |-
                                    Path within the container at which the volume should be mounted.  Must
                                    not contain ':'.
3012
3013
                                  type: string
                                mountPropagation:
3014
3015
3016
3017
3018
3019
3020
                                  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).
3021
3022
                                  type: string
                                name:
3023
                                  description: This must match the Name of a Volume.
3024
3025
                                  type: string
                                readOnly:
3026
3027
3028
                                  description: |-
                                    Mounted read-only if true, read-write otherwise (false or unspecified).
                                    Defaults to false.
3029
3030
                                  type: boolean
                                recursiveReadOnly:
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
                                  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.
3048
3049
                                  type: string
                                subPath:
3050
3051
3052
                                  description: |-
                                    Path within the volume from which the container's volume should be mounted.
                                    Defaults to "" (volume's root).
3053
3054
                                  type: string
                                subPathExpr:
3055
3056
3057
3058
3059
                                  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.
3060
3061
                                  type: string
                              required:
3062
3063
                                - mountPath
                                - name
3064
3065
                              type: object
                            type: array
3066
3067
3068
3069
                            x-kubernetes-list-map-keys:
                              - mountPath
                            x-kubernetes-list-type: map
                          workingDir:
3070
3071
3072
3073
3074
                            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.
3075
3076
3077
                            type: string
                        required:
                          - name
3078
                        type: object
3079
                      type: array
3080
3081
3082
3083
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    dnsConfig:
3084
3085
3086
3087
                      description: |-
                        Specifies the DNS parameters of a pod.
                        Parameters specified here will be merged to the generated DNS
                        configuration based on DNSPolicy.
3088
                      properties:
3089
                        nameservers:
3090
3091
3092
3093
                          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.
3094
3095
3096
3097
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
3098
                        options:
3099
3100
3101
3102
3103
                          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.
3104
                          items:
3105
                            description: PodDNSConfigOption defines DNS resolver options of a pod.
3106
3107
                            properties:
                              name:
3108
3109
3110
                                description: |-
                                  Name is this DNS resolver option's name.
                                  Required.
3111
3112
                                type: string
                              value:
3113
                                description: Value is this DNS resolver option's value.
3114
                                type: string
3115
3116
3117
3118
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        searches:
3119
3120
3121
3122
                          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.
3123
3124
3125
3126
3127
3128
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
                      type: object
                    dnsPolicy:
3129
3130
3131
3132
3133
3134
3135
                      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'.
3136
3137
                      type: string
                    enableServiceLinks:
3138
3139
3140
3141
                      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.
3142
3143
                      type: boolean
                    ephemeralContainers:
3144
3145
3146
3147
3148
                      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.
3149
                      items:
3150
3151
3152
3153
3154
3155
3156
3157
3158
                        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.
3159
3160
                        properties:
                          args:
3161
3162
3163
3164
3165
3166
3167
3168
3169
                            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
3170
3171
3172
3173
3174
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          command:
3175
3176
3177
3178
3179
3180
3181
3182
3183
                            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
3184
3185
3186
3187
3188
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          env:
3189
3190
3191
                            description: |-
                              List of environment variables to set in the container.
                              Cannot be updated.
3192
                            items:
3193
                              description: EnvVar represents an environment variable present in a Container.
3194
3195
                              properties:
                                name:
3196
                                  description: Name of the environment variable. Must be a C_IDENTIFIER.
3197
3198
                                  type: string
                                value:
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
                                  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 "".
3209
3210
                                  type: string
                                valueFrom:
3211
                                  description: Source for the environment variable's value. Cannot be used if value is not empty.
3212
3213
                                  properties:
                                    configMapKeyRef:
3214
                                      description: Selects a key of a ConfigMap.
3215
3216
                                      properties:
                                        key:
3217
                                          description: The key to select.
3218
3219
3220
                                          type: string
                                        name:
                                          default: ""
3221
3222
3223
3224
3225
3226
                                          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
3227
3228
                                          type: string
                                        optional:
3229
                                          description: Specify whether the ConfigMap or its key must be defined
3230
3231
3232
3233
3234
3235
                                          type: boolean
                                      required:
                                        - key
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    fieldRef:
3236
3237
3238
                                      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.
3239
3240
                                      properties:
                                        apiVersion:
3241
                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
3242
3243
                                          type: string
                                        fieldPath:
3244
                                          description: Path of the field to select in the specified API version.
3245
3246
3247
3248
3249
3250
                                          type: string
                                      required:
                                        - fieldPath
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    resourceFieldRef:
3251
3252
3253
                                      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.
3254
3255
                                      properties:
                                        containerName:
3256
                                          description: 'Container name: required for volumes, optional for env vars'
3257
3258
3259
3260
3261
                                          type: string
                                        divisor:
                                          anyOf:
                                            - type: integer
                                            - type: string
3262
                                          description: Specifies the output format of the exposed resources, defaults to "1"
3263
3264
3265
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        resource:
3266
                                          description: 'Required: resource to select'
3267
3268
3269
3270
3271
3272
                                          type: string
                                      required:
                                        - resource
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    secretKeyRef:
3273
                                      description: Selects a key of a secret in the pod's namespace
3274
3275
                                      properties:
                                        key:
3276
                                          description: The key of the secret to select from.  Must be a valid secret key.
3277
3278
3279
                                          type: string
                                        name:
                                          default: ""
3280
3281
3282
3283
3284
3285
                                          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
3286
3287
                                          type: string
                                        optional:
3288
                                          description: Specify whether the Secret or its key must be defined
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
                                          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:
3303
3304
3305
3306
3307
3308
3309
                            description: |-
                              List of sources to populate environment variables in the container.
                              The keys defined within a source must be a C_IDENTIFIER. All invalid keys
                              will be reported as an event when the container is starting. When a key exists in multiple
                              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.
3310
                            items:
3311
                              description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
3312
3313
                              properties:
                                configMapRef:
3314
                                  description: The ConfigMap to select from
3315
3316
3317
                                  properties:
                                    name:
                                      default: ""
3318
3319
3320
3321
3322
3323
                                      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
3324
3325
                                      type: string
                                    optional:
3326
                                      description: Specify whether the ConfigMap must be defined
3327
3328
3329
3330
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                                prefix:
3331
                                  description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
3332
3333
                                  type: string
                                secretRef:
3334
                                  description: The Secret to select from
3335
3336
3337
                                  properties:
                                    name:
                                      default: ""
3338
3339
3340
3341
3342
3343
                                      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
3344
3345
                                      type: string
                                    optional:
3346
                                      description: Specify whether the Secret must be defined
3347
3348
3349
3350
3351
3352
3353
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          image:
3354
3355
3356
                            description: |-
                              Container image name.
                              More info: https://kubernetes.io/docs/concepts/containers/images
3357
3358
                            type: string
                          imagePullPolicy:
3359
3360
3361
3362
3363
3364
                            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
3365
3366
                            type: string
                          lifecycle:
3367
                            description: Lifecycle is not allowed for ephemeral containers.
3368
3369
                            properties:
                              postStart:
3370
3371
3372
3373
3374
                                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
3375
                                properties:
3376
                                  exec:
3377
                                    description: Exec specifies a command to execute in the container.
3378
                                    properties:
3379
                                      command:
3380
3381
3382
3383
3384
3385
                                        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.
3386
3387
3388
3389
3390
3391
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
3392
                                    description: HTTPGet specifies an HTTP GET request to perform.
3393
3394
                                    properties:
                                      host:
3395
3396
3397
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
3398
                                        type: string
3399
                                      httpHeaders:
3400
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
3401
                                        items:
3402
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
3403
3404
                                          properties:
                                            name:
3405
3406
3407
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
3408
3409
                                              type: string
                                            value:
3410
                                              description: The header field value
3411
3412
3413
3414
3415
3416
3417
3418
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
3419
                                        description: Path to access on the HTTP server.
3420
3421
3422
3423
3424
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
3425
3426
3427
3428
                                        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.
3429
3430
                                        x-kubernetes-int-or-string: true
                                      scheme:
3431
3432
3433
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
3434
3435
                                        type: string
                                    required:
3436
                                      - port
3437
                                    type: object
3438
                                  sleep:
3439
                                    description: Sleep represents a duration that the container should sleep.
3440
                                    properties:
3441
                                      seconds:
3442
                                        description: Seconds is the number of seconds to sleep.
3443
3444
                                        format: int64
                                        type: integer
3445
                                    required:
3446
                                      - seconds
3447
                                    type: object
3448
                                  tcpSocket:
3449
3450
3451
3452
                                    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.
3453
                                    properties:
3454
                                      host:
3455
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
3456
                                        type: string
3457
                                      port:
3458
                                        anyOf:
3459
3460
                                          - type: integer
                                          - type: string
3461
3462
3463
3464
                                        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.
3465
3466
                                        x-kubernetes-int-or-string: true
                                    required:
3467
                                      - port
3468
                                    type: object
3469
3470
                                type: object
                              preStop:
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
                                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
3481
3482
                                properties:
                                  exec:
3483
                                    description: Exec specifies a command to execute in the container.
3484
                                    properties:
3485
                                      command:
3486
3487
3488
3489
3490
3491
                                        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.
3492
3493
3494
3495
3496
3497
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
3498
                                    description: HTTPGet specifies an HTTP GET request to perform.
3499
3500
                                    properties:
                                      host:
3501
3502
3503
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
3504
                                        type: string
3505
                                      httpHeaders:
3506
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
3507
                                        items:
3508
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
3509
3510
                                          properties:
                                            name:
3511
3512
3513
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
3514
3515
                                              type: string
                                            value:
3516
                                              description: The header field value
3517
3518
3519
3520
3521
3522
3523
3524
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
3525
                                        description: Path to access on the HTTP server.
3526
3527
3528
3529
3530
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
3531
3532
3533
3534
                                        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.
3535
3536
                                        x-kubernetes-int-or-string: true
                                      scheme:
3537
3538
3539
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
3540
3541
                                        type: string
                                    required:
3542
                                      - port
3543
                                    type: object
3544
                                  sleep:
3545
                                    description: Sleep represents a duration that the container should sleep.
3546
3547
                                    properties:
                                      seconds:
3548
                                        description: Seconds is the number of seconds to sleep.
3549
3550
3551
3552
3553
3554
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
3555
3556
3557
3558
                                    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.
3559
3560
                                    properties:
                                      host:
3561
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
3562
3563
3564
3565
3566
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
3567
3568
3569
3570
                                        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.
3571
3572
3573
3574
3575
3576
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
                              stopSignal:
3577
3578
3579
3580
                                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
3581
3582
3583
                                type: string
                            type: object
                          livenessProbe:
3584
                            description: Probes are not allowed for ephemeral containers.
3585
3586
                            properties:
                              exec:
3587
                                description: Exec specifies a command to execute in the container.
3588
3589
                                properties:
                                  command:
3590
3591
3592
3593
3594
3595
                                    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.
3596
3597
3598
3599
3600
3601
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
3602
3603
3604
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
3605
3606
3607
                                format: int32
                                type: integer
                              grpc:
3608
                                description: GRPC specifies a GRPC HealthCheckRequest.
3609
3610
                                properties:
                                  port:
3611
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3612
3613
3614
                                    format: int32
                                    type: integer
                                  service:
3615
                                    default: ""
3616
3617
3618
3619
3620
                                    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.
3621
                                    type: string
3622
3623
                                required:
                                  - port
3624
                                type: object
3625
                              httpGet:
3626
                                description: HTTPGet specifies an HTTP GET request to perform.
3627
                                properties:
3628
                                  host:
3629
3630
3631
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
3632
3633
                                    type: string
                                  httpHeaders:
3634
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
3635
                                    items:
3636
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
3637
3638
                                      properties:
                                        name:
3639
3640
3641
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
3642
3643
                                          type: string
                                        value:
3644
                                          description: The header field value
3645
3646
3647
3648
3649
3650
3651
3652
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
3653
                                    description: Path to access on the HTTP server.
3654
3655
3656
3657
3658
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
3659
3660
3661
3662
                                    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.
3663
3664
                                    x-kubernetes-int-or-string: true
                                  scheme:
3665
3666
3667
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
3668
3669
3670
3671
3672
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
3673
3674
3675
                                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
3676
3677
3678
                                format: int32
                                type: integer
                              periodSeconds:
3679
3680
3681
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
3682
3683
3684
                                format: int32
                                type: integer
                              successThreshold:
3685
3686
3687
                                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.
3688
3689
3690
                                format: int32
                                type: integer
                              tcpSocket:
3691
                                description: TCPSocket specifies a connection to a TCP port.
3692
3693
                                properties:
                                  host:
3694
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
3695
3696
3697
3698
3699
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
3700
3701
3702
3703
                                    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.
3704
3705
3706
3707
3708
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
                                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.
3720
3721
3722
                                format: int64
                                type: integer
                              timeoutSeconds:
3723
3724
3725
3726
                                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
3727
3728
3729
3730
                                format: int32
                                type: integer
                            type: object
                          name:
3731
3732
3733
                            description: |-
                              Name of the ephemeral container specified as a DNS_LABEL.
                              This name must be unique among all containers, init containers and ephemeral containers.
3734
3735
                            type: string
                          ports:
3736
                            description: Ports are not allowed for ephemeral containers.
3737
                            items:
3738
                              description: ContainerPort represents a network port in a single container.
3739
3740
                              properties:
                                containerPort:
3741
3742
3743
                                  description: |-
                                    Number of port to expose on the pod's IP address.
                                    This must be a valid port number, 0 < x < 65536.
3744
3745
3746
                                  format: int32
                                  type: integer
                                hostIP:
3747
                                  description: What host IP to bind the external port to.
3748
3749
                                  type: string
                                hostPort:
3750
3751
3752
3753
3754
                                  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.
3755
3756
3757
                                  format: int32
                                  type: integer
                                name:
3758
3759
3760
3761
                                  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.
3762
3763
3764
                                  type: string
                                protocol:
                                  default: TCP
3765
3766
3767
                                  description: |-
                                    Protocol for port. Must be UDP, TCP, or SCTP.
                                    Defaults to "TCP".
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
                                  type: string
                              required:
                                - containerPort
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - containerPort
                              - protocol
                            x-kubernetes-list-type: map
                          readinessProbe:
3778
                            description: Probes are not allowed for ephemeral containers.
3779
3780
                            properties:
                              exec:
3781
                                description: Exec specifies a command to execute in the container.
3782
3783
                                properties:
                                  command:
3784
3785
3786
3787
3788
3789
                                    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.
3790
3791
3792
3793
3794
3795
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
3796
3797
3798
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
3799
3800
3801
                                format: int32
                                type: integer
                              grpc:
3802
                                description: GRPC specifies a GRPC HealthCheckRequest.
3803
3804
                                properties:
                                  port:
3805
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3806
3807
3808
                                    format: int32
                                    type: integer
                                  service:
3809
                                    default: ""
3810
3811
3812
3813
3814
                                    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.
3815
                                    type: string
3816
3817
                                required:
                                  - port
3818
                                type: object
3819
                              httpGet:
3820
                                description: HTTPGet specifies an HTTP GET request to perform.
3821
3822
                                properties:
                                  host:
3823
3824
3825
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
3826
3827
                                    type: string
                                  httpHeaders:
3828
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
3829
                                    items:
3830
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
3831
3832
                                      properties:
                                        name:
3833
3834
3835
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
3836
3837
                                          type: string
                                        value:
3838
                                          description: The header field value
3839
3840
3841
3842
3843
3844
3845
3846
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
3847
                                    description: Path to access on the HTTP server.
3848
3849
3850
3851
3852
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
3853
3854
3855
3856
                                    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.
3857
3858
                                    x-kubernetes-int-or-string: true
                                  scheme:
3859
3860
3861
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
3862
3863
3864
3865
3866
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
3867
3868
3869
                                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
3870
3871
3872
                                format: int32
                                type: integer
                              periodSeconds:
3873
3874
3875
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
3876
3877
3878
                                format: int32
                                type: integer
                              successThreshold:
3879
3880
3881
                                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.
3882
3883
3884
                                format: int32
                                type: integer
                              tcpSocket:
3885
                                description: TCPSocket specifies a connection to a TCP port.
3886
3887
                                properties:
                                  host:
3888
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
3889
3890
3891
3892
3893
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
3894
3895
3896
3897
                                    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.
3898
3899
3900
3901
3902
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
                                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.
3914
3915
3916
                                format: int64
                                type: integer
                              timeoutSeconds:
3917
3918
3919
3920
                                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
3921
3922
                                format: int32
                                type: integer
3923
                            type: object
3924
                          resizePolicy:
3925
                            description: Resources resize policy for the container.
3926
                            items:
3927
                              description: ContainerResizePolicy represents resource resize policy for the container.
3928
                              properties:
3929
                                resourceName:
3930
3931
3932
                                  description: |-
                                    Name of the resource to which this resource resize policy applies.
                                    Supported values: cpu, memory.
3933
3934
                                  type: string
                                restartPolicy:
3935
3936
3937
                                  description: |-
                                    Restart policy to apply when specified resource is resized.
                                    If not specified, it defaults to NotRequired.
3938
3939
3940
3941
3942
3943
3944
3945
                                  type: string
                              required:
                                - resourceName
                                - restartPolicy
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          resources:
3946
3947
3948
                            description: |-
                              Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
                              already allocated to the pod.
3949
3950
                            properties:
                              claims:
3951
3952
3953
3954
3955
3956
3957
3958
                                description: |-
                                  Claims lists the names of resources, defined in spec.resourceClaims,
                                  that are used by this container.

                                  This is an alpha field and requires enabling the
                                  DynamicResourceAllocation feature gate.

                                  This field is immutable. It can only be set for containers.
3959
                                items:
3960
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
3961
                                  properties:
3962
                                    name:
3963
3964
3965
3966
                                      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.
3967
                                      type: string
3968
                                    request:
3969
3970
3971
3972
                                      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.
3973
3974
                                      type: string
                                  required:
3975
                                    - name
3976
                                  type: object
3977
3978
3979
3980
3981
3982
                                type: array
                                x-kubernetes-list-map-keys:
                                  - name
                                x-kubernetes-list-type: map
                              limits:
                                additionalProperties:
3983
                                  anyOf:
3984
3985
                                    - type: integer
                                    - type: string
3986
                                  pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
3987
                                  x-kubernetes-int-or-string: true
3988
3989
3990
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
3991
3992
3993
                                type: object
                              requests:
                                additionalProperties:
3994
                                  anyOf:
3995
3996
                                    - type: integer
                                    - type: string
3997
                                  pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
3998
                                  x-kubernetes-int-or-string: true
3999
4000
4001
4002
4003
                                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/
4004
4005
4006
                                type: object
                            type: object
                          restartPolicy:
4007
4008
4009
4010
4011
                            description: |-
                              Restart policy for the container to manage the restart behavior of each
                              container within a pod.
                              This may only be set for init containers. You cannot set this field on
                              ephemeral containers.
4012
4013
                            type: string
                          securityContext:
4014
4015
4016
                            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.
4017
                            properties:
4018
                              allowPrivilegeEscalation:
4019
4020
4021
4022
4023
4024
4025
4026
                                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.
4027
4028
                                type: boolean
                              appArmorProfile:
4029
4030
4031
4032
                                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.
4033
4034
                                properties:
                                  localhostProfile:
4035
4036
4037
4038
4039
                                    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".
4040
4041
                                    type: string
                                  type:
4042
4043
4044
4045
4046
4047
                                    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.
4048
4049
4050
4051
4052
                                    type: string
                                required:
                                  - type
                                type: object
                              capabilities:
4053
4054
4055
4056
                                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.
4057
4058
                                properties:
                                  add:
4059
                                    description: Added capabilities
4060
                                    items:
4061
                                      description: Capability represent POSIX capabilities type
4062
4063
4064
4065
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  drop:
4066
                                    description: Removed capabilities
4067
                                    items:
4068
                                      description: Capability represent POSIX capabilities type
4069
4070
4071
4072
4073
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              privileged:
4074
4075
4076
4077
4078
                                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.
4079
4080
                                type: boolean
                              procMount:
4081
4082
4083
4084
4085
4086
                                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.
4087
                                type: string
4088
                              readOnlyRootFilesystem:
4089
4090
4091
4092
                                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.
4093
4094
                                type: boolean
                              runAsGroup:
4095
4096
4097
4098
4099
4100
                                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.
4101
                                format: int64
4102
                                type: integer
4103
                              runAsNonRoot:
4104
4105
4106
4107
4108
4109
4110
                                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.
4111
4112
                                type: boolean
                              runAsUser:
4113
4114
4115
4116
4117
4118
                                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.
4119
4120
4121
                                format: int64
                                type: integer
                              seLinuxOptions:
4122
4123
4124
4125
4126
4127
                                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.
4128
4129
                                properties:
                                  level:
4130
                                    description: Level is SELinux level label that applies to the container.
4131
4132
                                    type: string
                                  role:
4133
                                    description: Role is a SELinux role label that applies to the container.
4134
4135
                                    type: string
                                  type:
4136
                                    description: Type is a SELinux type label that applies to the container.
4137
4138
                                    type: string
                                  user:
4139
                                    description: User is a SELinux user label that applies to the container.
4140
4141
4142
                                    type: string
                                type: object
                              seccompProfile:
4143
4144
4145
4146
4147
                                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.
4148
4149
                                properties:
                                  localhostProfile:
4150
4151
4152
4153
4154
                                    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.
4155
4156
                                    type: string
                                  type:
4157
4158
4159
4160
4161
4162
4163
                                    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.
4164
4165
4166
4167
4168
                                    type: string
                                required:
                                  - type
                                type: object
                              windowsOptions:
4169
4170
4171
4172
4173
                                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.
4174
4175
                                properties:
                                  gmsaCredentialSpec:
4176
4177
4178
4179
                                    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.
4180
4181
                                    type: string
                                  gmsaCredentialSpecName:
4182
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
4183
4184
                                    type: string
                                  hostProcess:
4185
4186
4187
4188
4189
                                    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.
4190
4191
                                    type: boolean
                                  runAsUserName:
4192
4193
4194
4195
4196
                                    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.
4197
4198
                                    type: string
                                type: object
4199
                            type: object
4200
                          startupProbe:
4201
                            description: Probes are not allowed for ephemeral containers.
4202
4203
                            properties:
                              exec:
4204
                                description: Exec specifies a command to execute in the container.
4205
                                properties:
4206
                                  command:
4207
4208
4209
4210
4211
4212
                                    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.
4213
4214
4215
4216
4217
4218
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
4219
4220
4221
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
4222
4223
4224
                                format: int32
                                type: integer
                              grpc:
4225
                                description: GRPC specifies a GRPC HealthCheckRequest.
4226
4227
                                properties:
                                  port:
4228
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4229
4230
4231
4232
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
4233
4234
4235
4236
4237
                                    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.
4238
                                    type: string
4239
4240
4241
4242
                                required:
                                  - port
                                type: object
                              httpGet:
4243
                                description: HTTPGet specifies an HTTP GET request to perform.
4244
4245
                                properties:
                                  host:
4246
4247
4248
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
4249
4250
                                    type: string
                                  httpHeaders:
4251
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
4252
                                    items:
4253
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
4254
4255
                                      properties:
                                        name:
4256
4257
4258
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
4259
4260
                                          type: string
                                        value:
4261
                                          description: The header field value
4262
4263
4264
4265
4266
4267
4268
4269
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
4270
                                    description: Path to access on the HTTP server.
4271
4272
4273
4274
4275
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
4276
4277
4278
4279
                                    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.
4280
4281
                                    x-kubernetes-int-or-string: true
                                  scheme:
4282
4283
4284
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
4285
4286
                                    type: string
                                required:
4287
                                  - port
4288
                                type: object
4289
                              initialDelaySeconds:
4290
4291
4292
                                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
4293
4294
4295
                                format: int32
                                type: integer
                              periodSeconds:
4296
4297
4298
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
4299
4300
4301
                                format: int32
                                type: integer
                              successThreshold:
4302
4303
4304
                                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.
4305
4306
4307
                                format: int32
                                type: integer
                              tcpSocket:
4308
                                description: TCPSocket specifies a connection to a TCP port.
4309
4310
                                properties:
                                  host:
4311
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
4312
4313
4314
4315
4316
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
4317
4318
4319
4320
                                    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.
4321
4322
4323
4324
4325
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
                                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.
4337
4338
4339
                                format: int64
                                type: integer
                              timeoutSeconds:
4340
4341
4342
4343
                                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
4344
4345
4346
4347
                                format: int32
                                type: integer
                            type: object
                          stdin:
4348
4349
4350
4351
                            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.
4352
4353
                            type: boolean
                          stdinOnce:
4354
4355
4356
4357
4358
4359
4360
4361
                            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
4362
4363
                            type: boolean
                          targetContainerName:
4364
4365
4366
4367
4368
4369
4370
                            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.
4371
4372
                            type: string
                          terminationMessagePath:
4373
4374
4375
4376
4377
4378
4379
4380
                            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.
4381
4382
                            type: string
                          terminationMessagePolicy:
4383
4384
4385
4386
4387
4388
4389
4390
                            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.
4391
4392
                            type: string
                          tty:
4393
4394
4395
                            description: |-
                              Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                              Default is false.
4396
4397
                            type: boolean
                          volumeDevices:
4398
                            description: volumeDevices is the list of block devices to be used by the container.
4399
                            items:
4400
                              description: volumeDevice describes a mapping of a raw block device within a container.
4401
                              properties:
4402
                                devicePath:
4403
                                  description: devicePath is the path inside of the container that the device will be mapped to.
4404
                                  type: string
4405
                                name:
4406
                                  description: name must match the name of a persistentVolumeClaim in the pod
4407
4408
                                  type: string
                              required:
4409
4410
                                - devicePath
                                - name
4411
                              type: object
4412
4413
4414
4415
4416
                            type: array
                            x-kubernetes-list-map-keys:
                              - devicePath
                            x-kubernetes-list-type: map
                          volumeMounts:
4417
4418
4419
                            description: |-
                              Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
                              Cannot be updated.
4420
                            items:
4421
                              description: VolumeMount describes a mounting of a Volume within a container.
4422
                              properties:
4423
                                mountPath:
4424
4425
4426
                                  description: |-
                                    Path within the container at which the volume should be mounted.  Must
                                    not contain ':'.
4427
                                  type: string
4428
                                mountPropagation:
4429
4430
4431
4432
4433
4434
4435
                                  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).
4436
                                  type: string
4437
                                name:
4438
                                  description: This must match the Name of a Volume.
4439
                                  type: string
4440
                                readOnly:
4441
4442
4443
                                  description: |-
                                    Mounted read-only if true, read-write otherwise (false or unspecified).
                                    Defaults to false.
4444
4445
                                  type: boolean
                                recursiveReadOnly:
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
                                  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.
4463
                                  type: string
4464
                                subPath:
4465
4466
4467
                                  description: |-
                                    Path within the volume from which the container's volume should be mounted.
                                    Defaults to "" (volume's root).
4468
                                  type: string
4469
                                subPathExpr:
4470
4471
4472
4473
4474
                                  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.
4475
4476
                                  type: string
                              required:
4477
4478
                                - mountPath
                                - name
4479
                              type: object
4480
4481
4482
4483
4484
                            type: array
                            x-kubernetes-list-map-keys:
                              - mountPath
                            x-kubernetes-list-type: map
                          workingDir:
4485
4486
4487
4488
4489
                            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.
4490
4491
4492
4493
4494
4495
4496
4497
4498
                            type: string
                        required:
                          - name
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    hostAliases:
4499
4500
4501
                      description: |-
                        HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
                        file if specified.
4502
                      items:
4503
4504
4505
                        description: |-
                          HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the
                          pod's hosts file.
4506
4507
                        properties:
                          hostnames:
4508
                            description: Hostnames for the above IP address.
4509
4510
4511
4512
4513
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          ip:
4514
                            description: IP address of the host file entry.
4515
4516
4517
4518
4519
4520
4521
4522
4523
                            type: string
                        required:
                          - ip
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - ip
                      x-kubernetes-list-type: map
                    hostIPC:
4524
4525
4526
                      description: |-
                        Use the host's ipc namespace.
                        Optional: Default to false.
4527
4528
                      type: boolean
                    hostNetwork:
4529
4530
4531
4532
                      description: |-
                        Host networking requested for this pod. Use the host's network namespace.
                        If this option is set, the ports that will be used must be specified.
                        Default to false.
4533
4534
                      type: boolean
                    hostPID:
4535
4536
4537
                      description: |-
                        Use the host's pid namespace.
                        Optional: Default to false.
4538
4539
                      type: boolean
                    hostUsers:
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
                      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.
4550
4551
                      type: boolean
                    hostname:
4552
4553
4554
                      description: |-
                        Specifies the hostname of the Pod
                        If not specified, the pod's hostname will be set to a system-defined value.
4555
4556
                      type: string
                    imagePullSecrets:
4557
4558
4559
4560
                      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
4561
                      items:
4562
4563
4564
                        description: |-
                          LocalObjectReference contains enough information to let you locate the
                          referenced object inside the same namespace.
4565
4566
4567
                        properties:
                          name:
                            default: ""
4568
4569
4570
4571
4572
4573
                            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
4574
4575
4576
4577
4578
4579
4580
4581
                            type: string
                        type: object
                        x-kubernetes-map-type: atomic
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    initContainers:
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
                      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/
4596
                      items:
4597
                        description: A single application container that you want to run within a pod.
4598
4599
                        properties:
                          args:
4600
4601
4602
4603
4604
4605
4606
4607
4608
                            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
4609
4610
4611
4612
4613
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          command:
4614
4615
4616
4617
4618
4619
4620
4621
4622
                            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
4623
4624
4625
4626
4627
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          env:
4628
4629
4630
                            description: |-
                              List of environment variables to set in the container.
                              Cannot be updated.
4631
                            items:
4632
                              description: EnvVar represents an environment variable present in a Container.
4633
                              properties:
4634
                                name:
4635
                                  description: Name of the environment variable. Must be a C_IDENTIFIER.
4636
                                  type: string
4637
                                value:
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
                                  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 "".
4648
                                  type: string
4649
                                valueFrom:
4650
                                  description: Source for the environment variable's value. Cannot be used if value is not empty.
4651
4652
                                  properties:
                                    configMapKeyRef:
4653
                                      description: Selects a key of a ConfigMap.
4654
4655
                                      properties:
                                        key:
4656
                                          description: The key to select.
4657
4658
4659
                                          type: string
                                        name:
                                          default: ""
4660
4661
4662
4663
4664
4665
                                          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
4666
4667
                                          type: string
                                        optional:
4668
                                          description: Specify whether the ConfigMap or its key must be defined
4669
4670
4671
4672
4673
4674
                                          type: boolean
                                      required:
                                        - key
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    fieldRef:
4675
4676
4677
                                      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.
4678
4679
                                      properties:
                                        apiVersion:
4680
                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
4681
4682
                                          type: string
                                        fieldPath:
4683
                                          description: Path of the field to select in the specified API version.
4684
4685
4686
4687
4688
4689
                                          type: string
                                      required:
                                        - fieldPath
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    resourceFieldRef:
4690
4691
4692
                                      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.
4693
4694
                                      properties:
                                        containerName:
4695
                                          description: 'Container name: required for volumes, optional for env vars'
4696
4697
4698
4699
4700
                                          type: string
                                        divisor:
                                          anyOf:
                                            - type: integer
                                            - type: string
4701
                                          description: Specifies the output format of the exposed resources, defaults to "1"
4702
4703
4704
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        resource:
4705
                                          description: 'Required: resource to select'
4706
4707
4708
4709
4710
4711
                                          type: string
                                      required:
                                        - resource
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    secretKeyRef:
4712
                                      description: Selects a key of a secret in the pod's namespace
4713
4714
                                      properties:
                                        key:
4715
                                          description: The key of the secret to select from.  Must be a valid secret key.
4716
4717
4718
                                          type: string
                                        name:
                                          default: ""
4719
4720
4721
4722
4723
4724
                                          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
4725
4726
                                          type: string
                                        optional:
4727
                                          description: Specify whether the Secret or its key must be defined
4728
4729
4730
4731
4732
4733
                                          type: boolean
                                      required:
                                        - key
                                      type: object
                                      x-kubernetes-map-type: atomic
                                  type: object
4734
                              required:
4735
                                - name
4736
                              type: object
4737
4738
4739
4740
4741
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          envFrom:
4742
4743
4744
4745
4746
4747
4748
                            description: |-
                              List of sources to populate environment variables in the container.
                              The keys defined within a source must be a C_IDENTIFIER. All invalid keys
                              will be reported as an event when the container is starting. When a key exists in multiple
                              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.
4749
                            items:
4750
                              description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
4751
                              properties:
4752
                                configMapRef:
4753
                                  description: The ConfigMap to select from
4754
4755
4756
                                  properties:
                                    name:
                                      default: ""
4757
4758
4759
4760
4761
4762
                                      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
4763
4764
                                      type: string
                                    optional:
4765
                                      description: Specify whether the ConfigMap must be defined
4766
4767
4768
4769
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                                prefix:
4770
                                  description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
4771
                                  type: string
4772
                                secretRef:
4773
                                  description: The Secret to select from
4774
4775
4776
                                  properties:
                                    name:
                                      default: ""
4777
4778
4779
4780
4781
4782
                                      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
4783
4784
                                      type: string
                                    optional:
4785
                                      description: Specify whether the Secret must be defined
4786
4787
4788
4789
4790
4791
4792
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          image:
4793
4794
4795
4796
4797
                            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.
4798
4799
                            type: string
                          imagePullPolicy:
4800
4801
4802
4803
4804
4805
                            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
4806
4807
                            type: string
                          lifecycle:
4808
4809
4810
                            description: |-
                              Actions that the management system should take in response to container lifecycle events.
                              Cannot be updated.
4811
4812
                            properties:
                              postStart:
4813
4814
4815
4816
4817
                                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
4818
4819
                                properties:
                                  exec:
4820
                                    description: Exec specifies a command to execute in the container.
4821
                                    properties:
4822
                                      command:
4823
4824
4825
4826
4827
4828
                                        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.
4829
4830
4831
4832
4833
4834
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
4835
                                    description: HTTPGet specifies an HTTP GET request to perform.
4836
4837
                                    properties:
                                      host:
4838
4839
4840
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
4841
                                        type: string
4842
                                      httpHeaders:
4843
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
4844
                                        items:
4845
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
4846
4847
                                          properties:
                                            name:
4848
4849
4850
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
4851
4852
                                              type: string
                                            value:
4853
                                              description: The header field value
4854
4855
4856
4857
4858
4859
4860
4861
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
4862
                                        description: Path to access on the HTTP server.
4863
4864
4865
4866
4867
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
4868
4869
4870
4871
                                        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.
4872
4873
                                        x-kubernetes-int-or-string: true
                                      scheme:
4874
4875
4876
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
4877
4878
                                        type: string
                                    required:
4879
                                      - port
4880
                                    type: object
4881
                                  sleep:
4882
                                    description: Sleep represents a duration that the container should sleep.
4883
4884
                                    properties:
                                      seconds:
4885
                                        description: Seconds is the number of seconds to sleep.
4886
4887
4888
4889
4890
4891
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
4892
4893
4894
4895
                                    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.
4896
4897
                                    properties:
                                      host:
4898
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
4899
4900
4901
4902
4903
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
4904
4905
4906
4907
                                        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.
4908
4909
4910
4911
4912
4913
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
                              preStop:
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
                                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
4924
4925
                                properties:
                                  exec:
4926
                                    description: Exec specifies a command to execute in the container.
4927
4928
                                    properties:
                                      command:
4929
4930
4931
4932
4933
4934
                                        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.
4935
4936
4937
4938
4939
4940
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
4941
                                    description: HTTPGet specifies an HTTP GET request to perform.
4942
4943
                                    properties:
                                      host:
4944
4945
4946
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
4947
4948
                                        type: string
                                      httpHeaders:
4949
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
4950
                                        items:
4951
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
4952
4953
                                          properties:
                                            name:
4954
4955
4956
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
4957
4958
                                              type: string
                                            value:
4959
                                              description: The header field value
4960
4961
4962
4963
4964
4965
4966
4967
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
4968
                                        description: Path to access on the HTTP server.
4969
4970
4971
4972
4973
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
4974
4975
4976
4977
                                        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.
4978
4979
                                        x-kubernetes-int-or-string: true
                                      scheme:
4980
4981
4982
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
4983
4984
4985
4986
4987
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  sleep:
4988
                                    description: Sleep represents a duration that the container should sleep.
4989
4990
                                    properties:
                                      seconds:
4991
                                        description: Seconds is the number of seconds to sleep.
4992
4993
4994
4995
4996
4997
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
4998
4999
5000
5001
                                    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.
5002
5003
                                    properties:
                                      host:
5004
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
5005
5006
5007
5008
5009
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
5010
5011
5012
5013
                                        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.
5014
5015
5016
5017
5018
5019
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
                              stopSignal:
5020
5021
5022
5023
                                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
5024
5025
5026
                                type: string
                            type: object
                          livenessProbe:
5027
5028
5029
5030
5031
                            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
5032
5033
                            properties:
                              exec:
5034
                                description: Exec specifies a command to execute in the container.
5035
5036
                                properties:
                                  command:
5037
5038
5039
5040
5041
5042
                                    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.
5043
5044
5045
5046
5047
5048
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
5049
5050
5051
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
5052
5053
5054
                                format: int32
                                type: integer
                              grpc:
5055
                                description: GRPC specifies a GRPC HealthCheckRequest.
5056
5057
                                properties:
                                  port:
5058
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5059
5060
5061
5062
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
5063
5064
5065
5066
5067
                                    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.
5068
5069
5070
5071
5072
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
5073
                                description: HTTPGet specifies an HTTP GET request to perform.
5074
5075
                                properties:
                                  host:
5076
5077
5078
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
5079
5080
                                    type: string
                                  httpHeaders:
5081
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
5082
                                    items:
5083
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
5084
5085
                                      properties:
                                        name:
5086
5087
5088
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
5089
5090
                                          type: string
                                        value:
5091
                                          description: The header field value
5092
5093
5094
5095
5096
5097
5098
5099
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
5100
                                    description: Path to access on the HTTP server.
5101
5102
5103
5104
5105
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5106
5107
5108
5109
                                    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.
5110
5111
                                    x-kubernetes-int-or-string: true
                                  scheme:
5112
5113
5114
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
5115
5116
5117
5118
5119
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
5120
5121
5122
                                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
5123
5124
5125
                                format: int32
                                type: integer
                              periodSeconds:
5126
5127
5128
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
5129
5130
5131
                                format: int32
                                type: integer
                              successThreshold:
5132
5133
5134
                                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.
5135
5136
5137
                                format: int32
                                type: integer
                              tcpSocket:
5138
                                description: TCPSocket specifies a connection to a TCP port.
5139
5140
                                properties:
                                  host:
5141
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
5142
5143
5144
5145
5146
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5147
5148
5149
5150
                                    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.
5151
5152
5153
5154
5155
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
                                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.
5167
5168
5169
                                format: int64
                                type: integer
                              timeoutSeconds:
5170
5171
5172
5173
                                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
5174
5175
5176
5177
                                format: int32
                                type: integer
                            type: object
                          name:
5178
5179
5180
5181
                            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.
5182
5183
                            type: string
                          ports:
5184
5185
5186
5187
5188
5189
5190
5191
                            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.
5192
                            items:
5193
                              description: ContainerPort represents a network port in a single container.
5194
5195
                              properties:
                                containerPort:
5196
5197
5198
                                  description: |-
                                    Number of port to expose on the pod's IP address.
                                    This must be a valid port number, 0 < x < 65536.
5199
5200
5201
                                  format: int32
                                  type: integer
                                hostIP:
5202
                                  description: What host IP to bind the external port to.
5203
                                  type: string
5204
                                hostPort:
5205
5206
5207
5208
5209
                                  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.
5210
5211
5212
                                  format: int32
                                  type: integer
                                name:
5213
5214
5215
5216
                                  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.
5217
                                  type: string
5218
5219
                                protocol:
                                  default: TCP
5220
5221
5222
                                  description: |-
                                    Protocol for port. Must be UDP, TCP, or SCTP.
                                    Defaults to "TCP".
5223
5224
                                  type: string
                              required:
5225
                                - containerPort
5226
                              type: object
5227
5228
5229
5230
5231
5232
                            type: array
                            x-kubernetes-list-map-keys:
                              - containerPort
                              - protocol
                            x-kubernetes-list-type: map
                          readinessProbe:
5233
5234
5235
5236
5237
                            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
5238
5239
                            properties:
                              exec:
5240
                                description: Exec specifies a command to execute in the container.
5241
5242
                                properties:
                                  command:
5243
5244
5245
5246
5247
5248
                                    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.
5249
5250
5251
5252
5253
5254
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
5255
5256
5257
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
5258
5259
5260
                                format: int32
                                type: integer
                              grpc:
5261
                                description: GRPC specifies a GRPC HealthCheckRequest.
5262
5263
                                properties:
                                  port:
5264
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5265
5266
5267
5268
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
5269
5270
5271
5272
5273
                                    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.
5274
5275
5276
5277
5278
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
5279
                                description: HTTPGet specifies an HTTP GET request to perform.
5280
5281
                                properties:
                                  host:
5282
5283
5284
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
5285
5286
                                    type: string
                                  httpHeaders:
5287
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
5288
                                    items:
5289
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
5290
5291
                                      properties:
                                        name:
5292
5293
5294
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
5295
5296
                                          type: string
                                        value:
5297
                                          description: The header field value
5298
5299
5300
5301
5302
5303
5304
5305
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
5306
                                    description: Path to access on the HTTP server.
5307
5308
5309
5310
5311
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5312
5313
5314
5315
                                    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.
5316
5317
                                    x-kubernetes-int-or-string: true
                                  scheme:
5318
5319
5320
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
5321
5322
5323
5324
5325
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
5326
5327
5328
                                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
5329
5330
5331
                                format: int32
                                type: integer
                              periodSeconds:
5332
5333
5334
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
5335
5336
5337
                                format: int32
                                type: integer
                              successThreshold:
5338
5339
5340
                                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.
5341
5342
5343
                                format: int32
                                type: integer
                              tcpSocket:
5344
                                description: TCPSocket specifies a connection to a TCP port.
5345
5346
                                properties:
                                  host:
5347
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
5348
5349
5350
5351
5352
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5353
5354
5355
5356
                                    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.
5357
5358
5359
5360
5361
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
                                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.
5373
5374
5375
                                format: int64
                                type: integer
                              timeoutSeconds:
5376
5377
5378
5379
                                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
5380
5381
5382
5383
                                format: int32
                                type: integer
                            type: object
                          resizePolicy:
5384
                            description: Resources resize policy for the container.
5385
                            items:
5386
                              description: ContainerResizePolicy represents resource resize policy for the container.
5387
5388
                              properties:
                                resourceName:
5389
5390
5391
                                  description: |-
                                    Name of the resource to which this resource resize policy applies.
                                    Supported values: cpu, memory.
5392
5393
                                  type: string
                                restartPolicy:
5394
5395
5396
                                  description: |-
                                    Restart policy to apply when specified resource is resized.
                                    If not specified, it defaults to NotRequired.
5397
5398
5399
5400
5401
5402
5403
5404
                                  type: string
                              required:
                                - resourceName
                                - restartPolicy
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          resources:
5405
5406
5407
5408
                            description: |-
                              Compute Resources required by this container.
                              Cannot be updated.
                              More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
5409
5410
                            properties:
                              claims:
5411
5412
5413
5414
5415
5416
5417
5418
                                description: |-
                                  Claims lists the names of resources, defined in spec.resourceClaims,
                                  that are used by this container.

                                  This is an alpha field and requires enabling the
                                  DynamicResourceAllocation feature gate.

                                  This field is immutable. It can only be set for containers.
5419
                                items:
5420
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
5421
5422
                                  properties:
                                    name:
5423
5424
5425
5426
                                      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.
5427
5428
                                      type: string
                                    request:
5429
5430
5431
5432
                                      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.
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
                                      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
5448
5449
5450
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
5451
5452
5453
5454
5455
5456
5457
5458
                                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
5459
5460
5461
5462
5463
                                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/
5464
5465
5466
                                type: object
                            type: object
                          restartPolicy:
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
                            description: |-
                              RestartPolicy defines the restart behavior of individual containers in a pod.
                              This field may only be set for init containers, and the only allowed value is "Always".
                              For non-init containers or when this field is not specified,
                              the restart behavior is defined by the Pod's restart policy and the container type.
                              Setting the RestartPolicy as "Always" for the init container will have the following effect:
                              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.
5483
5484
                            type: string
                          securityContext:
5485
5486
5487
5488
                            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/
5489
5490
                            properties:
                              allowPrivilegeEscalation:
5491
5492
5493
5494
5495
5496
5497
5498
                                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.
5499
5500
                                type: boolean
                              appArmorProfile:
5501
5502
5503
5504
                                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.
5505
5506
                                properties:
                                  localhostProfile:
5507
5508
5509
5510
5511
                                    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".
5512
5513
                                    type: string
                                  type:
5514
5515
5516
5517
5518
5519
                                    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.
5520
5521
5522
5523
5524
                                    type: string
                                required:
                                  - type
                                type: object
                              capabilities:
5525
5526
5527
5528
                                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.
5529
5530
                                properties:
                                  add:
5531
                                    description: Added capabilities
5532
                                    items:
5533
                                      description: Capability represent POSIX capabilities type
5534
5535
5536
5537
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  drop:
5538
                                    description: Removed capabilities
5539
                                    items:
5540
                                      description: Capability represent POSIX capabilities type
5541
5542
5543
5544
5545
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              privileged:
5546
5547
5548
5549
5550
                                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.
5551
5552
                                type: boolean
                              procMount:
5553
5554
5555
5556
5557
5558
                                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.
5559
5560
                                type: string
                              readOnlyRootFilesystem:
5561
5562
5563
5564
                                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.
5565
5566
                                type: boolean
                              runAsGroup:
5567
5568
5569
5570
5571
5572
                                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.
5573
5574
5575
                                format: int64
                                type: integer
                              runAsNonRoot:
5576
5577
5578
5579
5580
5581
5582
                                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.
5583
5584
                                type: boolean
                              runAsUser:
5585
5586
5587
5588
5589
5590
                                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.
5591
5592
5593
                                format: int64
                                type: integer
                              seLinuxOptions:
5594
5595
5596
5597
5598
5599
                                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.
5600
5601
                                properties:
                                  level:
5602
                                    description: Level is SELinux level label that applies to the container.
5603
5604
                                    type: string
                                  role:
5605
                                    description: Role is a SELinux role label that applies to the container.
5606
5607
                                    type: string
                                  type:
5608
                                    description: Type is a SELinux type label that applies to the container.
5609
5610
                                    type: string
                                  user:
5611
                                    description: User is a SELinux user label that applies to the container.
5612
5613
5614
                                    type: string
                                type: object
                              seccompProfile:
5615
5616
5617
5618
5619
                                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.
5620
5621
                                properties:
                                  localhostProfile:
5622
5623
5624
5625
5626
                                    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.
5627
5628
                                    type: string
                                  type:
5629
5630
5631
5632
5633
5634
5635
                                    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.
5636
5637
5638
5639
5640
                                    type: string
                                required:
                                  - type
                                type: object
                              windowsOptions:
5641
5642
5643
5644
5645
                                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.
5646
5647
                                properties:
                                  gmsaCredentialSpec:
5648
5649
5650
5651
                                    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.
5652
5653
                                    type: string
                                  gmsaCredentialSpecName:
5654
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
5655
5656
                                    type: string
                                  hostProcess:
5657
5658
5659
5660
5661
                                    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.
5662
5663
                                    type: boolean
                                  runAsUserName:
5664
5665
5666
5667
5668
                                    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.
5669
5670
5671
5672
                                    type: string
                                type: object
                            type: object
                          startupProbe:
5673
5674
5675
5676
5677
5678
5679
5680
                            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
5681
5682
                            properties:
                              exec:
5683
                                description: Exec specifies a command to execute in the container.
5684
5685
                                properties:
                                  command:
5686
5687
5688
5689
5690
5691
                                    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.
5692
5693
5694
5695
5696
5697
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
5698
5699
5700
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
5701
5702
5703
                                format: int32
                                type: integer
                              grpc:
5704
                                description: GRPC specifies a GRPC HealthCheckRequest.
5705
5706
                                properties:
                                  port:
5707
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5708
5709
5710
5711
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
5712
5713
5714
5715
5716
                                    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.
5717
5718
5719
5720
5721
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
5722
                                description: HTTPGet specifies an HTTP GET request to perform.
5723
5724
                                properties:
                                  host:
5725
5726
5727
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
5728
5729
                                    type: string
                                  httpHeaders:
5730
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
5731
                                    items:
5732
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
5733
5734
                                      properties:
                                        name:
5735
5736
5737
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
5738
5739
                                          type: string
                                        value:
5740
                                          description: The header field value
5741
5742
5743
5744
5745
5746
5747
5748
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
5749
                                    description: Path to access on the HTTP server.
5750
5751
5752
5753
5754
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5755
5756
5757
5758
                                    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.
5759
5760
                                    x-kubernetes-int-or-string: true
                                  scheme:
5761
5762
5763
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
5764
5765
5766
5767
5768
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
5769
5770
5771
                                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
5772
5773
5774
                                format: int32
                                type: integer
                              periodSeconds:
5775
5776
5777
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
5778
5779
5780
                                format: int32
                                type: integer
                              successThreshold:
5781
5782
5783
                                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.
5784
5785
5786
                                format: int32
                                type: integer
                              tcpSocket:
5787
                                description: TCPSocket specifies a connection to a TCP port.
5788
5789
                                properties:
                                  host:
5790
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
5791
5792
5793
5794
5795
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5796
5797
5798
5799
                                    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.
5800
5801
5802
5803
5804
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
                                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.
5816
5817
5818
                                format: int64
                                type: integer
                              timeoutSeconds:
5819
5820
5821
5822
                                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
5823
5824
5825
5826
                                format: int32
                                type: integer
                            type: object
                          stdin:
5827
5828
5829
5830
                            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.
5831
5832
                            type: boolean
                          stdinOnce:
5833
5834
5835
5836
5837
5838
5839
5840
                            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
5841
5842
                            type: boolean
                          terminationMessagePath:
5843
5844
5845
5846
5847
5848
5849
5850
                            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.
5851
5852
                            type: string
                          terminationMessagePolicy:
5853
5854
5855
5856
5857
5858
5859
5860
                            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.
5861
5862
                            type: string
                          tty:
5863
5864
5865
                            description: |-
                              Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                              Default is false.
5866
5867
                            type: boolean
                          volumeDevices:
5868
                            description: volumeDevices is the list of block devices to be used by the container.
5869
                            items:
5870
                              description: volumeDevice describes a mapping of a raw block device within a container.
5871
5872
                              properties:
                                devicePath:
5873
                                  description: devicePath is the path inside of the container that the device will be mapped to.
5874
5875
                                  type: string
                                name:
5876
                                  description: name must match the name of a persistentVolumeClaim in the pod
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
                                  type: string
                              required:
                                - devicePath
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - devicePath
                            x-kubernetes-list-type: map
                          volumeMounts:
5887
5888
5889
                            description: |-
                              Pod volumes to mount into the container's filesystem.
                              Cannot be updated.
5890
                            items:
5891
                              description: VolumeMount describes a mounting of a Volume within a container.
5892
5893
                              properties:
                                mountPath:
5894
5895
5896
                                  description: |-
                                    Path within the container at which the volume should be mounted.  Must
                                    not contain ':'.
5897
5898
                                  type: string
                                mountPropagation:
5899
5900
5901
5902
5903
5904
5905
                                  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).
5906
5907
                                  type: string
                                name:
5908
                                  description: This must match the Name of a Volume.
5909
5910
                                  type: string
                                readOnly:
5911
5912
5913
                                  description: |-
                                    Mounted read-only if true, read-write otherwise (false or unspecified).
                                    Defaults to false.
5914
5915
                                  type: boolean
                                recursiveReadOnly:
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
                                  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.
5933
5934
                                  type: string
                                subPath:
5935
5936
5937
                                  description: |-
                                    Path within the volume from which the container's volume should be mounted.
                                    Defaults to "" (volume's root).
5938
5939
                                  type: string
                                subPathExpr:
5940
5941
5942
5943
5944
                                  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.
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
                                  type: string
                              required:
                                - mountPath
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - mountPath
                            x-kubernetes-list-type: map
                          workingDir:
5955
5956
5957
5958
5959
                            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.
5960
5961
5962
5963
5964
5965
5966
5967
5968
                            type: string
                        required:
                          - name
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    mainContainer:
5969
                      description: A single application container that you want to run within a pod.
5970
5971
                      properties:
                        args:
5972
5973
5974
5975
5976
5977
5978
5979
5980
                          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
5981
5982
5983
5984
5985
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
                        command:
5986
5987
5988
5989
5990
5991
5992
5993
5994
                          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
5995
5996
5997
5998
5999
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
                        env:
6000
6001
6002
                          description: |-
                            List of environment variables to set in the container.
                            Cannot be updated.
6003
                          items:
6004
                            description: EnvVar represents an environment variable present in a Container.
6005
6006
                            properties:
                              name:
6007
                                description: Name of the environment variable. Must be a C_IDENTIFIER.
6008
6009
                                type: string
                              value:
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
                                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 "".
6020
6021
                                type: string
                              valueFrom:
6022
                                description: Source for the environment variable's value. Cannot be used if value is not empty.
6023
6024
                                properties:
                                  configMapKeyRef:
6025
                                    description: Selects a key of a ConfigMap.
6026
6027
                                    properties:
                                      key:
6028
                                        description: The key to select.
6029
6030
6031
                                        type: string
                                      name:
                                        default: ""
6032
6033
6034
6035
6036
6037
                                        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
6038
6039
                                        type: string
                                      optional:
6040
                                        description: Specify whether the ConfigMap or its key must be defined
6041
6042
6043
6044
6045
6046
                                        type: boolean
                                    required:
                                      - key
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  fieldRef:
6047
6048
6049
                                    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.
6050
6051
                                    properties:
                                      apiVersion:
6052
                                        description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
6053
6054
                                        type: string
                                      fieldPath:
6055
                                        description: Path of the field to select in the specified API version.
6056
6057
6058
6059
6060
6061
                                        type: string
                                    required:
                                      - fieldPath
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  resourceFieldRef:
6062
6063
6064
                                    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.
6065
6066
                                    properties:
                                      containerName:
6067
                                        description: 'Container name: required for volumes, optional for env vars'
6068
6069
6070
6071
6072
                                        type: string
                                      divisor:
                                        anyOf:
                                          - type: integer
                                          - type: string
6073
                                        description: Specifies the output format of the exposed resources, defaults to "1"
6074
6075
6076
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                        x-kubernetes-int-or-string: true
                                      resource:
6077
                                        description: 'Required: resource to select'
6078
6079
6080
6081
6082
6083
                                        type: string
                                    required:
                                      - resource
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  secretKeyRef:
6084
                                    description: Selects a key of a secret in the pod's namespace
6085
6086
                                    properties:
                                      key:
6087
                                        description: The key of the secret to select from.  Must be a valid secret key.
6088
6089
6090
                                        type: string
                                      name:
                                        default: ""
6091
6092
6093
6094
6095
6096
                                        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
6097
6098
                                        type: string
                                      optional:
6099
                                        description: Specify whether the Secret or its key must be defined
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
                                        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:
6114
6115
6116
6117
6118
6119
6120
                          description: |-
                            List of sources to populate environment variables in the container.
                            The keys defined within a source must be a C_IDENTIFIER. All invalid keys
                            will be reported as an event when the container is starting. When a key exists in multiple
                            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.
6121
                          items:
6122
                            description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
6123
6124
                            properties:
                              configMapRef:
6125
                                description: The ConfigMap to select from
6126
6127
6128
                                properties:
                                  name:
                                    default: ""
6129
6130
6131
6132
6133
6134
                                    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
6135
6136
                                    type: string
                                  optional:
6137
                                    description: Specify whether the ConfigMap must be defined
6138
6139
6140
6141
                                    type: boolean
                                type: object
                                x-kubernetes-map-type: atomic
                              prefix:
6142
                                description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
6143
6144
                                type: string
                              secretRef:
6145
                                description: The Secret to select from
6146
6147
6148
                                properties:
                                  name:
                                    default: ""
6149
6150
6151
6152
6153
6154
                                    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
6155
6156
                                    type: string
                                  optional:
6157
                                    description: Specify whether the Secret must be defined
6158
6159
6160
6161
6162
6163
6164
                                    type: boolean
                                type: object
                                x-kubernetes-map-type: atomic
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        image:
6165
6166
6167
6168
6169
                          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.
6170
6171
                          type: string
                        imagePullPolicy:
6172
6173
6174
6175
6176
6177
                          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
6178
6179
                          type: string
                        lifecycle:
6180
6181
6182
                          description: |-
                            Actions that the management system should take in response to container lifecycle events.
                            Cannot be updated.
6183
6184
                          properties:
                            postStart:
6185
6186
6187
6188
6189
                              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
6190
6191
                              properties:
                                exec:
6192
                                  description: Exec specifies a command to execute in the container.
6193
6194
                                  properties:
                                    command:
6195
6196
6197
6198
6199
6200
                                      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.
6201
6202
6203
6204
6205
6206
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                httpGet:
6207
                                  description: HTTPGet specifies an HTTP GET request to perform.
6208
6209
                                  properties:
                                    host:
6210
6211
6212
                                      description: |-
                                        Host name to connect to, defaults to the pod IP. You probably want to set
                                        "Host" in httpHeaders instead.
6213
6214
                                      type: string
                                    httpHeaders:
6215
                                      description: Custom headers to set in the request. HTTP allows repeated headers.
6216
                                      items:
6217
                                        description: HTTPHeader describes a custom header to be used in HTTP probes
6218
6219
                                        properties:
                                          name:
6220
6221
6222
                                            description: |-
                                              The header field name.
                                              This will be canonicalized upon output, so case-variant names will be understood as the same header.
6223
6224
                                            type: string
                                          value:
6225
                                            description: The header field value
6226
6227
6228
6229
6230
6231
6232
6233
                                            type: string
                                        required:
                                          - name
                                          - value
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    path:
6234
                                      description: Path to access on the HTTP server.
6235
6236
6237
6238
6239
                                      type: string
                                    port:
                                      anyOf:
                                        - type: integer
                                        - type: string
6240
6241
6242
6243
                                      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.
6244
6245
                                      x-kubernetes-int-or-string: true
                                    scheme:
6246
6247
6248
                                      description: |-
                                        Scheme to use for connecting to the host.
                                        Defaults to HTTP.
6249
6250
6251
6252
6253
                                      type: string
                                  required:
                                    - port
                                  type: object
                                sleep:
6254
                                  description: Sleep represents a duration that the container should sleep.
6255
6256
                                  properties:
                                    seconds:
6257
                                      description: Seconds is the number of seconds to sleep.
6258
6259
6260
6261
6262
6263
                                      format: int64
                                      type: integer
                                  required:
                                    - seconds
                                  type: object
                                tcpSocket:
6264
6265
6266
6267
                                  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.
6268
6269
                                  properties:
                                    host:
6270
                                      description: 'Optional: Host name to connect to, defaults to the pod IP.'
6271
6272
6273
6274
6275
                                      type: string
                                    port:
                                      anyOf:
                                        - type: integer
                                        - type: string
6276
6277
6278
6279
                                      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.
6280
6281
6282
6283
6284
6285
                                      x-kubernetes-int-or-string: true
                                  required:
                                    - port
                                  type: object
                              type: object
                            preStop:
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
                              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
6296
6297
                              properties:
                                exec:
6298
                                  description: Exec specifies a command to execute in the container.
6299
6300
                                  properties:
                                    command:
6301
6302
6303
6304
6305
6306
                                      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.
6307
6308
6309
6310
6311
6312
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                httpGet:
6313
                                  description: HTTPGet specifies an HTTP GET request to perform.
6314
6315
                                  properties:
                                    host:
6316
6317
6318
                                      description: |-
                                        Host name to connect to, defaults to the pod IP. You probably want to set
                                        "Host" in httpHeaders instead.
6319
6320
                                      type: string
                                    httpHeaders:
6321
                                      description: Custom headers to set in the request. HTTP allows repeated headers.
6322
                                      items:
6323
                                        description: HTTPHeader describes a custom header to be used in HTTP probes
6324
6325
                                        properties:
                                          name:
6326
6327
6328
                                            description: |-
                                              The header field name.
                                              This will be canonicalized upon output, so case-variant names will be understood as the same header.
6329
6330
                                            type: string
                                          value:
6331
                                            description: The header field value
6332
6333
6334
6335
6336
6337
6338
6339
                                            type: string
                                        required:
                                          - name
                                          - value
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    path:
6340
                                      description: Path to access on the HTTP server.
6341
6342
6343
6344
6345
                                      type: string
                                    port:
                                      anyOf:
                                        - type: integer
                                        - type: string
6346
6347
6348
6349
                                      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.
6350
6351
                                      x-kubernetes-int-or-string: true
                                    scheme:
6352
6353
6354
                                      description: |-
                                        Scheme to use for connecting to the host.
                                        Defaults to HTTP.
6355
6356
6357
6358
6359
                                      type: string
                                  required:
                                    - port
                                  type: object
                                sleep:
6360
                                  description: Sleep represents a duration that the container should sleep.
6361
6362
                                  properties:
                                    seconds:
6363
                                      description: Seconds is the number of seconds to sleep.
6364
6365
6366
6367
6368
6369
                                      format: int64
                                      type: integer
                                  required:
                                    - seconds
                                  type: object
                                tcpSocket:
6370
6371
6372
6373
                                  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.
6374
6375
                                  properties:
                                    host:
6376
                                      description: 'Optional: Host name to connect to, defaults to the pod IP.'
6377
6378
6379
6380
6381
                                      type: string
                                    port:
                                      anyOf:
                                        - type: integer
                                        - type: string
6382
6383
6384
6385
                                      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.
6386
6387
6388
6389
6390
6391
                                      x-kubernetes-int-or-string: true
                                  required:
                                    - port
                                  type: object
                              type: object
                            stopSignal:
6392
6393
6394
6395
                              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
6396
6397
6398
                              type: string
                          type: object
                        livenessProbe:
6399
6400
6401
6402
6403
                          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
6404
6405
                          properties:
                            exec:
6406
                              description: Exec specifies a command to execute in the container.
6407
6408
                              properties:
                                command:
6409
6410
6411
6412
6413
6414
                                  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.
6415
6416
6417
6418
6419
6420
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                              type: object
                            failureThreshold:
6421
6422
6423
                              description: |-
                                Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                Defaults to 3. Minimum value is 1.
6424
6425
6426
                              format: int32
                              type: integer
                            grpc:
6427
                              description: GRPC specifies a GRPC HealthCheckRequest.
6428
6429
                              properties:
                                port:
6430
                                  description: Port number of the gRPC service. Number must be in the range 1 to 65535.
6431
6432
6433
6434
                                  format: int32
                                  type: integer
                                service:
                                  default: ""
6435
6436
6437
6438
6439
                                  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.
6440
6441
6442
6443
6444
                                  type: string
                              required:
                                - port
                              type: object
                            httpGet:
6445
                              description: HTTPGet specifies an HTTP GET request to perform.
6446
6447
                              properties:
                                host:
6448
6449
6450
                                  description: |-
                                    Host name to connect to, defaults to the pod IP. You probably want to set
                                    "Host" in httpHeaders instead.
6451
6452
                                  type: string
                                httpHeaders:
6453
                                  description: Custom headers to set in the request. HTTP allows repeated headers.
6454
                                  items:
6455
                                    description: HTTPHeader describes a custom header to be used in HTTP probes
6456
6457
                                    properties:
                                      name:
6458
6459
6460
                                        description: |-
                                          The header field name.
                                          This will be canonicalized upon output, so case-variant names will be understood as the same header.
6461
6462
                                        type: string
                                      value:
6463
                                        description: The header field value
6464
6465
6466
6467
6468
6469
6470
6471
                                        type: string
                                    required:
                                      - name
                                      - value
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                path:
6472
                                  description: Path to access on the HTTP server.
6473
6474
6475
6476
6477
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
6478
6479
6480
6481
                                  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.
6482
6483
                                  x-kubernetes-int-or-string: true
                                scheme:
6484
6485
6486
                                  description: |-
                                    Scheme to use for connecting to the host.
                                    Defaults to HTTP.
6487
6488
6489
6490
6491
                                  type: string
                              required:
                                - port
                              type: object
                            initialDelaySeconds:
6492
6493
6494
                              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
6495
6496
6497
                              format: int32
                              type: integer
                            periodSeconds:
6498
6499
6500
                              description: |-
                                How often (in seconds) to perform the probe.
                                Default to 10 seconds. Minimum value is 1.
6501
6502
6503
                              format: int32
                              type: integer
                            successThreshold:
6504
6505
6506
                              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.
6507
6508
6509
                              format: int32
                              type: integer
                            tcpSocket:
6510
                              description: TCPSocket specifies a connection to a TCP port.
6511
6512
                              properties:
                                host:
6513
                                  description: 'Optional: Host name to connect to, defaults to the pod IP.'
6514
6515
6516
6517
6518
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
6519
6520
6521
6522
                                  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.
6523
6524
6525
6526
6527
                                  x-kubernetes-int-or-string: true
                              required:
                                - port
                              type: object
                            terminationGracePeriodSeconds:
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
                              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.
6539
6540
6541
                              format: int64
                              type: integer
                            timeoutSeconds:
6542
6543
6544
6545
                              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
6546
6547
6548
6549
                              format: int32
                              type: integer
                          type: object
                        name:
6550
6551
6552
6553
                          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.
6554
6555
                          type: string
                        ports:
6556
6557
6558
6559
6560
6561
6562
6563
                          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.
6564
                          items:
6565
                            description: ContainerPort represents a network port in a single container.
6566
6567
                            properties:
                              containerPort:
6568
6569
6570
                                description: |-
                                  Number of port to expose on the pod's IP address.
                                  This must be a valid port number, 0 < x < 65536.
6571
6572
6573
                                format: int32
                                type: integer
                              hostIP:
6574
                                description: What host IP to bind the external port to.
6575
6576
                                type: string
                              hostPort:
6577
6578
6579
6580
6581
                                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.
6582
6583
6584
                                format: int32
                                type: integer
                              name:
6585
6586
6587
6588
                                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.
6589
6590
6591
                                type: string
                              protocol:
                                default: TCP
6592
6593
6594
                                description: |-
                                  Protocol for port. Must be UDP, TCP, or SCTP.
                                  Defaults to "TCP".
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
                                type: string
                            required:
                              - containerPort
                            type: object
                          type: array
                          x-kubernetes-list-map-keys:
                            - containerPort
                            - protocol
                          x-kubernetes-list-type: map
                        readinessProbe:
6605
6606
6607
6608
6609
                          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
6610
6611
                          properties:
                            exec:
6612
                              description: Exec specifies a command to execute in the container.
6613
6614
                              properties:
                                command:
6615
6616
6617
6618
6619
6620
                                  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.
6621
6622
6623
6624
6625
6626
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                              type: object
                            failureThreshold:
6627
6628
6629
                              description: |-
                                Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                Defaults to 3. Minimum value is 1.
6630
6631
6632
                              format: int32
                              type: integer
                            grpc:
6633
                              description: GRPC specifies a GRPC HealthCheckRequest.
6634
6635
                              properties:
                                port:
6636
                                  description: Port number of the gRPC service. Number must be in the range 1 to 65535.
6637
6638
6639
6640
                                  format: int32
                                  type: integer
                                service:
                                  default: ""
6641
6642
6643
6644
6645
                                  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.
6646
6647
6648
6649
6650
                                  type: string
                              required:
                                - port
                              type: object
                            httpGet:
6651
                              description: HTTPGet specifies an HTTP GET request to perform.
6652
6653
                              properties:
                                host:
6654
6655
6656
                                  description: |-
                                    Host name to connect to, defaults to the pod IP. You probably want to set
                                    "Host" in httpHeaders instead.
6657
6658
                                  type: string
                                httpHeaders:
6659
                                  description: Custom headers to set in the request. HTTP allows repeated headers.
6660
                                  items:
6661
                                    description: HTTPHeader describes a custom header to be used in HTTP probes
6662
6663
                                    properties:
                                      name:
6664
6665
6666
                                        description: |-
                                          The header field name.
                                          This will be canonicalized upon output, so case-variant names will be understood as the same header.
6667
6668
                                        type: string
                                      value:
6669
                                        description: The header field value
6670
6671
6672
6673
6674
6675
6676
6677
                                        type: string
                                    required:
                                      - name
                                      - value
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                path:
6678
                                  description: Path to access on the HTTP server.
6679
6680
6681
6682
6683
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
6684
6685
6686
6687
                                  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.
6688
6689
                                  x-kubernetes-int-or-string: true
                                scheme:
6690
6691
6692
                                  description: |-
                                    Scheme to use for connecting to the host.
                                    Defaults to HTTP.
6693
6694
6695
6696
6697
                                  type: string
                              required:
                                - port
                              type: object
                            initialDelaySeconds:
6698
6699
6700
                              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
6701
6702
6703
                              format: int32
                              type: integer
                            periodSeconds:
6704
6705
6706
                              description: |-
                                How often (in seconds) to perform the probe.
                                Default to 10 seconds. Minimum value is 1.
6707
6708
6709
                              format: int32
                              type: integer
                            successThreshold:
6710
6711
6712
                              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.
6713
6714
6715
                              format: int32
                              type: integer
                            tcpSocket:
6716
                              description: TCPSocket specifies a connection to a TCP port.
6717
6718
                              properties:
                                host:
6719
                                  description: 'Optional: Host name to connect to, defaults to the pod IP.'
6720
6721
6722
6723
6724
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
6725
6726
6727
6728
                                  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.
6729
6730
6731
6732
6733
                                  x-kubernetes-int-or-string: true
                              required:
                                - port
                              type: object
                            terminationGracePeriodSeconds:
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
                              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.
6745
6746
6747
                              format: int64
                              type: integer
                            timeoutSeconds:
6748
6749
6750
6751
                              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
6752
6753
6754
6755
                              format: int32
                              type: integer
                          type: object
                        resizePolicy:
6756
                          description: Resources resize policy for the container.
6757
                          items:
6758
                            description: ContainerResizePolicy represents resource resize policy for the container.
6759
6760
                            properties:
                              resourceName:
6761
6762
6763
                                description: |-
                                  Name of the resource to which this resource resize policy applies.
                                  Supported values: cpu, memory.
6764
6765
                                type: string
                              restartPolicy:
6766
6767
6768
                                description: |-
                                  Restart policy to apply when specified resource is resized.
                                  If not specified, it defaults to NotRequired.
6769
6770
6771
6772
6773
6774
6775
6776
                                type: string
                            required:
                              - resourceName
                              - restartPolicy
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        resources:
6777
6778
6779
6780
                          description: |-
                            Compute Resources required by this container.
                            Cannot be updated.
                            More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6781
6782
                          properties:
                            claims:
6783
6784
6785
6786
6787
6788
6789
6790
                              description: |-
                                Claims lists the names of resources, defined in spec.resourceClaims,
                                that are used by this container.

                                This is an alpha field and requires enabling the
                                DynamicResourceAllocation feature gate.

                                This field is immutable. It can only be set for containers.
6791
                              items:
6792
                                description: ResourceClaim references one entry in PodSpec.ResourceClaims.
6793
6794
                                properties:
                                  name:
6795
6796
6797
6798
                                    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.
6799
6800
                                    type: string
                                  request:
6801
6802
6803
6804
                                    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.
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
                                    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
6820
6821
6822
                              description: |-
                                Limits describes the maximum amount of compute resources allowed.
                                More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6823
6824
6825
6826
6827
6828
6829
6830
                              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
6831
6832
6833
6834
6835
                              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/
6836
6837
6838
                              type: object
                          type: object
                        restartPolicy:
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
                          description: |-
                            RestartPolicy defines the restart behavior of individual containers in a pod.
                            This field may only be set for init containers, and the only allowed value is "Always".
                            For non-init containers or when this field is not specified,
                            the restart behavior is defined by the Pod's restart policy and the container type.
                            Setting the RestartPolicy as "Always" for the init container will have the following effect:
                            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.
6855
6856
                          type: string
                        securityContext:
6857
6858
6859
6860
                          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/
6861
6862
                          properties:
                            allowPrivilegeEscalation:
6863
6864
6865
6866
6867
6868
6869
6870
                              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.
6871
6872
                              type: boolean
                            appArmorProfile:
6873
6874
6875
6876
                              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.
6877
6878
                              properties:
                                localhostProfile:
6879
6880
6881
6882
6883
                                  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".
6884
6885
                                  type: string
                                type:
6886
6887
6888
6889
6890
6891
                                  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.
6892
6893
6894
6895
6896
                                  type: string
                              required:
                                - type
                              type: object
                            capabilities:
6897
6898
6899
6900
                              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.
6901
6902
                              properties:
                                add:
6903
                                  description: Added capabilities
6904
                                  items:
6905
                                    description: Capability represent POSIX capabilities type
6906
6907
6908
6909
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                drop:
6910
                                  description: Removed capabilities
6911
                                  items:
6912
                                    description: Capability represent POSIX capabilities type
6913
6914
6915
6916
6917
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                              type: object
                            privileged:
6918
6919
6920
6921
6922
                              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.
6923
6924
                              type: boolean
                            procMount:
6925
6926
6927
6928
6929
6930
                              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.
6931
6932
                              type: string
                            readOnlyRootFilesystem:
6933
6934
6935
6936
                              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.
6937
6938
                              type: boolean
                            runAsGroup:
6939
6940
6941
6942
6943
6944
                              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.
6945
6946
6947
                              format: int64
                              type: integer
                            runAsNonRoot:
6948
6949
6950
6951
6952
6953
6954
                              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.
6955
6956
                              type: boolean
                            runAsUser:
6957
6958
6959
6960
6961
6962
                              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.
6963
6964
6965
                              format: int64
                              type: integer
                            seLinuxOptions:
6966
6967
6968
6969
6970
6971
                              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.
6972
6973
                              properties:
                                level:
6974
                                  description: Level is SELinux level label that applies to the container.
6975
6976
                                  type: string
                                role:
6977
                                  description: Role is a SELinux role label that applies to the container.
6978
6979
                                  type: string
                                type:
6980
                                  description: Type is a SELinux type label that applies to the container.
6981
6982
                                  type: string
                                user:
6983
                                  description: User is a SELinux user label that applies to the container.
6984
6985
6986
                                  type: string
                              type: object
                            seccompProfile:
6987
6988
6989
6990
6991
                              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.
6992
6993
                              properties:
                                localhostProfile:
6994
6995
6996
6997
6998
                                  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.
6999
7000
                                  type: string
                                type:
7001
7002
7003
7004
7005
7006
7007
                                  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.
7008
7009
7010
7011
7012
                                  type: string
                              required:
                                - type
                              type: object
                            windowsOptions:
7013
7014
7015
7016
7017
                              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.
7018
7019
                              properties:
                                gmsaCredentialSpec:
7020
7021
7022
7023
                                  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.
7024
7025
                                  type: string
                                gmsaCredentialSpecName:
7026
                                  description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
7027
7028
                                  type: string
                                hostProcess:
7029
7030
7031
7032
7033
                                  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.
7034
7035
                                  type: boolean
                                runAsUserName:
7036
7037
7038
7039
7040
                                  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.
7041
7042
7043
7044
                                  type: string
                              type: object
                          type: object
                        startupProbe:
7045
7046
7047
7048
7049
7050
7051
7052
                          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
7053
7054
                          properties:
                            exec:
7055
                              description: Exec specifies a command to execute in the container.
7056
7057
                              properties:
                                command:
7058
7059
7060
7061
7062
7063
                                  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.
7064
7065
7066
7067
7068
7069
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                              type: object
                            failureThreshold:
7070
7071
7072
                              description: |-
                                Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                Defaults to 3. Minimum value is 1.
7073
7074
7075
                              format: int32
                              type: integer
                            grpc:
7076
                              description: GRPC specifies a GRPC HealthCheckRequest.
7077
7078
                              properties:
                                port:
7079
                                  description: Port number of the gRPC service. Number must be in the range 1 to 65535.
7080
7081
7082
7083
                                  format: int32
                                  type: integer
                                service:
                                  default: ""
7084
7085
7086
7087
7088
                                  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.
7089
7090
7091
7092
7093
                                  type: string
                              required:
                                - port
                              type: object
                            httpGet:
7094
                              description: HTTPGet specifies an HTTP GET request to perform.
7095
7096
                              properties:
                                host:
7097
7098
7099
                                  description: |-
                                    Host name to connect to, defaults to the pod IP. You probably want to set
                                    "Host" in httpHeaders instead.
7100
7101
                                  type: string
                                httpHeaders:
7102
                                  description: Custom headers to set in the request. HTTP allows repeated headers.
7103
                                  items:
7104
                                    description: HTTPHeader describes a custom header to be used in HTTP probes
7105
7106
                                    properties:
                                      name:
7107
7108
7109
                                        description: |-
                                          The header field name.
                                          This will be canonicalized upon output, so case-variant names will be understood as the same header.
7110
7111
                                        type: string
                                      value:
7112
                                        description: The header field value
7113
7114
7115
7116
7117
7118
7119
7120
                                        type: string
                                    required:
                                      - name
                                      - value
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                path:
7121
                                  description: Path to access on the HTTP server.
7122
7123
7124
7125
7126
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
7127
7128
7129
7130
                                  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.
7131
7132
                                  x-kubernetes-int-or-string: true
                                scheme:
7133
7134
7135
                                  description: |-
                                    Scheme to use for connecting to the host.
                                    Defaults to HTTP.
7136
7137
7138
7139
7140
                                  type: string
                              required:
                                - port
                              type: object
                            initialDelaySeconds:
7141
7142
7143
                              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
7144
7145
7146
                              format: int32
                              type: integer
                            periodSeconds:
7147
7148
7149
                              description: |-
                                How often (in seconds) to perform the probe.
                                Default to 10 seconds. Minimum value is 1.
7150
7151
7152
                              format: int32
                              type: integer
                            successThreshold:
7153
7154
7155
                              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.
7156
7157
7158
                              format: int32
                              type: integer
                            tcpSocket:
7159
                              description: TCPSocket specifies a connection to a TCP port.
7160
7161
                              properties:
                                host:
7162
                                  description: 'Optional: Host name to connect to, defaults to the pod IP.'
7163
7164
7165
7166
7167
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
7168
7169
7170
7171
                                  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.
7172
7173
7174
7175
7176
                                  x-kubernetes-int-or-string: true
                              required:
                                - port
                              type: object
                            terminationGracePeriodSeconds:
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
                              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.
7188
7189
7190
                              format: int64
                              type: integer
                            timeoutSeconds:
7191
7192
7193
7194
                              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
7195
7196
7197
7198
                              format: int32
                              type: integer
                          type: object
                        stdin:
7199
7200
7201
7202
                          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.
7203
7204
                          type: boolean
                        stdinOnce:
7205
7206
7207
7208
7209
7210
7211
7212
                          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
7213
7214
                          type: boolean
                        terminationMessagePath:
7215
7216
7217
7218
7219
7220
7221
7222
                          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.
7223
7224
                          type: string
                        terminationMessagePolicy:
7225
7226
7227
7228
7229
7230
7231
7232
                          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.
7233
7234
                          type: string
                        tty:
7235
7236
7237
                          description: |-
                            Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                            Default is false.
7238
7239
                          type: boolean
                        volumeDevices:
7240
                          description: volumeDevices is the list of block devices to be used by the container.
7241
                          items:
7242
                            description: volumeDevice describes a mapping of a raw block device within a container.
7243
7244
                            properties:
                              devicePath:
7245
                                description: devicePath is the path inside of the container that the device will be mapped to.
7246
7247
                                type: string
                              name:
7248
                                description: name must match the name of a persistentVolumeClaim in the pod
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
                                type: string
                            required:
                              - devicePath
                              - name
                            type: object
                          type: array
                          x-kubernetes-list-map-keys:
                            - devicePath
                          x-kubernetes-list-type: map
                        volumeMounts:
7259
7260
7261
                          description: |-
                            Pod volumes to mount into the container's filesystem.
                            Cannot be updated.
7262
                          items:
7263
                            description: VolumeMount describes a mounting of a Volume within a container.
7264
7265
                            properties:
                              mountPath:
7266
7267
7268
                                description: |-
                                  Path within the container at which the volume should be mounted.  Must
                                  not contain ':'.
7269
7270
                                type: string
                              mountPropagation:
7271
7272
7273
7274
7275
7276
7277
                                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).
7278
7279
                                type: string
                              name:
7280
                                description: This must match the Name of a Volume.
7281
7282
                                type: string
                              readOnly:
7283
7284
7285
                                description: |-
                                  Mounted read-only if true, read-write otherwise (false or unspecified).
                                  Defaults to false.
7286
7287
                                type: boolean
                              recursiveReadOnly:
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
                                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.
7305
7306
                                type: string
                              subPath:
7307
7308
7309
                                description: |-
                                  Path within the volume from which the container's volume should be mounted.
                                  Defaults to "" (volume's root).
7310
7311
                                type: string
                              subPathExpr:
7312
7313
7314
7315
7316
                                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.
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
                                type: string
                            required:
                              - mountPath
                              - name
                            type: object
                          type: array
                          x-kubernetes-list-map-keys:
                            - mountPath
                          x-kubernetes-list-type: map
                        workingDir:
7327
7328
7329
7330
7331
                          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.
7332
7333
7334
7335
                          type: string
                      required: []
                      type: object
                    nodeName:
7336
7337
7338
7339
7340
7341
                      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
7342
7343
7344
7345
                      type: string
                    nodeSelector:
                      additionalProperties:
                        type: string
7346
7347
7348
7349
                      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/
7350
7351
7352
                      type: object
                      x-kubernetes-map-type: atomic
                    os:
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
                      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
                        - 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
7385
7386
                      properties:
                        name:
7387
7388
7389
7390
7391
                          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
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
                          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
7403
7404
7405
7406
7407
7408
7409
7410
                      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
7411
7412
                      type: object
                    preemptionPolicy:
7413
7414
7415
7416
                      description: |-
                        PreemptionPolicy is the Policy for preempting pods with lower priority.
                        One of Never, PreemptLowerPriority.
                        Defaults to PreemptLowerPriority if unset.
7417
7418
                      type: string
                    priority:
7419
7420
7421
7422
7423
7424
                      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.
7425
7426
7427
                      format: int32
                      type: integer
                    priorityClassName:
7428
7429
7430
7431
7432
7433
7434
                      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.
7435
7436
                      type: string
                    readinessGates:
7437
7438
7439
7440
7441
                      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
7442
                      items:
7443
                        description: PodReadinessGate contains the reference to a pod condition
7444
7445
                        properties:
                          conditionType:
7446
                            description: ConditionType refers to a condition in the pod's condition list with matching type.
7447
7448
7449
7450
7451
7452
7453
                            type: string
                        required:
                          - conditionType
                        type: object
                      type: array
                      x-kubernetes-list-type: atomic
                    resourceClaims:
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
                      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.
7464
                      items:
7465
7466
7467
7468
7469
7470
7471
                        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.
7472
7473
                        properties:
                          name:
7474
7475
7476
                            description: |-
                              Name uniquely identifies this resource claim inside the pod.
                              This must be a DNS_LABEL.
7477
7478
                            type: string
                          resourceClaimName:
7479
7480
7481
7482
7483
7484
                            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.
7485
7486
                            type: string
                          resourceClaimTemplateName:
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
                            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.
7503
7504
7505
7506
7507
7508
7509
7510
7511
                            type: string
                        required:
                          - name
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    resources:
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
                      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
                        "cpu" and "memory" resource names only. ResourceClaims are not supported.

                        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.
7522
7523
                      properties:
                        claims:
7524
7525
7526
7527
7528
7529
7530
7531
                          description: |-
                            Claims lists the names of resources, defined in spec.resourceClaims,
                            that are used by this container.

                            This is an alpha field and requires enabling the
                            DynamicResourceAllocation feature gate.

                            This field is immutable. It can only be set for containers.
7532
                          items:
7533
                            description: ResourceClaim references one entry in PodSpec.ResourceClaims.
7534
7535
                            properties:
                              name:
7536
7537
7538
7539
                                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.
7540
7541
                                type: string
                              request:
7542
7543
7544
7545
                                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.
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
                                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
7561
7562
7563
                          description: |-
                            Limits describes the maximum amount of compute resources allowed.
                            More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
7564
7565
7566
7567
7568
7569
7570
7571
                          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
7572
7573
7574
7575
7576
                          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/
7577
7578
7579
                          type: object
                      type: object
                    restartPolicy:
7580
7581
7582
7583
7584
                      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
7585
7586
                      type: string
                    runtimeClassName:
7587
7588
7589
7590
7591
7592
                      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
7593
7594
                      type: string
                    schedulerName:
7595
7596
7597
                      description: |-
                        If specified, the pod will be dispatched by specified scheduler.
                        If not specified, the pod will be dispatched by default scheduler.
7598
7599
                      type: string
                    schedulingGates:
7600
7601
7602
7603
7604
7605
                      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.
7606
                      items:
7607
                        description: PodSchedulingGate is associated to a Pod to guard its scheduling.
7608
7609
                        properties:
                          name:
7610
7611
7612
                            description: |-
                              Name of the scheduling gate.
                              Each scheduling gate must have a unique name field.
7613
7614
7615
7616
7617
7618
7619
7620
7621
                            type: string
                        required:
                          - name
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    securityContext:
7622
7623
7624
                      description: |-
                        SecurityContext holds pod-level security attributes and common container settings.
                        Optional: Defaults to empty.  See type description for default values of each field.
7625
7626
                      properties:
                        appArmorProfile:
7627
7628
7629
                          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.
7630
7631
                          properties:
                            localhostProfile:
7632
7633
7634
7635
7636
                              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".
7637
7638
                              type: string
                            type:
7639
7640
7641
7642
7643
7644
                              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.
7645
7646
7647
7648
7649
                              type: string
                          required:
                            - type
                          type: object
                        fsGroup:
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
                          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.
7661
7662
7663
                          format: int64
                          type: integer
                        fsGroupChangePolicy:
7664
7665
7666
7667
7668
7669
7670
7671
                          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.
7672
7673
                          type: string
                        runAsGroup:
7674
7675
7676
7677
7678
7679
7680
                          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.
7681
7682
7683
                          format: int64
                          type: integer
                        runAsNonRoot:
7684
7685
7686
7687
7688
7689
7690
                          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.
7691
7692
                          type: boolean
                        runAsUser:
7693
7694
7695
7696
7697
7698
7699
                          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.
7700
7701
7702
                          format: int64
                          type: integer
                        seLinuxChangePolicy:
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
                          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.
7727
7728
                          type: string
                        seLinuxOptions:
7729
7730
7731
7732
7733
7734
7735
                          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.
7736
7737
                          properties:
                            level:
7738
                              description: Level is SELinux level label that applies to the container.
7739
7740
                              type: string
                            role:
7741
                              description: Role is a SELinux role label that applies to the container.
7742
7743
                              type: string
                            type:
7744
                              description: Type is a SELinux type label that applies to the container.
7745
7746
                              type: string
                            user:
7747
                              description: User is a SELinux user label that applies to the container.
7748
7749
7750
                              type: string
                          type: object
                        seccompProfile:
7751
7752
7753
                          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.
7754
7755
                          properties:
                            localhostProfile:
7756
7757
7758
7759
7760
                              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.
7761
7762
                              type: string
                            type:
7763
7764
7765
7766
7767
7768
7769
                              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.
7770
7771
7772
7773
7774
                              type: string
                          required:
                            - type
                          type: object
                        supplementalGroups:
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
                          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.
7785
7786
7787
7788
7789
7790
                          items:
                            format: int64
                            type: integer
                          type: array
                          x-kubernetes-list-type: atomic
                        supplementalGroupsPolicy:
7791
7792
7793
7794
7795
7796
                          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.
7797
7798
                          type: string
                        sysctls:
7799
7800
7801
7802
                          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.
7803
                          items:
7804
                            description: Sysctl defines a kernel parameter to be set
7805
7806
                            properties:
                              name:
7807
                                description: Name of a property to set
7808
7809
                                type: string
                              value:
7810
                                description: Value of a property to set
7811
7812
7813
7814
7815
7816
7817
7818
                                type: string
                            required:
                              - name
                              - value
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        windowsOptions:
7819
7820
7821
7822
7823
                          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.
7824
7825
                          properties:
                            gmsaCredentialSpec:
7826
7827
7828
7829
                              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.
7830
7831
                              type: string
                            gmsaCredentialSpecName:
7832
                              description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
7833
7834
                              type: string
                            hostProcess:
7835
7836
7837
7838
7839
                              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.
7840
7841
                              type: boolean
                            runAsUserName:
7842
7843
7844
7845
7846
                              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.
7847
7848
7849
7850
                              type: string
                          type: object
                      type: object
                    serviceAccount:
7851
7852
7853
                      description: |-
                        DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.
                        Deprecated: Use serviceAccountName instead.
7854
7855
                      type: string
                    serviceAccountName:
7856
7857
7858
                      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/
7859
7860
                      type: string
                    setHostnameAsFQDN:
7861
7862
7863
7864
7865
7866
                      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.
7867
7868
                      type: boolean
                    shareProcessNamespace:
7869
7870
7871
7872
7873
7874
                      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.
7875
7876
                      type: boolean
                    subdomain:
7877
7878
7879
                      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.
7880
7881
                      type: string
                    terminationGracePeriodSeconds:
7882
7883
7884
7885
7886
7887
7888
7889
7890
                      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.
7891
7892
7893
                      format: int64
                      type: integer
                    tolerations:
7894
                      description: If specified, the pod's tolerations.
7895
                      items:
7896
7897
7898
                        description: |-
                          The pod this Toleration is attached to tolerates any taint that matches
                          the triple <key,value,effect> using the matching operator <operator>.
7899
7900
                        properties:
                          effect:
7901
7902
7903
                            description: |-
                              Effect indicates the taint effect to match. Empty means match all taint effects.
                              When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
7904
7905
                            type: string
                          key:
7906
7907
7908
                            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.
7909
7910
                            type: string
                          operator:
7911
7912
7913
7914
7915
                            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.
7916
7917
                            type: string
                          tolerationSeconds:
7918
7919
7920
7921
7922
                            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.
7923
7924
7925
                            format: int64
                            type: integer
                          value:
7926
7927
7928
                            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.
7929
7930
7931
7932
7933
                            type: string
                        type: object
                      type: array
                      x-kubernetes-list-type: atomic
                    topologySpreadConstraints:
7934
7935
7936
7937
                      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.
7938
                      items:
7939
                        description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
7940
7941
                        properties:
                          labelSelector:
7942
7943
7944
7945
                            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.
7946
7947
                            properties:
                              matchExpressions:
7948
                                description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
7949
                                items:
7950
7951
7952
                                  description: |-
                                    A label selector requirement is a selector that contains values, a key, and an operator that
                                    relates the key and values.
7953
7954
                                  properties:
                                    key:
7955
                                      description: key is the label key that the selector applies to.
7956
7957
                                      type: string
                                    operator:
7958
7959
7960
                                      description: |-
                                        operator represents a key's relationship to a set of values.
                                        Valid operators are In, NotIn, Exists and DoesNotExist.
7961
7962
                                      type: string
                                    values:
7963
7964
7965
7966
7967
                                      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.
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
                                      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
7981
7982
7983
7984
                                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.
7985
7986
7987
7988
                                type: object
                            type: object
                            x-kubernetes-map-type: atomic
                          matchLabelKeys:
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
                            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).
8000
8001
8002
8003
8004
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          maxSkew:
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
                            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.
8023
8024
8025
                            format: int32
                            type: integer
                          minDomains:
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
                            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.
8046
8047
8048
                            format: int32
                            type: integer
                          nodeAffinityPolicy:
8049
8050
8051
8052
8053
8054
8055
                            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.
8056
8057
                            type: string
                          nodeTaintsPolicy:
8058
8059
8060
8061
8062
8063
8064
8065
                            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.
8066
8067
                            type: string
                          topologyKey:
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
                            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.
8079
8080
                            type: string
                          whenUnsatisfiable:
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
                            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.
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
                            type: string
                        required:
                          - maxSkew
                          - topologyKey
                          - whenUnsatisfiable
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - topologyKey
                        - whenUnsatisfiable
                      x-kubernetes-list-type: map
                    volumes:
8112
8113
8114
                      description: |-
                        List of volumes that can be mounted by containers belonging to the pod.
                        More info: https://kubernetes.io/docs/concepts/storage/volumes
8115
                      items:
8116
                        description: Volume represents a named volume in a pod that may be accessed by any container in the pod.
8117
8118
                        properties:
                          awsElasticBlockStore:
8119
8120
8121
8122
8123
8124
                            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
8125
8126
                            properties:
                              fsType:
8127
8128
8129
8130
8131
                                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
8132
8133
                                type: string
                              partition:
8134
8135
8136
8137
8138
                                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).
8139
8140
8141
                                format: int32
                                type: integer
                              readOnly:
8142
8143
8144
                                description: |-
                                  readOnly value true will force the readOnly setting in VolumeMounts.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
8145
8146
                                type: boolean
                              volumeID:
8147
8148
8149
                                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
8150
8151
8152
8153
8154
                                type: string
                            required:
                              - volumeID
                            type: object
                          azureDisk:
8155
8156
8157
8158
                            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.
8159
8160
                            properties:
                              cachingMode:
8161
                                description: 'cachingMode is the Host Caching mode: None, Read Only, Read Write.'
8162
8163
                                type: string
                              diskName:
8164
                                description: diskName is the Name of the data disk in the blob storage
8165
8166
                                type: string
                              diskURI:
8167
                                description: diskURI is the URI of data disk in the blob storage
8168
8169
8170
                                type: string
                              fsType:
                                default: ext4
8171
8172
8173
8174
                                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.
8175
8176
                                type: string
                              kind:
8177
                                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'
8178
8179
8180
                                type: string
                              readOnly:
                                default: false
8181
8182
8183
                                description: |-
                                  readOnly Defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
8184
8185
8186
8187
8188
8189
                                type: boolean
                            required:
                              - diskName
                              - diskURI
                            type: object
                          azureFile:
8190
8191
8192
8193
                            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.
8194
8195
                            properties:
                              readOnly:
8196
8197
8198
                                description: |-
                                  readOnly defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
8199
8200
                                type: boolean
                              secretName:
8201
                                description: secretName is the  name of secret that contains Azure Storage Account Name and Key
8202
8203
                                type: string
                              shareName:
8204
                                description: shareName is the azure share Name
8205
8206
8207
8208
8209
8210
                                type: string
                            required:
                              - secretName
                              - shareName
                            type: object
                          cephfs:
8211
8212
8213
                            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.
8214
8215
                            properties:
                              monitors:
8216
8217
8218
                                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
8219
8220
8221
8222
8223
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
8224
                                description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /'
8225
8226
                                type: string
                              readOnly:
8227
8228
8229
8230
                                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
8231
8232
                                type: boolean
                              secretFile:
8233
8234
8235
                                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
8236
8237
                                type: string
                              secretRef:
8238
8239
8240
                                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
8241
8242
8243
                                properties:
                                  name:
                                    default: ""
8244
8245
8246
8247
8248
8249
                                    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
8250
8251
8252
8253
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              user:
8254
8255
8256
                                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
8257
8258
8259
8260
8261
                                type: string
                            required:
                              - monitors
                            type: object
                          cinder:
8262
8263
8264
8265
8266
                            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
8267
8268
                            properties:
                              fsType:
8269
8270
8271
8272
8273
                                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
8274
8275
                                type: string
                              readOnly:
8276
8277
8278
8279
                                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
8280
8281
                                type: boolean
                              secretRef:
8282
8283
8284
                                description: |-
                                  secretRef is optional: points to a secret object containing parameters used to connect
                                  to OpenStack.
8285
8286
8287
                                properties:
                                  name:
                                    default: ""
8288
8289
8290
8291
8292
8293
                                    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
8294
8295
8296
8297
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              volumeID:
8298
8299
8300
                                description: |-
                                  volumeID used to identify the volume in cinder.
                                  More info: https://examples.k8s.io/mysql-cinder-pd/README.md
8301
8302
8303
8304
8305
                                type: string
                            required:
                              - volumeID
                            type: object
                          configMap:
8306
                            description: configMap represents a configMap that should populate this volume
8307
8308
                            properties:
                              defaultMode:
8309
8310
8311
8312
8313
8314
8315
8316
                                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.
8317
8318
8319
                                format: int32
                                type: integer
                              items:
8320
8321
8322
8323
8324
8325
8326
8327
                                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 '..'.
8328
                                items:
8329
                                  description: Maps a string key to a path within a volume.
8330
8331
                                  properties:
                                    key:
8332
                                      description: key is the key to project.
8333
8334
                                      type: string
                                    mode:
8335
8336
8337
8338
8339
8340
8341
                                      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.
8342
8343
8344
                                      format: int32
                                      type: integer
                                    path:
8345
8346
8347
8348
8349
                                      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 '..'.
8350
8351
8352
8353
8354
8355
8356
8357
8358
                                      type: string
                                  required:
                                    - key
                                    - path
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              name:
                                default: ""
8359
8360
8361
8362
8363
8364
                                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
8365
8366
                                type: string
                              optional:
8367
                                description: optional specify whether the ConfigMap or its keys must be defined
8368
8369
8370
8371
                                type: boolean
                            type: object
                            x-kubernetes-map-type: atomic
                          csi:
8372
                            description: csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
8373
8374
                            properties:
                              driver:
8375
8376
8377
                                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.
8378
8379
                                type: string
                              fsType:
8380
8381
8382
8383
                                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.
8384
8385
                                type: string
                              nodePublishSecretRef:
8386
8387
8388
8389
8390
8391
                                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.
8392
8393
8394
                                properties:
                                  name:
                                    default: ""
8395
8396
8397
8398
8399
8400
                                    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
8401
8402
8403
8404
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              readOnly:
8405
8406
8407
                                description: |-
                                  readOnly specifies a read-only configuration for the volume.
                                  Defaults to false (read/write).
8408
8409
8410
8411
                                type: boolean
                              volumeAttributes:
                                additionalProperties:
                                  type: string
8412
8413
8414
                                description: |-
                                  volumeAttributes stores driver-specific properties that are passed to the CSI
                                  driver. Consult your driver's documentation for supported values.
8415
8416
8417
8418
8419
                                type: object
                            required:
                              - driver
                            type: object
                          downwardAPI:
8420
                            description: downwardAPI represents downward API about the pod that should populate this volume
8421
8422
                            properties:
                              defaultMode:
8423
8424
8425
8426
8427
8428
8429
8430
8431
                                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.
8432
8433
8434
                                format: int32
                                type: integer
                              items:
8435
                                description: Items is a list of downward API volume file
8436
                                items:
8437
                                  description: DownwardAPIVolumeFile represents information to create the file containing the pod field
8438
8439
                                  properties:
                                    fieldRef:
8440
                                      description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
8441
8442
                                      properties:
                                        apiVersion:
8443
                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
8444
8445
                                          type: string
                                        fieldPath:
8446
                                          description: Path of the field to select in the specified API version.
8447
8448
8449
8450
8451
8452
                                          type: string
                                      required:
                                        - fieldPath
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    mode:
8453
8454
8455
8456
8457
8458
8459
                                      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.
8460
8461
8462
                                      format: int32
                                      type: integer
                                    path:
8463
                                      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 ''..'''
8464
8465
                                      type: string
                                    resourceFieldRef:
8466
8467
8468
                                      description: |-
                                        Selects a resource of the container: only resources limits and requests
                                        (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
8469
8470
                                      properties:
                                        containerName:
8471
                                          description: 'Container name: required for volumes, optional for env vars'
8472
8473
8474
8475
8476
                                          type: string
                                        divisor:
                                          anyOf:
                                            - type: integer
                                            - type: string
8477
                                          description: Specifies the output format of the exposed resources, defaults to "1"
8478
8479
8480
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        resource:
8481
                                          description: 'Required: resource to select'
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
                                          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:
8494
8495
8496
                            description: |-
                              emptyDir represents a temporary directory that shares a pod's lifetime.
                              More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
8497
8498
                            properties:
                              medium:
8499
8500
8501
8502
8503
                                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
8504
8505
8506
8507
8508
                                type: string
                              sizeLimit:
                                anyOf:
                                  - type: integer
                                  - type: string
8509
8510
8511
8512
8513
8514
8515
                                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
8516
8517
8518
8519
                                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:
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
                            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.
8545
8546
                            properties:
                              volumeClaimTemplate:
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
                                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.
8569
8570
                                properties:
                                  metadata:
8571
8572
8573
8574
                                    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.
8575
8576
                                    type: object
                                  spec:
8577
8578
8579
8580
8581
                                    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.
8582
8583
                                    properties:
                                      accessModes:
8584
8585
8586
                                        description: |-
                                          accessModes contains the desired access modes the volume should have.
                                          More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
8587
8588
8589
8590
8591
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      dataSource:
8592
8593
8594
8595
8596
8597
8598
8599
8600
                                        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.
8601
8602
                                        properties:
                                          apiGroup:
8603
8604
8605
8606
                                            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.
8607
8608
                                            type: string
                                          kind:
8609
                                            description: Kind is the type of resource being referenced
8610
8611
                                            type: string
                                          name:
8612
                                            description: Name is the name of resource being referenced
8613
8614
8615
8616
8617
8618
8619
                                            type: string
                                        required:
                                          - kind
                                          - name
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      dataSourceRef:
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
                                        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.
8644
8645
                                        properties:
                                          apiGroup:
8646
8647
8648
8649
                                            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.
8650
8651
                                            type: string
                                          kind:
8652
                                            description: Kind is the type of resource being referenced
8653
8654
                                            type: string
                                          name:
8655
                                            description: Name is the name of resource being referenced
8656
8657
                                            type: string
                                          namespace:
8658
8659
8660
8661
                                            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.
8662
8663
8664
8665
8666
8667
                                            type: string
                                        required:
                                          - kind
                                          - name
                                        type: object
                                      resources:
8668
8669
8670
8671
8672
8673
                                        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
8674
8675
8676
8677
8678
8679
8680
8681
                                        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
8682
8683
8684
                                            description: |-
                                              Limits describes the maximum amount of compute resources allowed.
                                              More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
8685
8686
8687
8688
8689
8690
8691
8692
                                            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
8693
8694
8695
8696
8697
                                            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/
8698
8699
8700
                                            type: object
                                        type: object
                                      selector:
8701
                                        description: selector is a label query over volumes to consider for binding.
8702
8703
                                        properties:
                                          matchExpressions:
8704
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
8705
                                            items:
8706
8707
8708
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
8709
8710
                                              properties:
                                                key:
8711
                                                  description: key is the label key that the selector applies to.
8712
8713
                                                  type: string
                                                operator:
8714
8715
8716
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
8717
8718
                                                  type: string
                                                values:
8719
8720
8721
8722
8723
                                                  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.
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
                                                  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
8737
8738
8739
8740
                                            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.
8741
8742
8743
8744
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      storageClassName:
8745
8746
8747
                                        description: |-
                                          storageClassName is the name of the StorageClass required by the claim.
                                          More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
8748
8749
                                        type: string
                                      volumeAttributesClassName:
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
                                        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,
                                          it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass
                                          will be applied to the claim but it's not allowed to reset this field to empty string once it is set.
                                          If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass
                                          will be set by the persistentvolume controller if it exists.
                                          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/
                                          (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).
8763
8764
                                        type: string
                                      volumeMode:
8765
8766
8767
                                        description: |-
                                          volumeMode defines what type of volume is required by the claim.
                                          Value of Filesystem is implied when not included in claim spec.
8768
8769
                                        type: string
                                      volumeName:
8770
                                        description: volumeName is the binding reference to the PersistentVolume backing this claim.
8771
8772
8773
8774
8775
8776
8777
                                        type: string
                                    type: object
                                required:
                                  - spec
                                type: object
                            type: object
                          fc:
8778
                            description: fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
8779
8780
                            properties:
                              fsType:
8781
8782
8783
8784
                                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.
8785
8786
                                type: string
                              lun:
8787
                                description: 'lun is Optional: FC target lun number'
8788
8789
8790
                                format: int32
                                type: integer
                              readOnly:
8791
8792
8793
                                description: |-
                                  readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
8794
8795
                                type: boolean
                              targetWWNs:
8796
                                description: 'targetWWNs is Optional: FC target worldwide names (WWNs)'
8797
8798
8799
8800
8801
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              wwids:
8802
8803
8804
                                description: |-
                                  wwids Optional: FC volume world wide identifiers (wwids)
                                  Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
8805
8806
8807
8808
8809
8810
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          flexVolume:
8811
8812
8813
8814
                            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.
8815
8816
                            properties:
                              driver:
8817
                                description: driver is the name of the driver to use for this volume.
8818
8819
                                type: string
                              fsType:
8820
8821
8822
8823
                                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.
8824
8825
8826
8827
                                type: string
                              options:
                                additionalProperties:
                                  type: string
8828
                                description: 'options is Optional: this field holds extra command options if any.'
8829
8830
                                type: object
                              readOnly:
8831
8832
8833
                                description: |-
                                  readOnly is Optional: defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
8834
8835
                                type: boolean
                              secretRef:
8836
8837
8838
8839
8840
8841
                                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.
8842
8843
8844
                                properties:
                                  name:
                                    default: ""
8845
8846
8847
8848
8849
8850
                                    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
8851
8852
8853
8854
8855
8856
8857
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                            required:
                              - driver
                            type: object
                          flocker:
8858
8859
8860
                            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.
8861
8862
                            properties:
                              datasetName:
8863
8864
8865
                                description: |-
                                  datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
                                  should be considered as deprecated
8866
8867
                                type: string
                              datasetUUID:
8868
                                description: datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
8869
8870
8871
                                type: string
                            type: object
                          gcePersistentDisk:
8872
8873
8874
8875
8876
8877
                            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
8878
8879
                            properties:
                              fsType:
8880
8881
8882
8883
8884
                                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
8885
8886
                                type: string
                              partition:
8887
8888
8889
8890
8891
8892
                                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
8893
8894
8895
                                format: int32
                                type: integer
                              pdName:
8896
8897
8898
                                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
8899
8900
                                type: string
                              readOnly:
8901
8902
8903
8904
                                description: |-
                                  readOnly here will force the ReadOnly setting in VolumeMounts.
                                  Defaults to false.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
8905
8906
8907
8908
8909
                                type: boolean
                            required:
                              - pdName
                            type: object
                          gitRepo:
8910
8911
8912
8913
8914
                            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.
8915
8916
                            properties:
                              directory:
8917
8918
8919
8920
8921
                                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.
8922
8923
                                type: string
                              repository:
8924
                                description: repository is the URL
8925
8926
                                type: string
                              revision:
8927
                                description: revision is the commit hash for the specified revision.
8928
8929
8930
8931
8932
                                type: string
                            required:
                              - repository
                            type: object
                          glusterfs:
8933
8934
8935
8936
                            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.
                              More info: https://examples.k8s.io/volumes/glusterfs/README.md
8937
8938
                            properties:
                              endpoints:
8939
8940
8941
                                description: |-
                                  endpoints is the endpoint name that details Glusterfs topology.
                                  More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
8942
8943
                                type: string
                              path:
8944
8945
8946
                                description: |-
                                  path is the Glusterfs volume path.
                                  More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
8947
8948
                                type: string
                              readOnly:
8949
8950
8951
8952
                                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
8953
8954
8955
8956
8957
8958
                                type: boolean
                            required:
                              - endpoints
                              - path
                            type: object
                          hostPath:
8959
8960
8961
8962
8963
8964
                            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
8965
8966
                            properties:
                              path:
8967
8968
8969
8970
                                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
8971
8972
                                type: string
                              type:
8973
8974
8975
8976
                                description: |-
                                  type for HostPath Volume
                                  Defaults to ""
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
8977
8978
8979
8980
8981
                                type: string
                            required:
                              - path
                            type: object
                          image:
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
                            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.
8997
8998
                            properties:
                              pullPolicy:
8999
9000
9001
9002
9003
9004
                                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.
9005
9006
                                type: string
                              reference:
9007
9008
9009
9010
9011
9012
9013
                                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.
9014
9015
9016
                                type: string
                            type: object
                          iscsi:
9017
9018
9019
9020
                            description: |-
                              iscsi represents an ISCSI Disk resource that is attached to a
                              kubelet's host machine and then exposed to the pod.
                              More info: https://examples.k8s.io/volumes/iscsi/README.md
9021
9022
                            properties:
                              chapAuthDiscovery:
9023
                                description: chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
9024
9025
                                type: boolean
                              chapAuthSession:
9026
                                description: chapAuthSession defines whether support iSCSI Session CHAP authentication
9027
9028
                                type: boolean
                              fsType:
9029
9030
9031
9032
9033
                                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
9034
9035
                                type: string
                              initiatorName:
9036
9037
9038
9039
                                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.
9040
9041
                                type: string
                              iqn:
9042
                                description: iqn is the target iSCSI Qualified Name.
9043
9044
9045
                                type: string
                              iscsiInterface:
                                default: default
9046
9047
9048
                                description: |-
                                  iscsiInterface is the interface Name that uses an iSCSI transport.
                                  Defaults to 'default' (tcp).
9049
9050
                                type: string
                              lun:
9051
                                description: lun represents iSCSI Target Lun number.
9052
9053
9054
                                format: int32
                                type: integer
                              portals:
9055
9056
9057
                                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).
9058
9059
9060
9061
9062
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              readOnly:
9063
9064
9065
                                description: |-
                                  readOnly here will force the ReadOnly setting in VolumeMounts.
                                  Defaults to false.
9066
9067
                                type: boolean
                              secretRef:
9068
                                description: secretRef is the CHAP Secret for iSCSI target and initiator authentication
9069
9070
9071
                                properties:
                                  name:
                                    default: ""
9072
9073
9074
9075
9076
9077
                                    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
9078
9079
9080
9081
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              targetPortal:
9082
9083
9084
                                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).
9085
9086
9087
9088
9089
9090
9091
                                type: string
                            required:
                              - iqn
                              - lun
                              - targetPortal
                            type: object
                          name:
9092
9093
9094
9095
                            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
9096
9097
                            type: string
                          nfs:
9098
9099
9100
                            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
9101
                            properties:
9102
                              path:
9103
9104
9105
                                description: |-
                                  path that is exported by the NFS server.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9106
                                type: string
9107
                              readOnly:
9108
9109
9110
9111
                                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
9112
9113
                                type: boolean
                              server:
9114
9115
9116
                                description: |-
                                  server is the hostname or IP address of the NFS server.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9117
9118
                                type: string
                            required:
9119
9120
                              - path
                              - server
9121
                            type: object
9122
                          persistentVolumeClaim:
9123
9124
9125
9126
                            description: |-
                              persistentVolumeClaimVolumeSource represents a reference to a
                              PersistentVolumeClaim in the same namespace.
                              More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
9127
                            properties:
9128
                              claimName:
9129
9130
9131
                                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
9132
                                type: string
9133
                              readOnly:
9134
9135
9136
                                description: |-
                                  readOnly Will force the ReadOnly setting in VolumeMounts.
                                  Default false.
9137
9138
9139
9140
9141
                                type: boolean
                            required:
                              - claimName
                            type: object
                          photonPersistentDisk:
9142
9143
9144
                            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.
9145
9146
                            properties:
                              fsType:
9147
9148
9149
9150
                                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.
9151
                                type: string
9152
                              pdID:
9153
                                description: pdID is the ID that identifies Photon Controller persistent disk
9154
9155
9156
9157
9158
                                type: string
                            required:
                              - pdID
                            type: object
                          portworxVolume:
9159
9160
9161
9162
9163
                            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.
9164
9165
                            properties:
                              fsType:
9166
9167
9168
9169
                                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.
9170
                                type: string
9171
                              readOnly:
9172
9173
9174
                                description: |-
                                  readOnly defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
9175
                                type: boolean
9176
                              volumeID:
9177
                                description: volumeID uniquely identifies a Portworx volume
9178
                                type: string
9179
9180
9181
9182
                            required:
                              - volumeID
                            type: object
                          projected:
9183
                            description: projected items for all in one resources secrets, configmaps, and downward API
9184
9185
                            properties:
                              defaultMode:
9186
9187
9188
9189
9190
9191
9192
                                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.
9193
9194
9195
                                format: int32
                                type: integer
                              sources:
9196
9197
9198
                                description: |-
                                  sources is the list of volume projections. Each entry in this list
                                  handles one source.
9199
                                items:
9200
9201
9202
                                  description: |-
                                    Projection that may be projected along with other supported volume types.
                                    Exactly one of these fields must be set.
9203
9204
                                  properties:
                                    clusterTrustBundle:
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
                                      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.
9219
9220
                                      properties:
                                        labelSelector:
9221
9222
9223
9224
9225
                                          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".
9226
9227
                                          properties:
                                            matchExpressions:
9228
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
9229
                                              items:
9230
9231
9232
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
9233
9234
                                                properties:
                                                  key:
9235
                                                    description: key is the label key that the selector applies to.
9236
9237
                                                    type: string
                                                  operator:
9238
9239
9240
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
9241
9242
                                                    type: string
                                                  values:
9243
9244
9245
9246
9247
                                                    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.
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
                                                    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
9261
9262
9263
9264
                                              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.
9265
9266
9267
9268
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        name:
9269
9270
9271
                                          description: |-
                                            Select a single ClusterTrustBundle by object name.  Mutually-exclusive
                                            with signerName and labelSelector.
9272
9273
                                          type: string
                                        optional:
9274
9275
9276
9277
9278
9279
                                          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.
9280
9281
                                          type: boolean
                                        path:
9282
                                          description: Relative path from the volume root to write the bundle.
9283
9284
                                          type: string
                                        signerName:
9285
9286
9287
9288
                                          description: |-
                                            Select all ClusterTrustBundles that match this signer name.
                                            Mutually-exclusive with name.  The contents of all selected
                                            ClusterTrustBundles will be unified and deduplicated.
9289
9290
9291
9292
9293
                                          type: string
                                      required:
                                        - path
                                      type: object
                                    configMap:
9294
                                      description: configMap information about the configMap data to project
9295
9296
                                      properties:
                                        items:
9297
9298
9299
9300
9301
9302
9303
9304
                                          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 '..'.
9305
                                          items:
9306
                                            description: Maps a string key to a path within a volume.
9307
9308
                                            properties:
                                              key:
9309
                                                description: key is the key to project.
9310
9311
                                                type: string
                                              mode:
9312
9313
9314
9315
9316
9317
9318
                                                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.
9319
9320
9321
                                                format: int32
                                                type: integer
                                              path:
9322
9323
9324
9325
9326
                                                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 '..'.
9327
9328
9329
9330
9331
9332
9333
9334
9335
                                                type: string
                                            required:
                                              - key
                                              - path
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        name:
                                          default: ""
9336
9337
9338
9339
9340
9341
                                          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
9342
9343
                                          type: string
                                        optional:
9344
                                          description: optional specify whether the ConfigMap or its keys must be defined
9345
9346
9347
9348
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    downwardAPI:
9349
                                      description: downwardAPI information about the downwardAPI data to project
9350
9351
                                      properties:
                                        items:
9352
                                          description: Items is a list of DownwardAPIVolume file
9353
                                          items:
9354
                                            description: DownwardAPIVolumeFile represents information to create the file containing the pod field
9355
9356
                                            properties:
                                              fieldRef:
9357
                                                description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
9358
9359
                                                properties:
                                                  apiVersion:
9360
                                                    description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
9361
9362
                                                    type: string
                                                  fieldPath:
9363
                                                    description: Path of the field to select in the specified API version.
9364
9365
9366
9367
9368
9369
                                                    type: string
                                                required:
                                                  - fieldPath
                                                type: object
                                                x-kubernetes-map-type: atomic
                                              mode:
9370
9371
9372
9373
9374
9375
9376
                                                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.
9377
9378
9379
                                                format: int32
                                                type: integer
                                              path:
9380
                                                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 ''..'''
9381
9382
                                                type: string
                                              resourceFieldRef:
9383
9384
9385
                                                description: |-
                                                  Selects a resource of the container: only resources limits and requests
                                                  (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
9386
9387
                                                properties:
                                                  containerName:
9388
                                                    description: 'Container name: required for volumes, optional for env vars'
9389
9390
9391
9392
9393
                                                    type: string
                                                  divisor:
                                                    anyOf:
                                                      - type: integer
                                                      - type: string
9394
                                                    description: Specifies the output format of the exposed resources, defaults to "1"
9395
9396
9397
                                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                    x-kubernetes-int-or-string: true
                                                  resource:
9398
                                                    description: 'Required: resource to select'
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
                                                    type: string
                                                required:
                                                  - resource
                                                type: object
                                                x-kubernetes-map-type: atomic
                                            required:
                                              - path
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    secret:
9411
                                      description: secret information about the secret data to project
9412
9413
                                      properties:
                                        items:
9414
9415
9416
9417
9418
9419
9420
9421
                                          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 '..'.
9422
                                          items:
9423
                                            description: Maps a string key to a path within a volume.
9424
9425
                                            properties:
                                              key:
9426
                                                description: key is the key to project.
9427
9428
                                                type: string
                                              mode:
9429
9430
9431
9432
9433
9434
9435
                                                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.
9436
9437
9438
                                                format: int32
                                                type: integer
                                              path:
9439
9440
9441
9442
9443
                                                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 '..'.
9444
9445
9446
9447
9448
9449
9450
9451
9452
                                                type: string
                                            required:
                                              - key
                                              - path
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        name:
                                          default: ""
9453
9454
9455
9456
9457
9458
                                          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
9459
9460
                                          type: string
                                        optional:
9461
                                          description: optional field specify whether the Secret or its key must be defined
9462
9463
9464
9465
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    serviceAccountToken:
9466
                                      description: serviceAccountToken is information about the serviceAccountToken data to project
9467
9468
                                      properties:
                                        audience:
9469
9470
9471
9472
9473
                                          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.
9474
9475
                                          type: string
                                        expirationSeconds:
9476
9477
9478
9479
9480
9481
9482
                                          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.
9483
9484
9485
                                          format: int64
                                          type: integer
                                        path:
9486
9487
9488
                                          description: |-
                                            path is the path relative to the mount point of the file to project the
                                            token into.
9489
9490
9491
9492
9493
9494
9495
9496
9497
                                          type: string
                                      required:
                                        - path
                                      type: object
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          quobyte:
9498
9499
9500
                            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.
9501
9502
                            properties:
                              group:
9503
9504
9505
                                description: |-
                                  group to map volume access to
                                  Default is no group
9506
                                type: string
9507
                              readOnly:
9508
9509
9510
                                description: |-
                                  readOnly here will force the Quobyte volume to be mounted with read-only permissions.
                                  Defaults to false.
9511
9512
                                type: boolean
                              registry:
9513
9514
9515
9516
                                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
9517
9518
                                type: string
                              tenant:
9519
9520
9521
                                description: |-
                                  tenant owning the given Quobyte volume in the Backend
                                  Used with dynamically provisioned Quobyte volumes, value is set by the plugin
9522
9523
                                type: string
                              user:
9524
9525
9526
                                description: |-
                                  user to map volume access to
                                  Defaults to serivceaccount user
9527
9528
                                type: string
                              volume:
9529
                                description: volume is a string that references an already created Quobyte volume by name.
9530
9531
                                type: string
                            required:
9532
9533
                              - registry
                              - volume
9534
                            type: object
9535
                          rbd:
9536
9537
9538
9539
                            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.
                              More info: https://examples.k8s.io/volumes/rbd/README.md
9540
                            properties:
9541
                              fsType:
9542
9543
9544
9545
9546
                                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
9547
9548
                                type: string
                              image:
9549
9550
9551
                                description: |-
                                  image is the rados image name.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9552
9553
9554
                                type: string
                              keyring:
                                default: /etc/ceph/keyring
9555
9556
9557
9558
                                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
9559
9560
                                type: string
                              monitors:
9561
9562
9563
                                description: |-
                                  monitors is a collection of Ceph monitors.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9564
9565
9566
9567
9568
9569
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              pool:
                                default: rbd
9570
9571
9572
9573
                                description: |-
                                  pool is the rados pool name.
                                  Default is rbd.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9574
9575
                                type: string
                              readOnly:
9576
9577
9578
9579
                                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
9580
9581
                                type: boolean
                              secretRef:
9582
9583
9584
9585
9586
                                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
9587
9588
9589
                                properties:
                                  name:
                                    default: ""
9590
9591
9592
9593
9594
9595
                                    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
9596
9597
9598
9599
9600
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              user:
                                default: admin
9601
9602
9603
9604
                                description: |-
                                  user is the rados user name.
                                  Default is admin.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9605
9606
9607
9608
9609
9610
                                type: string
                            required:
                              - image
                              - monitors
                            type: object
                          scaleIO:
9611
9612
9613
                            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.
9614
9615
9616
                            properties:
                              fsType:
                                default: xfs
9617
9618
9619
9620
9621
                                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".
9622
9623
                                type: string
                              gateway:
9624
                                description: gateway is the host address of the ScaleIO API Gateway.
9625
9626
                                type: string
                              protectionDomain:
9627
                                description: protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
9628
9629
                                type: string
                              readOnly:
9630
9631
9632
                                description: |-
                                  readOnly Defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
9633
9634
                                type: boolean
                              secretRef:
9635
9636
9637
                                description: |-
                                  secretRef references to the secret for ScaleIO user and other
                                  sensitive information. If this is not provided, Login operation will fail.
9638
9639
9640
                                properties:
                                  name:
                                    default: ""
9641
9642
9643
9644
9645
9646
                                    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
9647
9648
9649
9650
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              sslEnabled:
9651
                                description: sslEnabled Flag enable/disable SSL communication with Gateway, default false
9652
9653
9654
                                type: boolean
                              storageMode:
                                default: ThinProvisioned
9655
9656
9657
                                description: |-
                                  storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
                                  Default is ThinProvisioned.
9658
9659
                                type: string
                              storagePool:
9660
                                description: storagePool is the ScaleIO Storage Pool associated with the protection domain.
9661
9662
                                type: string
                              system:
9663
                                description: system is the name of the storage system as configured in ScaleIO.
9664
9665
                                type: string
                              volumeName:
9666
9667
9668
                                description: |-
                                  volumeName is the name of a volume already created in the ScaleIO system
                                  that is associated with this volume source.
9669
9670
9671
9672
9673
9674
9675
                                type: string
                            required:
                              - gateway
                              - secretRef
                              - system
                            type: object
                          secret:
9676
9677
9678
                            description: |-
                              secret represents a secret that should populate this volume.
                              More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
9679
9680
                            properties:
                              defaultMode:
9681
9682
9683
9684
9685
9686
9687
9688
                                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.
9689
9690
9691
                                format: int32
                                type: integer
                              items:
9692
9693
9694
9695
9696
9697
9698
9699
                                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 '..'.
9700
                                items:
9701
                                  description: Maps a string key to a path within a volume.
9702
                                  properties:
9703
                                    key:
9704
                                      description: key is the key to project.
9705
                                      type: string
9706
                                    mode:
9707
9708
9709
9710
9711
9712
9713
                                      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.
9714
9715
9716
                                      format: int32
                                      type: integer
                                    path:
9717
9718
9719
9720
9721
                                      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 '..'.
9722
9723
                                      type: string
                                  required:
9724
                                    - key
9725
                                    - path
9726
9727
9728
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
9729
                              optional:
9730
                                description: optional field specify whether the Secret or its keys must be defined
9731
9732
                                type: boolean
                              secretName:
9733
9734
9735
                                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
9736
9737
9738
                                type: string
                            type: object
                          storageos:
9739
9740
9741
                            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.
9742
9743
                            properties:
                              fsType:
9744
9745
9746
9747
                                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.
9748
9749
                                type: string
                              readOnly:
9750
9751
9752
                                description: |-
                                  readOnly defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
9753
9754
                                type: boolean
                              secretRef:
9755
9756
9757
                                description: |-
                                  secretRef specifies the secret to use for obtaining the StorageOS API
                                  credentials.  If not specified, default values will be attempted.
9758
9759
9760
                                properties:
                                  name:
                                    default: ""
9761
9762
9763
9764
9765
9766
                                    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
9767
                                    type: string
9768
                                type: object
9769
9770
                                x-kubernetes-map-type: atomic
                              volumeName:
9771
9772
9773
                                description: |-
                                  volumeName is the human-readable name of the StorageOS volume.  Volume
                                  names are only unique within a namespace.
9774
9775
                                type: string
                              volumeNamespace:
9776
9777
9778
9779
9780
9781
9782
                                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.
9783
9784
9785
                                type: string
                            type: object
                          vsphereVolume:
9786
9787
9788
9789
                            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.
9790
9791
                            properties:
                              fsType:
9792
9793
9794
9795
                                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.
9796
9797
                                type: string
                              storagePolicyID:
9798
                                description: storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
9799
9800
                                type: string
                              storagePolicyName:
9801
                                description: storagePolicyName is the storage Policy Based Management (SPBM) profile name.
9802
9803
                                type: string
                              volumePath:
9804
                                description: volumePath is the path that identifies vSphere volume vmdk
9805
9806
9807
                                type: string
                            required:
                              - volumePath
9808
                            type: object
9809
                        required:
9810
                          - name
9811
                        type: object
9812
                      type: array
9813
9814
9815
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
9816
                  required: []
9817
                  type: object
9818
9819
9820
                globalDynamoNamespace:
                  description: GlobalDynamoNamespace indicates that the Component will be placed in the global Dynamo namespace
                  type: boolean
9821
                ingress:
9822
                  description: Ingress config to expose the component outside the cluster (or through a service mesh).
9823
9824
9825
                  properties:
                    annotations:
                      additionalProperties:
9826
                        type: string
9827
                      description: Annotations to set on the generated Ingress/VirtualService resources.
9828
9829
                      type: object
                    enabled:
9830
                      description: Enabled exposes the component through an ingress or virtual service when true.
9831
9832
                      type: boolean
                    host:
9833
                      description: Host is the base host name to route external traffic to this component.
9834
9835
                      type: string
                    hostPrefix:
9836
                      description: HostPrefix is an optional prefix added before the host.
9837
9838
                      type: string
                    hostSuffix:
9839
                      description: HostSuffix is an optional suffix appended after the host.
9840
9841
                      type: string
                    ingressControllerClassName:
9842
                      description: IngressControllerClassName selects the ingress controller class (e.g., "nginx").
9843
9844
9845
                      type: string
                    labels:
                      additionalProperties:
9846
                        type: string
9847
                      description: Labels to set on the generated Ingress/VirtualService resources.
9848
9849
                      type: object
                    tls:
9850
                      description: TLS holds the TLS configuration used by the Ingress/VirtualService.
9851
9852
                      properties:
                        secretName:
9853
                          description: SecretName is the name of a Kubernetes Secret containing the TLS certificate and key.
9854
9855
9856
                          type: string
                      type: object
                    useVirtualService:
9857
                      description: UseVirtualService indicates whether to configure a service-mesh VirtualService instead of a standard Ingress.
9858
9859
                      type: boolean
                    virtualServiceGateway:
9860
                      description: VirtualServiceGateway optionally specifies the gateway name to attach the VirtualService to.
9861
                      type: string
9862
9863
9864
                  type: object
                labels:
                  additionalProperties:
9865
                    type: string
9866
                  description: Labels to add to generated Kubernetes resources for this component.
9867
9868
                  type: object
                livenessProbe:
9869
                  description: LivenessProbe to detect and restart unhealthy containers.
9870
9871
                  properties:
                    exec:
9872
                      description: Exec specifies a command to execute in the container.
9873
9874
                      properties:
                        command:
9875
9876
9877
9878
9879
9880
                          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.
9881
9882
9883
9884
9885
9886
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
                      type: object
                    failureThreshold:
9887
9888
9889
                      description: |-
                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                        Defaults to 3. Minimum value is 1.
9890
9891
9892
                      format: int32
                      type: integer
                    grpc:
9893
                      description: GRPC specifies a GRPC HealthCheckRequest.
9894
                      properties:
9895
                        port:
9896
                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
9897
9898
9899
9900
                          format: int32
                          type: integer
                        service:
                          default: ""
9901
9902
9903
9904
9905
                          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.
9906
                          type: string
9907
9908
9909
9910
                      required:
                        - port
                      type: object
                    httpGet:
9911
                      description: HTTPGet specifies an HTTP GET request to perform.
9912
9913
                      properties:
                        host:
9914
9915
9916
                          description: |-
                            Host name to connect to, defaults to the pod IP. You probably want to set
                            "Host" in httpHeaders instead.
9917
                          type: string
9918
                        httpHeaders:
9919
                          description: Custom headers to set in the request. HTTP allows repeated headers.
9920
                          items:
9921
                            description: HTTPHeader describes a custom header to be used in HTTP probes
9922
9923
                            properties:
                              name:
9924
9925
9926
                                description: |-
                                  The header field name.
                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
9927
9928
                                type: string
                              value:
9929
                                description: The header field value
9930
9931
9932
9933
9934
9935
9936
9937
                                type: string
                            required:
                              - name
                              - value
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        path:
9938
                          description: Path to access on the HTTP server.
9939
                          type: string
9940
9941
9942
9943
                        port:
                          anyOf:
                            - type: integer
                            - type: string
9944
9945
9946
9947
                          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.
9948
9949
                          x-kubernetes-int-or-string: true
                        scheme:
9950
9951
9952
                          description: |-
                            Scheme to use for connecting to the host.
                            Defaults to HTTP.
9953
                          type: string
9954
9955
                      required:
                        - port
9956
                      type: object
9957
                    initialDelaySeconds:
9958
9959
9960
                      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
9961
9962
9963
                      format: int32
                      type: integer
                    periodSeconds:
9964
9965
9966
                      description: |-
                        How often (in seconds) to perform the probe.
                        Default to 10 seconds. Minimum value is 1.
9967
9968
9969
                      format: int32
                      type: integer
                    successThreshold:
9970
9971
9972
                      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.
9973
9974
9975
                      format: int32
                      type: integer
                    tcpSocket:
9976
                      description: TCPSocket specifies a connection to a TCP port.
9977
                      properties:
9978
                        host:
9979
                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
9980
9981
9982
9983
9984
                          type: string
                        port:
                          anyOf:
                            - type: integer
                            - type: string
9985
9986
9987
9988
                          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.
9989
9990
9991
9992
9993
                          x-kubernetes-int-or-string: true
                      required:
                        - port
                      type: object
                    terminationGracePeriodSeconds:
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
                      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.
10005
10006
10007
                      format: int64
                      type: integer
                    timeoutSeconds:
10008
10009
10010
10011
                      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
10012
10013
10014
                      format: int32
                      type: integer
                  type: object
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
                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
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
                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
10044
                readinessProbe:
10045
                  description: ReadinessProbe to signal when the container is ready to receive traffic.
10046
10047
                  properties:
                    exec:
10048
                      description: Exec specifies a command to execute in the container.
10049
10050
                      properties:
                        command:
10051
10052
10053
10054
10055
10056
                          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.
10057
10058
10059
10060
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
10061
10062
                      type: object
                    failureThreshold:
10063
10064
10065
                      description: |-
                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                        Defaults to 3. Minimum value is 1.
10066
10067
10068
                      format: int32
                      type: integer
                    grpc:
10069
                      description: GRPC specifies a GRPC HealthCheckRequest.
10070
10071
                      properties:
                        port:
10072
                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
10073
10074
                          format: int32
                          type: integer
10075
10076
                        service:
                          default: ""
10077
10078
10079
10080
10081
                          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.
10082
                          type: string
10083
10084
10085
10086
                      required:
                        - port
                      type: object
                    httpGet:
10087
                      description: HTTPGet specifies an HTTP GET request to perform.
10088
10089
                      properties:
                        host:
10090
10091
10092
                          description: |-
                            Host name to connect to, defaults to the pod IP. You probably want to set
                            "Host" in httpHeaders instead.
10093
                          type: string
10094
                        httpHeaders:
10095
                          description: Custom headers to set in the request. HTTP allows repeated headers.
10096
                          items:
10097
                            description: HTTPHeader describes a custom header to be used in HTTP probes
10098
10099
                            properties:
                              name:
10100
10101
10102
                                description: |-
                                  The header field name.
                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
10103
10104
                                type: string
                              value:
10105
                                description: The header field value
10106
10107
10108
10109
10110
10111
10112
10113
                                type: string
                            required:
                              - name
                              - value
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        path:
10114
                          description: Path to access on the HTTP server.
10115
                          type: string
10116
10117
10118
10119
                        port:
                          anyOf:
                            - type: integer
                            - type: string
10120
10121
10122
10123
                          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.
10124
10125
                          x-kubernetes-int-or-string: true
                        scheme:
10126
10127
10128
                          description: |-
                            Scheme to use for connecting to the host.
                            Defaults to HTTP.
10129
10130
                          type: string
                      required:
10131
                        - port
10132
                      type: object
10133
                    initialDelaySeconds:
10134
10135
10136
                      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
10137
10138
10139
                      format: int32
                      type: integer
                    periodSeconds:
10140
10141
10142
                      description: |-
                        How often (in seconds) to perform the probe.
                        Default to 10 seconds. Minimum value is 1.
10143
10144
10145
                      format: int32
                      type: integer
                    successThreshold:
10146
10147
10148
                      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.
10149
10150
10151
                      format: int32
                      type: integer
                    tcpSocket:
10152
                      description: TCPSocket specifies a connection to a TCP port.
10153
10154
                      properties:
                        host:
10155
                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
10156
                          type: string
10157
10158
10159
10160
                        port:
                          anyOf:
                            - type: integer
                            - type: string
10161
10162
10163
10164
                          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.
10165
10166
10167
10168
10169
                          x-kubernetes-int-or-string: true
                      required:
                        - port
                      type: object
                    terminationGracePeriodSeconds:
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
                      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.
10181
10182
10183
                      format: int64
                      type: integer
                    timeoutSeconds:
10184
10185
10186
10187
                      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
10188
10189
10190
10191
                      format: int32
                      type: integer
                  type: object
                replicas:
10192
10193
10194
10195
                  description: |-
                    Replicas is the desired number of Pods for this component.
                    When scalingAdapter is enabled (default), this field is managed by the
                    DynamoGraphDeploymentScalingAdapter and should not be modified directly.
10196
                  format: int32
10197
                  minimum: 0
10198
10199
                  type: integer
                resources:
10200
10201
10202
                  description: |-
                    Resources requested and limits for this component, including CPU, memory,
                    GPUs/devices, and any runtime-specific resources.
10203
                  properties:
10204
                    claims:
10205
                      description: Claims specifies resource claims for dynamic resource allocation
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
                      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
10225
                    limits:
10226
                      description: Limits specifies the maximum resources allowed for the component
10227
10228
                      properties:
                        cpu:
10229
                          description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
10230
10231
10232
10233
                          type: string
                        custom:
                          additionalProperties:
                            type: string
10234
                          description: Custom specifies additional custom resource requests/limits
10235
                          type: object
10236
                        gpu:
10237
                          description: |-
10238
10239
10240
10241
10242
10243
10244
                            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"
10245
                          type: string
10246
                        memory:
10247
                          description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
10248
10249
10250
                          type: string
                      type: object
                    requests:
10251
                      description: Requests specifies the minimum resources required by the component
10252
10253
                      properties:
                        cpu:
10254
                          description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
10255
10256
10257
10258
                          type: string
                        custom:
                          additionalProperties:
                            type: string
10259
                          description: Custom specifies additional custom resource requests/limits
10260
                          type: object
10261
                        gpu:
10262
                          description: |-
10263
10264
10265
10266
10267
10268
10269
                            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"
10270
                          type: string
10271
                        memory:
10272
                          description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
10273
10274
10275
                          type: string
                      type: object
                  type: object
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
                scalingAdapter:
                  description: |-
                    ScalingAdapter configures whether this service uses the DynamoGraphDeploymentScalingAdapter.
                    When enabled (default), replicas are managed via DGDSA and external autoscalers can scale
                    the service using the Scale subresource. When disabled, replicas can be modified directly.
                  properties:
                    disable:
                      default: false
                      description: |-
                        Disable indicates whether the ScalingAdapter should be disabled for this service.
                        When false (default), a DGDSA is created and owns the replicas field.
                        When true, no DGDSA is created and replicas can be modified directly in the DGD.
                      type: boolean
                  type: object
10290
                serviceName:
10291
                  description: The name of the component
10292
                  type: string
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
                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
10305
10306
10307
                subComponentType:
                  description: SubComponentType indicates the sub-role of this component (for example, "prefill").
                  type: string
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
                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
10332
10333
              type: object
            status:
10334
              description: Status reflects the current observed state of the component deployment.
10335
10336
              properties:
                conditions:
10337
10338
10339
10340
10341
                  description: |-
                    INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
                    Important: Run "make" to regenerate code after modifying this file
                    Conditions captures the latest observed state of the component (including
                    availability and readiness) using standard Kubernetes condition types.
10342
                  items:
10343
                    description: Condition contains details for one aspect of the current state of this API Resource.
10344
10345
                    properties:
                      lastTransitionTime:
10346
10347
10348
                        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.
10349
                        format: date-time
10350
                        type: string
10351
                      message:
10352
10353
10354
                        description: |-
                          message is a human readable message indicating details about the transition.
                          This may be an empty string.
10355
                        maxLength: 32768
10356
                        type: string
10357
                      observedGeneration:
10358
10359
10360
10361
                        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.
10362
10363
10364
10365
                        format: int64
                        minimum: 0
                        type: integer
                      reason:
10366
10367
10368
10369
10370
10371
                        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.
10372
10373
10374
                        maxLength: 1024
                        minLength: 1
                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
10375
                        type: string
10376
                      status:
10377
                        description: status of the condition, one of True, False, Unknown.
10378
10379
10380
10381
                        enum:
                          - "True"
                          - "False"
                          - Unknown
10382
                        type: string
10383
                      type:
10384
                        description: type of condition in CamelCase or in foo.example.com/CamelCase.
10385
10386
                        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])$
10387
                        type: string
10388
10389
10390
10391
10392
10393
                    required:
                      - lastTransitionTime
                      - message
                      - reason
                      - status
                      - type
10394
                    type: object
10395
10396
10397
10398
                  type: array
                podSelector:
                  additionalProperties:
                    type: string
10399
10400
10401
                  description: |-
                    PodSelector contains the labels that can be used to select Pods belonging to
                    this component deployment.
10402
                  type: object
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
                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
10456
10457
10458
10459
10460
10461
10462
10463
              required:
                - conditions
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}