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
    - additionalPrinterColumns:
        - description: Dynamo component
          jsonPath: .spec.dynamoComponent
          name: DynamoComponent
          type: string
        - description: Available
          jsonPath: .status.conditions[?(@.type=='Available')].status
          name: Available
          type: string
44
45
46
47
        - description: Backend framework (sglang, vllm, trtllm)
          jsonPath: .spec.backendFramework
          name: Backend
          type: string
48
49
50
51
52
53
        - jsonPath: .metadata.creationTimestamp
          name: Age
          type: date
      name: v1alpha1
      schema:
        openAPIV3Schema:
54
          description: DynamoComponentDeployment is the Schema for the dynamocomponentdeployments API
55
56
          properties:
            apiVersion:
57
58
59
60
61
              description: |-
                APIVersion defines the versioned schema of this representation of an object.
                Servers should convert recognized schemas to the latest internal value, and
                may reject unrecognized values.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
62
63
              type: string
            kind:
64
65
66
67
68
69
              description: |-
                Kind is a string value representing the REST resource this object represents.
                Servers may infer this from the endpoint the client submits requests to.
                Cannot be updated.
                In CamelCase.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
70
71
72
73
              type: string
            metadata:
              type: object
            spec:
74
              description: Spec defines the desired state for this Dynamo component deployment.
75
76
77
78
              properties:
                annotations:
                  additionalProperties:
                    type: string
79
80
81
                  description: |-
                    Annotations to add to generated Kubernetes resources for this component
                    (such as Pod, Service, and Ingress when applicable).
82
83
                  type: object
                autoscaling:
84
85
86
87
                  description: |-
                    Deprecated: This field is deprecated and ignored. Use DynamoGraphDeploymentScalingAdapter
                    with HPA, KEDA, or Planner for autoscaling instead. See docs/kubernetes/autoscaling.md
                    for migration guidance. This field will be removed in a future API version.
88
89
                  properties:
                    behavior:
90
                      description: 'Deprecated: This field is ignored.'
91
92
                      properties:
                        scaleDown:
93
94
95
96
97
                          description: |-
                            scaleDown is scaling policy for scaling Down.
                            If not set, the default value is to allow to scale down to minReplicas pods, with a
                            300 second stabilization window (i.e., the highest recommendation for
                            the last 300sec is used).
98
99
                          properties:
                            policies:
100
101
102
103
104
                              description: |-
                                policies is a list of potential scaling polices which can be used during scaling.
                                If not set, use the default values:
                                - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window.
                                - For scale down: allow all pods to be removed in a 15s window.
105
                              items:
106
                                description: HPAScalingPolicy is a single policy which must hold true for a specified past interval.
107
108
                                properties:
                                  periodSeconds:
109
110
111
                                    description: |-
                                      periodSeconds specifies the window of time for which the policy should hold true.
                                      PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
112
113
114
                                    format: int32
                                    type: integer
                                  type:
115
                                    description: type is used to specify the scaling policy.
116
117
                                    type: string
                                  value:
118
119
120
                                    description: |-
                                      value contains the amount of change which is permitted by the policy.
                                      It must be greater than zero
121
122
123
124
125
126
127
128
129
130
                                    format: int32
                                    type: integer
                                required:
                                  - periodSeconds
                                  - type
                                  - value
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                            selectPolicy:
131
132
133
                              description: |-
                                selectPolicy is used to specify which policy should be used.
                                If not set, the default value Max is used.
134
135
                              type: string
                            stabilizationWindowSeconds:
136
137
138
139
140
141
142
                              description: |-
                                stabilizationWindowSeconds is the number of seconds for which past recommendations should be
                                considered while scaling up or scaling down.
                                StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
                                If not set, use the default values:
                                - For scale up: 0 (i.e. no stabilization is done).
                                - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
143
144
                              format: int32
                              type: integer
145
146
147
148
                            tolerance:
                              anyOf:
                                - type: integer
                                - type: string
149
150
151
152
153
154
155
156
157
158
159
160
                              description: |-
                                tolerance is the tolerance on the ratio between the current and desired
                                metric value under which no updates are made to the desired number of
                                replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not
                                set, the default cluster-wide tolerance is applied (by default 10%).

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

                                This is an alpha field and requires enabling the HPAConfigurableTolerance
                                feature gate.
161
162
                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                              x-kubernetes-int-or-string: true
163
164
                          type: object
                        scaleUp:
165
166
167
168
169
170
                          description: |-
                            scaleUp is scaling policy for scaling Up.
                            If not set, the default value is the higher of:
                              * increase no more than 4 pods per 60 seconds
                              * double the number of pods per 60 seconds
                            No stabilization is used.
171
172
                          properties:
                            policies:
173
174
175
176
177
                              description: |-
                                policies is a list of potential scaling polices which can be used during scaling.
                                If not set, use the default values:
                                - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window.
                                - For scale down: allow all pods to be removed in a 15s window.
178
                              items:
179
                                description: HPAScalingPolicy is a single policy which must hold true for a specified past interval.
180
181
                                properties:
                                  periodSeconds:
182
183
184
                                    description: |-
                                      periodSeconds specifies the window of time for which the policy should hold true.
                                      PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
185
186
187
                                    format: int32
                                    type: integer
                                  type:
188
                                    description: type is used to specify the scaling policy.
189
190
                                    type: string
                                  value:
191
192
193
                                    description: |-
                                      value contains the amount of change which is permitted by the policy.
                                      It must be greater than zero
194
195
196
197
198
199
200
201
202
203
                                    format: int32
                                    type: integer
                                required:
                                  - periodSeconds
                                  - type
                                  - value
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                            selectPolicy:
204
205
206
                              description: |-
                                selectPolicy is used to specify which policy should be used.
                                If not set, the default value Max is used.
207
208
                              type: string
                            stabilizationWindowSeconds:
209
210
211
212
213
214
215
                              description: |-
                                stabilizationWindowSeconds is the number of seconds for which past recommendations should be
                                considered while scaling up or scaling down.
                                StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
                                If not set, use the default values:
                                - For scale up: 0 (i.e. no stabilization is done).
                                - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
216
217
                              format: int32
                              type: integer
218
219
220
221
                            tolerance:
                              anyOf:
                                - type: integer
                                - type: string
222
223
224
225
226
227
228
229
230
231
232
233
                              description: |-
                                tolerance is the tolerance on the ratio between the current and desired
                                metric value under which no updates are made to the desired number of
                                replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not
                                set, the default cluster-wide tolerance is applied (by default 10%).

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

                                This is an alpha field and requires enabling the HPAConfigurableTolerance
                                feature gate.
234
235
                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                              x-kubernetes-int-or-string: true
236
237
238
                          type: object
                      type: object
                    enabled:
239
                      description: 'Deprecated: This field is ignored.'
240
241
                      type: boolean
                    maxReplicas:
242
                      description: 'Deprecated: This field is ignored.'
243
244
                      type: integer
                    metrics:
245
                      description: 'Deprecated: This field is ignored.'
246
                      items:
247
248
249
                        description: |-
                          MetricSpec specifies how to scale based on a single metric
                          (only `type` and one other matching field should be set at once).
250
251
                        properties:
                          containerResource:
252
253
254
255
256
257
                            description: |-
                              containerResource refers to a resource metric (such as those specified in
                              requests and limits) known to Kubernetes describing a single container in
                              each pod of the current scale target (e.g. CPU or memory). Such metrics are
                              built in to Kubernetes, and have special scaling options on top of those
                              available to normal per-pod metrics using the "pods" source.
258
259
                            properties:
                              container:
260
                                description: container is the name of the container in the pods of the scaling target
261
262
                                type: string
                              name:
263
                                description: name is the name of the resource in question.
264
265
                                type: string
                              target:
266
                                description: target specifies the target value for the given metric
267
268
                                properties:
                                  averageUtilization:
269
270
271
272
273
                                    description: |-
                                      averageUtilization is the target value of the average of the
                                      resource metric across all relevant pods, represented as a percentage of
                                      the requested value of the resource for the pods.
                                      Currently only valid for Resource metric source type
274
275
276
277
278
279
                                    format: int32
                                    type: integer
                                  averageValue:
                                    anyOf:
                                      - type: integer
                                      - type: string
280
281
282
                                    description: |-
                                      averageValue is the target value of the average of the
                                      metric across all relevant pods (as a quantity)
283
284
285
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                  type:
286
                                    description: type represents whether the metric type is Utilization, Value, or AverageValue
287
288
289
290
291
                                    type: string
                                  value:
                                    anyOf:
                                      - type: integer
                                      - type: string
292
                                    description: value is the target value of the metric (as a quantity).
293
294
295
296
297
298
299
300
301
302
303
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                required:
                                  - type
                                type: object
                            required:
                              - container
                              - name
                              - target
                            type: object
                          external:
304
305
306
307
308
309
                            description: |-
                              external refers to a global metric that is not associated
                              with any Kubernetes object. It allows autoscaling based on information
                              coming from components running outside of cluster
                              (for example length of queue in cloud messaging service, or
                              QPS from loadbalancer running outside of cluster).
310
311
                            properties:
                              metric:
312
                                description: metric identifies the target metric by name and selector
313
314
                                properties:
                                  name:
315
                                    description: name is the name of the given metric
316
317
                                    type: string
                                  selector:
318
319
320
321
                                    description: |-
                                      selector is the string-encoded form of a standard kubernetes label selector for the given metric
                                      When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
                                      When unset, just the metricName will be used to gather metrics.
322
323
                                    properties:
                                      matchExpressions:
324
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
325
                                        items:
326
327
328
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
329
330
                                          properties:
                                            key:
331
                                              description: key is the label key that the selector applies to.
332
333
                                              type: string
                                            operator:
334
335
336
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
337
338
                                              type: string
                                            values:
339
340
341
342
343
                                              description: |-
                                                values is an array of string values. If the operator is In or NotIn,
                                                the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                the values array must be empty. This array is replaced during a strategic
                                                merge patch.
344
345
346
347
348
349
350
351
352
353
354
355
356
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          required:
                                            - key
                                            - operator
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      matchLabels:
                                        additionalProperties:
                                          type: string
357
358
359
360
                                        description: |-
                                          matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                          map is equivalent to an element of matchExpressions, whose key field is "key", the
                                          operator is "In", and the values array contains only "value". The requirements are ANDed.
361
362
363
364
365
366
367
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                required:
                                  - name
                                type: object
                              target:
368
                                description: target specifies the target value for the given metric
369
370
                                properties:
                                  averageUtilization:
371
372
373
374
375
                                    description: |-
                                      averageUtilization is the target value of the average of the
                                      resource metric across all relevant pods, represented as a percentage of
                                      the requested value of the resource for the pods.
                                      Currently only valid for Resource metric source type
376
377
378
379
380
381
                                    format: int32
                                    type: integer
                                  averageValue:
                                    anyOf:
                                      - type: integer
                                      - type: string
382
383
384
                                    description: |-
                                      averageValue is the target value of the average of the
                                      metric across all relevant pods (as a quantity)
385
386
387
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                  type:
388
                                    description: type represents whether the metric type is Utilization, Value, or AverageValue
389
390
391
392
393
                                    type: string
                                  value:
                                    anyOf:
                                      - type: integer
                                      - type: string
394
                                    description: value is the target value of the metric (as a quantity).
395
396
397
398
399
400
401
402
403
404
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                required:
                                  - type
                                type: object
                            required:
                              - metric
                              - target
                            type: object
                          object:
405
406
407
                            description: |-
                              object refers to a metric describing a single kubernetes object
                              (for example, hits-per-second on an Ingress object).
408
409
                            properties:
                              describedObject:
410
                                description: describedObject specifies the descriptions of a object,such as kind,name apiVersion
411
412
                                properties:
                                  apiVersion:
413
                                    description: apiVersion is the API version of the referent
414
415
                                    type: string
                                  kind:
416
                                    description: 'kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
417
418
                                    type: string
                                  name:
419
                                    description: 'name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
420
421
422
423
424
425
                                    type: string
                                required:
                                  - kind
                                  - name
                                type: object
                              metric:
426
                                description: metric identifies the target metric by name and selector
427
428
                                properties:
                                  name:
429
                                    description: name is the name of the given metric
430
431
                                    type: string
                                  selector:
432
433
434
435
                                    description: |-
                                      selector is the string-encoded form of a standard kubernetes label selector for the given metric
                                      When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
                                      When unset, just the metricName will be used to gather metrics.
436
437
                                    properties:
                                      matchExpressions:
438
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
439
                                        items:
440
441
442
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
443
444
                                          properties:
                                            key:
445
                                              description: key is the label key that the selector applies to.
446
447
                                              type: string
                                            operator:
448
449
450
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
451
452
                                              type: string
                                            values:
453
454
455
456
457
                                              description: |-
                                                values is an array of string values. If the operator is In or NotIn,
                                                the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                the values array must be empty. This array is replaced during a strategic
                                                merge patch.
458
459
460
461
462
463
464
465
466
467
468
469
470
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          required:
                                            - key
                                            - operator
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      matchLabels:
                                        additionalProperties:
                                          type: string
471
472
473
474
                                        description: |-
                                          matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                          map is equivalent to an element of matchExpressions, whose key field is "key", the
                                          operator is "In", and the values array contains only "value". The requirements are ANDed.
475
476
477
478
479
480
481
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                required:
                                  - name
                                type: object
                              target:
482
                                description: target specifies the target value for the given metric
483
484
                                properties:
                                  averageUtilization:
485
486
487
488
489
                                    description: |-
                                      averageUtilization is the target value of the average of the
                                      resource metric across all relevant pods, represented as a percentage of
                                      the requested value of the resource for the pods.
                                      Currently only valid for Resource metric source type
490
491
492
493
494
495
                                    format: int32
                                    type: integer
                                  averageValue:
                                    anyOf:
                                      - type: integer
                                      - type: string
496
497
498
                                    description: |-
                                      averageValue is the target value of the average of the
                                      metric across all relevant pods (as a quantity)
499
500
501
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                  type:
502
                                    description: type represents whether the metric type is Utilization, Value, or AverageValue
503
504
505
506
507
                                    type: string
                                  value:
                                    anyOf:
                                      - type: integer
                                      - type: string
508
                                    description: value is the target value of the metric (as a quantity).
509
510
511
512
513
514
515
516
517
518
519
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                required:
                                  - type
                                type: object
                            required:
                              - describedObject
                              - metric
                              - target
                            type: object
                          pods:
520
521
522
523
                            description: |-
                              pods refers to a metric describing each pod in the current scale target
                              (for example, transactions-processed-per-second).  The values will be
                              averaged together before being compared to the target value.
524
525
                            properties:
                              metric:
526
                                description: metric identifies the target metric by name and selector
527
528
                                properties:
                                  name:
529
                                    description: name is the name of the given metric
530
531
                                    type: string
                                  selector:
532
533
534
535
                                    description: |-
                                      selector is the string-encoded form of a standard kubernetes label selector for the given metric
                                      When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
                                      When unset, just the metricName will be used to gather metrics.
536
537
                                    properties:
                                      matchExpressions:
538
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
539
                                        items:
540
541
542
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
543
544
                                          properties:
                                            key:
545
                                              description: key is the label key that the selector applies to.
546
547
                                              type: string
                                            operator:
548
549
550
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
551
552
                                              type: string
                                            values:
553
554
555
556
557
                                              description: |-
                                                values is an array of string values. If the operator is In or NotIn,
                                                the values array must be non-empty. If the operator is Exists or DoesNotExist,
                                                the values array must be empty. This array is replaced during a strategic
                                                merge patch.
558
559
560
561
562
563
564
565
566
567
568
569
570
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          required:
                                            - key
                                            - operator
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      matchLabels:
                                        additionalProperties:
                                          type: string
571
572
573
574
                                        description: |-
                                          matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
                                          map is equivalent to an element of matchExpressions, whose key field is "key", the
                                          operator is "In", and the values array contains only "value". The requirements are ANDed.
575
576
577
578
579
580
581
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                required:
                                  - name
                                type: object
                              target:
582
                                description: target specifies the target value for the given metric
583
584
                                properties:
                                  averageUtilization:
585
586
587
588
589
                                    description: |-
                                      averageUtilization is the target value of the average of the
                                      resource metric across all relevant pods, represented as a percentage of
                                      the requested value of the resource for the pods.
                                      Currently only valid for Resource metric source type
590
591
592
593
594
595
                                    format: int32
                                    type: integer
                                  averageValue:
                                    anyOf:
                                      - type: integer
                                      - type: string
596
597
598
                                    description: |-
                                      averageValue is the target value of the average of the
                                      metric across all relevant pods (as a quantity)
599
600
601
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                  type:
602
                                    description: type represents whether the metric type is Utilization, Value, or AverageValue
603
604
605
606
607
                                    type: string
                                  value:
                                    anyOf:
                                      - type: integer
                                      - type: string
608
                                    description: value is the target value of the metric (as a quantity).
609
610
611
612
613
614
615
616
617
618
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                required:
                                  - type
                                type: object
                            required:
                              - metric
                              - target
                            type: object
                          resource:
619
620
621
622
623
624
                            description: |-
                              resource refers to a resource metric (such as those specified in
                              requests and limits) known to Kubernetes describing each pod in the
                              current scale target (e.g. CPU or memory). Such metrics are built in to
                              Kubernetes, and have special scaling options on top of those available
                              to normal per-pod metrics using the "pods" source.
625
626
                            properties:
                              name:
627
                                description: name is the name of the resource in question.
628
629
                                type: string
                              target:
630
                                description: target specifies the target value for the given metric
631
632
                                properties:
                                  averageUtilization:
633
634
635
636
637
                                    description: |-
                                      averageUtilization is the target value of the average of the
                                      resource metric across all relevant pods, represented as a percentage of
                                      the requested value of the resource for the pods.
                                      Currently only valid for Resource metric source type
638
639
640
641
642
643
                                    format: int32
                                    type: integer
                                  averageValue:
                                    anyOf:
                                      - type: integer
                                      - type: string
644
645
646
                                    description: |-
                                      averageValue is the target value of the average of the
                                      metric across all relevant pods (as a quantity)
647
648
649
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                  type:
650
                                    description: type represents whether the metric type is Utilization, Value, or AverageValue
651
652
653
654
655
                                    type: string
                                  value:
                                    anyOf:
                                      - type: integer
                                      - type: string
656
                                    description: value is the target value of the metric (as a quantity).
657
658
659
660
661
662
663
664
665
666
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
                                required:
                                  - type
                                type: object
                            required:
                              - name
                              - target
                            type: object
                          type:
667
668
669
                            description: |-
                              type is the type of metric source.  It should be one of "ContainerResource", "External",
                              "Object", "Pods" or "Resource", each mapping to a matching field in the object.
670
671
672
673
674
675
                            type: string
                        required:
                          - type
                        type: object
                      type: array
                    minReplicas:
676
                      description: 'Deprecated: This field is ignored.'
677
678
                      type: integer
                  type: object
679
                backendFramework:
680
                  description: BackendFramework specifies the backend framework (e.g., "sglang", "vllm", "trtllm")
681
682
683
684
685
                  enum:
                    - sglang
                    - vllm
                    - trtllm
                  type: string
686
                componentType:
687
                  description: ComponentType indicates the role of this component (for example, "main").
688
689
                  type: string
                dynamoNamespace:
690
691
692
                  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
693
                  type: string
694
                envFromSecret:
695
696
697
                  description: |-
                    EnvFromSecret references a Secret whose key/value pairs will be exposed as
                    environment variables in the component containers.
698
699
                  type: string
                envs:
700
                  description: Envs defines additional environment variables to inject into the component containers.
701
                  items:
702
                    description: EnvVar represents an environment variable present in a Container.
703
                    properties:
704
                      name:
705
                        description: Name of the environment variable. Must be a C_IDENTIFIER.
706
707
                        type: string
                      value:
708
709
710
711
712
713
714
715
716
717
                        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 "".
718
719
                        type: string
                      valueFrom:
720
                        description: Source for the environment variable's value. Cannot be used if value is not empty.
721
722
                        properties:
                          configMapKeyRef:
723
                            description: Selects a key of a ConfigMap.
724
725
                            properties:
                              key:
726
                                description: The key to select.
727
728
729
                                type: string
                              name:
                                default: ""
730
731
732
733
734
735
                                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
736
737
                                type: string
                              optional:
738
                                description: Specify whether the ConfigMap or its key must be defined
739
740
741
742
743
744
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                          fieldRef:
745
746
747
                            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.
748
749
                            properties:
                              apiVersion:
750
                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
751
752
                                type: string
                              fieldPath:
753
                                description: Path of the field to select in the specified API version.
754
755
756
757
758
759
                                type: string
                            required:
                              - fieldPath
                            type: object
                            x-kubernetes-map-type: atomic
                          resourceFieldRef:
760
761
762
                            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.
763
764
                            properties:
                              containerName:
765
                                description: 'Container name: required for volumes, optional for env vars'
766
767
768
769
770
                                type: string
                              divisor:
                                anyOf:
                                  - type: integer
                                  - type: string
771
                                description: Specifies the output format of the exposed resources, defaults to "1"
772
773
774
                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                x-kubernetes-int-or-string: true
                              resource:
775
                                description: 'Required: resource to select'
776
777
778
779
780
781
                                type: string
                            required:
                              - resource
                            type: object
                            x-kubernetes-map-type: atomic
                          secretKeyRef:
782
                            description: Selects a key of a secret in the pod's namespace
783
784
                            properties:
                              key:
785
                                description: The key of the secret to select from.  Must be a valid secret key.
786
787
788
                                type: string
                              name:
                                default: ""
789
790
791
792
793
794
                                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
795
796
                                type: string
                              optional:
797
                                description: Specify whether the Secret or its key must be defined
798
799
800
801
802
803
804
805
806
807
808
                                type: boolean
                            required:
                              - key
                            type: object
                            x-kubernetes-map-type: atomic
                        type: object
                    required:
                      - name
                    type: object
                  type: array
                extraPodMetadata:
809
                  description: ExtraPodMetadata adds labels/annotations to the created Pods.
810
811
812
813
814
815
816
817
818
819
820
                  properties:
                    annotations:
                      additionalProperties:
                        type: string
                      type: object
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                  type: object
                extraPodSpec:
821
                  description: |-
822
823
824
                    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.
825
                  properties:
826
                    activeDeadlineSeconds:
827
828
829
830
                      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.
831
832
                      format: int64
                      type: integer
833
                    affinity:
834
                      description: If specified, the pod's scheduling constraints
835
836
                      properties:
                        nodeAffinity:
837
                          description: Describes node affinity scheduling rules for the pod.
838
839
                          properties:
                            preferredDuringSchedulingIgnoredDuringExecution:
840
841
842
843
844
845
846
847
848
849
                              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.
850
                              items:
851
852
853
                                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).
854
855
                                properties:
                                  preference:
856
                                    description: A node selector term, associated with the corresponding weight.
857
858
                                    properties:
                                      matchExpressions:
859
                                        description: A list of node selector requirements by node's labels.
860
                                        items:
861
862
863
                                          description: |-
                                            A node selector requirement is a selector that contains values, a key, and an operator
                                            that relates the key and values.
864
865
                                          properties:
                                            key:
866
                                              description: The label key that the selector applies to.
867
868
                                              type: string
                                            operator:
869
870
871
                                              description: |-
                                                Represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
872
873
                                              type: string
                                            values:
874
875
876
877
878
879
                                              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.
880
881
882
883
884
885
886
887
888
889
890
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          required:
                                            - key
                                            - operator
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      matchFields:
891
                                        description: A list of node selector requirements by node's fields.
892
                                        items:
893
894
895
                                          description: |-
                                            A node selector requirement is a selector that contains values, a key, and an operator
                                            that relates the key and values.
896
897
                                          properties:
                                            key:
898
                                              description: The label key that the selector applies to.
899
900
                                              type: string
                                            operator:
901
902
903
                                              description: |-
                                                Represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
904
905
                                              type: string
                                            values:
906
907
908
909
910
911
                                              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.
912
913
914
915
916
917
918
919
920
921
922
923
924
                                              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:
925
                                    description: Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
926
927
928
929
930
931
932
933
934
                                    format: int32
                                    type: integer
                                required:
                                  - preference
                                  - weight
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                            requiredDuringSchedulingIgnoredDuringExecution:
935
936
937
938
939
940
                              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.
941
942
                              properties:
                                nodeSelectorTerms:
943
                                  description: Required. A list of node selector terms. The terms are ORed.
944
                                  items:
945
946
947
948
                                    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.
949
950
                                    properties:
                                      matchExpressions:
951
                                        description: A list of node selector requirements by node's labels.
952
                                        items:
953
954
955
                                          description: |-
                                            A node selector requirement is a selector that contains values, a key, and an operator
                                            that relates the key and values.
