nvidia.com_dynamocomponentdeployments.yaml 689 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

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