956
957
                                          properties:
                                            key:
958
                                              description: The label key that the selector applies to.
959
960
                                              type: string
                                            operator:
961
962
963
                                              description: |-
                                                Represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
964
965
                                              type: string
                                            values:
966
967
968
969
970
971
                                              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.
972
973
974
975
976
977
978
979
980
981
982
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          required:
                                            - key
                                            - operator
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      matchFields:
983
                                        description: A list of node selector requirements by node's fields.
984
                                        items:
985
986
987
                                          description: |-
                                            A node selector requirement is a selector that contains values, a key, and an operator
                                            that relates the key and values.
988
989
                                          properties:
                                            key:
990
                                              description: The label key that the selector applies to.
991
992
                                              type: string
                                            operator:
993
994
995
                                              description: |-
                                                Represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
996
997
                                              type: string
                                            values:
998
999
1000
1001
1002
1003
                                              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.
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
                                              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:
1024
                          description: Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
1025
1026
                          properties:
                            preferredDuringSchedulingIgnoredDuringExecution:
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
                              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.
1037
                              items:
1038
                                description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1039
1040
                                properties:
                                  podAffinityTerm:
1041
                                    description: Required. A pod affinity term, associated with the corresponding weight.
1042
1043
                                    properties:
                                      labelSelector:
1044
1045
1046
                                        description: |-
                                          A label query over a set of resources, in this case pods.
                                          If it's null, this PodAffinityTerm matches with no Pods.
1047
1048
                                        properties:
                                          matchExpressions:
1049
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1050
                                            items:
1051
1052
1053
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
1054
1055
                                              properties:
                                                key:
1056
                                                  description: key is the label key that the selector applies to.
1057
1058
                                                  type: string
                                                operator:
1059
1060
1061
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
1062
1063
                                                  type: string
                                                values:
1064
1065
1066
1067
1068
                                                  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.
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
                                                  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
1082
1083
1084
1085
                                            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.
1086
1087
1088
1089
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      matchLabelKeys:
1090
1091
1092
1093
1094
1095
1096
1097
1098
                                        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.
1099
1100
1101
1102
1103
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      mismatchLabelKeys:
1104
1105
1106
1107
1108
1109
1110
1111
1112
                                        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.
1113
1114
1115
1116
1117
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      namespaceSelector:
1118
1119
1120
1121
1122
1123
                                        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.
1124
1125
                                        properties:
                                          matchExpressions:
1126
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1127
                                            items:
1128
1129
1130
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
1131
1132
                                              properties:
                                                key:
1133
                                                  description: key is the label key that the selector applies to.
1134
1135
                                                  type: string
                                                operator:
1136
1137
1138
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
1139
1140
                                                  type: string
                                                values:
1141
1142
1143
1144
1145
                                                  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.
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
                                                  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
1159
1160
1161
1162
                                            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.
1163
1164
1165
1166
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      namespaces:
1167
1168
1169
1170
1171
                                        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".
1172
1173
1174
1175
1176
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      topologyKey:
1177
1178
1179
1180
1181
1182
                                        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.
1183
1184
1185
1186
1187
                                        type: string
                                    required:
                                      - topologyKey
                                    type: object
                                  weight:
1188
1189
1190
                                    description: |-
                                      weight associated with matching the corresponding podAffinityTerm,
                                      in the range 1-100.
1191
1192
1193
1194
1195
1196
1197
1198
1199
                                    format: int32
                                    type: integer
                                required:
                                  - podAffinityTerm
                                  - weight
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                            requiredDuringSchedulingIgnoredDuringExecution:
1200
1201
1202
1203
1204
1205
1206
1207
                              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.
1208
                              items:
1209
1210
1211
1212
1213
1214
1215
                                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
1216
1217
                                properties:
                                  labelSelector:
1218
1219
1220
                                    description: |-
                                      A label query over a set of resources, in this case pods.
                                      If it's null, this PodAffinityTerm matches with no Pods.
1221
1222
                                    properties:
                                      matchExpressions:
1223
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1224
                                        items:
1225
1226
1227
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
1228
1229
                                          properties:
                                            key:
1230
                                              description: key is the label key that the selector applies to.
1231
1232
                                              type: string
                                            operator:
1233
1234
1235
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
1236
1237
                                              type: string
                                            values:
1238
1239
1240
1241
1242
                                              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.
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
                                              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
1256
1257
1258
1259
                                        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.
1260
1261
1262
1263
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  matchLabelKeys:
1264
1265
1266
1267
1268
1269
1270
1271
1272
                                    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.
1273
1274
1275
1276
1277
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  mismatchLabelKeys:
1278
1279
1280
1281
1282
1283
1284
1285
1286
                                    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.
1287
1288
1289
1290
1291
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  namespaceSelector:
1292
1293
1294
1295
1296
1297
                                    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.
1298
1299
                                    properties:
                                      matchExpressions:
1300
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1301
                                        items:
1302
1303
1304
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
1305
1306
                                          properties:
                                            key:
1307
                                              description: key is the label key that the selector applies to.
1308
1309
                                              type: string
                                            operator:
1310
1311
1312
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
1313
1314
                                              type: string
                                            values:
1315
1316
1317
1318
1319
                                              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.
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
                                              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
1333
1334
1335
1336
                                        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.
1337
1338
1339
1340
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  namespaces:
1341
1342
1343
1344
1345
                                    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".
1346
1347
1348
1349
1350
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  topologyKey:
1351
1352
1353
1354
1355
1356
                                    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.
1357
1358
1359
1360
1361
1362
1363
1364
                                    type: string
                                required:
                                  - topologyKey
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                          type: object
                        podAntiAffinity:
1365
                          description: Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
1366
1367
                          properties:
                            preferredDuringSchedulingIgnoredDuringExecution:
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
                              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.
1378
                              items:
1379
                                description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
1380
1381
                                properties:
                                  podAffinityTerm:
1382
                                    description: Required. A pod affinity term, associated with the corresponding weight.
1383
1384
                                    properties:
                                      labelSelector:
1385
1386
1387
                                        description: |-
                                          A label query over a set of resources, in this case pods.
                                          If it's null, this PodAffinityTerm matches with no Pods.
1388
1389
                                        properties:
                                          matchExpressions:
1390
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1391
                                            items:
1392
1393
1394
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
1395
1396
                                              properties:
                                                key:
1397
                                                  description: key is the label key that the selector applies to.
1398
1399
                                                  type: string
                                                operator:
1400
1401
1402
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
1403
1404
                                                  type: string
                                                values:
1405
1406
1407
1408
1409
                                                  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.
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
                                                  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
1423
1424
1425
1426
                                            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.
1427
1428
1429
1430
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      matchLabelKeys:
1431
1432
1433
1434
1435
1436
1437
1438
1439
                                        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.
1440
1441
1442
1443
1444
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      mismatchLabelKeys:
1445
1446
1447
1448
1449
1450
1451
1452
1453
                                        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.
1454
1455
1456
1457
1458
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      namespaceSelector:
1459
1460
1461
1462
1463
1464
                                        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.
1465
1466
                                        properties:
                                          matchExpressions:
1467
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1468
                                            items:
1469
1470
1471
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
1472
1473
                                              properties:
                                                key:
1474
                                                  description: key is the label key that the selector applies to.
1475
1476
                                                  type: string
                                                operator:
1477
1478
1479
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
1480
1481
                                                  type: string
                                                values:
1482
1483
1484
1485
1486
                                                  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.
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
                                                  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
1500
1501
1502
1503
                                            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.
1504
1505
1506
1507
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      namespaces:
1508
1509
1510
1511
1512
                                        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".
1513
1514
1515
1516
1517
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      topologyKey:
1518
1519
1520
1521
1522
1523
                                        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.
1524
1525
1526
1527
1528
                                        type: string
                                    required:
                                      - topologyKey
                                    type: object
                                  weight:
1529
1530
1531
                                    description: |-
                                      weight associated with matching the corresponding podAffinityTerm,
                                      in the range 1-100.
1532
1533
1534
1535
1536
1537
1538
1539
1540
                                    format: int32
                                    type: integer
                                required:
                                  - podAffinityTerm
                                  - weight
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                            requiredDuringSchedulingIgnoredDuringExecution:
1541
1542
1543
1544
1545
1546
1547
1548
                              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.
1549
                              items:
1550
1551
1552
1553
1554
1555
1556
                                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
1557
1558
                                properties:
                                  labelSelector:
1559
1560
1561
                                    description: |-
                                      A label query over a set of resources, in this case pods.
                                      If it's null, this PodAffinityTerm matches with no Pods.
1562
1563
                                    properties:
                                      matchExpressions:
1564
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1565
                                        items:
1566
1567
1568
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
1569
1570
                                          properties:
                                            key:
1571
                                              description: key is the label key that the selector applies to.
1572
1573
                                              type: string
                                            operator:
1574
1575
1576
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
1577
1578
                                              type: string
                                            values:
1579
1580
1581
1582
1583
                                              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.
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
                                              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
1597
1598
1599
1600
                                        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.
1601
1602
1603
1604
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  matchLabelKeys:
1605
1606
1607
1608
1609
1610
1611
1612
1613
                                    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.
1614
1615
1616
1617
1618
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  mismatchLabelKeys:
1619
1620
1621
1622
1623
1624
1625
1626
1627
                                    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.
1628
1629
1630
1631
1632
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  namespaceSelector:
1633
1634
1635
1636
1637
1638
                                    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.
1639
1640
                                    properties:
                                      matchExpressions:
1641
                                        description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
1642
                                        items:
1643
1644
1645
                                          description: |-
                                            A label selector requirement is a selector that contains values, a key, and an operator that
                                            relates the key and values.
1646
1647
                                          properties:
                                            key:
1648
                                              description: key is the label key that the selector applies to.
1649
1650
                                              type: string
                                            operator:
1651
1652
1653
                                              description: |-
                                                operator represents a key's relationship to a set of values.
                                                Valid operators are In, NotIn, Exists and DoesNotExist.
1654
1655
                                              type: string
                                            values:
1656
1657
1658
1659
1660
                                              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.
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
                                              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
1674
1675
1676
1677
                                        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.
1678
1679
1680
1681
                                        type: object
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  namespaces:
1682
1683
1684
1685
1686
                                    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".
1687
1688
1689
1690
1691
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  topologyKey:
1692
1693
1694
1695
1696
1697
                                    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.
1698
1699
1700
1701
1702
1703
1704
1705
                                    type: string
                                required:
                                  - topologyKey
                                type: object
                              type: array
                              x-kubernetes-list-type: atomic
                          type: object
                      type: object
1706
                    automountServiceAccountToken:
1707
                      description: AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
1708
                      type: boolean
1709
                    containers:
1710
1711
1712
1713
1714
                      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.
1715
                      items:
1716
                        description: A single application container that you want to run within a pod.
1717
                        properties:
1718
                          args:
1719
1720
1721
1722
1723
1724
1725
1726
1727
                            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
1728
                            items:
1729
                              type: string
1730
1731
                            type: array
                            x-kubernetes-list-type: atomic
1732
                          command:
1733
1734
1735
1736
1737
1738
1739
1740
1741
                            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
1742
                            items:
1743
                              type: string
1744
1745
                            type: array
                            x-kubernetes-list-type: atomic
1746
                          env:
1747
1748
1749
                            description: |-
                              List of environment variables to set in the container.
                              Cannot be updated.
1750
                            items:
1751
                              description: EnvVar represents an environment variable present in a Container.
1752
                              properties:
1753
                                name:
1754
                                  description: Name of the environment variable. Must be a C_IDENTIFIER.
1755
1756
                                  type: string
                                value:
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
                                  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 "".
1767
                                  type: string
1768
                                valueFrom:
1769
                                  description: Source for the environment variable's value. Cannot be used if value is not empty.
1770
                                  properties:
1771
                                    configMapKeyRef:
1772
                                      description: Selects a key of a ConfigMap.
1773
1774
                                      properties:
                                        key:
1775
                                          description: The key to select.
1776
1777
1778
                                          type: string
                                        name:
                                          default: ""
1779
1780
1781
1782
1783
1784
                                          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
1785
1786
                                          type: string
                                        optional:
1787
                                          description: Specify whether the ConfigMap or its key must be defined
1788
1789
1790
1791
1792
1793
                                          type: boolean
                                      required:
                                        - key
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    fieldRef:
1794
1795
1796
                                      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.
1797
1798
                                      properties:
                                        apiVersion:
1799
                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
1800
1801
                                          type: string
                                        fieldPath:
1802
                                          description: Path of the field to select in the specified API version.
1803
1804
1805
1806
1807
1808
                                          type: string
                                      required:
                                        - fieldPath
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    resourceFieldRef:
1809
1810
1811
                                      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.
1812
1813
                                      properties:
                                        containerName:
1814
                                          description: 'Container name: required for volumes, optional for env vars'
1815
1816
1817
1818
1819
                                          type: string
                                        divisor:
                                          anyOf:
                                            - type: integer
                                            - type: string
1820
                                          description: Specifies the output format of the exposed resources, defaults to "1"
1821
1822
1823
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        resource:
1824
                                          description: 'Required: resource to select'
1825
1826
1827
1828
1829
1830
                                          type: string
                                      required:
                                        - resource
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    secretKeyRef:
1831
                                      description: Selects a key of a secret in the pod's namespace
1832
1833
                                      properties:
                                        key:
1834
                                          description: The key of the secret to select from.  Must be a valid secret key.
1835
1836
1837
                                          type: string
                                        name:
                                          default: ""
1838
1839
1840
1841
1842
1843
                                          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
1844
1845
                                          type: string
                                        optional:
1846
                                          description: Specify whether the Secret or its key must be defined
1847
1848
                                          type: boolean
                                      required:
1849
1850
                                        - key
                                      type: object
1851
                                      x-kubernetes-map-type: atomic
1852
1853
                                  type: object
                              required:
1854
                                - name
1855
                              type: object
1856
1857
                            type: array
                            x-kubernetes-list-map-keys:
1858
                              - name
1859
1860
                            x-kubernetes-list-type: map
                          envFrom:
1861
1862
1863
1864
1865
1866
1867
                            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.
1868
                            items:
1869
                              description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
1870
                              properties:
1871
                                configMapRef:
1872
                                  description: The ConfigMap to select from
1873
                                  properties:
1874
1875
                                    name:
                                      default: ""
1876
1877
1878
1879
1880
1881
                                      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
1882
1883
                                      type: string
                                    optional:
1884
                                      description: Specify whether the ConfigMap must be defined
1885
                                      type: boolean
1886
1887
                                  type: object
                                  x-kubernetes-map-type: atomic
1888
                                prefix:
1889
                                  description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
1890
                                  type: string
1891
                                secretRef:
1892
                                  description: The Secret to select from
1893
1894
1895
                                  properties:
                                    name:
                                      default: ""
1896
1897
1898
1899
1900
1901
                                      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
1902
1903
                                      type: string
                                    optional:
1904
                                      description: Specify whether the Secret must be defined
1905
1906
1907
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
1908
                              type: object
1909
1910
1911
                            type: array
                            x-kubernetes-list-type: atomic
                          image:
1912
1913
1914
1915
1916
                            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.
1917
1918
                            type: string
                          imagePullPolicy:
1919
1920
1921
1922
1923
1924
                            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
1925
1926
                            type: string
                          lifecycle:
1927
1928
1929
                            description: |-
                              Actions that the management system should take in response to container lifecycle events.
                              Cannot be updated.
1930
1931
                            properties:
                              postStart:
1932
1933
1934
1935
1936
                                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
1937
1938
                                properties:
                                  exec:
1939
                                    description: Exec specifies a command to execute in the container.
1940
1941
                                    properties:
                                      command:
1942
1943
1944
1945
1946
1947
                                        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.
1948
1949
1950
1951
1952
1953
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
1954
                                    description: HTTPGet specifies an HTTP GET request to perform.
1955
1956
                                    properties:
                                      host:
1957
1958
1959
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
1960
1961
                                        type: string
                                      httpHeaders:
1962
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
1963
                                        items:
1964
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
1965
1966
                                          properties:
                                            name:
1967
1968
1969
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
1970
                                              type: string
1971
                                            value:
1972
                                              description: The header field value
1973
1974
1975
1976
1977
1978
1979
1980
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
1981
                                        description: Path to access on the HTTP server.
1982
1983
1984
1985
1986
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
1987
1988
1989
1990
                                        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.
1991
1992
                                        x-kubernetes-int-or-string: true
                                      scheme:
1993
1994
1995
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
1996
1997
1998
1999
2000
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  sleep:
2001
                                    description: Sleep represents a duration that the container should sleep.
2002
2003
                                    properties:
                                      seconds:
2004
                                        description: Seconds is the number of seconds to sleep.
2005
2006
2007
2008
2009
2010
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
2011
2012
2013
2014
                                    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.
2015
2016
                                    properties:
                                      host:
2017
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
2018
2019
2020
2021
2022
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
2023
2024
2025
2026
                                        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.
2027
2028
2029
2030
2031
2032
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
                              preStop:
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
                                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
2043
2044
                                properties:
                                  exec:
2045
                                    description: Exec specifies a command to execute in the container.
2046
2047
                                    properties:
                                      command:
2048
2049
2050
2051
2052
2053
                                        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.
2054
2055
2056
2057
2058
2059
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
2060
                                    description: HTTPGet specifies an HTTP GET request to perform.
2061
2062
                                    properties:
                                      host:
2063
2064
2065
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
2066
2067
                                        type: string
                                      httpHeaders:
2068
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
2069
                                        items:
2070
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
2071
2072
                                          properties:
                                            name:
2073
2074
2075
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
2076
2077
                                              type: string
                                            value:
2078
                                              description: The header field value
2079
2080
2081
2082
2083
2084
2085
2086
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
2087
                                        description: Path to access on the HTTP server.
2088
2089
2090
2091
2092
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
2093
2094
2095
2096
                                        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.
2097
2098
                                        x-kubernetes-int-or-string: true
                                      scheme:
2099
2100
2101
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
2102
2103
2104
2105
2106
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  sleep:
2107
                                    description: Sleep represents a duration that the container should sleep.
2108
2109
                                    properties:
                                      seconds:
2110
                                        description: Seconds is the number of seconds to sleep.
2111
2112
2113
2114
2115
2116
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
2117
2118
2119
2120
                                    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.
2121
2122
                                    properties:
                                      host:
2123
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
2124
                                        type: string
2125
2126
2127
2128
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
2129
2130
2131
2132
                                        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.
2133
2134
2135
2136
2137
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
2138
                              stopSignal:
2139
2140
2141
2142
                                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
2143
                                type: string
2144
2145
                            type: object
                          livenessProbe:
2146
2147
2148
2149
2150
                            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
2151
2152
                            properties:
                              exec:
2153
                                description: Exec specifies a command to execute in the container.
2154
2155
                                properties:
                                  command:
2156
2157
2158
2159
2160
2161
                                    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.
2162
2163
2164
2165
2166
2167
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
2168
2169
2170
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
2171
2172
2173
                                format: int32
                                type: integer
                              grpc:
2174
                                description: GRPC specifies a GRPC HealthCheckRequest.
2175
2176
                                properties:
                                  port:
2177
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2178
2179
2180
2181
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
2182
2183
2184
2185
2186
                                    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.
2187
2188
2189
2190
2191
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
2192
                                description: HTTPGet specifies an HTTP GET request to perform.
2193
2194
                                properties:
                                  host:
2195
2196
2197
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
2198
2199
                                    type: string
                                  httpHeaders:
2200
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
2201
                                    items:
2202
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
2203
2204
                                      properties:
                                        name:
2205
2206
2207
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
2208
2209
                                          type: string
                                        value:
2210
                                          description: The header field value
2211
2212
2213
2214
                                          type: string
                                      required:
                                        - name
                                        - value
2215
                                      type: object
2216
2217
2218
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
2219
                                    description: Path to access on the HTTP server.
2220
2221
2222
2223
2224
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2225
2226
2227
2228
                                    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.
2229
2230
                                    x-kubernetes-int-or-string: true
                                  scheme:
2231
2232
2233
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
2234
2235
2236
2237
2238
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
2239
2240
2241
                                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
2242
2243
2244
                                format: int32
                                type: integer
                              periodSeconds:
2245
2246
2247
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
2248
2249
2250
                                format: int32
                                type: integer
                              successThreshold:
2251
2252
2253
                                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.
2254
2255
2256
                                format: int32
                                type: integer
                              tcpSocket:
2257
                                description: TCPSocket specifies a connection to a TCP port.
2258
2259
                                properties:
                                  host:
2260
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
2261
2262
2263
2264
2265
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2266
2267
2268
2269
                                    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.
2270
2271
2272
2273
2274
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
                                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.
2286
2287
2288
                                format: int64
                                type: integer
                              timeoutSeconds:
2289
2290
2291
2292
                                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
2293
2294
2295
2296
                                format: int32
                                type: integer
                            type: object
                          name:
2297
2298
2299
2300
                            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.
2301
2302
                            type: string
                          ports:
2303
2304
2305
2306
2307
2308
2309
2310
                            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.
2311
                            items:
2312
                              description: ContainerPort represents a network port in a single container.
2313
                              properties:
2314
                                containerPort:
2315
2316
2317
                                  description: |-
                                    Number of port to expose on the pod's IP address.
                                    This must be a valid port number, 0 < x < 65536.
2318
2319
                                  format: int32
                                  type: integer
2320
                                hostIP:
2321
                                  description: What host IP to bind the external port to.
2322
                                  type: string
2323
                                hostPort:
2324
2325
2326
2327
2328
                                  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.
2329
2330
                                  format: int32
                                  type: integer
2331
                                name:
2332
2333
2334
2335
                                  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.
2336
2337
2338
                                  type: string
                                protocol:
                                  default: TCP
2339
2340
2341
                                  description: |-
                                    Protocol for port. Must be UDP, TCP, or SCTP.
                                    Defaults to "TCP".
2342
2343
                                  type: string
                              required:
2344
                                - containerPort
2345
                              type: object
2346
2347
2348
2349
2350
2351
                            type: array
                            x-kubernetes-list-map-keys:
                              - containerPort
                              - protocol
                            x-kubernetes-list-type: map
                          readinessProbe:
2352
2353
2354
2355
2356
                            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
2357
2358
                            properties:
                              exec:
2359
                                description: Exec specifies a command to execute in the container.
2360
2361
                                properties:
                                  command:
2362
2363
2364
2365
2366
2367
                                    description: |-
                                      Command is the command line to execute inside the container, the working directory for the
                                      command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
                                      not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
                                      a shell, you need to explicitly call out to that shell.
                                      Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
2368
2369
2370
2371
2372
2373
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
2374
2375
2376
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
2377
2378
2379
                                format: int32
                                type: integer
                              grpc:
2380
                                description: GRPC specifies a GRPC HealthCheckRequest.
2381
2382
                                properties:
                                  port:
2383
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2384
2385
2386
2387
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
2388
2389
2390
2391
2392
                                    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.
2393
2394
2395
2396
2397
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
2398
                                description: HTTPGet specifies an HTTP GET request to perform.
2399
2400
                                properties:
                                  host:
2401
2402
2403
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
2404
2405
                                    type: string
                                  httpHeaders:
2406
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
2407
                                    items:
2408
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
2409
2410
                                      properties:
                                        name:
2411
2412
2413
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
2414
2415
                                          type: string
                                        value:
2416
                                          description: The header field value
2417
2418
2419
2420
2421
2422
2423
2424
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
2425
                                    description: Path to access on the HTTP server.
2426
2427
2428
2429
2430
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2431
2432
2433
2434
                                    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.
2435
2436
                                    x-kubernetes-int-or-string: true
                                  scheme:
2437
2438
2439
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
2440
2441
2442
2443
2444
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
2445
2446
2447
                                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
2448
2449
2450
                                format: int32
                                type: integer
                              periodSeconds:
2451
2452
2453
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
2454
2455
2456
                                format: int32
                                type: integer
                              successThreshold:
2457
2458
2459
                                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.
2460
2461
2462
                                format: int32
                                type: integer
                              tcpSocket:
2463
                                description: TCPSocket specifies a connection to a TCP port.
2464
2465
                                properties:
                                  host:
2466
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
2467
2468
2469
2470
2471
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2472
2473
2474
2475
                                    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.
2476
2477
2478
2479
2480
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
                                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.
2492
2493
2494
                                format: int64
                                type: integer
                              timeoutSeconds:
2495
2496
2497
2498
                                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
2499
2500
2501
2502
                                format: int32
                                type: integer
                            type: object
                          resizePolicy:
2503
                            description: Resources resize policy for the container.
2504
                            items:
2505
                              description: ContainerResizePolicy represents resource resize policy for the container.
2506
                              properties:
2507
                                resourceName:
2508
2509
2510
                                  description: |-
                                    Name of the resource to which this resource resize policy applies.
                                    Supported values: cpu, memory.
2511
2512
                                  type: string
                                restartPolicy:
2513
2514
2515
                                  description: |-
                                    Restart policy to apply when specified resource is resized.
                                    If not specified, it defaults to NotRequired.
2516
                                  type: string
2517
                              required:
2518
2519
                                - resourceName
                                - restartPolicy
2520
2521
2522
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
2523
                          resources:
2524
2525
2526
2527
                            description: |-
                              Compute Resources required by this container.
                              Cannot be updated.
                              More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2528
                            properties:
2529
                              claims:
2530
2531
2532
2533
2534
2535
2536
2537
                                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.
2538
                                items:
2539
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
2540
                                  properties:
2541
                                    name:
2542
2543
2544
2545
                                      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.
2546
2547
                                      type: string
                                    request:
2548
2549
2550
2551
                                      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.
2552
2553
2554
                                      type: string
                                  required:
                                    - name
2555
2556
                                  type: object
                                type: array
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
                                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
2567
2568
2569
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2570
2571
2572
2573
2574
2575
2576
2577
                                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
2578
2579
2580
2581
2582
                                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/
2583
                                type: object
2584
                            type: object
2585
                          restartPolicy:
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
                            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.
2602
2603
                            type: string
                          securityContext:
2604
2605
2606
2607
                            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/
2608
2609
                            properties:
                              allowPrivilegeEscalation:
2610
2611
2612
2613
2614
2615
2616
2617
                                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.
2618
2619
                                type: boolean
                              appArmorProfile:
2620
2621
2622
2623
                                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.
2624
2625
                                properties:
                                  localhostProfile:
2626
2627
2628
2629
2630
                                    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".
2631
2632
                                    type: string
                                  type:
2633
2634
2635
2636
2637
2638
                                    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.
2639
2640
2641
2642
2643
                                    type: string
                                required:
                                  - type
                                type: object
                              capabilities:
2644
2645
2646
2647
                                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.
2648
2649
                                properties:
                                  add:
2650
                                    description: Added capabilities
2651
                                    items:
2652
                                      description: Capability represent POSIX capabilities type
2653
                                      type: string
2654
2655
2656
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  drop:
2657
                                    description: Removed capabilities
2658
                                    items:
2659
                                      description: Capability represent POSIX capabilities type
2660
2661
2662
2663
2664
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              privileged:
2665
2666
2667
2668
2669
                                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.
2670
2671
                                type: boolean
                              procMount:
2672
2673
2674
2675
2676
2677
                                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.
2678
2679
                                type: string
                              readOnlyRootFilesystem:
2680
2681
2682
2683
                                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.
2684
2685
                                type: boolean
                              runAsGroup:
2686
2687
2688
2689
2690
2691
                                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.
2692
2693
2694
                                format: int64
                                type: integer
                              runAsNonRoot:
2695
2696
2697
2698
2699
2700
2701
                                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.
2702
2703
                                type: boolean
                              runAsUser:
2704
2705
2706
2707
2708
2709
                                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.
2710
2711
2712
                                format: int64
                                type: integer
                              seLinuxOptions:
2713
2714
2715
2716
2717
2718
                                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.
2719
2720
                                properties:
                                  level:
2721
                                    description: Level is SELinux level label that applies to the container.
2722
2723
                                    type: string
                                  role:
2724
                                    description: Role is a SELinux role label that applies to the container.
2725
2726
                                    type: string
                                  type:
2727
                                    description: Type is a SELinux type label that applies to the container.
2728
2729
                                    type: string
                                  user:
2730
                                    description: User is a SELinux user label that applies to the container.
2731
2732
2733
                                    type: string
                                type: object
                              seccompProfile:
2734
2735
2736
2737
2738
                                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.
2739
2740
                                properties:
                                  localhostProfile:
2741
2742
2743
2744
2745
                                    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.
2746
2747
                                    type: string
                                  type:
2748
2749
2750
2751
2752
2753
2754
                                    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.
2755
2756
2757
2758
2759
                                    type: string
                                required:
                                  - type
                                type: object
                              windowsOptions:
2760
2761
2762
2763
2764
                                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.
2765
2766
                                properties:
                                  gmsaCredentialSpec:
2767
2768
2769
2770
                                    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.
2771
2772
                                    type: string
                                  gmsaCredentialSpecName:
2773
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
2774
2775
                                    type: string
                                  hostProcess:
2776
2777
2778
2779
2780
                                    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.
2781
2782
                                    type: boolean
                                  runAsUserName:
2783
2784
2785
2786
2787
                                    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.
2788
2789
2790
2791
                                    type: string
                                type: object
                            type: object
                          startupProbe:
2792
2793
2794
2795
2796
2797
2798
2799
                            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
2800
2801
                            properties:
                              exec:
2802
                                description: Exec specifies a command to execute in the container.
2803
2804
                                properties:
                                  command:
2805
2806
2807
2808
2809
2810
                                    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.
2811
2812
2813
2814
2815
2816
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
2817
2818
2819
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
2820
2821
2822
                                format: int32
                                type: integer
                              grpc:
2823
                                description: GRPC specifies a GRPC HealthCheckRequest.
2824
2825
                                properties:
                                  port:
2826
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2827
2828
2829
2830
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
2831
2832
2833
2834
2835
                                    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.
2836
2837
2838
2839
2840
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
2841
                                description: HTTPGet specifies an HTTP GET request to perform.
2842
2843
                                properties:
                                  host:
2844
2845
2846
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
2847
2848
                                    type: string
                                  httpHeaders:
2849
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
2850
                                    items:
2851
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
2852
2853
                                      properties:
                                        name:
2854
2855
2856
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
2857
2858
                                          type: string
                                        value:
2859
                                          description: The header field value
2860
2861
2862
2863
                                          type: string
                                      required:
                                        - name
                                        - value
2864
                                      type: object
2865
2866
2867
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
2868
                                    description: Path to access on the HTTP server.
2869
                                    type: string
2870
2871
2872
2873
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2874
2875
2876
2877
                                    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.
2878
2879
                                    x-kubernetes-int-or-string: true
                                  scheme:
2880
2881
2882
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
2883
                                    type: string
2884
2885
2886
2887
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
2888
2889
2890
                                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
2891
2892
2893
                                format: int32
                                type: integer
                              periodSeconds:
2894
2895
2896
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
2897
2898
2899
                                format: int32
                                type: integer
                              successThreshold:
2900
2901
2902
                                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.
2903
2904
2905
                                format: int32
                                type: integer
                              tcpSocket:
2906
                                description: TCPSocket specifies a connection to a TCP port.
2907
2908
                                properties:
                                  host:
2909
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
2910
                                    type: string
2911
2912
2913
2914
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
2915
2916
2917
2918
                                    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.
2919
2920
2921
2922
2923
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
                                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.
2935
2936
2937
                                format: int64
                                type: integer
                              timeoutSeconds:
2938
2939
2940
2941
                                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
2942
2943
2944
2945
                                format: int32
                                type: integer
                            type: object
                          stdin:
2946
2947
2948
2949
                            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.
2950
2951
                            type: boolean
                          stdinOnce:
2952
2953
2954
2955
2956
2957
2958
2959
                            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
2960
2961
                            type: boolean
                          terminationMessagePath:
2962
2963
2964
2965
2966
2967
2968
2969
                            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.
2970
2971
                            type: string
                          terminationMessagePolicy:
2972
2973
2974
2975
2976
2977
2978
2979
                            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.
2980
2981
                            type: string
                          tty:
2982
2983
2984
                            description: |-
                              Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                              Default is false.
2985
2986
                            type: boolean
                          volumeDevices:
2987
                            description: volumeDevices is the list of block devices to be used by the container.
2988
                            items:
2989
                              description: volumeDevice describes a mapping of a raw block device within a container.
2990
                              properties:
2991
                                devicePath:
2992
                                  description: devicePath is the path inside of the container that the device will be mapped to.
2993
2994
                                  type: string
                                name:
2995
                                  description: name must match the name of a persistentVolumeClaim in the pod
2996
                                  type: string
2997
                              required:
2998
2999
                                - devicePath
                                - name
3000
3001
                              type: object
                            type: array
3002
3003
3004
3005
                            x-kubernetes-list-map-keys:
                              - devicePath
                            x-kubernetes-list-type: map
                          volumeMounts:
3006
3007
3008
                            description: |-
                              Pod volumes to mount into the container's filesystem.
                              Cannot be updated.
3009
                            items:
3010
                              description: VolumeMount describes a mounting of a Volume within a container.
3011
                              properties:
3012
                                mountPath:
3013
3014
3015
                                  description: |-
                                    Path within the container at which the volume should be mounted.  Must
                                    not contain ':'.
3016
3017
                                  type: string
                                mountPropagation:
3018
3019
3020
3021
3022
3023
3024
                                  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).
3025
3026
                                  type: string
                                name:
3027
                                  description: This must match the Name of a Volume.
3028
3029
                                  type: string
                                readOnly:
3030
3031
3032
                                  description: |-
                                    Mounted read-only if true, read-write otherwise (false or unspecified).
                                    Defaults to false.
3033
3034
                                  type: boolean
                                recursiveReadOnly:
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
                                  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.
3052
3053
                                  type: string
                                subPath:
3054
3055
3056
                                  description: |-
                                    Path within the volume from which the container's volume should be mounted.
                                    Defaults to "" (volume's root).
3057
3058
                                  type: string
                                subPathExpr:
3059
3060
3061
3062
3063
                                  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.
3064
3065
                                  type: string
                              required:
3066
3067
                                - mountPath
                                - name
3068
3069
                              type: object
                            type: array
3070
3071
3072
3073
                            x-kubernetes-list-map-keys:
                              - mountPath
                            x-kubernetes-list-type: map
                          workingDir:
3074
3075
3076
3077
3078
                            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.
3079
3080
3081
                            type: string
                        required:
                          - name
3082
                        type: object
3083
                      type: array
3084
3085
3086
3087
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    dnsConfig:
3088
3089
3090
3091
                      description: |-
                        Specifies the DNS parameters of a pod.
                        Parameters specified here will be merged to the generated DNS
                        configuration based on DNSPolicy.
3092
                      properties:
3093
                        nameservers:
3094
3095
3096
3097
                          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.
3098
3099
3100
3101
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
3102
                        options:
3103
3104
3105
3106
3107
                          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.
3108
                          items:
3109
                            description: PodDNSConfigOption defines DNS resolver options of a pod.
3110
3111
                            properties:
                              name:
3112
3113
3114
                                description: |-
                                  Name is this DNS resolver option's name.
                                  Required.
3115
3116
                                type: string
                              value:
3117
                                description: Value is this DNS resolver option's value.
3118
                                type: string
3119
3120
3121
3122
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        searches:
3123
3124
3125
3126
                          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.
3127
3128
3129
3130
3131
3132
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
                      type: object
                    dnsPolicy:
3133
3134
3135
3136
3137
3138
3139
                      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'.
3140
3141
                      type: string
                    enableServiceLinks:
3142
3143
3144
3145
                      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.
3146
3147
                      type: boolean
                    ephemeralContainers:
3148
3149
3150
3151
3152
                      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.
3153
                      items:
3154
3155
3156
3157
3158
3159
3160
3161
3162
                        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.
3163
3164
                        properties:
                          args:
3165
3166
3167
3168
3169
3170
3171
3172
3173
                            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
3174
3175
3176
3177
3178
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          command:
3179
3180
3181
3182
3183
3184
3185
3186
3187
                            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
3188
3189
3190
3191
3192
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          env:
3193
3194
3195
                            description: |-
                              List of environment variables to set in the container.
                              Cannot be updated.
3196
                            items:
3197
                              description: EnvVar represents an environment variable present in a Container.
3198
3199
                              properties:
                                name:
3200
                                  description: Name of the environment variable. Must be a C_IDENTIFIER.
3201
3202
                                  type: string
                                value:
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
                                  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 "".
3213
3214
                                  type: string
                                valueFrom:
3215
                                  description: Source for the environment variable's value. Cannot be used if value is not empty.
3216
3217
                                  properties:
                                    configMapKeyRef:
3218
                                      description: Selects a key of a ConfigMap.
3219
3220
                                      properties:
                                        key:
3221
                                          description: The key to select.
3222
3223
3224
                                          type: string
                                        name:
                                          default: ""
3225
3226
3227
3228
3229
3230
                                          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
3231
3232
                                          type: string
                                        optional:
3233
                                          description: Specify whether the ConfigMap or its key must be defined
3234
3235
3236
3237
3238
3239
                                          type: boolean
                                      required:
                                        - key
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    fieldRef:
3240
3241
3242
                                      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.
3243
3244
                                      properties:
                                        apiVersion:
3245
                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
3246
3247
                                          type: string
                                        fieldPath:
3248
                                          description: Path of the field to select in the specified API version.
3249
3250
3251
3252
3253
3254
                                          type: string
                                      required:
                                        - fieldPath
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    resourceFieldRef:
3255
3256
3257
                                      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.
3258
3259
                                      properties:
                                        containerName:
3260
                                          description: 'Container name: required for volumes, optional for env vars'
3261
3262
3263
3264
3265
                                          type: string
                                        divisor:
                                          anyOf:
                                            - type: integer
                                            - type: string
3266
                                          description: Specifies the output format of the exposed resources, defaults to "1"
3267
3268
3269
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        resource:
3270
                                          description: 'Required: resource to select'
3271
3272
3273
3274
3275
3276
                                          type: string
                                      required:
                                        - resource
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    secretKeyRef:
3277
                                      description: Selects a key of a secret in the pod's namespace
3278
3279
                                      properties:
                                        key:
3280
                                          description: The key of the secret to select from.  Must be a valid secret key.
3281
3282
3283
                                          type: string
                                        name:
                                          default: ""
3284
3285
3286
3287
3288
3289
                                          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
3290
3291
                                          type: string
                                        optional:
3292
                                          description: Specify whether the Secret or its key must be defined
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
                                          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:
3307
3308
3309
3310
3311
3312
3313
                            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.
3314
                            items:
3315
                              description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
3316
3317
                              properties:
                                configMapRef:
3318
                                  description: The ConfigMap to select from
3319
3320
3321
                                  properties:
                                    name:
                                      default: ""
3322
3323
3324
3325
3326
3327
                                      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
3328
3329
                                      type: string
                                    optional:
3330
                                      description: Specify whether the ConfigMap must be defined
3331
3332
3333
3334
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                                prefix:
3335
                                  description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
3336
3337
                                  type: string
                                secretRef:
3338
                                  description: The Secret to select from
3339
3340
3341
                                  properties:
                                    name:
                                      default: ""
3342
3343
3344
3345
3346
3347
                                      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
3348
3349
                                      type: string
                                    optional:
3350
                                      description: Specify whether the Secret must be defined
3351
3352
3353
3354
3355
3356
3357
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          image:
3358
3359
3360
                            description: |-
                              Container image name.
                              More info: https://kubernetes.io/docs/concepts/containers/images
3361
3362
                            type: string
                          imagePullPolicy:
3363
3364
3365
3366
3367
3368
                            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
3369
3370
                            type: string
                          lifecycle:
3371
                            description: Lifecycle is not allowed for ephemeral containers.
3372
3373
                            properties:
                              postStart:
3374
3375
3376
3377
3378
                                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
3379
                                properties:
3380
                                  exec:
3381
                                    description: Exec specifies a command to execute in the container.
3382
                                    properties:
3383
                                      command:
3384
3385
3386
3387
3388
3389
                                        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.
3390
3391
3392
3393
3394
3395
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
3396
                                    description: HTTPGet specifies an HTTP GET request to perform.
3397
3398
                                    properties:
                                      host:
3399
3400
3401
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
3402
                                        type: string
3403
                                      httpHeaders:
3404
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
3405
                                        items:
3406
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
3407
3408
                                          properties:
                                            name:
3409
3410
3411
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
3412
3413
                                              type: string
                                            value:
3414
                                              description: The header field value
3415
3416
3417
3418
3419
3420
3421
3422
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
3423
                                        description: Path to access on the HTTP server.
3424
3425
3426
3427
3428
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
3429
3430
3431
3432
                                        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.
3433
3434
                                        x-kubernetes-int-or-string: true
                                      scheme:
3435
3436
3437
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
3438
3439
                                        type: string
                                    required:
3440
                                      - port
3441
                                    type: object
3442
                                  sleep:
3443
                                    description: Sleep represents a duration that the container should sleep.
3444
                                    properties:
3445
                                      seconds:
3446
                                        description: Seconds is the number of seconds to sleep.
3447
3448
                                        format: int64
                                        type: integer
3449
                                    required:
3450
                                      - seconds
3451
                                    type: object
3452
                                  tcpSocket:
3453
3454
3455
3456
                                    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.
3457
                                    properties:
3458
                                      host:
3459
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
3460
                                        type: string
3461
                                      port:
3462
                                        anyOf:
3463
3464
                                          - type: integer
                                          - type: string
3465
3466
3467
3468
                                        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.
3469
3470
                                        x-kubernetes-int-or-string: true
                                    required:
3471
                                      - port
3472
                                    type: object
3473
3474
                                type: object
                              preStop:
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
                                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
3485
3486
                                properties:
                                  exec:
3487
                                    description: Exec specifies a command to execute in the container.
3488
                                    properties:
3489
                                      command:
3490
3491
3492
3493
3494
3495
                                        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.
3496
3497
3498
3499
3500
3501
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
3502
                                    description: HTTPGet specifies an HTTP GET request to perform.
3503
3504
                                    properties:
                                      host:
3505
3506
3507
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
3508
                                        type: string
3509
                                      httpHeaders:
3510
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
3511
                                        items:
3512
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
3513
3514
                                          properties:
                                            name:
3515
3516
3517
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
3518
3519
                                              type: string
                                            value:
3520
                                              description: The header field value
3521
3522
3523
3524
3525
3526
3527
3528
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
3529
                                        description: Path to access on the HTTP server.
3530
3531
3532
3533
3534
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
3535
3536
3537
3538
                                        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.
3539
3540
                                        x-kubernetes-int-or-string: true
                                      scheme:
3541
3542
3543
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
3544
3545
                                        type: string
                                    required:
3546
                                      - port
3547
                                    type: object
3548
                                  sleep:
3549
                                    description: Sleep represents a duration that the container should sleep.
3550
3551
                                    properties:
                                      seconds:
3552
                                        description: Seconds is the number of seconds to sleep.
3553
3554
3555
3556
3557
3558
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
3559
3560
3561
3562
                                    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.
3563
3564
                                    properties:
                                      host:
3565
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
3566
3567
3568
3569
3570
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
3571
3572
3573
3574
                                        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.
3575
3576
3577
3578
3579
3580
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
                              stopSignal:
3581
3582
3583
3584
                                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
3585
3586
3587
                                type: string
                            type: object
                          livenessProbe:
3588
                            description: Probes are not allowed for ephemeral containers.
3589
3590
                            properties:
                              exec:
3591
                                description: Exec specifies a command to execute in the container.
3592
3593
                                properties:
                                  command:
3594
3595
3596
3597
3598
3599
                                    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.
3600
3601
3602
3603
3604
3605
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
3606
3607
3608
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
3609
3610
3611
                                format: int32
                                type: integer
                              grpc:
3612
                                description: GRPC specifies a GRPC HealthCheckRequest.
3613
3614
                                properties:
                                  port:
3615
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3616
3617
3618
                                    format: int32
                                    type: integer
                                  service:
3619
                                    default: ""
3620
3621
3622
3623
3624
                                    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.
3625
                                    type: string
3626
3627
                                required:
                                  - port
3628
                                type: object
3629
                              httpGet:
3630
                                description: HTTPGet specifies an HTTP GET request to perform.
3631
                                properties:
3632
                                  host:
3633
3634
3635
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
3636
3637
                                    type: string
                                  httpHeaders:
3638
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
3639
                                    items:
3640
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
3641
3642
                                      properties:
                                        name:
3643
3644
3645
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
3646
3647
                                          type: string
                                        value:
3648
                                          description: The header field value
3649
3650
3651
3652
3653
3654
3655
3656
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
3657
                                    description: Path to access on the HTTP server.
3658
3659
3660
3661
3662
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
3663
3664
3665
3666
                                    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.
3667
3668
                                    x-kubernetes-int-or-string: true
                                  scheme:
3669
3670
3671
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
3672
3673
3674
3675
3676
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
3677
3678
3679
                                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
3680
3681
3682
                                format: int32
                                type: integer
                              periodSeconds:
3683
3684
3685
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
3686
3687
3688
                                format: int32
                                type: integer
                              successThreshold:
3689
3690
3691
                                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.
3692
3693
3694
                                format: int32
                                type: integer
                              tcpSocket:
3695
                                description: TCPSocket specifies a connection to a TCP port.
3696
3697
                                properties:
                                  host:
3698
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
3699
3700
3701
3702
3703
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
3704
3705
3706
3707
                                    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.
3708
3709
3710
3711
3712
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
                                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.
3724
3725
3726
                                format: int64
                                type: integer
                              timeoutSeconds:
3727
3728
3729
3730
                                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
3731
3732
3733
3734
                                format: int32
                                type: integer
                            type: object
                          name:
3735
3736
3737
                            description: |-
                              Name of the ephemeral container specified as a DNS_LABEL.
                              This name must be unique among all containers, init containers and ephemeral containers.
3738
3739
                            type: string
                          ports:
3740
                            description: Ports are not allowed for ephemeral containers.
3741
                            items:
3742
                              description: ContainerPort represents a network port in a single container.
3743
3744
                              properties:
                                containerPort:
3745
3746
3747
                                  description: |-
                                    Number of port to expose on the pod's IP address.
                                    This must be a valid port number, 0 < x < 65536.
3748
3749
3750
                                  format: int32
                                  type: integer
                                hostIP:
3751
                                  description: What host IP to bind the external port to.
3752
3753
                                  type: string
                                hostPort:
3754
3755
3756
3757
3758
                                  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.
3759
3760
3761
                                  format: int32
                                  type: integer
                                name:
3762
3763
3764
3765
                                  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.
3766
3767
3768
                                  type: string
                                protocol:
                                  default: TCP
3769
3770
3771
                                  description: |-
                                    Protocol for port. Must be UDP, TCP, or SCTP.
                                    Defaults to "TCP".
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
                                  type: string
                              required:
                                - containerPort
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - containerPort
                              - protocol
                            x-kubernetes-list-type: map
                          readinessProbe:
3782
                            description: Probes are not allowed for ephemeral containers.
3783
3784
                            properties:
                              exec:
3785
                                description: Exec specifies a command to execute in the container.
3786
3787
                                properties:
                                  command:
3788
3789
3790
3791
3792
3793
                                    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.
3794
3795
3796
3797
3798
3799
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
3800
3801
3802
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
3803
3804
3805
                                format: int32
                                type: integer
                              grpc:
3806
                                description: GRPC specifies a GRPC HealthCheckRequest.
3807
3808
                                properties:
                                  port:
3809
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3810
3811
3812
                                    format: int32
                                    type: integer
                                  service:
3813
                                    default: ""
3814
3815
3816
3817
3818
                                    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.
3819
                                    type: string
3820
3821
                                required:
                                  - port
3822
                                type: object
3823
                              httpGet:
3824
                                description: HTTPGet specifies an HTTP GET request to perform.
3825
3826
                                properties:
                                  host:
3827
3828
3829
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
3830
3831
                                    type: string
                                  httpHeaders:
3832
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
3833
                                    items:
3834
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
3835
3836
                                      properties:
                                        name:
3837
3838
3839
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
3840
3841
                                          type: string
                                        value:
3842
                                          description: The header field value
3843
3844
3845
3846
3847
3848
3849
3850
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
3851
                                    description: Path to access on the HTTP server.
3852
3853
3854
3855
3856
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
3857
3858
3859
3860
                                    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.
3861
3862
                                    x-kubernetes-int-or-string: true
                                  scheme:
3863
3864
3865
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
3866
3867
3868
3869
3870
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
3871
3872
3873
                                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
3874
3875
3876
                                format: int32
                                type: integer
                              periodSeconds:
3877
3878
3879
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
3880
3881
3882
                                format: int32
                                type: integer
                              successThreshold:
3883
3884
3885
                                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.
3886
3887
3888
                                format: int32
                                type: integer
                              tcpSocket:
3889
                                description: TCPSocket specifies a connection to a TCP port.
3890
3891
                                properties:
                                  host:
3892
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
3893
3894
3895
3896
3897
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
3898
3899
3900
3901
                                    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.
3902
3903
3904
3905
3906
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
                                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.
3918
3919
3920
                                format: int64
                                type: integer
                              timeoutSeconds:
3921
3922
3923
3924
                                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
3925
3926
                                format: int32
                                type: integer
3927
                            type: object
3928
                          resizePolicy:
3929
                            description: Resources resize policy for the container.
3930
                            items:
3931
                              description: ContainerResizePolicy represents resource resize policy for the container.
3932
                              properties:
3933
                                resourceName:
3934
3935
3936
                                  description: |-
                                    Name of the resource to which this resource resize policy applies.
                                    Supported values: cpu, memory.
3937
3938
                                  type: string
                                restartPolicy:
3939
3940
3941
                                  description: |-
                                    Restart policy to apply when specified resource is resized.
                                    If not specified, it defaults to NotRequired.
3942
3943
3944
3945
3946
3947
3948
3949
                                  type: string
                              required:
                                - resourceName
                                - restartPolicy
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          resources:
3950
3951
3952
                            description: |-
                              Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
                              already allocated to the pod.
3953
3954
                            properties:
                              claims:
3955
3956
3957
3958
3959
3960
3961
3962
                                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.
3963
                                items:
3964
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
3965
                                  properties:
3966
                                    name:
3967
3968
3969
3970
                                      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.
3971
                                      type: string
3972
                                    request:
3973
3974
3975
3976
                                      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.
3977
3978
                                      type: string
                                  required:
3979
                                    - name
3980
                                  type: object
3981
3982
3983
3984
3985
3986
                                type: array
                                x-kubernetes-list-map-keys:
                                  - name
                                x-kubernetes-list-type: map
                              limits:
                                additionalProperties:
3987
                                  anyOf:
3988
3989
                                    - type: integer
                                    - type: string
3990
                                  pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
3991
                                  x-kubernetes-int-or-string: true
3992
3993
3994
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
3995
3996
3997
                                type: object
                              requests:
                                additionalProperties:
3998
                                  anyOf:
3999
4000
                                    - type: integer
                                    - type: string
4001
                                  pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4002
                                  x-kubernetes-int-or-string: true
4003
4004
4005
4006
4007
                                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/
4008
4009
4010
                                type: object
                            type: object
                          restartPolicy:
4011
4012
4013
4014
4015
                            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.
4016
4017
                            type: string
                          securityContext:
4018
4019
4020
                            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.
4021
                            properties:
4022
                              allowPrivilegeEscalation:
4023
4024
4025
4026
4027
4028
4029
4030
                                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.
4031
4032
                                type: boolean
                              appArmorProfile:
4033
4034
4035
4036
                                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.
4037
4038
                                properties:
                                  localhostProfile:
4039
4040
4041
4042
4043
                                    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".
4044
4045
                                    type: string
                                  type:
4046
4047
4048
4049
4050
4051
                                    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.
4052
4053
4054
4055
4056
                                    type: string
                                required:
                                  - type
                                type: object
                              capabilities:
4057
4058
4059
4060
                                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.
4061
4062
                                properties:
                                  add:
4063
                                    description: Added capabilities
4064
                                    items:
4065
                                      description: Capability represent POSIX capabilities type
4066
4067
4068
4069
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  drop:
4070
                                    description: Removed capabilities
4071
                                    items:
4072
                                      description: Capability represent POSIX capabilities type
4073
4074
4075
4076
4077
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              privileged:
4078
4079
4080
4081
4082
                                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.
4083
4084
                                type: boolean
                              procMount:
4085
4086
4087
4088
4089
4090
                                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.
4091
                                type: string
4092
                              readOnlyRootFilesystem:
4093
4094
4095
4096
                                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.
4097
4098
                                type: boolean
                              runAsGroup:
4099
4100
4101
4102
4103
4104
                                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.
4105
                                format: int64
4106
                                type: integer
4107
                              runAsNonRoot:
4108
4109
4110
4111
4112
4113
4114
                                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.
4115
4116
                                type: boolean
                              runAsUser:
4117
4118
4119
4120
4121
4122
                                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.
4123
4124
4125
                                format: int64
                                type: integer
                              seLinuxOptions:
4126
4127
4128
4129
4130
4131
                                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.
4132
4133
                                properties:
                                  level:
4134
                                    description: Level is SELinux level label that applies to the container.
4135
4136
                                    type: string
                                  role:
4137
                                    description: Role is a SELinux role label that applies to the container.
4138
4139
                                    type: string
                                  type:
4140
                                    description: Type is a SELinux type label that applies to the container.
4141
4142
                                    type: string
                                  user:
4143
                                    description: User is a SELinux user label that applies to the container.
4144
4145
4146
                                    type: string
                                type: object
                              seccompProfile:
4147
4148
4149
4150
4151
                                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.
4152
4153
                                properties:
                                  localhostProfile:
4154
4155
4156
4157
4158
                                    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.
4159
4160
                                    type: string
                                  type:
4161
4162
4163
4164
4165
4166
4167
                                    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.
4168
4169
4170
4171
4172
                                    type: string
                                required:
                                  - type
                                type: object
                              windowsOptions:
4173
4174
4175
4176
4177
                                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.
4178
4179
                                properties:
                                  gmsaCredentialSpec:
4180
4181
4182
4183
                                    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.
4184
4185
                                    type: string
                                  gmsaCredentialSpecName:
4186
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
4187
4188
                                    type: string
                                  hostProcess:
4189
4190
4191
4192
4193
                                    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.
4194
4195
                                    type: boolean
                                  runAsUserName:
4196
4197
4198
4199
4200
                                    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.
4201
4202
                                    type: string
                                type: object
4203
                            type: object
4204
                          startupProbe:
4205
                            description: Probes are not allowed for ephemeral containers.
4206
4207
                            properties:
                              exec:
4208
                                description: Exec specifies a command to execute in the container.
4209
                                properties:
4210
                                  command:
4211
4212
4213
4214
4215
4216
                                    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.
4217
4218
4219
4220
4221
4222
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
4223
4224
4225
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
4226
4227
4228
                                format: int32
                                type: integer
                              grpc:
4229
                                description: GRPC specifies a GRPC HealthCheckRequest.
4230
4231
                                properties:
                                  port:
4232
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4233
4234
4235
4236
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
4237
4238
4239
4240
4241
                                    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.
4242
                                    type: string
4243
4244
4245
4246
                                required:
                                  - port
                                type: object
                              httpGet:
4247
                                description: HTTPGet specifies an HTTP GET request to perform.
4248
4249
                                properties:
                                  host:
4250
4251
4252
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
4253
4254
                                    type: string
                                  httpHeaders:
4255
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
4256
                                    items:
4257
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
4258
4259
                                      properties:
                                        name:
4260
4261
4262
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
4263
4264
                                          type: string
                                        value:
4265
                                          description: The header field value
4266
4267
4268
4269
4270
4271
4272
4273
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
4274
                                    description: Path to access on the HTTP server.
4275
4276
4277
4278
4279
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
4280
4281
4282
4283
                                    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.
4284
4285
                                    x-kubernetes-int-or-string: true
                                  scheme:
4286
4287
4288
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
4289
4290
                                    type: string
                                required:
4291
                                  - port
4292
                                type: object
4293
                              initialDelaySeconds:
4294
4295
4296
                                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
4297
4298
4299
                                format: int32
                                type: integer
                              periodSeconds:
4300
4301
4302
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
4303
4304
4305
                                format: int32
                                type: integer
                              successThreshold:
4306
4307
4308
                                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.
4309
4310
4311
                                format: int32
                                type: integer
                              tcpSocket:
4312
                                description: TCPSocket specifies a connection to a TCP port.
4313
4314
                                properties:
                                  host:
4315
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
4316
4317
4318
4319
4320
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
4321
4322
4323
4324
                                    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.
4325
4326
4327
4328
4329
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
                                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.
4341
4342
4343
                                format: int64
                                type: integer
                              timeoutSeconds:
4344
4345
4346
4347
                                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
4348
4349
4350
4351
                                format: int32
                                type: integer
                            type: object
                          stdin:
4352
4353
4354
4355
                            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.
4356
4357
                            type: boolean
                          stdinOnce:
4358
4359
4360
4361
4362
4363
4364
4365
                            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
4366
4367
                            type: boolean
                          targetContainerName:
4368
4369
4370
4371
4372
4373
4374
                            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.
4375
4376
                            type: string
                          terminationMessagePath:
4377
4378
4379
4380
4381
4382
4383
4384
                            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.
4385
4386
                            type: string
                          terminationMessagePolicy:
4387
4388
4389
4390
4391
4392
4393
4394
                            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.
4395
4396
                            type: string
                          tty:
4397
4398
4399
                            description: |-
                              Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                              Default is false.
4400
4401
                            type: boolean
                          volumeDevices:
4402
                            description: volumeDevices is the list of block devices to be used by the container.
4403
                            items:
4404
                              description: volumeDevice describes a mapping of a raw block device within a container.
4405
                              properties:
4406
                                devicePath:
4407
                                  description: devicePath is the path inside of the container that the device will be mapped to.
4408
                                  type: string
4409
                                name:
4410
                                  description: name must match the name of a persistentVolumeClaim in the pod
4411
4412
                                  type: string
                              required:
4413
4414
                                - devicePath
                                - name
4415
                              type: object
4416
4417
4418
4419
4420
                            type: array
                            x-kubernetes-list-map-keys:
                              - devicePath
                            x-kubernetes-list-type: map
                          volumeMounts:
4421
4422
4423
                            description: |-
                              Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
                              Cannot be updated.
4424
                            items:
4425
                              description: VolumeMount describes a mounting of a Volume within a container.
4426
                              properties:
4427
                                mountPath:
4428
4429
4430
                                  description: |-
                                    Path within the container at which the volume should be mounted.  Must
                                    not contain ':'.
4431
                                  type: string
4432
                                mountPropagation:
4433
4434
4435
4436
4437
4438
4439
                                  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).
4440
                                  type: string
4441
                                name:
4442
                                  description: This must match the Name of a Volume.
4443
                                  type: string
4444
                                readOnly:
4445
4446
4447
                                  description: |-
                                    Mounted read-only if true, read-write otherwise (false or unspecified).
                                    Defaults to false.
4448
4449
                                  type: boolean
                                recursiveReadOnly:
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
                                  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.
4467
                                  type: string
4468
                                subPath:
4469
4470
4471
                                  description: |-
                                    Path within the volume from which the container's volume should be mounted.
                                    Defaults to "" (volume's root).
4472
                                  type: string
4473
                                subPathExpr:
4474
4475
4476
4477
4478
                                  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.
4479
4480
                                  type: string
                              required:
4481
4482
                                - mountPath
                                - name
4483
                              type: object
4484
4485
4486
4487
4488
                            type: array
                            x-kubernetes-list-map-keys:
                              - mountPath
                            x-kubernetes-list-type: map
                          workingDir:
4489
4490
4491
4492
4493
                            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.
4494
4495
4496
4497
4498
4499
4500
4501
4502
                            type: string
                        required:
                          - name
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    hostAliases:
4503
4504
4505
                      description: |-
                        HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
                        file if specified.
4506
                      items:
4507
4508
4509
                        description: |-
                          HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the
                          pod's hosts file.
4510
4511
                        properties:
                          hostnames:
4512
                            description: Hostnames for the above IP address.
4513
4514
4515
4516
4517
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          ip:
4518
                            description: IP address of the host file entry.
4519
4520
4521
4522
4523
4524
4525
4526
4527
                            type: string
                        required:
                          - ip
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - ip
                      x-kubernetes-list-type: map
                    hostIPC:
4528
4529
4530
                      description: |-
                        Use the host's ipc namespace.
                        Optional: Default to false.
4531
4532
                      type: boolean
                    hostNetwork:
4533
4534
4535
4536
                      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.
4537
4538
                      type: boolean
                    hostPID:
4539
4540
4541
                      description: |-
                        Use the host's pid namespace.
                        Optional: Default to false.
4542
4543
                      type: boolean
                    hostUsers:
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
                      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.
4554
4555
                      type: boolean
                    hostname:
4556
4557
4558
                      description: |-
                        Specifies the hostname of the Pod
                        If not specified, the pod's hostname will be set to a system-defined value.
4559
4560
                      type: string
                    imagePullSecrets:
4561
4562
4563
4564
                      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
4565
                      items:
4566
4567
4568
                        description: |-
                          LocalObjectReference contains enough information to let you locate the
                          referenced object inside the same namespace.
4569
4570
4571
                        properties:
                          name:
                            default: ""
4572
4573
4574
4575
4576
4577
                            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
4578
4579
4580
4581
4582
4583
4584
4585
                            type: string
                        type: object
                        x-kubernetes-map-type: atomic
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    initContainers:
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
                      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/
4600
                      items:
4601
                        description: A single application container that you want to run within a pod.
4602
4603
                        properties:
                          args:
4604
4605
4606
4607
4608
4609
4610
4611
4612
                            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
4613
4614
4615
4616
4617
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          command:
4618
4619
4620
4621
4622
4623
4624
4625
4626
                            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
4627
4628
4629
4630
4631
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          env:
4632
4633
4634
                            description: |-
                              List of environment variables to set in the container.
                              Cannot be updated.
4635
                            items:
4636
                              description: EnvVar represents an environment variable present in a Container.
4637
                              properties:
4638
                                name:
4639
                                  description: Name of the environment variable. Must be a C_IDENTIFIER.
4640
                                  type: string
4641
                                value:
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
                                  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 "".
4652
                                  type: string
4653
                                valueFrom:
4654
                                  description: Source for the environment variable's value. Cannot be used if value is not empty.
4655
4656
                                  properties:
                                    configMapKeyRef:
4657
                                      description: Selects a key of a ConfigMap.
4658
4659
                                      properties:
                                        key:
4660
                                          description: The key to select.
4661
4662
4663
                                          type: string
                                        name:
                                          default: ""
4664
4665
4666
4667
4668
4669
                                          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
4670
4671
                                          type: string
                                        optional:
4672
                                          description: Specify whether the ConfigMap or its key must be defined
4673
4674
4675
4676
4677
4678
                                          type: boolean
                                      required:
                                        - key
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    fieldRef:
4679
4680
4681
                                      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.
4682
4683
                                      properties:
                                        apiVersion:
4684
                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
4685
4686
                                          type: string
                                        fieldPath:
4687
                                          description: Path of the field to select in the specified API version.
4688
4689
4690
4691
4692
4693
                                          type: string
                                      required:
                                        - fieldPath
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    resourceFieldRef:
4694
4695
4696
                                      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.
4697
4698
                                      properties:
                                        containerName:
4699
                                          description: 'Container name: required for volumes, optional for env vars'
4700
4701
4702
4703
4704
                                          type: string
                                        divisor:
                                          anyOf:
                                            - type: integer
                                            - type: string
4705
                                          description: Specifies the output format of the exposed resources, defaults to "1"
4706
4707
4708
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        resource:
4709
                                          description: 'Required: resource to select'
4710
4711
4712
4713
4714
4715
                                          type: string
                                      required:
                                        - resource
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    secretKeyRef:
4716
                                      description: Selects a key of a secret in the pod's namespace
4717
4718
                                      properties:
                                        key:
4719
                                          description: The key of the secret to select from.  Must be a valid secret key.
4720
4721
4722
                                          type: string
                                        name:
                                          default: ""
4723
4724
4725
4726
4727
4728
                                          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
4729
4730
                                          type: string
                                        optional:
4731
                                          description: Specify whether the Secret or its key must be defined
4732
4733
4734
4735
4736
4737
                                          type: boolean
                                      required:
                                        - key
                                      type: object
                                      x-kubernetes-map-type: atomic
                                  type: object
4738
                              required:
4739
                                - name
4740
                              type: object
4741
4742
4743
4744
4745
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          envFrom:
4746
4747
4748
4749
4750
4751
4752
                            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.
4753
                            items:
4754
                              description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
4755
                              properties:
4756
                                configMapRef:
4757
                                  description: The ConfigMap to select from
4758
4759
4760
                                  properties:
                                    name:
                                      default: ""
4761
4762
4763
4764
4765
4766
                                      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
4767
4768
                                      type: string
                                    optional:
4769
                                      description: Specify whether the ConfigMap must be defined
4770
4771
4772
4773
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                                prefix:
4774
                                  description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
4775
                                  type: string
4776
                                secretRef:
4777
                                  description: The Secret to select from
4778
4779
4780
                                  properties:
                                    name:
                                      default: ""
4781
4782
4783
4784
4785
4786
                                      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
4787
4788
                                      type: string
                                    optional:
4789
                                      description: Specify whether the Secret must be defined
4790
4791
4792
4793
4794
4795
4796
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          image:
4797
4798
4799
4800
4801
                            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.
4802
4803
                            type: string
                          imagePullPolicy:
4804
4805
4806
4807
4808
4809
                            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
4810
4811
                            type: string
                          lifecycle:
4812
4813
4814
                            description: |-
                              Actions that the management system should take in response to container lifecycle events.
                              Cannot be updated.
4815
4816
                            properties:
                              postStart:
4817
4818
4819
4820
4821
                                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
4822
4823
                                properties:
                                  exec:
4824
                                    description: Exec specifies a command to execute in the container.
4825
                                    properties:
4826
                                      command:
4827
4828
4829
4830
4831
4832
                                        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.
4833
4834
4835
4836
4837
4838
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
4839
                                    description: HTTPGet specifies an HTTP GET request to perform.
4840
4841
                                    properties:
                                      host:
4842
4843
4844
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
4845
                                        type: string
4846
                                      httpHeaders:
4847
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
4848
                                        items:
4849
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
4850
4851
                                          properties:
                                            name:
4852
4853
4854
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
4855
4856
                                              type: string
                                            value:
4857
                                              description: The header field value
4858
4859
4860
4861
4862
4863
4864
4865
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
4866
                                        description: Path to access on the HTTP server.
4867
4868
4869
4870
4871
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
4872
4873
4874
4875
                                        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.
4876
4877
                                        x-kubernetes-int-or-string: true
                                      scheme:
4878
4879
4880
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
4881
4882
                                        type: string
                                    required:
4883
                                      - port
4884
                                    type: object
4885
                                  sleep:
4886
                                    description: Sleep represents a duration that the container should sleep.
4887
4888
                                    properties:
                                      seconds:
4889
                                        description: Seconds is the number of seconds to sleep.
4890
4891
4892
4893
4894
4895
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
4896
4897
4898
4899
                                    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.
4900
4901
                                    properties:
                                      host:
4902
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
4903
4904
4905
4906
4907
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
4908
4909
4910
4911
                                        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.
4912
4913
4914
4915
4916
4917
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
                              preStop:
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
                                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
4928
4929
                                properties:
                                  exec:
4930
                                    description: Exec specifies a command to execute in the container.
4931
4932
                                    properties:
                                      command:
4933
4934
4935
4936
4937
4938
                                        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.
4939
4940
4941
4942
4943
4944
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  httpGet:
4945
                                    description: HTTPGet specifies an HTTP GET request to perform.
4946
4947
                                    properties:
                                      host:
4948
4949
4950
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
4951
4952
                                        type: string
                                      httpHeaders:
4953
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
4954
                                        items:
4955
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
4956
4957
                                          properties:
                                            name:
4958
4959
4960
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
4961
4962
                                              type: string
                                            value:
4963
                                              description: The header field value
4964
4965
4966
4967
4968
4969
4970
4971
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
4972
                                        description: Path to access on the HTTP server.
4973
4974
4975
4976
4977
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
4978
4979
4980
4981
                                        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.
4982
4983
                                        x-kubernetes-int-or-string: true
                                      scheme:
4984
4985
4986
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
4987
4988
4989
4990
4991
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  sleep:
4992
                                    description: Sleep represents a duration that the container should sleep.
4993
4994
                                    properties:
                                      seconds:
4995
                                        description: Seconds is the number of seconds to sleep.
4996
4997
4998
4999
5000
5001
                                        format: int64
                                        type: integer
                                    required:
                                      - seconds
                                    type: object
                                  tcpSocket:
5002
5003
5004
5005
                                    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.
5006
5007
                                    properties:
                                      host:
5008
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
5009
5010
5011
5012
5013
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
5014
5015
5016
5017
                                        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.
5018
5019
5020
5021
5022
5023
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                type: object
                              stopSignal:
5024
5025
5026
5027
                                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
5028
5029
5030
                                type: string
                            type: object
                          livenessProbe:
5031
5032
5033
5034
5035
                            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
5036
5037
                            properties:
                              exec:
5038
                                description: Exec specifies a command to execute in the container.
5039
5040
                                properties:
                                  command:
5041
5042
5043
5044
5045
5046
                                    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.
5047
5048
5049
5050
5051
5052
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
5053
5054
5055
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
5056
5057
5058
                                format: int32
                                type: integer
                              grpc:
5059
                                description: GRPC specifies a GRPC HealthCheckRequest.
5060
5061
                                properties:
                                  port:
5062
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5063
5064
5065
5066
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
5067
5068
5069
5070
5071
                                    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.
5072
5073
5074
5075
5076
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
5077
                                description: HTTPGet specifies an HTTP GET request to perform.
5078
5079
                                properties:
                                  host:
5080
5081
5082
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
5083
5084
                                    type: string
                                  httpHeaders:
5085
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
5086
                                    items:
5087
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
5088
5089
                                      properties:
                                        name:
5090
5091
5092
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
5093
5094
                                          type: string
                                        value:
5095
                                          description: The header field value
5096
5097
5098
5099
5100
5101
5102
5103
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
5104
                                    description: Path to access on the HTTP server.
5105
5106
5107
5108
5109
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5110
5111
5112
5113
                                    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.
5114
5115
                                    x-kubernetes-int-or-string: true
                                  scheme:
5116
5117
5118
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
5119
5120
5121
5122
5123
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
5124
5125
5126
                                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
5127
5128
5129
                                format: int32
                                type: integer
                              periodSeconds:
5130
5131
5132
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
5133
5134
5135
                                format: int32
                                type: integer
                              successThreshold:
5136
5137
5138
                                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.
5139
5140
5141
                                format: int32
                                type: integer
                              tcpSocket:
5142
                                description: TCPSocket specifies a connection to a TCP port.
5143
5144
                                properties:
                                  host:
5145
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
5146
5147
5148
5149
5150
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5151
5152
5153
5154
                                    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.
5155
5156
5157
5158
5159
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
                                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.
5171
5172
5173
                                format: int64
                                type: integer
                              timeoutSeconds:
5174
5175
5176
5177
                                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
5178
5179
5180
5181
                                format: int32
                                type: integer
                            type: object
                          name:
5182
5183
5184
5185
                            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.
5186
5187
                            type: string
                          ports:
5188
5189
5190
5191
5192
5193
5194
5195
                            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.
5196
                            items:
5197
                              description: ContainerPort represents a network port in a single container.
5198
5199
                              properties:
                                containerPort:
5200
5201
5202
                                  description: |-
                                    Number of port to expose on the pod's IP address.
                                    This must be a valid port number, 0 < x < 65536.
5203
5204
5205
                                  format: int32
                                  type: integer
                                hostIP:
5206
                                  description: What host IP to bind the external port to.
5207
                                  type: string
5208
                                hostPort:
5209
5210
5211
5212
5213
                                  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.
5214
5215
5216
                                  format: int32
                                  type: integer
                                name:
5217
5218
5219
5220
                                  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.
5221
                                  type: string
5222
5223
                                protocol:
                                  default: TCP
5224
5225
5226
                                  description: |-
                                    Protocol for port. Must be UDP, TCP, or SCTP.
                                    Defaults to "TCP".
5227
5228
                                  type: string
                              required:
5229
                                - containerPort
5230
                              type: object
5231
5232
5233
5234
5235
5236
                            type: array
                            x-kubernetes-list-map-keys:
                              - containerPort
                              - protocol
                            x-kubernetes-list-type: map
                          readinessProbe:
5237
5238
5239
5240
5241
                            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
5242
5243
                            properties:
                              exec:
5244
                                description: Exec specifies a command to execute in the container.
5245
5246
                                properties:
                                  command:
5247
5248
5249
5250
5251
5252
                                    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.
5253
5254
5255
5256
5257
5258
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
5259
5260
5261
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
5262
5263
5264
                                format: int32
                                type: integer
                              grpc:
5265
                                description: GRPC specifies a GRPC HealthCheckRequest.
5266
5267
                                properties:
                                  port:
5268
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5269
5270
5271
5272
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
5273
5274
5275
5276
5277
                                    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.
5278
5279
5280
5281
5282
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
5283
                                description: HTTPGet specifies an HTTP GET request to perform.
5284
5285
                                properties:
                                  host:
5286
5287
5288
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
5289
5290
                                    type: string
                                  httpHeaders:
5291
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
5292
                                    items:
5293
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
5294
5295
                                      properties:
                                        name:
5296
5297
5298
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
5299
5300
                                          type: string
                                        value:
5301
                                          description: The header field value
5302
5303
5304
5305
5306
5307
5308
5309
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
5310
                                    description: Path to access on the HTTP server.
5311
5312
5313
5314
5315
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5316
5317
5318
5319
                                    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.
5320
5321
                                    x-kubernetes-int-or-string: true
                                  scheme:
5322
5323
5324
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
5325
5326
5327
5328
5329
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
5330
5331
5332
                                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
5333
5334
5335
                                format: int32
                                type: integer
                              periodSeconds:
5336
5337
5338
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
5339
5340
5341
                                format: int32
                                type: integer
                              successThreshold:
5342
5343
5344
                                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.
5345
5346
5347
                                format: int32
                                type: integer
                              tcpSocket:
5348
                                description: TCPSocket specifies a connection to a TCP port.
5349
5350
                                properties:
                                  host:
5351
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
5352
5353
5354
5355
5356
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5357
5358
5359
5360
                                    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.
5361
5362
5363
5364
5365
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
                                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.
5377
5378
5379
                                format: int64
                                type: integer
                              timeoutSeconds:
5380
5381
5382
5383
                                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
5384
5385
5386
5387
                                format: int32
                                type: integer
                            type: object
                          resizePolicy:
5388
                            description: Resources resize policy for the container.
5389
                            items:
5390
                              description: ContainerResizePolicy represents resource resize policy for the container.
5391
5392
                              properties:
                                resourceName:
5393
5394
5395
                                  description: |-
                                    Name of the resource to which this resource resize policy applies.
                                    Supported values: cpu, memory.
5396
5397
                                  type: string
                                restartPolicy:
5398
5399
5400
                                  description: |-
                                    Restart policy to apply when specified resource is resized.
                                    If not specified, it defaults to NotRequired.
5401
5402
5403
5404
5405
5406
5407
5408
                                  type: string
                              required:
                                - resourceName
                                - restartPolicy
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          resources:
5409
5410
5411
5412
                            description: |-
                              Compute Resources required by this container.
                              Cannot be updated.
                              More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
5413
5414
                            properties:
                              claims:
5415
5416
5417
5418
5419
5420
5421
5422
                                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.
5423
                                items:
5424
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
5425
5426
                                  properties:
                                    name:
5427
5428
5429
5430
                                      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.
5431
5432
                                      type: string
                                    request:
5433
5434
5435
5436
                                      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.
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
                                      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
5452
5453
5454
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
5455
5456
5457
5458
5459
5460
5461
5462
                                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
5463
5464
5465
5466
5467
                                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/
5468
5469
5470
                                type: object
                            type: object
                          restartPolicy:
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
                            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.
5487
5488
                            type: string
                          securityContext:
5489
5490
5491
5492
                            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/
5493
5494
                            properties:
                              allowPrivilegeEscalation:
5495
5496
5497
5498
5499
5500
5501
5502
                                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.
5503
5504
                                type: boolean
                              appArmorProfile:
5505
5506
5507
5508
                                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.
5509
5510
                                properties:
                                  localhostProfile:
5511
5512
5513
5514
5515
                                    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".
5516
5517
                                    type: string
                                  type:
5518
5519
5520
5521
5522
5523
                                    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.
5524
5525
5526
5527
5528
                                    type: string
                                required:
                                  - type
                                type: object
                              capabilities:
5529
5530
5531
5532
                                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.
5533
5534
                                properties:
                                  add:
5535
                                    description: Added capabilities
5536
                                    items:
5537
                                      description: Capability represent POSIX capabilities type
5538
5539
5540
5541
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  drop:
5542
                                    description: Removed capabilities
5543
                                    items:
5544
                                      description: Capability represent POSIX capabilities type
5545
5546
5547
5548
5549
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              privileged:
5550
5551
5552
5553
5554
                                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.
5555
5556
                                type: boolean
                              procMount:
5557
5558
5559
5560
5561
5562
                                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.
5563
5564
                                type: string
                              readOnlyRootFilesystem:
5565
5566
5567
5568
                                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.
5569
5570
                                type: boolean
                              runAsGroup:
5571
5572
5573
5574
5575
5576
                                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.
5577
5578
5579
                                format: int64
                                type: integer
                              runAsNonRoot:
5580
5581
5582
5583
5584
5585
5586
                                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.
5587
5588
                                type: boolean
                              runAsUser:
5589
5590
5591
5592
5593
5594
                                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.
5595
5596
5597
                                format: int64
                                type: integer
                              seLinuxOptions:
5598
5599
5600
5601
5602
5603
                                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.
5604
5605
                                properties:
                                  level:
5606
                                    description: Level is SELinux level label that applies to the container.
5607
5608
                                    type: string
                                  role:
5609
                                    description: Role is a SELinux role label that applies to the container.
5610
5611
                                    type: string
                                  type:
5612
                                    description: Type is a SELinux type label that applies to the container.
5613
5614
                                    type: string
                                  user:
5615
                                    description: User is a SELinux user label that applies to the container.
5616
5617
5618
                                    type: string
                                type: object
                              seccompProfile:
5619
5620
5621
5622
5623
                                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.
5624
5625
                                properties:
                                  localhostProfile:
5626
5627
5628
5629
5630
                                    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.
5631
5632
                                    type: string
                                  type:
5633
5634
5635
5636
5637
5638
5639
                                    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.
5640
5641
5642
5643
5644
                                    type: string
                                required:
                                  - type
                                type: object
                              windowsOptions:
5645
5646
5647
5648
5649
                                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.
5650
5651
                                properties:
                                  gmsaCredentialSpec:
5652
5653
5654
5655
                                    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.
5656
5657
                                    type: string
                                  gmsaCredentialSpecName:
5658
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
5659
5660
                                    type: string
                                  hostProcess:
5661
5662
5663
5664
5665
                                    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.
5666
5667
                                    type: boolean
                                  runAsUserName:
5668
5669
5670
5671
5672
                                    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.
5673
5674
5675
5676
                                    type: string
                                type: object
                            type: object
                          startupProbe:
5677
5678
5679
5680
5681
5682
5683
5684
                            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
5685
5686
                            properties:
                              exec:
5687
                                description: Exec specifies a command to execute in the container.
5688
5689
                                properties:
                                  command:
5690
5691
5692
5693
5694
5695
                                    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.
5696
5697
5698
5699
5700
5701
                                    items:
                                      type: string
                                    type: array
                                    x-kubernetes-list-type: atomic
                                type: object
                              failureThreshold:
5702
5703
5704
                                description: |-
                                  Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                  Defaults to 3. Minimum value is 1.
5705
5706
5707
                                format: int32
                                type: integer
                              grpc:
5708
                                description: GRPC specifies a GRPC HealthCheckRequest.
5709
5710
                                properties:
                                  port:
5711
                                    description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5712
5713
5714
5715
                                    format: int32
                                    type: integer
                                  service:
                                    default: ""
5716
5717
5718
5719
5720
                                    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.
5721
5722
5723
5724
5725
                                    type: string
                                required:
                                  - port
                                type: object
                              httpGet:
5726
                                description: HTTPGet specifies an HTTP GET request to perform.
5727
5728
                                properties:
                                  host:
5729
5730
5731
                                    description: |-
                                      Host name to connect to, defaults to the pod IP. You probably want to set
                                      "Host" in httpHeaders instead.
5732
5733
                                    type: string
                                  httpHeaders:
5734
                                    description: Custom headers to set in the request. HTTP allows repeated headers.
5735
                                    items:
5736
                                      description: HTTPHeader describes a custom header to be used in HTTP probes
5737
5738
                                      properties:
                                        name:
5739
5740
5741
                                          description: |-
                                            The header field name.
                                            This will be canonicalized upon output, so case-variant names will be understood as the same header.
5742
5743
                                          type: string
                                        value:
5744
                                          description: The header field value
5745
5746
5747
5748
5749
5750
5751
5752
                                          type: string
                                      required:
                                        - name
                                        - value
                                      type: object
                                    type: array
                                    x-kubernetes-list-type: atomic
                                  path:
5753
                                    description: Path to access on the HTTP server.
5754
5755
5756
5757
5758
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5759
5760
5761
5762
                                    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.
5763
5764
                                    x-kubernetes-int-or-string: true
                                  scheme:
5765
5766
5767
                                    description: |-
                                      Scheme to use for connecting to the host.
                                      Defaults to HTTP.
5768
5769
5770
5771
5772
                                    type: string
                                required:
                                  - port
                                type: object
                              initialDelaySeconds:
5773
5774
5775
                                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
5776
5777
5778
                                format: int32
                                type: integer
                              periodSeconds:
5779
5780
5781
                                description: |-
                                  How often (in seconds) to perform the probe.
                                  Default to 10 seconds. Minimum value is 1.
5782
5783
5784
                                format: int32
                                type: integer
                              successThreshold:
5785
5786
5787
                                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.
5788
5789
5790
                                format: int32
                                type: integer
                              tcpSocket:
5791
                                description: TCPSocket specifies a connection to a TCP port.
5792
5793
                                properties:
                                  host:
5794
                                    description: 'Optional: Host name to connect to, defaults to the pod IP.'
5795
5796
5797
5798
5799
                                    type: string
                                  port:
                                    anyOf:
                                      - type: integer
                                      - type: string
5800
5801
5802
5803
                                    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.
5804
5805
5806
5807
5808
                                    x-kubernetes-int-or-string: true
                                required:
                                  - port
                                type: object
                              terminationGracePeriodSeconds:
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
                                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.
5820
5821
5822
                                format: int64
                                type: integer
                              timeoutSeconds:
5823
5824
5825
5826
                                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
5827
5828
5829
5830
                                format: int32
                                type: integer
                            type: object
                          stdin:
5831
5832
5833
5834
                            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.
5835
5836
                            type: boolean
                          stdinOnce:
5837
5838
5839
5840
5841
5842
5843
5844
                            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
5845
5846
                            type: boolean
                          terminationMessagePath:
5847
5848
5849
5850
5851
5852
5853
5854
                            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.
5855
5856
                            type: string
                          terminationMessagePolicy:
5857
5858
5859
5860
5861
5862
5863
5864
                            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.
5865
5866
                            type: string
                          tty:
5867
5868
5869
                            description: |-
                              Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                              Default is false.
5870
5871
                            type: boolean
                          volumeDevices:
5872
                            description: volumeDevices is the list of block devices to be used by the container.
5873
                            items:
5874
                              description: volumeDevice describes a mapping of a raw block device within a container.
5875
5876
                              properties:
                                devicePath:
5877
                                  description: devicePath is the path inside of the container that the device will be mapped to.
5878
5879
                                  type: string
                                name:
5880
                                  description: name must match the name of a persistentVolumeClaim in the pod
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
                                  type: string
                              required:
                                - devicePath
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - devicePath
                            x-kubernetes-list-type: map
                          volumeMounts:
5891
5892
5893
                            description: |-
                              Pod volumes to mount into the container's filesystem.
                              Cannot be updated.
5894
                            items:
5895
                              description: VolumeMount describes a mounting of a Volume within a container.
5896
5897
                              properties:
                                mountPath:
5898
5899
5900
                                  description: |-
                                    Path within the container at which the volume should be mounted.  Must
                                    not contain ':'.
5901
5902
                                  type: string
                                mountPropagation:
5903
5904
5905
5906
5907
5908
5909
                                  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).
5910
5911
                                  type: string
                                name:
5912
                                  description: This must match the Name of a Volume.
5913
5914
                                  type: string
                                readOnly:
5915
5916
5917
                                  description: |-
                                    Mounted read-only if true, read-write otherwise (false or unspecified).
                                    Defaults to false.
5918
5919
                                  type: boolean
                                recursiveReadOnly:
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
                                  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.
5937
5938
                                  type: string
                                subPath:
5939
5940
5941
                                  description: |-
                                    Path within the volume from which the container's volume should be mounted.
                                    Defaults to "" (volume's root).
5942
5943
                                  type: string
                                subPathExpr:
5944
5945
5946
5947
5948
                                  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.
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
                                  type: string
                              required:
                                - mountPath
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - mountPath
                            x-kubernetes-list-type: map
                          workingDir:
5959
5960
5961
5962
5963
                            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.
5964
5965
5966
5967
5968
5969
5970
5971
5972
                            type: string
                        required:
                          - name
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    mainContainer:
5973
                      description: A single application container that you want to run within a pod.
5974
5975
                      properties:
                        args:
5976
5977
5978
5979
5980
5981
5982
5983
5984
                          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
5985
5986
5987
5988
5989
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
                        command:
5990
5991
5992
5993
5994
5995
5996
5997
5998
                          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
5999
6000
6001
6002
6003
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
                        env:
6004
6005
6006
                          description: |-
                            List of environment variables to set in the container.
                            Cannot be updated.
6007
                          items:
6008
                            description: EnvVar represents an environment variable present in a Container.
6009
6010
                            properties:
                              name:
6011
                                description: Name of the environment variable. Must be a C_IDENTIFIER.
6012
6013
                                type: string
                              value:
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
                                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 "".
6024
6025
                                type: string
                              valueFrom:
6026
                                description: Source for the environment variable's value. Cannot be used if value is not empty.
6027
6028
                                properties:
                                  configMapKeyRef:
6029
                                    description: Selects a key of a ConfigMap.
6030
6031
                                    properties:
                                      key:
6032
                                        description: The key to select.
6033
6034
6035
                                        type: string
                                      name:
                                        default: ""
6036
6037
6038
6039
6040
6041
                                        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
6042
6043
                                        type: string
                                      optional:
6044
                                        description: Specify whether the ConfigMap or its key must be defined
6045
6046
6047
6048
6049
6050
                                        type: boolean
                                    required:
                                      - key
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  fieldRef:
6051
6052
6053
                                    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.
6054
6055
                                    properties:
                                      apiVersion:
6056
                                        description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
6057
6058
                                        type: string
                                      fieldPath:
6059
                                        description: Path of the field to select in the specified API version.
6060
6061
6062
6063
6064
6065
                                        type: string
                                    required:
                                      - fieldPath
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  resourceFieldRef:
6066
6067
6068
                                    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.
6069
6070
                                    properties:
                                      containerName:
6071
                                        description: 'Container name: required for volumes, optional for env vars'
6072
6073
6074
6075
6076
                                        type: string
                                      divisor:
                                        anyOf:
                                          - type: integer
                                          - type: string
6077
                                        description: Specifies the output format of the exposed resources, defaults to "1"
6078
6079
6080
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                        x-kubernetes-int-or-string: true
                                      resource:
6081
                                        description: 'Required: resource to select'
6082
6083
6084
6085
6086
6087
                                        type: string
                                    required:
                                      - resource
                                    type: object
                                    x-kubernetes-map-type: atomic
                                  secretKeyRef:
6088
                                    description: Selects a key of a secret in the pod's namespace
6089
6090
                                    properties:
                                      key:
6091
                                        description: The key of the secret to select from.  Must be a valid secret key.
6092
6093
6094
                                        type: string
                                      name:
                                        default: ""
6095
6096
6097
6098
6099
6100
                                        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
6101
6102
                                        type: string
                                      optional:
6103
                                        description: Specify whether the Secret or its key must be defined
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
                                        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:
6118
6119
6120
6121
6122
6123
6124
                          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.
6125
                          items:
6126
                            description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
6127
6128
                            properties:
                              configMapRef:
6129
                                description: The ConfigMap to select from
6130
6131
6132
                                properties:
                                  name:
                                    default: ""
6133
6134
6135
6136
6137
6138
                                    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
6139
6140
                                    type: string
                                  optional:
6141
                                    description: Specify whether the ConfigMap must be defined
6142
6143
6144
6145
                                    type: boolean
                                type: object
                                x-kubernetes-map-type: atomic
                              prefix:
6146
                                description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
6147
6148
                                type: string
                              secretRef:
6149
                                description: The Secret to select from
6150
6151
6152
                                properties:
                                  name:
                                    default: ""
6153
6154
6155
6156
6157
6158
                                    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
6159
6160
                                    type: string
                                  optional:
6161
                                    description: Specify whether the Secret must be defined
6162
6163
6164
6165
6166
6167
6168
                                    type: boolean
                                type: object
                                x-kubernetes-map-type: atomic
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        image:
6169
6170
6171
6172
6173
                          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.
6174
6175
                          type: string
                        imagePullPolicy:
6176
6177
6178
6179
6180
6181
                          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
6182
6183
                          type: string
                        lifecycle:
6184
6185
6186
                          description: |-
                            Actions that the management system should take in response to container lifecycle events.
                            Cannot be updated.
6187
6188
                          properties:
                            postStart:
6189
6190
6191
6192
6193
                              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
6194
6195
                              properties:
                                exec:
6196
                                  description: Exec specifies a command to execute in the container.
6197
6198
                                  properties:
                                    command:
6199
6200
6201
6202
6203
6204
                                      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.
6205
6206
6207
6208
6209
6210
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                httpGet:
6211
                                  description: HTTPGet specifies an HTTP GET request to perform.
6212
6213
                                  properties:
                                    host:
6214
6215
6216
                                      description: |-
                                        Host name to connect to, defaults to the pod IP. You probably want to set
                                        "Host" in httpHeaders instead.
6217
6218
                                      type: string
                                    httpHeaders:
6219
                                      description: Custom headers to set in the request. HTTP allows repeated headers.
6220
                                      items:
6221
                                        description: HTTPHeader describes a custom header to be used in HTTP probes
6222
6223
                                        properties:
                                          name:
6224
6225
6226
                                            description: |-
                                              The header field name.
                                              This will be canonicalized upon output, so case-variant names will be understood as the same header.
6227
6228
                                            type: string
                                          value:
6229
                                            description: The header field value
6230
6231
6232
6233
6234
6235
6236
6237
                                            type: string
                                        required:
                                          - name
                                          - value
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    path:
6238
                                      description: Path to access on the HTTP server.
6239
6240
6241
6242
6243
                                      type: string
                                    port:
                                      anyOf:
                                        - type: integer
                                        - type: string
6244
6245
6246
6247
                                      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.
6248
6249
                                      x-kubernetes-int-or-string: true
                                    scheme:
6250
6251
6252
                                      description: |-
                                        Scheme to use for connecting to the host.
                                        Defaults to HTTP.
6253
6254
6255
6256
6257
                                      type: string
                                  required:
                                    - port
                                  type: object
                                sleep:
6258
                                  description: Sleep represents a duration that the container should sleep.
6259
6260
                                  properties:
                                    seconds:
6261
                                      description: Seconds is the number of seconds to sleep.
6262
6263
6264
6265
6266
6267
                                      format: int64
                                      type: integer
                                  required:
                                    - seconds
                                  type: object
                                tcpSocket:
6268
6269
6270
6271
                                  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.
6272
6273
                                  properties:
                                    host:
6274
                                      description: 'Optional: Host name to connect to, defaults to the pod IP.'
6275
6276
6277
6278
6279
                                      type: string
                                    port:
                                      anyOf:
                                        - type: integer
                                        - type: string
6280
6281
6282
6283
                                      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.
6284
6285
6286
6287
6288
6289
                                      x-kubernetes-int-or-string: true
                                  required:
                                    - port
                                  type: object
                              type: object
                            preStop:
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
                              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
6300
6301
                              properties:
                                exec:
6302
                                  description: Exec specifies a command to execute in the container.
6303
6304
                                  properties:
                                    command:
6305
6306
6307
6308
6309
6310
                                      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.
6311
6312
6313
6314
6315
6316
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                httpGet:
6317
                                  description: HTTPGet specifies an HTTP GET request to perform.
6318
6319
                                  properties:
                                    host:
6320
6321
6322
                                      description: |-
                                        Host name to connect to, defaults to the pod IP. You probably want to set
                                        "Host" in httpHeaders instead.
6323
6324
                                      type: string
                                    httpHeaders:
6325
                                      description: Custom headers to set in the request. HTTP allows repeated headers.
6326
                                      items:
6327
                                        description: HTTPHeader describes a custom header to be used in HTTP probes
6328
6329
                                        properties:
                                          name:
6330
6331
6332
                                            description: |-
                                              The header field name.
                                              This will be canonicalized upon output, so case-variant names will be understood as the same header.
6333
6334
                                            type: string
                                          value:
6335
                                            description: The header field value
6336
6337
6338
6339
6340
6341
6342
6343
                                            type: string
                                        required:
                                          - name
                                          - value
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    path:
6344
                                      description: Path to access on the HTTP server.
6345
6346
6347
6348
6349
                                      type: string
                                    port:
                                      anyOf:
                                        - type: integer
                                        - type: string
6350
6351
6352
6353
                                      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.
6354
6355
                                      x-kubernetes-int-or-string: true
                                    scheme:
6356
6357
6358
                                      description: |-
                                        Scheme to use for connecting to the host.
                                        Defaults to HTTP.
6359
6360
6361
6362
6363
                                      type: string
                                  required:
                                    - port
                                  type: object
                                sleep:
6364
                                  description: Sleep represents a duration that the container should sleep.
6365
6366
                                  properties:
                                    seconds:
6367
                                      description: Seconds is the number of seconds to sleep.
6368
6369
6370
6371
6372
6373
                                      format: int64
                                      type: integer
                                  required:
                                    - seconds
                                  type: object
                                tcpSocket:
6374
6375
6376
6377
                                  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.
6378
6379
                                  properties:
                                    host:
6380
                                      description: 'Optional: Host name to connect to, defaults to the pod IP.'
6381
6382
6383
6384
6385
                                      type: string
                                    port:
                                      anyOf:
                                        - type: integer
                                        - type: string
6386
6387
6388
6389
                                      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.
6390
6391
6392
6393
6394
6395
                                      x-kubernetes-int-or-string: true
                                  required:
                                    - port
                                  type: object
                              type: object
                            stopSignal:
6396
6397
6398
6399
                              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
6400
6401
6402
                              type: string
                          type: object
                        livenessProbe:
6403
6404
6405
6406
6407
                          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
6408
6409
                          properties:
                            exec:
6410
                              description: Exec specifies a command to execute in the container.
6411
6412
                              properties:
                                command:
6413
6414
6415
6416
6417
6418
                                  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.
6419
6420
6421
6422
6423
6424
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                              type: object
                            failureThreshold:
6425
6426
6427
                              description: |-
                                Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                Defaults to 3. Minimum value is 1.
6428
6429
6430
                              format: int32
                              type: integer
                            grpc:
6431
                              description: GRPC specifies a GRPC HealthCheckRequest.
6432
6433
                              properties:
                                port:
6434
                                  description: Port number of the gRPC service. Number must be in the range 1 to 65535.
6435
6436
6437
6438
                                  format: int32
                                  type: integer
                                service:
                                  default: ""
6439
6440
6441
6442
6443
                                  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.
6444
6445
6446
6447
6448
                                  type: string
                              required:
                                - port
                              type: object
                            httpGet:
6449
                              description: HTTPGet specifies an HTTP GET request to perform.
6450
6451
                              properties:
                                host:
6452
6453
6454
                                  description: |-
                                    Host name to connect to, defaults to the pod IP. You probably want to set
                                    "Host" in httpHeaders instead.
6455
6456
                                  type: string
                                httpHeaders:
6457
                                  description: Custom headers to set in the request. HTTP allows repeated headers.
6458
                                  items:
6459
                                    description: HTTPHeader describes a custom header to be used in HTTP probes
6460
6461
                                    properties:
                                      name:
6462
6463
6464
                                        description: |-
                                          The header field name.
                                          This will be canonicalized upon output, so case-variant names will be understood as the same header.
6465
6466
                                        type: string
                                      value:
6467
                                        description: The header field value
6468
6469
6470
6471
6472
6473
6474
6475
                                        type: string
                                    required:
                                      - name
                                      - value
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                path:
6476
                                  description: Path to access on the HTTP server.
6477
6478
6479
6480
6481
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
6482
6483
6484
6485
                                  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.
6486
6487
                                  x-kubernetes-int-or-string: true
                                scheme:
6488
6489
6490
                                  description: |-
                                    Scheme to use for connecting to the host.
                                    Defaults to HTTP.
6491
6492
6493
6494
6495
                                  type: string
                              required:
                                - port
                              type: object
                            initialDelaySeconds:
6496
6497
6498
                              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
6499
6500
6501
                              format: int32
                              type: integer
                            periodSeconds:
6502
6503
6504
                              description: |-
                                How often (in seconds) to perform the probe.
                                Default to 10 seconds. Minimum value is 1.
6505
6506
6507
                              format: int32
                              type: integer
                            successThreshold:
6508
6509
6510
                              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.
6511
6512
6513
                              format: int32
                              type: integer
                            tcpSocket:
6514
                              description: TCPSocket specifies a connection to a TCP port.
6515
6516
                              properties:
                                host:
6517
                                  description: 'Optional: Host name to connect to, defaults to the pod IP.'
6518
6519
6520
6521
6522
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
6523
6524
6525
6526
                                  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.
6527
6528
6529
6530
6531
                                  x-kubernetes-int-or-string: true
                              required:
                                - port
                              type: object
                            terminationGracePeriodSeconds:
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
                              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.
6543
6544
6545
                              format: int64
                              type: integer
                            timeoutSeconds:
6546
6547
6548
6549
                              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
6550
6551
6552
6553
                              format: int32
                              type: integer
                          type: object
                        name:
6554
6555
6556
6557
                          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.
6558
6559
                          type: string
                        ports:
6560
6561
6562
6563
6564
6565
6566
6567
                          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.
6568
                          items:
6569
                            description: ContainerPort represents a network port in a single container.
6570
6571
                            properties:
                              containerPort:
6572
6573
6574
                                description: |-
                                  Number of port to expose on the pod's IP address.
                                  This must be a valid port number, 0 < x < 65536.
6575
6576
6577
                                format: int32
                                type: integer
                              hostIP:
6578
                                description: What host IP to bind the external port to.
6579
6580
                                type: string
                              hostPort:
6581
6582
6583
6584
6585
                                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.
6586
6587
6588
                                format: int32
                                type: integer
                              name:
6589
6590
6591
6592
                                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.
6593
6594
6595
                                type: string
                              protocol:
                                default: TCP
6596
6597
6598
                                description: |-
                                  Protocol for port. Must be UDP, TCP, or SCTP.
                                  Defaults to "TCP".
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
                                type: string
                            required:
                              - containerPort
                            type: object
                          type: array
                          x-kubernetes-list-map-keys:
                            - containerPort
                            - protocol
                          x-kubernetes-list-type: map
                        readinessProbe:
6609
6610
6611
6612
6613
                          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
6614
6615
                          properties:
                            exec:
6616
                              description: Exec specifies a command to execute in the container.
6617
6618
                              properties:
                                command:
6619
6620
6621
6622
6623
6624
                                  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.
6625
6626
6627
6628
6629
6630
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                              type: object
                            failureThreshold:
6631
6632
6633
                              description: |-
                                Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                Defaults to 3. Minimum value is 1.
6634
6635
6636
                              format: int32
                              type: integer
                            grpc:
6637
                              description: GRPC specifies a GRPC HealthCheckRequest.
6638
6639
                              properties:
                                port:
6640
                                  description: Port number of the gRPC service. Number must be in the range 1 to 65535.
6641
6642
6643
6644
                                  format: int32
                                  type: integer
                                service:
                                  default: ""
6645
6646
6647
6648
6649
                                  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.
6650
6651
6652
6653
6654
                                  type: string
                              required:
                                - port
                              type: object
                            httpGet:
6655
                              description: HTTPGet specifies an HTTP GET request to perform.
6656
6657
                              properties:
                                host:
6658
6659
6660
                                  description: |-
                                    Host name to connect to, defaults to the pod IP. You probably want to set
                                    "Host" in httpHeaders instead.
6661
6662
                                  type: string
                                httpHeaders:
6663
                                  description: Custom headers to set in the request. HTTP allows repeated headers.
6664
                                  items:
6665
                                    description: HTTPHeader describes a custom header to be used in HTTP probes
6666
6667
                                    properties:
                                      name:
6668
6669
6670
                                        description: |-
                                          The header field name.
                                          This will be canonicalized upon output, so case-variant names will be understood as the same header.
6671
6672
                                        type: string
                                      value:
6673
                                        description: The header field value
6674
6675
6676
6677
6678
6679
6680
6681
                                        type: string
                                    required:
                                      - name
                                      - value
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                path:
6682
                                  description: Path to access on the HTTP server.
6683
6684
6685
6686
6687
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
6688
6689
6690
6691
                                  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.
6692
6693
                                  x-kubernetes-int-or-string: true
                                scheme:
6694
6695
6696
                                  description: |-
                                    Scheme to use for connecting to the host.
                                    Defaults to HTTP.
6697
6698
6699
6700
6701
                                  type: string
                              required:
                                - port
                              type: object
                            initialDelaySeconds:
6702
6703
6704
                              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
6705
6706
6707
                              format: int32
                              type: integer
                            periodSeconds:
6708
6709
6710
                              description: |-
                                How often (in seconds) to perform the probe.
                                Default to 10 seconds. Minimum value is 1.
6711
6712
6713
                              format: int32
                              type: integer
                            successThreshold:
6714
6715
6716
                              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.
6717
6718
6719
                              format: int32
                              type: integer
                            tcpSocket:
6720
                              description: TCPSocket specifies a connection to a TCP port.
6721
6722
                              properties:
                                host:
6723
                                  description: 'Optional: Host name to connect to, defaults to the pod IP.'
6724
6725
6726
6727
6728
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
6729
6730
6731
6732
                                  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.
6733
6734
6735
6736
6737
                                  x-kubernetes-int-or-string: true
                              required:
                                - port
                              type: object
                            terminationGracePeriodSeconds:
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
                              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.
6749
6750
6751
                              format: int64
                              type: integer
                            timeoutSeconds:
6752
6753
6754
6755
                              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
6756
6757
6758
6759
                              format: int32
                              type: integer
                          type: object
                        resizePolicy:
6760
                          description: Resources resize policy for the container.
6761
                          items:
6762
                            description: ContainerResizePolicy represents resource resize policy for the container.
6763
6764
                            properties:
                              resourceName:
6765
6766
6767
                                description: |-
                                  Name of the resource to which this resource resize policy applies.
                                  Supported values: cpu, memory.
6768
6769
                                type: string
                              restartPolicy:
6770
6771
6772
                                description: |-
                                  Restart policy to apply when specified resource is resized.
                                  If not specified, it defaults to NotRequired.
6773
6774
6775
6776
6777
6778
6779
6780
                                type: string
                            required:
                              - resourceName
                              - restartPolicy
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        resources:
6781
6782
6783
6784
                          description: |-
                            Compute Resources required by this container.
                            Cannot be updated.
                            More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6785
6786
                          properties:
                            claims:
6787
6788
6789
6790
6791
6792
6793
6794
                              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.
6795
                              items:
6796
                                description: ResourceClaim references one entry in PodSpec.ResourceClaims.
6797
6798
                                properties:
                                  name:
6799
6800
6801
6802
                                    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.
6803
6804
                                    type: string
                                  request:
6805
6806
6807
6808
                                    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.
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
                                    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
6824
6825
6826
                              description: |-
                                Limits describes the maximum amount of compute resources allowed.
                                More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6827
6828
6829
6830
6831
6832
6833
6834
                              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
6835
6836
6837
6838
6839
                              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/
6840
6841
6842
                              type: object
                          type: object
                        restartPolicy:
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
                          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.
6859
6860
                          type: string
                        securityContext:
6861
6862
6863
6864
                          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/
6865
6866
                          properties:
                            allowPrivilegeEscalation:
6867
6868
6869
6870
6871
6872
6873
6874
                              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.
6875
6876
                              type: boolean
                            appArmorProfile:
6877
6878
6879
6880
                              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.
6881
6882
                              properties:
                                localhostProfile:
6883
6884
6885
6886
6887
                                  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".
6888
6889
                                  type: string
                                type:
6890
6891
6892
6893
6894
6895
                                  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.
6896
6897
6898
6899
6900
                                  type: string
                              required:
                                - type
                              type: object
                            capabilities:
6901
6902
6903
6904
                              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.
6905
6906
                              properties:
                                add:
6907
                                  description: Added capabilities
6908
                                  items:
6909
                                    description: Capability represent POSIX capabilities type
6910
6911
6912
6913
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                drop:
6914
                                  description: Removed capabilities
6915
                                  items:
6916
                                    description: Capability represent POSIX capabilities type
6917
6918
6919
6920
6921
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                              type: object
                            privileged:
6922
6923
6924
6925
6926
                              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.
6927
6928
                              type: boolean
                            procMount:
6929
6930
6931
6932
6933
6934
                              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.
6935
6936
                              type: string
                            readOnlyRootFilesystem:
6937
6938
6939
6940
                              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.
6941
6942
                              type: boolean
                            runAsGroup:
6943
6944
6945
6946
6947
6948
                              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.
6949
6950
6951
                              format: int64
                              type: integer
                            runAsNonRoot:
6952
6953
6954
6955
6956
6957
6958
                              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.
6959
6960
                              type: boolean
                            runAsUser:
6961
6962
6963
6964
6965
6966
                              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.
6967
6968
6969
                              format: int64
                              type: integer
                            seLinuxOptions:
6970
6971
6972
6973
6974
6975
                              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.
6976
6977
                              properties:
                                level:
6978
                                  description: Level is SELinux level label that applies to the container.
6979
6980
                                  type: string
                                role:
6981
                                  description: Role is a SELinux role label that applies to the container.
6982
6983
                                  type: string
                                type:
6984
                                  description: Type is a SELinux type label that applies to the container.
6985
6986
                                  type: string
                                user:
6987
                                  description: User is a SELinux user label that applies to the container.
6988
6989
6990
                                  type: string
                              type: object
                            seccompProfile:
6991
6992
6993
6994
6995
                              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.
6996
6997
                              properties:
                                localhostProfile:
6998
6999
7000
7001
7002
                                  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.
7003
7004
                                  type: string
                                type:
7005
7006
7007
7008
7009
7010
7011
                                  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.
7012
7013
7014
7015
7016
                                  type: string
                              required:
                                - type
                              type: object
                            windowsOptions:
7017
7018
7019
7020
7021
                              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.
7022
7023
                              properties:
                                gmsaCredentialSpec:
7024
7025
7026
7027
                                  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.
7028
7029
                                  type: string
                                gmsaCredentialSpecName:
7030
                                  description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
7031
7032
                                  type: string
                                hostProcess:
7033
7034
7035
7036
7037
                                  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.
7038
7039
                                  type: boolean
                                runAsUserName:
7040
7041
7042
7043
7044
                                  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.
7045
7046
7047
7048
                                  type: string
                              type: object
                          type: object
                        startupProbe:
7049
7050
7051
7052
7053
7054
7055
7056
                          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
7057
7058
                          properties:
                            exec:
7059
                              description: Exec specifies a command to execute in the container.
7060
7061
                              properties:
                                command:
7062
7063
7064
7065
7066
7067
                                  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.
7068
7069
7070
7071
7072
7073
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                              type: object
                            failureThreshold:
7074
7075
7076
                              description: |-
                                Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                Defaults to 3. Minimum value is 1.
7077
7078
7079
                              format: int32
                              type: integer
                            grpc:
7080
                              description: GRPC specifies a GRPC HealthCheckRequest.
7081
7082
                              properties:
                                port:
7083
                                  description: Port number of the gRPC service. Number must be in the range 1 to 65535.
7084
7085
7086
7087
                                  format: int32
                                  type: integer
                                service:
                                  default: ""
7088
7089
7090
7091
7092
                                  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.
7093
7094
7095
7096
7097
                                  type: string
                              required:
                                - port
                              type: object
                            httpGet:
7098
                              description: HTTPGet specifies an HTTP GET request to perform.
7099
7100
                              properties:
                                host:
7101
7102
7103
                                  description: |-
                                    Host name to connect to, defaults to the pod IP. You probably want to set
                                    "Host" in httpHeaders instead.
7104
7105
                                  type: string
                                httpHeaders:
7106
                                  description: Custom headers to set in the request. HTTP allows repeated headers.
7107
                                  items:
7108
                                    description: HTTPHeader describes a custom header to be used in HTTP probes
7109
7110
                                    properties:
                                      name:
7111
7112
7113
                                        description: |-
                                          The header field name.
                                          This will be canonicalized upon output, so case-variant names will be understood as the same header.
7114
7115
                                        type: string
                                      value:
7116
                                        description: The header field value
7117
7118
7119
7120
7121
7122
7123
7124
                                        type: string
                                    required:
                                      - name
                                      - value
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                path:
7125
                                  description: Path to access on the HTTP server.
7126
7127
7128
7129
7130
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
7131
7132
7133
7134
                                  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.
7135
7136
                                  x-kubernetes-int-or-string: true
                                scheme:
7137
7138
7139
                                  description: |-
                                    Scheme to use for connecting to the host.
                                    Defaults to HTTP.
7140
7141
7142
7143
7144
                                  type: string
                              required:
                                - port
                              type: object
                            initialDelaySeconds:
7145
7146
7147
                              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
7148
7149
7150
                              format: int32
                              type: integer
                            periodSeconds:
7151
7152
7153
                              description: |-
                                How often (in seconds) to perform the probe.
                                Default to 10 seconds. Minimum value is 1.
7154
7155
7156
                              format: int32
                              type: integer
                            successThreshold:
7157
7158
7159
                              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.
7160
7161
7162
                              format: int32
                              type: integer
                            tcpSocket:
7163
                              description: TCPSocket specifies a connection to a TCP port.
7164
7165
                              properties:
                                host:
7166
                                  description: 'Optional: Host name to connect to, defaults to the pod IP.'
7167
7168
7169
7170
7171
                                  type: string
                                port:
                                  anyOf:
                                    - type: integer
                                    - type: string
7172
7173
7174
7175
                                  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.
7176
7177
7178
7179
7180
                                  x-kubernetes-int-or-string: true
                              required:
                                - port
                              type: object
                            terminationGracePeriodSeconds:
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
                              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.
7192
7193
7194
                              format: int64
                              type: integer
                            timeoutSeconds:
7195
7196
7197
7198
                              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
7199
7200
7201
7202
                              format: int32
                              type: integer
                          type: object
                        stdin:
7203
7204
7205
7206
                          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.
7207
7208
                          type: boolean
                        stdinOnce:
7209
7210
7211
7212
7213
7214
7215
7216
                          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
7217
7218
                          type: boolean
                        terminationMessagePath:
7219
7220
7221
7222
7223
7224
7225
7226
                          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.
7227
7228
                          type: string
                        terminationMessagePolicy:
7229
7230
7231
7232
7233
7234
7235
7236
                          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.
7237
7238
                          type: string
                        tty:
7239
7240
7241
                          description: |-
                            Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                            Default is false.
7242
7243
                          type: boolean
                        volumeDevices:
7244
                          description: volumeDevices is the list of block devices to be used by the container.
7245
                          items:
7246
                            description: volumeDevice describes a mapping of a raw block device within a container.
7247
7248
                            properties:
                              devicePath:
7249
                                description: devicePath is the path inside of the container that the device will be mapped to.
7250
7251
                                type: string
                              name:
7252
                                description: name must match the name of a persistentVolumeClaim in the pod
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
                                type: string
                            required:
                              - devicePath
                              - name
                            type: object
                          type: array
                          x-kubernetes-list-map-keys:
                            - devicePath
                          x-kubernetes-list-type: map
                        volumeMounts:
7263
7264
7265
                          description: |-
                            Pod volumes to mount into the container's filesystem.
                            Cannot be updated.
7266
                          items:
7267
                            description: VolumeMount describes a mounting of a Volume within a container.
7268
7269
                            properties:
                              mountPath:
7270
7271
7272
                                description: |-
                                  Path within the container at which the volume should be mounted.  Must
                                  not contain ':'.
7273
7274
                                type: string
                              mountPropagation:
7275
7276
7277
7278
7279
7280
7281
                                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).
7282
7283
                                type: string
                              name:
7284
                                description: This must match the Name of a Volume.
7285
7286
                                type: string
                              readOnly:
7287
7288
7289
                                description: |-
                                  Mounted read-only if true, read-write otherwise (false or unspecified).
                                  Defaults to false.
7290
7291
                                type: boolean
                              recursiveReadOnly:
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
                                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.
7309
7310
                                type: string
                              subPath:
7311
7312
7313
                                description: |-
                                  Path within the volume from which the container's volume should be mounted.
                                  Defaults to "" (volume's root).
7314
7315
                                type: string
                              subPathExpr:
7316
7317
7318
7319
7320
                                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.
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
                                type: string
                            required:
                              - mountPath
                              - name
                            type: object
                          type: array
                          x-kubernetes-list-map-keys:
                            - mountPath
                          x-kubernetes-list-type: map
                        workingDir:
7331
7332
7333
7334
7335
                          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.
7336
7337
7338
7339
                          type: string
                      required: []
                      type: object
                    nodeName:
7340
7341
7342
7343
7344
7345
                      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
7346
7347
7348
7349
                      type: string
                    nodeSelector:
                      additionalProperties:
                        type: string
7350
7351
7352
7353
                      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/
7354
7355
7356
                      type: object
                      x-kubernetes-map-type: atomic
                    os:
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
7385
7386
7387
7388
                      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
7389
7390
                      properties:
                        name:
7391
7392
7393
7394
7395
                          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
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
                          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
7407
7408
7409
7410
7411
7412
7413
7414
                      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
7415
7416
                      type: object
                    preemptionPolicy:
7417
7418
7419
7420
                      description: |-
                        PreemptionPolicy is the Policy for preempting pods with lower priority.
                        One of Never, PreemptLowerPriority.
                        Defaults to PreemptLowerPriority if unset.
7421
7422
                      type: string
                    priority:
7423
7424
7425
7426
7427
7428
                      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.
7429
7430
7431
                      format: int32
                      type: integer
                    priorityClassName:
7432
7433
7434
7435
7436
7437
7438
                      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.
7439
7440
                      type: string
                    readinessGates:
7441
7442
7443
7444
7445
                      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
7446
                      items:
7447
                        description: PodReadinessGate contains the reference to a pod condition
7448
7449
                        properties:
                          conditionType:
7450
                            description: ConditionType refers to a condition in the pod's condition list with matching type.
7451
7452
7453
7454
7455
7456
7457
                            type: string
                        required:
                          - conditionType
                        type: object
                      type: array
                      x-kubernetes-list-type: atomic
                    resourceClaims:
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
                      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.
7468
                      items:
7469
7470
7471
7472
7473
7474
7475
                        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.
7476
7477
                        properties:
                          name:
7478
7479
7480
                            description: |-
                              Name uniquely identifies this resource claim inside the pod.
                              This must be a DNS_LABEL.
7481
7482
                            type: string
                          resourceClaimName:
7483
7484
7485
7486
7487
7488
                            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.
7489
7490
                            type: string
                          resourceClaimTemplateName:
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
                            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.
7507
7508
7509
7510
7511
7512
7513
7514
7515
                            type: string
                        required:
                          - name
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    resources:
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
                      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.
7526
7527
                      properties:
                        claims:
7528
7529
7530
7531
7532
7533
7534
7535
                          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.
7536
                          items:
7537
                            description: ResourceClaim references one entry in PodSpec.ResourceClaims.
7538
7539
                            properties:
                              name:
7540
7541
7542
7543
                                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.
7544
7545
                                type: string
                              request:
7546
7547
7548
7549
                                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.
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
                                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
7565
7566
7567
                          description: |-
                            Limits describes the maximum amount of compute resources allowed.
                            More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
7568
7569
7570
7571
7572
7573
7574
7575
                          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
7576
7577
7578
7579
7580
                          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/
7581
7582
7583
                          type: object
                      type: object
                    restartPolicy:
7584
7585
7586
7587
7588
                      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
7589
7590
                      type: string
                    runtimeClassName:
7591
7592
7593
7594
7595
7596
                      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
7597
7598
                      type: string
                    schedulerName:
7599
7600
7601
                      description: |-
                        If specified, the pod will be dispatched by specified scheduler.
                        If not specified, the pod will be dispatched by default scheduler.
7602
7603
                      type: string
                    schedulingGates:
7604
7605
7606
7607
7608
7609
                      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.
7610
                      items:
7611
                        description: PodSchedulingGate is associated to a Pod to guard its scheduling.
7612
7613
                        properties:
                          name:
7614
7615
7616
                            description: |-
                              Name of the scheduling gate.
                              Each scheduling gate must have a unique name field.
7617
7618
7619
7620
7621
7622
7623
7624
7625
                            type: string
                        required:
                          - name
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
                    securityContext:
7626
7627
7628
                      description: |-
                        SecurityContext holds pod-level security attributes and common container settings.
                        Optional: Defaults to empty.  See type description for default values of each field.
7629
7630
                      properties:
                        appArmorProfile:
7631
7632
7633
                          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.
7634
7635
                          properties:
                            localhostProfile:
7636
7637
7638
7639
7640
                              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".
7641
7642
                              type: string
                            type:
7643
7644
7645
7646
7647
7648
                              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.
7649
7650
7651
7652
7653
                              type: string
                          required:
                            - type
                          type: object
                        fsGroup:
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
                          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.
7665
7666
7667
                          format: int64
                          type: integer
                        fsGroupChangePolicy:
7668
7669
7670
7671
7672
7673
7674
7675
                          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.
7676
7677
                          type: string
                        runAsGroup:
7678
7679
7680
7681
7682
7683
7684
                          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.
7685
7686
7687
                          format: int64
                          type: integer
                        runAsNonRoot:
7688
7689
7690
7691
7692
7693
7694
                          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.
7695
7696
                          type: boolean
                        runAsUser:
7697
7698
7699
7700
7701
7702
7703
                          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.
7704
7705
7706
                          format: int64
                          type: integer
                        seLinuxChangePolicy:
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
                          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.
7731
7732
                          type: string
                        seLinuxOptions:
7733
7734
7735
7736
7737
7738
7739
                          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.
7740
7741
                          properties:
                            level:
7742
                              description: Level is SELinux level label that applies to the container.
7743
7744
                              type: string
                            role:
7745
                              description: Role is a SELinux role label that applies to the container.
7746
7747
                              type: string
                            type:
7748
                              description: Type is a SELinux type label that applies to the container.
7749
7750
                              type: string
                            user:
7751
                              description: User is a SELinux user label that applies to the container.
7752
7753
7754
                              type: string
                          type: object
                        seccompProfile:
7755
7756
7757
                          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.
7758
7759
                          properties:
                            localhostProfile:
7760
7761
7762
7763
7764
                              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.
7765
7766
                              type: string
                            type:
7767
7768
7769
7770
7771
7772
7773
                              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.
7774
7775
7776
7777
7778
                              type: string
                          required:
                            - type
                          type: object
                        supplementalGroups:
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
                          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.
7789
7790
7791
7792
7793
7794
                          items:
                            format: int64
                            type: integer
                          type: array
                          x-kubernetes-list-type: atomic
                        supplementalGroupsPolicy:
7795
7796
7797
7798
7799
7800
                          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.
7801
7802
                          type: string
                        sysctls:
7803
7804
7805
7806
                          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.
7807
                          items:
7808
                            description: Sysctl defines a kernel parameter to be set
7809
7810
                            properties:
                              name:
7811
                                description: Name of a property to set
7812
7813
                                type: string
                              value:
7814
                                description: Value of a property to set
7815
7816
7817
7818
7819
7820
7821
7822
                                type: string
                            required:
                              - name
                              - value
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        windowsOptions:
7823
7824
7825
7826
7827
                          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.
7828
7829
                          properties:
                            gmsaCredentialSpec:
7830
7831
7832
7833
                              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.
7834
7835
                              type: string
                            gmsaCredentialSpecName:
7836
                              description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
7837
7838
                              type: string
                            hostProcess:
7839
7840
7841
7842
7843
                              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.
7844
7845
                              type: boolean
                            runAsUserName:
7846
7847
7848
7849
7850
                              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.
7851
7852
7853
7854
                              type: string
                          type: object
                      type: object
                    serviceAccount:
7855
7856
7857
                      description: |-
                        DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.
                        Deprecated: Use serviceAccountName instead.
7858
7859
                      type: string
                    serviceAccountName:
7860
7861
7862
                      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/
7863
7864
                      type: string
                    setHostnameAsFQDN:
7865
7866
7867
7868
7869
7870
                      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.
7871
7872
                      type: boolean
                    shareProcessNamespace:
7873
7874
7875
7876
7877
7878
                      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.
7879
7880
                      type: boolean
                    subdomain:
7881
7882
7883
                      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.
7884
7885
                      type: string
                    terminationGracePeriodSeconds:
7886
7887
7888
7889
7890
7891
7892
7893
7894
                      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.
7895
7896
7897
                      format: int64
                      type: integer
                    tolerations:
7898
                      description: If specified, the pod's tolerations.
7899
                      items:
7900
7901
7902
                        description: |-
                          The pod this Toleration is attached to tolerates any taint that matches
                          the triple <key,value,effect> using the matching operator <operator>.
7903
7904
                        properties:
                          effect:
7905
7906
7907
                            description: |-
                              Effect indicates the taint effect to match. Empty means match all taint effects.
                              When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
7908
7909
                            type: string
                          key:
7910
7911
7912
                            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.
7913
7914
                            type: string
                          operator:
7915
7916
7917
7918
7919
                            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.
7920
7921
                            type: string
                          tolerationSeconds:
7922
7923
7924
7925
7926
                            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.
7927
7928
7929
                            format: int64
                            type: integer
                          value:
7930
7931
7932
                            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.
7933
7934
7935
7936
7937
                            type: string
                        type: object
                      type: array
                      x-kubernetes-list-type: atomic
                    topologySpreadConstraints:
7938
7939
7940
7941
                      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.
7942
                      items:
7943
                        description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
7944
7945
                        properties:
                          labelSelector:
7946
7947
7948
7949
                            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.
7950
7951
                            properties:
                              matchExpressions:
7952
                                description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
7953
                                items:
7954
7955
7956
                                  description: |-
                                    A label selector requirement is a selector that contains values, a key, and an operator that
                                    relates the key and values.
7957
7958
                                  properties:
                                    key:
7959
                                      description: key is the label key that the selector applies to.
7960
7961
                                      type: string
                                    operator:
7962
7963
7964
                                      description: |-
                                        operator represents a key's relationship to a set of values.
                                        Valid operators are In, NotIn, Exists and DoesNotExist.
7965
7966
                                      type: string
                                    values:
7967
7968
7969
7970
7971
                                      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.
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
                                      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
7985
7986
7987
7988
                                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.
7989
7990
7991
7992
                                type: object
                            type: object
                            x-kubernetes-map-type: atomic
                          matchLabelKeys:
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
                            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).
8004
8005
8006
8007
8008
                            items:
                              type: string
                            type: array
                            x-kubernetes-list-type: atomic
                          maxSkew:
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
                            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.
8027
8028
8029
                            format: int32
                            type: integer
                          minDomains:
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
                            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.
8050
8051
8052
                            format: int32
                            type: integer
                          nodeAffinityPolicy:
8053
8054
8055
8056
8057
8058
8059
                            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.
8060
8061
                            type: string
                          nodeTaintsPolicy:
8062
8063
8064
8065
8066
8067
8068
8069
                            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.
8070
8071
                            type: string
                          topologyKey:
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
                            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.
8083
8084
                            type: string
                          whenUnsatisfiable:
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
                            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.
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
                            type: string
                        required:
                          - maxSkew
                          - topologyKey
                          - whenUnsatisfiable
                        type: object
                      type: array
                      x-kubernetes-list-map-keys:
                        - topologyKey
                        - whenUnsatisfiable
                      x-kubernetes-list-type: map
                    volumes:
8116
8117
8118
                      description: |-
                        List of volumes that can be mounted by containers belonging to the pod.
                        More info: https://kubernetes.io/docs/concepts/storage/volumes
8119
                      items:
8120
                        description: Volume represents a named volume in a pod that may be accessed by any container in the pod.
8121
8122
                        properties:
                          awsElasticBlockStore:
8123
8124
8125
8126
8127
8128
                            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
8129
8130
                            properties:
                              fsType:
8131
8132
8133
8134
8135
                                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
8136
8137
                                type: string
                              partition:
8138
8139
8140
8141
8142
                                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).
8143
8144
8145
                                format: int32
                                type: integer
                              readOnly:
8146
8147
8148
                                description: |-
                                  readOnly value true will force the readOnly setting in VolumeMounts.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
8149
8150
                                type: boolean
                              volumeID:
8151
8152
8153
                                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
8154
8155
8156
8157
8158
                                type: string
                            required:
                              - volumeID
                            type: object
                          azureDisk:
8159
8160
8161
8162
                            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.
8163
8164
                            properties:
                              cachingMode:
8165
                                description: 'cachingMode is the Host Caching mode: None, Read Only, Read Write.'
8166
8167
                                type: string
                              diskName:
8168
                                description: diskName is the Name of the data disk in the blob storage
8169
8170
                                type: string
                              diskURI:
8171
                                description: diskURI is the URI of data disk in the blob storage
8172
8173
8174
                                type: string
                              fsType:
                                default: ext4
8175
8176
8177
8178
                                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.
8179
8180
                                type: string
                              kind:
8181
                                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'
8182
8183
8184
                                type: string
                              readOnly:
                                default: false
8185
8186
8187
                                description: |-
                                  readOnly Defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
8188
8189
8190
8191
8192
8193
                                type: boolean
                            required:
                              - diskName
                              - diskURI
                            type: object
                          azureFile:
8194
8195
8196
8197
                            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.
8198
8199
                            properties:
                              readOnly:
8200
8201
8202
                                description: |-
                                  readOnly defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
8203
8204
                                type: boolean
                              secretName:
8205
                                description: secretName is the  name of secret that contains Azure Storage Account Name and Key
8206
8207
                                type: string
                              shareName:
8208
                                description: shareName is the azure share Name
8209
8210
8211
8212
8213
8214
                                type: string
                            required:
                              - secretName
                              - shareName
                            type: object
                          cephfs:
8215
8216
8217
                            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.
8218
8219
                            properties:
                              monitors:
8220
8221
8222
                                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
8223
8224
8225
8226
8227
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
8228
                                description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /'
8229
8230
                                type: string
                              readOnly:
8231
8232
8233
8234
                                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
8235
8236
                                type: boolean
                              secretFile:
8237
8238
8239
                                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
8240
8241
                                type: string
                              secretRef:
8242
8243
8244
                                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
8245
8246
8247
                                properties:
                                  name:
                                    default: ""
8248
8249
8250
8251
8252
8253
                                    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
8254
8255
8256
8257
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              user:
8258
8259
8260
                                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
8261
8262
8263
8264
8265
                                type: string
                            required:
                              - monitors
                            type: object
                          cinder:
8266
8267
8268
8269
8270
                            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
8271
8272
                            properties:
                              fsType:
8273
8274
8275
8276
8277
                                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
8278
8279
                                type: string
                              readOnly:
8280
8281
8282
8283
                                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
8284
8285
                                type: boolean
                              secretRef:
8286
8287
8288
                                description: |-
                                  secretRef is optional: points to a secret object containing parameters used to connect
                                  to OpenStack.
8289
8290
8291
                                properties:
                                  name:
                                    default: ""
8292
8293
8294
8295
8296
8297
                                    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
8298
8299
8300
8301
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              volumeID:
8302
8303
8304
                                description: |-
                                  volumeID used to identify the volume in cinder.
                                  More info: https://examples.k8s.io/mysql-cinder-pd/README.md
8305
8306
8307
8308
8309
                                type: string
                            required:
                              - volumeID
                            type: object
                          configMap:
8310
                            description: configMap represents a configMap that should populate this volume
8311
8312
                            properties:
                              defaultMode:
8313
8314
8315
8316
8317
8318
8319
8320
                                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.
8321
8322
8323
                                format: int32
                                type: integer
                              items:
8324
8325
8326
8327
8328
8329
8330
8331
                                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 '..'.
8332
                                items:
8333
                                  description: Maps a string key to a path within a volume.
8334
8335
                                  properties:
                                    key:
8336
                                      description: key is the key to project.
8337
8338
                                      type: string
                                    mode:
8339
8340
8341
8342
8343
8344
8345
                                      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.
8346
8347
8348
                                      format: int32
                                      type: integer
                                    path:
8349
8350
8351
8352
8353
                                      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 '..'.
8354
8355
8356
8357
8358
8359
8360
8361
8362
                                      type: string
                                  required:
                                    - key
                                    - path
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              name:
                                default: ""
8363
8364
8365
8366
8367
8368
                                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
8369
8370
                                type: string
                              optional:
8371
                                description: optional specify whether the ConfigMap or its keys must be defined
8372
8373
8374
8375
                                type: boolean
                            type: object
                            x-kubernetes-map-type: atomic
                          csi:
8376
                            description: csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
8377
8378
                            properties:
                              driver:
8379
8380
8381
                                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.
8382
8383
                                type: string
                              fsType:
8384
8385
8386
8387
                                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.
8388
8389
                                type: string
                              nodePublishSecretRef:
8390
8391
8392
8393
8394
8395
                                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.
8396
8397
8398
                                properties:
                                  name:
                                    default: ""
8399
8400
8401
8402
8403
8404
                                    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
8405
8406
8407
8408
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              readOnly:
8409
8410
8411
                                description: |-
                                  readOnly specifies a read-only configuration for the volume.
                                  Defaults to false (read/write).
8412
8413
8414
8415
                                type: boolean
                              volumeAttributes:
                                additionalProperties:
                                  type: string
8416
8417
8418
                                description: |-
                                  volumeAttributes stores driver-specific properties that are passed to the CSI
                                  driver. Consult your driver's documentation for supported values.
8419
8420
8421
8422
8423
                                type: object
                            required:
                              - driver
                            type: object
                          downwardAPI:
8424
                            description: downwardAPI represents downward API about the pod that should populate this volume
8425
8426
                            properties:
                              defaultMode:
8427
8428
8429
8430
8431
8432
8433
8434
8435
                                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.
8436
8437
8438
                                format: int32
                                type: integer
                              items:
8439
                                description: Items is a list of downward API volume file
8440
                                items:
8441
                                  description: DownwardAPIVolumeFile represents information to create the file containing the pod field
8442
8443
                                  properties:
                                    fieldRef:
8444
                                      description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
8445
8446
                                      properties:
                                        apiVersion:
8447
                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
8448
8449
                                          type: string
                                        fieldPath:
8450
                                          description: Path of the field to select in the specified API version.
8451
8452
8453
8454
8455
8456
                                          type: string
                                      required:
                                        - fieldPath
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    mode:
8457
8458
8459
8460
8461
8462
8463
                                      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.
8464
8465
8466
                                      format: int32
                                      type: integer
                                    path:
8467
                                      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 ''..'''
8468
8469
                                      type: string
                                    resourceFieldRef:
8470
8471
8472
                                      description: |-
                                        Selects a resource of the container: only resources limits and requests
                                        (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
8473
8474
                                      properties:
                                        containerName:
8475
                                          description: 'Container name: required for volumes, optional for env vars'
8476
8477
8478
8479
8480
                                          type: string
                                        divisor:
                                          anyOf:
                                            - type: integer
                                            - type: string
8481
                                          description: Specifies the output format of the exposed resources, defaults to "1"
8482
8483
8484
                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                          x-kubernetes-int-or-string: true
                                        resource:
8485
                                          description: 'Required: resource to select'
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
                                          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:
8498
8499
8500
                            description: |-
                              emptyDir represents a temporary directory that shares a pod's lifetime.
                              More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
8501
8502
                            properties:
                              medium:
8503
8504
8505
8506
8507
                                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
8508
8509
8510
8511
8512
                                type: string
                              sizeLimit:
                                anyOf:
                                  - type: integer
                                  - type: string
8513
8514
8515
8516
8517
8518
8519
                                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
8520
8521
8522
8523
                                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:
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
                            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.
8549
8550
                            properties:
                              volumeClaimTemplate:
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
                                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.
8573
8574
                                properties:
                                  metadata:
8575
8576
8577
8578
                                    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.
8579
8580
                                    type: object
                                  spec:
8581
8582
8583
8584
8585
                                    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.
8586
8587
                                    properties:
                                      accessModes:
8588
8589
8590
                                        description: |-
                                          accessModes contains the desired access modes the volume should have.
                                          More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
8591
8592
8593
8594
8595
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      dataSource:
8596
8597
8598
8599
8600
8601
8602
8603
8604
                                        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.
8605
8606
                                        properties:
                                          apiGroup:
8607
8608
8609
8610
                                            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.
8611
8612
                                            type: string
                                          kind:
8613
                                            description: Kind is the type of resource being referenced
8614
8615
                                            type: string
                                          name:
8616
                                            description: Name is the name of resource being referenced
8617
8618
8619
8620
8621
8622
8623
                                            type: string
                                        required:
                                          - kind
                                          - name
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      dataSourceRef:
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
                                        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.
8648
8649
                                        properties:
                                          apiGroup:
8650
8651
8652
8653
                                            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.
8654
8655
                                            type: string
                                          kind:
8656
                                            description: Kind is the type of resource being referenced
8657
8658
                                            type: string
                                          name:
8659
                                            description: Name is the name of resource being referenced
8660
8661
                                            type: string
                                          namespace:
8662
8663
8664
8665
                                            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.
8666
8667
8668
8669
8670
8671
                                            type: string
                                        required:
                                          - kind
                                          - name
                                        type: object
                                      resources:
8672
8673
8674
8675
8676
8677
                                        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
8678
8679
8680
8681
8682
8683
8684
8685
                                        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
8686
8687
8688
                                            description: |-
                                              Limits describes the maximum amount of compute resources allowed.
                                              More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
8689
8690
8691
8692
8693
8694
8695
8696
                                            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
8697
8698
8699
8700
8701
                                            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/
8702
8703
8704
                                            type: object
                                        type: object
                                      selector:
8705
                                        description: selector is a label query over volumes to consider for binding.
8706
8707
                                        properties:
                                          matchExpressions:
8708
                                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
8709
                                            items:
8710
8711
8712
                                              description: |-
                                                A label selector requirement is a selector that contains values, a key, and an operator that
                                                relates the key and values.
8713
8714
                                              properties:
                                                key:
8715
                                                  description: key is the label key that the selector applies to.
8716
8717
                                                  type: string
                                                operator:
8718
8719
8720
                                                  description: |-
                                                    operator represents a key's relationship to a set of values.
                                                    Valid operators are In, NotIn, Exists and DoesNotExist.
8721
8722
                                                  type: string
                                                values:
8723
8724
8725
8726
8727
                                                  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.
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
                                                  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
8741
8742
8743
8744
                                            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.
8745
8746
8747
8748
                                            type: object
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      storageClassName:
8749
8750
8751
                                        description: |-
                                          storageClassName is the name of the StorageClass required by the claim.
                                          More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
8752
8753
                                        type: string
                                      volumeAttributesClassName:
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
                                        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).
8767
8768
                                        type: string
                                      volumeMode:
8769
8770
8771
                                        description: |-
                                          volumeMode defines what type of volume is required by the claim.
                                          Value of Filesystem is implied when not included in claim spec.
8772
8773
                                        type: string
                                      volumeName:
8774
                                        description: volumeName is the binding reference to the PersistentVolume backing this claim.
8775
8776
8777
8778
8779
8780
8781
                                        type: string
                                    type: object
                                required:
                                  - spec
                                type: object
                            type: object
                          fc:
8782
                            description: fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
8783
8784
                            properties:
                              fsType:
8785
8786
8787
8788
                                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.
8789
8790
                                type: string
                              lun:
8791
                                description: 'lun is Optional: FC target lun number'
8792
8793
8794
                                format: int32
                                type: integer
                              readOnly:
8795
8796
8797
                                description: |-
                                  readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
8798
8799
                                type: boolean
                              targetWWNs:
8800
                                description: 'targetWWNs is Optional: FC target worldwide names (WWNs)'
8801
8802
8803
8804
8805
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              wwids:
8806
8807
8808
                                description: |-
                                  wwids Optional: FC volume world wide identifiers (wwids)
                                  Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
8809
8810
8811
8812
8813
8814
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          flexVolume:
8815
8816
8817
8818
                            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.
8819
8820
                            properties:
                              driver:
8821
                                description: driver is the name of the driver to use for this volume.
8822
8823
                                type: string
                              fsType:
8824
8825
8826
8827
                                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.
8828
8829
8830
8831
                                type: string
                              options:
                                additionalProperties:
                                  type: string
8832
                                description: 'options is Optional: this field holds extra command options if any.'
8833
8834
                                type: object
                              readOnly:
8835
8836
8837
                                description: |-
                                  readOnly is Optional: defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
8838
8839
                                type: boolean
                              secretRef:
8840
8841
8842
8843
8844
8845
                                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.
8846
8847
8848
                                properties:
                                  name:
                                    default: ""
8849
8850
8851
8852
8853
8854
                                    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
8855
8856
8857
8858
8859
8860
8861
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                            required:
                              - driver
                            type: object
                          flocker:
8862
8863
8864
                            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.
8865
8866
                            properties:
                              datasetName:
8867
8868
8869
                                description: |-
                                  datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
                                  should be considered as deprecated
8870
8871
                                type: string
                              datasetUUID:
8872
                                description: datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
8873
8874
8875
                                type: string
                            type: object
                          gcePersistentDisk:
8876
8877
8878
8879
8880
8881
                            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
8882
8883
                            properties:
                              fsType:
8884
8885
8886
8887
8888
                                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
8889
8890
                                type: string
                              partition:
8891
8892
8893
8894
8895
8896
                                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
8897
8898
8899
                                format: int32
                                type: integer
                              pdName:
8900
8901
8902
                                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
8903
8904
                                type: string
                              readOnly:
8905
8906
8907
8908
                                description: |-
                                  readOnly here will force the ReadOnly setting in VolumeMounts.
                                  Defaults to false.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
8909
8910
8911
8912
8913
                                type: boolean
                            required:
                              - pdName
                            type: object
                          gitRepo:
8914
8915
8916
8917
8918
                            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.
8919
8920
                            properties:
                              directory:
8921
8922
8923
8924
8925
                                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.
8926
8927
                                type: string
                              repository:
8928
                                description: repository is the URL
8929
8930
                                type: string
                              revision:
8931
                                description: revision is the commit hash for the specified revision.
8932
8933
8934
8935
8936
                                type: string
                            required:
                              - repository
                            type: object
                          glusterfs:
8937
8938
8939
8940
                            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
8941
8942
                            properties:
                              endpoints:
8943
8944
8945
                                description: |-
                                  endpoints is the endpoint name that details Glusterfs topology.
                                  More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
8946
8947
                                type: string
                              path:
8948
8949
8950
                                description: |-
                                  path is the Glusterfs volume path.
                                  More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
8951
8952
                                type: string
                              readOnly:
8953
8954
8955
8956
                                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
8957
8958
8959
8960
8961
8962
                                type: boolean
                            required:
                              - endpoints
                              - path
                            type: object
                          hostPath:
8963
8964
8965
8966
8967
8968
                            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
8969
8970
                            properties:
                              path:
8971
8972
8973
8974
                                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
8975
8976
                                type: string
                              type:
8977
8978
8979
8980
                                description: |-
                                  type for HostPath Volume
                                  Defaults to ""
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
8981
8982
8983
8984
8985
                                type: string
                            required:
                              - path
                            type: object
                          image:
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
                            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.
9001
9002
                            properties:
                              pullPolicy:
9003
9004
9005
9006
9007
9008
                                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.
9009
9010
                                type: string
                              reference:
9011
9012
9013
9014
9015
9016
9017
                                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.
9018
9019
9020
                                type: string
                            type: object
                          iscsi:
9021
9022
9023
9024
                            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
9025
9026
                            properties:
                              chapAuthDiscovery:
9027
                                description: chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
9028
9029
                                type: boolean
                              chapAuthSession:
9030
                                description: chapAuthSession defines whether support iSCSI Session CHAP authentication
9031
9032
                                type: boolean
                              fsType:
9033
9034
9035
9036
9037
                                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
9038
9039
                                type: string
                              initiatorName:
9040
9041
9042
9043
                                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.
9044
9045
                                type: string
                              iqn:
9046
                                description: iqn is the target iSCSI Qualified Name.
9047
9048
9049
                                type: string
                              iscsiInterface:
                                default: default
9050
9051
9052
                                description: |-
                                  iscsiInterface is the interface Name that uses an iSCSI transport.
                                  Defaults to 'default' (tcp).
9053
9054
                                type: string
                              lun:
9055
                                description: lun represents iSCSI Target Lun number.
9056
9057
9058
                                format: int32
                                type: integer
                              portals:
9059
9060
9061
                                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).
9062
9063
9064
9065
9066
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              readOnly:
9067
9068
9069
                                description: |-
                                  readOnly here will force the ReadOnly setting in VolumeMounts.
                                  Defaults to false.
9070
9071
                                type: boolean
                              secretRef:
9072
                                description: secretRef is the CHAP Secret for iSCSI target and initiator authentication
9073
9074
9075
                                properties:
                                  name:
                                    default: ""
9076
9077
9078
9079
9080
9081
                                    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
9082
9083
9084
9085
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              targetPortal:
9086
9087
9088
                                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).
9089
9090
9091
9092
9093
9094
9095
                                type: string
                            required:
                              - iqn
                              - lun
                              - targetPortal
                            type: object
                          name:
9096
9097
9098
9099
                            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
9100
9101
                            type: string
                          nfs:
9102
9103
9104
                            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
9105
                            properties:
9106
                              path:
9107
9108
9109
                                description: |-
                                  path that is exported by the NFS server.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9110
                                type: string
9111
                              readOnly:
9112
9113
9114
9115
                                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
9116
9117
                                type: boolean
                              server:
9118
9119
9120
                                description: |-
                                  server is the hostname or IP address of the NFS server.
                                  More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9121
9122
                                type: string
                            required:
9123
9124
                              - path
                              - server
9125
                            type: object
9126
                          persistentVolumeClaim:
9127
9128
9129
9130
                            description: |-
                              persistentVolumeClaimVolumeSource represents a reference to a
                              PersistentVolumeClaim in the same namespace.
                              More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
9131
                            properties:
9132
                              claimName:
9133
9134
9135
                                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
9136
                                type: string
9137
                              readOnly:
9138
9139
9140
                                description: |-
                                  readOnly Will force the ReadOnly setting in VolumeMounts.
                                  Default false.
9141
9142
9143
9144
9145
                                type: boolean
                            required:
                              - claimName
                            type: object
                          photonPersistentDisk:
9146
9147
9148
                            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.
9149
9150
                            properties:
                              fsType:
9151
9152
9153
9154
                                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.
9155
                                type: string
9156
                              pdID:
9157
                                description: pdID is the ID that identifies Photon Controller persistent disk
9158
9159
9160
9161
9162
                                type: string
                            required:
                              - pdID
                            type: object
                          portworxVolume:
9163
9164
9165
9166
9167
                            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.
9168
9169
                            properties:
                              fsType:
9170
9171
9172
9173
                                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.
9174
                                type: string
9175
                              readOnly:
9176
9177
9178
                                description: |-
                                  readOnly defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
9179
                                type: boolean
9180
                              volumeID:
9181
                                description: volumeID uniquely identifies a Portworx volume
9182
                                type: string
9183
9184
9185
9186
                            required:
                              - volumeID
                            type: object
                          projected:
9187
                            description: projected items for all in one resources secrets, configmaps, and downward API
9188
9189
                            properties:
                              defaultMode:
9190
9191
9192
9193
9194
9195
9196
                                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.
9197
9198
9199
                                format: int32
                                type: integer
                              sources:
9200
9201
9202
                                description: |-
                                  sources is the list of volume projections. Each entry in this list
                                  handles one source.
9203
                                items:
9204
9205
9206
                                  description: |-
                                    Projection that may be projected along with other supported volume types.
                                    Exactly one of these fields must be set.
9207
9208
                                  properties:
                                    clusterTrustBundle:
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
                                      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.
9223
9224
                                      properties:
                                        labelSelector:
9225
9226
9227
9228
9229
                                          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".
9230
9231
                                          properties:
                                            matchExpressions:
9232
                                              description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
9233
                                              items:
9234
9235
9236
                                                description: |-
                                                  A label selector requirement is a selector that contains values, a key, and an operator that
                                                  relates the key and values.
9237
9238
                                                properties:
                                                  key:
9239
                                                    description: key is the label key that the selector applies to.
9240
9241
                                                    type: string
                                                  operator:
9242
9243
9244
                                                    description: |-
                                                      operator represents a key's relationship to a set of values.
                                                      Valid operators are In, NotIn, Exists and DoesNotExist.
9245
9246
                                                    type: string
                                                  values:
9247
9248
9249
9250
9251
                                                    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.
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
                                                    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
9265
9266
9267
9268
                                              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.
9269
9270
9271
9272
                                              type: object
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        name:
9273
9274
9275
                                          description: |-
                                            Select a single ClusterTrustBundle by object name.  Mutually-exclusive
                                            with signerName and labelSelector.
9276
9277
                                          type: string
                                        optional:
9278
9279
9280
9281
9282
9283
                                          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.
9284
9285
                                          type: boolean
                                        path:
9286
                                          description: Relative path from the volume root to write the bundle.
9287
9288
                                          type: string
                                        signerName:
9289
9290
9291
9292
                                          description: |-
                                            Select all ClusterTrustBundles that match this signer name.
                                            Mutually-exclusive with name.  The contents of all selected
                                            ClusterTrustBundles will be unified and deduplicated.
9293
9294
9295
9296
9297
                                          type: string
                                      required:
                                        - path
                                      type: object
                                    configMap:
9298
                                      description: configMap information about the configMap data to project
9299
9300
                                      properties:
                                        items:
9301
9302
9303
9304
9305
9306
9307
9308
                                          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 '..'.
9309
                                          items:
9310
                                            description: Maps a string key to a path within a volume.
9311
9312
                                            properties:
                                              key:
9313
                                                description: key is the key to project.
9314
9315
                                                type: string
                                              mode:
9316
9317
9318
9319
9320
9321
9322
                                                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.
9323
9324
9325
                                                format: int32
                                                type: integer
                                              path:
9326
9327
9328
9329
9330
                                                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 '..'.
9331
9332
9333
9334
9335
9336
9337
9338
9339
                                                type: string
                                            required:
                                              - key
                                              - path
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        name:
                                          default: ""
9340
9341
9342
9343
9344
9345
                                          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
9346
9347
                                          type: string
                                        optional:
9348
                                          description: optional specify whether the ConfigMap or its keys must be defined
9349
9350
9351
9352
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    downwardAPI:
9353
                                      description: downwardAPI information about the downwardAPI data to project
9354
9355
                                      properties:
                                        items:
9356
                                          description: Items is a list of DownwardAPIVolume file
9357
                                          items:
9358
                                            description: DownwardAPIVolumeFile represents information to create the file containing the pod field
9359
9360
                                            properties:
                                              fieldRef:
9361
                                                description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
9362
9363
                                                properties:
                                                  apiVersion:
9364
                                                    description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
9365
9366
                                                    type: string
                                                  fieldPath:
9367
                                                    description: Path of the field to select in the specified API version.
9368
9369
9370
9371
9372
9373
                                                    type: string
                                                required:
                                                  - fieldPath
                                                type: object
                                                x-kubernetes-map-type: atomic
                                              mode:
9374
9375
9376
9377
9378
9379
9380
                                                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.
9381
9382
9383
                                                format: int32
                                                type: integer
                                              path:
9384
                                                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 ''..'''
9385
9386
                                                type: string
                                              resourceFieldRef:
9387
9388
9389
                                                description: |-
                                                  Selects a resource of the container: only resources limits and requests
                                                  (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
9390
9391
                                                properties:
                                                  containerName:
9392
                                                    description: 'Container name: required for volumes, optional for env vars'
9393
9394
9395
9396
9397
                                                    type: string
                                                  divisor:
                                                    anyOf:
                                                      - type: integer
                                                      - type: string
9398
                                                    description: Specifies the output format of the exposed resources, defaults to "1"
9399
9400
9401
                                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                    x-kubernetes-int-or-string: true
                                                  resource:
9402
                                                    description: 'Required: resource to select'
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
                                                    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:
9415
                                      description: secret information about the secret data to project
9416
9417
                                      properties:
                                        items:
9418
9419
9420
9421
9422
9423
9424
9425
                                          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 '..'.
9426
                                          items:
9427
                                            description: Maps a string key to a path within a volume.
9428
9429
                                            properties:
                                              key:
9430
                                                description: key is the key to project.
9431
9432
                                                type: string
                                              mode:
9433
9434
9435
9436
9437
9438
9439
                                                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.
9440
9441
9442
                                                format: int32
                                                type: integer
                                              path:
9443
9444
9445
9446
9447
                                                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 '..'.
9448
9449
9450
9451
9452
9453
9454
9455
9456
                                                type: string
                                            required:
                                              - key
                                              - path
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        name:
                                          default: ""
9457
9458
9459
9460
9461
9462
                                          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
9463
9464
                                          type: string
                                        optional:
9465
                                          description: optional field specify whether the Secret or its key must be defined
9466
9467
9468
9469
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    serviceAccountToken:
9470
                                      description: serviceAccountToken is information about the serviceAccountToken data to project
9471
9472
                                      properties:
                                        audience:
9473
9474
9475
9476
9477
                                          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.
9478
9479
                                          type: string
                                        expirationSeconds:
9480
9481
9482
9483
9484
9485
9486
                                          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.
9487
9488
9489
                                          format: int64
                                          type: integer
                                        path:
9490
9491
9492
                                          description: |-
                                            path is the path relative to the mount point of the file to project the
                                            token into.
9493
9494
9495
9496
9497
9498
9499
9500
9501
                                          type: string
                                      required:
                                        - path
                                      type: object
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          quobyte:
9502
9503
9504
                            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.
9505
9506
                            properties:
                              group:
9507
9508
9509
                                description: |-
                                  group to map volume access to
                                  Default is no group
9510
                                type: string
9511
                              readOnly:
9512
9513
9514
                                description: |-
                                  readOnly here will force the Quobyte volume to be mounted with read-only permissions.
                                  Defaults to false.
9515
9516
                                type: boolean
                              registry:
9517
9518
9519
9520
                                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
9521
9522
                                type: string
                              tenant:
9523
9524
9525
                                description: |-
                                  tenant owning the given Quobyte volume in the Backend
                                  Used with dynamically provisioned Quobyte volumes, value is set by the plugin
9526
9527
                                type: string
                              user:
9528
9529
9530
                                description: |-
                                  user to map volume access to
                                  Defaults to serivceaccount user
9531
9532
                                type: string
                              volume:
9533
                                description: volume is a string that references an already created Quobyte volume by name.
9534
9535
                                type: string
                            required:
9536
9537
                              - registry
                              - volume
9538
                            type: object
9539
                          rbd:
9540
9541
9542
9543
                            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
9544
                            properties:
9545
                              fsType:
9546
9547
9548
9549
9550
                                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
9551
9552
                                type: string
                              image:
9553
9554
9555
                                description: |-
                                  image is the rados image name.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9556
9557
9558
                                type: string
                              keyring:
                                default: /etc/ceph/keyring
9559
9560
9561
9562
                                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
9563
9564
                                type: string
                              monitors:
9565
9566
9567
                                description: |-
                                  monitors is a collection of Ceph monitors.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9568
9569
9570
9571
9572
9573
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              pool:
                                default: rbd
9574
9575
9576
9577
                                description: |-
                                  pool is the rados pool name.
                                  Default is rbd.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9578
9579
                                type: string
                              readOnly:
9580
9581
9582
9583
                                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
9584
9585
                                type: boolean
                              secretRef:
9586
9587
9588
9589
9590
                                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
9591
9592
9593
                                properties:
                                  name:
                                    default: ""
9594
9595
9596
9597
9598
9599
                                    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
9600
9601
9602
9603
9604
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              user:
                                default: admin
9605
9606
9607
9608
                                description: |-
                                  user is the rados user name.
                                  Default is admin.
                                  More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9609
9610
9611
9612
9613
9614
                                type: string
                            required:
                              - image
                              - monitors
                            type: object
                          scaleIO:
9615
9616
9617
                            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.
9618
9619
9620
                            properties:
                              fsType:
                                default: xfs
9621
9622
9623
9624
9625
                                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".
9626
9627
                                type: string
                              gateway:
9628
                                description: gateway is the host address of the ScaleIO API Gateway.
9629
9630
                                type: string
                              protectionDomain:
9631
                                description: protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
9632
9633
                                type: string
                              readOnly:
9634
9635
9636
                                description: |-
                                  readOnly Defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
9637
9638
                                type: boolean
                              secretRef:
9639
9640
9641
                                description: |-
                                  secretRef references to the secret for ScaleIO user and other
                                  sensitive information. If this is not provided, Login operation will fail.
9642
9643
9644
                                properties:
                                  name:
                                    default: ""
9645
9646
9647
9648
9649
9650
                                    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
9651
9652
9653
9654
                                    type: string
                                type: object
                                x-kubernetes-map-type: atomic
                              sslEnabled:
9655
                                description: sslEnabled Flag enable/disable SSL communication with Gateway, default false
9656
9657
9658
                                type: boolean
                              storageMode:
                                default: ThinProvisioned
9659
9660
9661
                                description: |-
                                  storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
                                  Default is ThinProvisioned.
9662
9663
                                type: string
                              storagePool:
9664
                                description: storagePool is the ScaleIO Storage Pool associated with the protection domain.
9665
9666
                                type: string
                              system:
9667
                                description: system is the name of the storage system as configured in ScaleIO.
9668
9669
                                type: string
                              volumeName:
9670
9671
9672
                                description: |-
                                  volumeName is the name of a volume already created in the ScaleIO system
                                  that is associated with this volume source.
9673
9674
9675
9676
9677
9678
9679
                                type: string
                            required:
                              - gateway
                              - secretRef
                              - system
                            type: object
                          secret:
9680
9681
9682
                            description: |-
                              secret represents a secret that should populate this volume.
                              More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
9683
9684
                            properties:
                              defaultMode:
9685
9686
9687
9688
9689
9690
9691
9692
                                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.
9693
9694
9695
                                format: int32
                                type: integer
                              items:
9696
9697
9698
9699
9700
9701
9702
9703
                                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 '..'.
9704
                                items:
9705
                                  description: Maps a string key to a path within a volume.
9706
                                  properties:
9707
                                    key:
9708
                                      description: key is the key to project.
9709
                                      type: string
9710
                                    mode:
9711
9712
9713
9714
9715
9716
9717
                                      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.
9718
9719
9720
                                      format: int32
                                      type: integer
                                    path:
9721
9722
9723
9724
9725
                                      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 '..'.
9726
9727
                                      type: string
                                  required:
9728
                                    - key
9729
                                    - path
9730
9731
9732
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
9733
                              optional:
9734
                                description: optional field specify whether the Secret or its keys must be defined
9735
9736
                                type: boolean
                              secretName:
9737
9738
9739
                                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
9740
9741
9742
                                type: string
                            type: object
                          storageos:
9743
9744
9745
                            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.
9746
9747
                            properties:
                              fsType:
9748
9749
9750
9751
                                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.
9752
9753
                                type: string
                              readOnly:
9754
9755
9756
                                description: |-
                                  readOnly defaults to false (read/write). ReadOnly here will force
                                  the ReadOnly setting in VolumeMounts.
9757
9758
                                type: boolean
                              secretRef:
9759
9760
9761
                                description: |-
                                  secretRef specifies the secret to use for obtaining the StorageOS API
                                  credentials.  If not specified, default values will be attempted.
9762
9763
9764
                                properties:
                                  name:
                                    default: ""
9765
9766
9767
9768
9769
9770
                                    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
9771
                                    type: string
9772
                                type: object
9773
9774
                                x-kubernetes-map-type: atomic
                              volumeName:
9775
9776
9777
                                description: |-
                                  volumeName is the human-readable name of the StorageOS volume.  Volume
                                  names are only unique within a namespace.
9778
9779
                                type: string
                              volumeNamespace:
9780
9781
9782
9783
9784
9785
9786
                                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.
9787
9788
9789
                                type: string
                            type: object
                          vsphereVolume:
9790
9791
9792
9793
                            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.
9794
9795
                            properties:
                              fsType:
9796
9797
9798
9799
                                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.
9800
9801
                                type: string
                              storagePolicyID:
9802
                                description: storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
9803
9804
                                type: string
                              storagePolicyName:
9805
                                description: storagePolicyName is the storage Policy Based Management (SPBM) profile name.
9806
9807
                                type: string
                              volumePath:
9808
                                description: volumePath is the path that identifies vSphere volume vmdk
9809
9810
9811
                                type: string
                            required:
                              - volumePath
9812
                            type: object
9813
                        required:
9814
                          - name
9815
                        type: object
9816
                      type: array
9817
9818
9819
                      x-kubernetes-list-map-keys:
                        - name
                      x-kubernetes-list-type: map
9820
                  required: []
9821
                  type: object
9822
9823
9824
                globalDynamoNamespace:
                  description: GlobalDynamoNamespace indicates that the Component will be placed in the global Dynamo namespace
                  type: boolean
9825
                ingress:
9826
                  description: Ingress config to expose the component outside the cluster (or through a service mesh).
9827
9828
9829
                  properties:
                    annotations:
                      additionalProperties:
9830
                        type: string
9831
                      description: Annotations to set on the generated Ingress/VirtualService resources.
9832
9833
                      type: object
                    enabled:
9834
                      description: Enabled exposes the component through an ingress or virtual service when true.
9835
9836
                      type: boolean
                    host:
9837
                      description: Host is the base host name to route external traffic to this component.
9838
9839
                      type: string
                    hostPrefix:
9840
                      description: HostPrefix is an optional prefix added before the host.
9841
9842
                      type: string
                    hostSuffix:
9843
                      description: HostSuffix is an optional suffix appended after the host.
9844
9845
                      type: string
                    ingressControllerClassName:
9846
                      description: IngressControllerClassName selects the ingress controller class (e.g., "nginx").
9847
9848
9849
                      type: string
                    labels:
                      additionalProperties:
9850
                        type: string
9851
                      description: Labels to set on the generated Ingress/VirtualService resources.
9852
9853
                      type: object
                    tls:
9854
                      description: TLS holds the TLS configuration used by the Ingress/VirtualService.
9855
9856
                      properties:
                        secretName:
9857
                          description: SecretName is the name of a Kubernetes Secret containing the TLS certificate and key.
9858
9859
9860
                          type: string
                      type: object
                    useVirtualService:
9861
                      description: UseVirtualService indicates whether to configure a service-mesh VirtualService instead of a standard Ingress.
9862
9863
                      type: boolean
                    virtualServiceGateway:
9864
                      description: VirtualServiceGateway optionally specifies the gateway name to attach the VirtualService to.
9865
                      type: string
9866
9867
9868
                  type: object
                labels:
                  additionalProperties:
9869
                    type: string
9870
                  description: Labels to add to generated Kubernetes resources for this component.
9871
9872
                  type: object
                livenessProbe:
9873
                  description: LivenessProbe to detect and restart unhealthy containers.
9874
9875
                  properties:
                    exec:
9876
                      description: Exec specifies a command to execute in the container.
9877
9878
                      properties:
                        command:
9879
9880
9881
9882
9883
9884
                          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.
9885
9886
9887
9888
9889
9890
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
                      type: object
                    failureThreshold:
9891
9892
9893
                      description: |-
                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                        Defaults to 3. Minimum value is 1.
9894
9895
9896
                      format: int32
                      type: integer
                    grpc:
9897
                      description: GRPC specifies a GRPC HealthCheckRequest.
9898
                      properties:
9899
                        port:
9900
                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
9901
9902
9903
9904
                          format: int32
                          type: integer
                        service:
                          default: ""
9905
9906
9907
9908
9909
                          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.
9910
                          type: string
9911
9912
9913
9914
                      required:
                        - port
                      type: object
                    httpGet:
9915
                      description: HTTPGet specifies an HTTP GET request to perform.
9916
9917
                      properties:
                        host:
9918
9919
9920
                          description: |-
                            Host name to connect to, defaults to the pod IP. You probably want to set
                            "Host" in httpHeaders instead.
9921
                          type: string
9922
                        httpHeaders:
9923
                          description: Custom headers to set in the request. HTTP allows repeated headers.
9924
                          items:
9925
                            description: HTTPHeader describes a custom header to be used in HTTP probes
9926
9927
                            properties:
                              name:
9928
9929
9930
                                description: |-
                                  The header field name.
                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
9931
9932
                                type: string
                              value:
9933
                                description: The header field value
9934
9935
9936
9937
9938
9939
9940
9941
                                type: string
                            required:
                              - name
                              - value
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        path:
9942
                          description: Path to access on the HTTP server.
9943
                          type: string
9944
9945
9946
9947
                        port:
                          anyOf:
                            - type: integer
                            - type: string
9948
9949
9950
9951
                          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.
9952
9953
                          x-kubernetes-int-or-string: true
                        scheme:
9954
9955
9956
                          description: |-
                            Scheme to use for connecting to the host.
                            Defaults to HTTP.
9957
                          type: string
9958
9959
                      required:
                        - port
9960
                      type: object
9961
                    initialDelaySeconds:
9962
9963
9964
                      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
9965
9966
9967
                      format: int32
                      type: integer
                    periodSeconds:
9968
9969
9970
                      description: |-
                        How often (in seconds) to perform the probe.
                        Default to 10 seconds. Minimum value is 1.
9971
9972
9973
                      format: int32
                      type: integer
                    successThreshold:
9974
9975
9976
                      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.
9977
9978
9979
                      format: int32
                      type: integer
                    tcpSocket:
9980
                      description: TCPSocket specifies a connection to a TCP port.
9981
                      properties:
9982
                        host:
9983
                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
9984
9985
9986
9987
9988
                          type: string
                        port:
                          anyOf:
                            - type: integer
                            - type: string
9989
9990
9991
9992
                          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.
9993
9994
9995
9996
9997
                          x-kubernetes-int-or-string: true
                      required:
                        - port
                      type: object
                    terminationGracePeriodSeconds:
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
                      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.
10009
10010
10011
                      format: int64
                      type: integer
                    timeoutSeconds:
10012
10013
10014
10015
                      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
10016
10017
10018
                      format: int32
                      type: integer
                  type: object
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
                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
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
                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
10048
                readinessProbe:
10049
                  description: ReadinessProbe to signal when the container is ready to receive traffic.
10050
10051
                  properties:
                    exec:
10052
                      description: Exec specifies a command to execute in the container.
10053
10054
                      properties:
                        command:
10055
10056
10057
10058
10059
10060
                          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.
10061
10062
10063
10064
                          items:
                            type: string
                          type: array
                          x-kubernetes-list-type: atomic
10065
10066
                      type: object
                    failureThreshold:
10067
10068
10069
                      description: |-
                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                        Defaults to 3. Minimum value is 1.
10070
10071
10072
                      format: int32
                      type: integer
                    grpc:
10073
                      description: GRPC specifies a GRPC HealthCheckRequest.
10074
10075
                      properties:
                        port:
10076
                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
10077
10078
                          format: int32
                          type: integer
10079
10080
                        service:
                          default: ""
10081
10082
10083
10084
10085
                          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.
10086
                          type: string
10087
10088
10089
10090
                      required:
                        - port
                      type: object
                    httpGet:
10091
                      description: HTTPGet specifies an HTTP GET request to perform.
10092
10093
                      properties:
                        host:
10094
10095
10096
                          description: |-
                            Host name to connect to, defaults to the pod IP. You probably want to set
                            "Host" in httpHeaders instead.
10097
                          type: string
10098
                        httpHeaders:
10099
                          description: Custom headers to set in the request. HTTP allows repeated headers.
10100
                          items:
10101
                            description: HTTPHeader describes a custom header to be used in HTTP probes
10102
10103
                            properties:
                              name:
10104
10105
10106
                                description: |-
                                  The header field name.
                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
10107
10108
                                type: string
                              value:
10109
                                description: The header field value
10110
10111
10112
10113
10114
10115
10116
10117
                                type: string
                            required:
                              - name
                              - value
                            type: object
                          type: array
                          x-kubernetes-list-type: atomic
                        path:
10118
                          description: Path to access on the HTTP server.
10119
                          type: string
10120
10121
10122
10123
                        port:
                          anyOf:
                            - type: integer
                            - type: string
10124
10125
10126
10127
                          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.
10128
10129
                          x-kubernetes-int-or-string: true
                        scheme:
10130
10131
10132
                          description: |-
                            Scheme to use for connecting to the host.
                            Defaults to HTTP.
10133
10134
                          type: string
                      required:
10135
                        - port
10136
                      type: object
10137
                    initialDelaySeconds:
10138
10139
10140
                      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
10141
10142
10143
                      format: int32
                      type: integer
                    periodSeconds:
10144
10145
10146
                      description: |-
                        How often (in seconds) to perform the probe.
                        Default to 10 seconds. Minimum value is 1.
10147
10148
10149
                      format: int32
                      type: integer
                    successThreshold:
10150
10151
10152
                      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.
10153
10154
10155
                      format: int32
                      type: integer
                    tcpSocket:
10156
                      description: TCPSocket specifies a connection to a TCP port.
10157
10158
                      properties:
                        host:
10159
                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
10160
                          type: string
10161
10162
10163
10164
                        port:
                          anyOf:
                            - type: integer
                            - type: string
10165
10166
10167
10168
                          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.
10169
10170
10171
10172
10173
                          x-kubernetes-int-or-string: true
                      required:
                        - port
                      type: object
                    terminationGracePeriodSeconds:
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
                      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.
10185
10186
10187
                      format: int64
                      type: integer
                    timeoutSeconds:
10188
10189
10190
10191
                      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
10192
10193
10194
10195
                      format: int32
                      type: integer
                  type: object
                replicas:
10196
10197
                  description: |-
                    Replicas is the desired number of Pods for this component.
10198
                    When scalingAdapter is enabled, this field is managed by the
10199
                    DynamoGraphDeploymentScalingAdapter and should not be modified directly.
10200
                  format: int32
10201
                  minimum: 0
10202
10203
                  type: integer
                resources:
10204
10205
10206
                  description: |-
                    Resources requested and limits for this component, including CPU, memory,
                    GPUs/devices, and any runtime-specific resources.
10207
                  properties:
10208
                    claims:
10209
                      description: Claims specifies resource claims for dynamic resource allocation
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
                      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
10229
                    limits:
10230
                      description: Limits specifies the maximum resources allowed for the component
10231
10232
                      properties:
                        cpu:
10233
                          description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
10234
10235
10236
10237
                          type: string
                        custom:
                          additionalProperties:
                            type: string
10238
                          description: Custom specifies additional custom resource requests/limits
10239
                          type: object
10240
                        gpu:
10241
                          description: |-
10242
10243
10244
10245
10246
10247
10248
                            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"
10249
                          type: string
10250
                        memory:
10251
                          description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
10252
10253
10254
                          type: string
                      type: object
                    requests:
10255
                      description: Requests specifies the minimum resources required by the component
10256
10257
                      properties:
                        cpu:
10258
                          description: CPU specifies the CPU resource request/limit (e.g., "1000m", "2")
10259
10260
10261
10262
                          type: string
                        custom:
                          additionalProperties:
                            type: string
10263
                          description: Custom specifies additional custom resource requests/limits
10264
                          type: object
10265
                        gpu:
10266
                          description: |-
10267
10268
10269
10270
10271
10272
10273
                            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"
10274
                          type: string
10275
                        memory:
10276
                          description: Memory specifies the memory resource request/limit (e.g., "4Gi", "8Gi")
10277
10278
10279
                          type: string
                      type: object
                  type: object
10280
10281
10282
                scalingAdapter:
                  description: |-
                    ScalingAdapter configures whether this service uses the DynamoGraphDeploymentScalingAdapter.
10283
                    When enabled, replicas are managed via DGDSA and external autoscalers can scale
10284
10285
                    the service using the Scale subresource. When disabled, replicas can be modified directly.
                  properties:
10286
                    enabled:
10287
10288
                      default: false
                      description: |-
10289
10290
10291
                        Enabled indicates whether the ScalingAdapter should be enabled for this service.
                        When true, a DGDSA is created and owns the replicas field.
                        When false (default), no DGDSA is created and replicas can be modified directly in the DGD.
10292
10293
                      type: boolean
                  type: object
10294
                serviceName:
10295
                  description: The name of the component
10296
                  type: string
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
                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
10309
10310
10311
                subComponentType:
                  description: SubComponentType indicates the sub-role of this component (for example, "prefill").
                  type: string
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
                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
10336
10337
              type: object
            status:
10338
              description: Status reflects the current observed state of the component deployment.
10339
10340
              properties:
                conditions:
10341
10342
10343
                  description: |-
                    Conditions captures the latest observed state of the component (including
                    availability and readiness) using standard Kubernetes condition types.
10344
                  items:
10345
                    description: Condition contains details for one aspect of the current state of this API Resource.
10346
10347
                    properties:
                      lastTransitionTime:
10348
10349
10350
                        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.
10351
                        format: date-time
10352
                        type: string
10353
                      message:
10354
10355
10356
                        description: |-
                          message is a human readable message indicating details about the transition.
                          This may be an empty string.
10357
                        maxLength: 32768
10358
                        type: string
10359
                      observedGeneration:
10360
10361
10362
10363
                        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.
10364
10365
10366
10367
                        format: int64
                        minimum: 0
                        type: integer
                      reason:
10368
10369
10370
10371
10372
10373
                        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.
10374
10375
10376
                        maxLength: 1024
                        minLength: 1
                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
10377
                        type: string
10378
                      status:
10379
                        description: status of the condition, one of True, False, Unknown.
10380
10381
10382
10383
                        enum:
                          - "True"
                          - "False"
                          - Unknown
10384
                        type: string
10385
                      type:
10386
                        description: type of condition in CamelCase or in foo.example.com/CamelCase.
10387
10388
                        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])$
10389
                        type: string
10390
10391
10392
10393
10394
10395
                    required:
                      - lastTransitionTime
                      - message
                      - reason
                      - status
                      - type
10396
                    type: object
10397
                  type: array
10398
10399
10400
10401
                observedGeneration:
                  description: ObservedGeneration is the most recent generation observed by the controller.
                  format: int64
                  type: integer
10402
10403
10404
                podSelector:
                  additionalProperties:
                    type: string
10405
10406
10407
                  description: |-
                    PodSelector contains the labels that can be used to select Pods belonging to
                    this component deployment.
10408
                  type: object
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
10456
10457
10458
10459
10460
10461
                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
10462
10463
10464
10465
10466
10467
10468
10469
              required:
                - conditions
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}