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

                                            If this is not specified, the default behavior is defined by gRPC.
2489
2490
2491
2492
2493
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
2494
                                      description: HTTPGet specifies an HTTP GET request to perform.
2495
2496
                                      properties:
                                        host:
2497
2498
2499
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2500
2501
                                          type: string
                                        httpHeaders:
2502
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2503
                                          items:
2504
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2505
2506
                                            properties:
                                              name:
2507
2508
2509
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2510
2511
                                                type: string
                                              value:
2512
                                                description: The header field value
2513
2514
                                                type: string
                                            required:
2515
2516
                                              - name
                                              - value
2517
2518
2519
2520
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2521
                                          description: Path to access on the HTTP server.
2522
2523
2524
                                          type: string
                                        port:
                                          anyOf:
2525
2526
                                            - type: integer
                                            - type: string
2527
2528
2529
2530
                                          description: |-
                                            Name or number of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
2531
2532
                                          x-kubernetes-int-or-string: true
                                        scheme:
2533
2534
2535
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2536
2537
                                          type: string
                                      required:
2538
                                        - port
2539
2540
                                      type: object
                                    initialDelaySeconds:
2541
2542
2543
                                      description: |-
                                        Number of seconds after the container has started before liveness probes are initiated.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2544
2545
2546
                                      format: int32
                                      type: integer
                                    periodSeconds:
2547
2548
2549
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2550
2551
2552
                                      format: int32
                                      type: integer
                                    successThreshold:
2553
2554
2555
                                      description: |-
                                        Minimum consecutive successes for the probe to be considered successful after having failed.
                                        Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
2556
2557
2558
                                      format: int32
                                      type: integer
                                    tcpSocket:
2559
                                      description: TCPSocket specifies a connection to a TCP port.
2560
2561
                                      properties:
                                        host:
2562
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
2563
                                          type: string
2564
2565
2566
2567
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
2568
2569
2570
2571
                                          description: |-
                                            Number or name of the port to access on the container.
                                            Number must be in the range 1 to 65535.
                                            Name must be an IANA_SVC_NAME.
2572
2573
2574
2575
2576
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
                                      description: |-
                                        Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
                                        The grace period is the duration in seconds after the processes running in the pod are sent
                                        a termination signal and the time when the processes are forcibly halted with a kill signal.
                                        Set this value longer than the expected cleanup time for your process.
                                        If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
                                        value overrides the value provided by the pod spec.
                                        Value must be non-negative integer. The value zero indicates stop immediately via
                                        the kill signal (no opportunity to shut down).
                                        This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
                                        Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
2588
2589
2590
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
2591
2592
2593
2594
                                      description: |-
                                        Number of seconds after which the probe times out.
                                        Defaults to 1 second. Minimum value is 1.
                                        More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2595
2596
2597
2598
                                      format: int32
                                      type: integer
                                  type: object
                                resizePolicy:
2599
                                  description: Resources resize policy for the container.
2600
                                  items:
2601
                                    description: ContainerResizePolicy represents resource resize policy for the container.
2602
                                    properties:
2603
                                      resourceName:
2604
2605
2606
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
2607
2608
                                        type: string
                                      restartPolicy:
2609
2610
2611
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
2612
2613
                                        type: string
                                    required:
2614
2615
                                      - resourceName
                                      - restartPolicy
2616
                                    type: object
2617
2618
2619
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
2620
2621
2622
2623
                                  description: |-
                                    Compute Resources required by this container.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2624
2625
                                  properties:
                                    claims:
2626
2627
2628
2629
2630
2631
2632
2633
                                      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.
2634
                                      items:
2635
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
2636
2637
                                        properties:
                                          name:
2638
2639
2640
2641
                                            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.
2642
2643
                                            type: string
                                          request:
2644
2645
2646
2647
                                            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.
2648
2649
                                            type: string
                                        required:
2650
                                          - name
2651
2652
2653
2654
2655
2656
2657
                                        type: object
                                      type: array
                                      x-kubernetes-list-map-keys:
                                        - name
                                      x-kubernetes-list-type: map
                                    limits:
                                      additionalProperties:
2658
                                        anyOf:
2659
2660
2661
                                          - type: integer
                                          - type: string
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
2662
                                        x-kubernetes-int-or-string: true
2663
2664
2665
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
2666
2667
2668
                                      type: object
                                    requests:
                                      additionalProperties:
2669
                                        anyOf:
2670
2671
2672
                                          - type: integer
                                          - type: string
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
2673
                                        x-kubernetes-int-or-string: true
2674
2675
2676
2677
2678
                                      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/
2679
2680
2681
                                      type: object
                                  type: object
                                restartPolicy:
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
                                  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.
2698
2699
                                  type: string
                                securityContext:
2700
2701
2702
2703
                                  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/
2704
                                  properties:
2705
                                    allowPrivilegeEscalation:
2706
2707
2708
2709
2710
2711
2712
2713
                                      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.
2714
2715
                                      type: boolean
                                    appArmorProfile:
2716
2717
2718
2719
                                      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.
2720
2721
                                      properties:
                                        localhostProfile:
2722
2723
2724
2725
2726
                                          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".
2727
2728
                                          type: string
                                        type:
2729
2730
2731
2732
2733
2734
                                          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.
2735
2736
2737
2738
2739
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
2740
2741
2742
2743
                                      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.
2744
2745
                                      properties:
                                        add:
2746
                                          description: Added capabilities
2747
                                          items:
2748
                                            description: Capability represent POSIX capabilities type
2749
2750
2751
2752
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
2753
                                          description: Removed capabilities
2754
                                          items:
2755
                                            description: Capability represent POSIX capabilities type
2756
2757
2758
2759
2760
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
2761
2762
2763
2764
2765
                                      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.
2766
2767
                                      type: boolean
                                    procMount:
2768
2769
2770
2771
2772
2773
                                      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.
2774
2775
                                      type: string
                                    readOnlyRootFilesystem:
2776
2777
2778
2779
                                      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.
2780
2781
                                      type: boolean
                                    runAsGroup:
2782
2783
2784
2785
2786
2787
                                      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.
2788
2789
2790
                                      format: int64
                                      type: integer
                                    runAsNonRoot:
2791
2792
2793
2794
2795
2796
2797
                                      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.
2798
2799
                                      type: boolean
                                    runAsUser:
2800
2801
2802
2803
2804
2805
                                      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.
2806
2807
2808
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
2809
2810
2811
2812
2813
2814
                                      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.
2815
2816
                                      properties:
                                        level:
2817
                                          description: Level is SELinux level label that applies to the container.
2818
2819
                                          type: string
                                        role:
2820
                                          description: Role is a SELinux role label that applies to the container.
2821
2822
                                          type: string
                                        type:
2823
                                          description: Type is a SELinux type label that applies to the container.
2824
2825
                                          type: string
                                        user:
2826
                                          description: User is a SELinux user label that applies to the container.
2827
2828
2829
                                          type: string
                                      type: object
                                    seccompProfile:
2830
2831
2832
2833
2834
                                      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.
2835
2836
                                      properties:
                                        localhostProfile:
2837
2838
2839
2840
2841
                                          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.
2842
2843
                                          type: string
                                        type:
2844
2845
2846
2847
2848
2849
2850
                                          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.
2851
2852
2853
2854
2855
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
2856
2857
2858
2859
2860
                                      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.
2861
2862
                                      properties:
                                        gmsaCredentialSpec:
2863
2864
2865
2866
                                          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.
2867
2868
                                          type: string
                                        gmsaCredentialSpecName:
2869
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
2870
2871
                                          type: string
                                        hostProcess:
2872
2873
2874
2875
2876
                                          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.
2877
2878
                                          type: boolean
                                        runAsUserName:
2879
2880
2881
2882
2883
                                          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.
2884
2885
2886
2887
                                          type: string
                                      type: object
                                  type: object
                                startupProbe:
2888
2889
2890
2891
2892
2893
2894
2895
                                  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
2896
2897
                                  properties:
                                    exec:
2898
                                      description: Exec specifies a command to execute in the container.
2899
2900
                                      properties:
                                        command:
2901
2902
2903
2904
2905
2906
                                          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.
2907
2908
2909
2910
2911
2912
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
2913
2914
2915
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
2916
2917
                                      format: int32
                                      type: integer
2918
                                    grpc:
2919
                                      description: GRPC specifies a GRPC HealthCheckRequest.
2920
2921
                                      properties:
                                        port:
2922
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
2923
2924
2925
2926
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
2927
2928
2929
2930
2931
                                          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.
2932
2933
2934
2935
2936
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
2937
                                      description: HTTPGet specifies an HTTP GET request to perform.
2938
2939
                                      properties:
                                        host:
2940
2941
2942
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
2943
2944
                                          type: string
                                        httpHeaders:
2945
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
2946
                                          items:
2947
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
2948
2949
                                            properties:
                                              name:
2950
2951
2952
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
2953
2954
                                                type: string
                                              value:
2955
                                                description: The header field value
2956
2957
2958
2959
2960
2961
2962
2963
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
2964
                                          description: Path to access on the HTTP server.
2965
2966
2967
2968
2969
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
2970
2971
2972
2973
                                          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.
2974
2975
                                          x-kubernetes-int-or-string: true
                                        scheme:
2976
2977
2978
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
2979
2980
2981
2982
2983
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
2984
2985
2986
                                      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
2987
2988
                                      format: int32
                                      type: integer
2989
                                    periodSeconds:
2990
2991
2992
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
2993
2994
2995
                                      format: int32
                                      type: integer
                                    successThreshold:
2996
2997
2998
                                      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.
2999
3000
3001
                                      format: int32
                                      type: integer
                                    tcpSocket:
3002
                                      description: TCPSocket specifies a connection to a TCP port.
3003
3004
                                      properties:
                                        host:
3005
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
3006
                                          type: string
3007
3008
3009
3010
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3011
3012
3013
3014
                                          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.
3015
3016
3017
3018
3019
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
                                      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.
3031
3032
3033
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
3034
3035
3036
3037
                                      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
3038
3039
3040
3041
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
3042
3043
3044
3045
                                  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.
3046
3047
                                  type: boolean
                                stdinOnce:
3048
3049
3050
3051
3052
3053
3054
3055
                                  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
3056
3057
                                  type: boolean
                                terminationMessagePath:
3058
3059
3060
3061
3062
3063
3064
3065
                                  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.
3066
3067
                                  type: string
                                terminationMessagePolicy:
3068
3069
3070
3071
3072
3073
3074
3075
                                  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.
3076
3077
                                  type: string
                                tty:
3078
3079
3080
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
3081
3082
                                  type: boolean
                                volumeDevices:
3083
                                  description: volumeDevices is the list of block devices to be used by the container.
3084
                                  items:
3085
                                    description: volumeDevice describes a mapping of a raw block device within a container.
3086
3087
                                    properties:
                                      devicePath:
3088
                                        description: devicePath is the path inside of the container that the device will be mapped to.
3089
                                        type: string
3090
                                      name:
3091
                                        description: name must match the name of a persistentVolumeClaim in the pod
3092
3093
                                        type: string
                                    required:
3094
3095
                                      - devicePath
                                      - name
3096
                                    type: object
3097
3098
3099
3100
3101
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
3102
3103
3104
                                  description: |-
                                    Pod volumes to mount into the container's filesystem.
                                    Cannot be updated.
3105
                                  items:
3106
                                    description: VolumeMount describes a mounting of a Volume within a container.
3107
                                    properties:
3108
                                      mountPath:
3109
3110
3111
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
3112
3113
                                        type: string
                                      mountPropagation:
3114
3115
3116
3117
3118
3119
3120
                                        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).
3121
3122
                                        type: string
                                      name:
3123
                                        description: This must match the Name of a Volume.
3124
3125
                                        type: string
                                      readOnly:
3126
3127
3128
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
3129
3130
                                        type: boolean
                                      recursiveReadOnly:
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
                                        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.
3148
3149
                                        type: string
                                      subPath:
3150
3151
3152
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
3153
3154
                                        type: string
                                      subPathExpr:
3155
3156
3157
3158
3159
                                        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.
3160
3161
                                        type: string
                                    required:
3162
3163
                                      - mountPath
                                      - name
3164
                                    type: object
3165
3166
3167
3168
3169
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
3170
3171
3172
3173
3174
                                  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.
3175
3176
3177
3178
3179
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
3180
3181
3182
3183
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          dnsConfig:
3184
3185
3186
3187
                            description: |-
                              Specifies the DNS parameters of a pod.
                              Parameters specified here will be merged to the generated DNS
                              configuration based on DNSPolicy.
3188
                            properties:
3189
                              nameservers:
3190
3191
3192
3193
                                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.
3194
3195
3196
3197
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
3198
                              options:
3199
3200
3201
3202
3203
                                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.
3204
                                items:
3205
                                  description: PodDNSConfigOption defines DNS resolver options of a pod.
3206
                                  properties:
3207
                                    name:
3208
3209
3210
                                      description: |-
                                        Name is this DNS resolver option's name.
                                        Required.
3211
                                      type: string
3212
                                    value:
3213
                                      description: Value is this DNS resolver option's value.
3214
                                      type: string
3215
3216
3217
3218
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              searches:
3219
3220
3221
3222
                                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.
3223
3224
3225
3226
3227
3228
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          dnsPolicy:
3229
3230
3231
3232
3233
3234
3235
                            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'.
3236
3237
                            type: string
                          enableServiceLinks:
3238
3239
3240
3241
                            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.
3242
3243
                            type: boolean
                          ephemeralContainers:
3244
3245
3246
3247
3248
                            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.
3249
                            items:
3250
3251
3252
3253
3254
3255
3256
3257
3258
                              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.
3259
3260
                              properties:
                                args:
3261
3262
3263
3264
3265
3266
3267
3268
3269
                                  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
3270
3271
3272
3273
3274
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                command:
3275
3276
3277
3278
3279
3280
3281
3282
3283
                                  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
3284
3285
3286
3287
3288
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
3289
3290
3291
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
3292
                                  items:
3293
                                    description: EnvVar represents an environment variable present in a Container.
3294
3295
                                    properties:
                                      name:
3296
                                        description: Name of the environment variable. Must be a C_IDENTIFIER.
3297
3298
                                        type: string
                                      value:
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
                                        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 "".
3309
3310
                                        type: string
                                      valueFrom:
3311
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
3312
3313
                                        properties:
                                          configMapKeyRef:
3314
                                            description: Selects a key of a ConfigMap.
3315
3316
                                            properties:
                                              key:
3317
                                                description: The key to select.
3318
3319
3320
                                                type: string
                                              name:
                                                default: ""
3321
3322
3323
3324
3325
3326
                                                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
3327
3328
                                                type: string
                                              optional:
3329
                                                description: Specify whether the ConfigMap or its key must be defined
3330
3331
3332
3333
3334
3335
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          fieldRef:
3336
3337
3338
                                            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.
3339
3340
                                            properties:
                                              apiVersion:
3341
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
3342
3343
                                                type: string
                                              fieldPath:
3344
                                                description: Path of the field to select in the specified API version.
3345
3346
3347
3348
3349
3350
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          resourceFieldRef:
3351
3352
3353
                                            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.
3354
3355
                                            properties:
                                              containerName:
3356
                                                description: 'Container name: required for volumes, optional for env vars'
3357
3358
3359
3360
3361
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
3362
                                                description: Specifies the output format of the exposed resources, defaults to "1"
3363
3364
3365
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
3366
                                                description: 'Required: resource to select'
3367
3368
3369
3370
3371
3372
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
3373
                                            description: Selects a key of a secret in the pod's namespace
3374
3375
                                            properties:
                                              key:
3376
                                                description: The key of the secret to select from.  Must be a valid secret key.
3377
3378
3379
                                                type: string
                                              name:
                                                default: ""
3380
3381
3382
3383
3384
3385
                                                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
3386
3387
                                                type: string
                                              optional:
3388
                                                description: Specify whether the Secret or its key must be defined
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
                                                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:
3403
3404
3405
3406
3407
3408
3409
                                  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.
3410
                                  items:
3411
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
3412
3413
                                    properties:
                                      configMapRef:
3414
                                        description: The ConfigMap to select from
3415
3416
3417
                                        properties:
                                          name:
                                            default: ""
3418
3419
3420
3421
3422
3423
                                            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
3424
3425
                                            type: string
                                          optional:
3426
                                            description: Specify whether the ConfigMap must be defined
3427
3428
3429
3430
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      prefix:
3431
                                        description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
3432
3433
                                        type: string
                                      secretRef:
3434
                                        description: The Secret to select from
3435
3436
3437
                                        properties:
                                          name:
                                            default: ""
3438
3439
3440
3441
3442
3443
                                            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
3444
3445
                                            type: string
                                          optional:
3446
                                            description: Specify whether the Secret must be defined
3447
3448
3449
3450
3451
3452
3453
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                image:
3454
3455
3456
                                  description: |-
                                    Container image name.
                                    More info: https://kubernetes.io/docs/concepts/containers/images
3457
3458
                                  type: string
                                imagePullPolicy:
3459
3460
3461
3462
3463
3464
                                  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
3465
3466
                                  type: string
                                lifecycle:
3467
                                  description: Lifecycle is not allowed for ephemeral containers.
3468
3469
                                  properties:
                                    postStart:
3470
3471
3472
3473
3474
                                      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
3475
                                      properties:
3476
                                        exec:
3477
                                          description: Exec specifies a command to execute in the container.
3478
                                          properties:
3479
                                            command:
3480
3481
3482
3483
3484
3485
                                              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.
3486
3487
3488
3489
3490
3491
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
3492
                                          description: HTTPGet specifies an HTTP GET request to perform.
3493
3494
                                          properties:
                                            host:
3495
3496
3497
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
3498
                                              type: string
3499
                                            httpHeaders:
3500
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
3501
                                              items:
3502
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
3503
3504
                                                properties:
                                                  name:
3505
3506
3507
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
3508
3509
                                                    type: string
                                                  value:
3510
                                                    description: The header field value
3511
3512
3513
3514
3515
3516
3517
3518
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
3519
                                              description: Path to access on the HTTP server.
3520
3521
3522
3523
3524
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
3525
3526
3527
3528
                                              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.
3529
3530
                                              x-kubernetes-int-or-string: true
                                            scheme:
3531
3532
3533
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
3534
3535
                                              type: string
                                          required:
3536
                                            - port
3537
                                          type: object
3538
                                        sleep:
3539
                                          description: Sleep represents a duration that the container should sleep.
3540
                                          properties:
3541
                                            seconds:
3542
                                              description: Seconds is the number of seconds to sleep.
3543
3544
                                              format: int64
                                              type: integer
3545
                                          required:
3546
                                            - seconds
3547
                                          type: object
3548
                                        tcpSocket:
3549
3550
3551
3552
                                          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.
3553
                                          properties:
3554
                                            host:
3555
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
3556
                                              type: string
3557
                                            port:
3558
3559
3560
                                              anyOf:
                                                - type: integer
                                                - type: string
3561
3562
3563
3564
                                              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.
3565
3566
                                              x-kubernetes-int-or-string: true
                                          required:
3567
                                            - port
3568
                                          type: object
3569
3570
                                      type: object
                                    preStop:
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
                                      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
3581
3582
                                      properties:
                                        exec:
3583
                                          description: Exec specifies a command to execute in the container.
3584
                                          properties:
3585
                                            command:
3586
3587
3588
3589
3590
3591
                                              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.
3592
3593
3594
3595
3596
3597
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
3598
                                          description: HTTPGet specifies an HTTP GET request to perform.
3599
3600
                                          properties:
                                            host:
3601
3602
3603
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
3604
                                              type: string
3605
                                            httpHeaders:
3606
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
3607
                                              items:
3608
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
3609
3610
                                                properties:
                                                  name:
3611
3612
3613
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
3614
3615
                                                    type: string
                                                  value:
3616
                                                    description: The header field value
3617
3618
3619
3620
3621
3622
3623
3624
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
3625
                                              description: Path to access on the HTTP server.
3626
3627
3628
3629
3630
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
3631
3632
3633
3634
                                              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.
3635
3636
                                              x-kubernetes-int-or-string: true
                                            scheme:
3637
3638
3639
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
3640
3641
                                              type: string
                                          required:
3642
                                            - port
3643
                                          type: object
3644
                                        sleep:
3645
                                          description: Sleep represents a duration that the container should sleep.
3646
3647
                                          properties:
                                            seconds:
3648
                                              description: Seconds is the number of seconds to sleep.
3649
3650
3651
3652
3653
3654
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
3655
3656
3657
3658
                                          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.
3659
3660
                                          properties:
                                            host:
3661
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
3662
3663
3664
3665
3666
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
3667
3668
3669
3670
                                              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.
3671
3672
3673
3674
3675
3676
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    stopSignal:
3677
3678
3679
3680
                                      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
3681
3682
3683
                                      type: string
                                  type: object
                                livenessProbe:
3684
                                  description: Probes are not allowed for ephemeral containers.
3685
3686
                                  properties:
                                    exec:
3687
                                      description: Exec specifies a command to execute in the container.
3688
3689
                                      properties:
                                        command:
3690
3691
3692
3693
3694
3695
                                          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.
3696
3697
3698
3699
3700
3701
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
3702
3703
3704
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
3705
3706
3707
                                      format: int32
                                      type: integer
                                    grpc:
3708
                                      description: GRPC specifies a GRPC HealthCheckRequest.
3709
3710
                                      properties:
                                        port:
3711
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3712
3713
3714
                                          format: int32
                                          type: integer
                                        service:
3715
                                          default: ""
3716
3717
3718
3719
3720
                                          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.
3721
                                          type: string
3722
3723
                                      required:
                                        - port
3724
                                      type: object
3725
                                    httpGet:
3726
                                      description: HTTPGet specifies an HTTP GET request to perform.
3727
                                      properties:
3728
                                        host:
3729
3730
3731
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
3732
3733
                                          type: string
                                        httpHeaders:
3734
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
3735
                                          items:
3736
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
3737
3738
                                            properties:
                                              name:
3739
3740
3741
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
3742
3743
                                                type: string
                                              value:
3744
                                                description: The header field value
3745
3746
3747
3748
3749
3750
3751
3752
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
3753
                                          description: Path to access on the HTTP server.
3754
3755
3756
3757
3758
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3759
3760
3761
3762
                                          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.
3763
3764
                                          x-kubernetes-int-or-string: true
                                        scheme:
3765
3766
3767
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
3768
3769
3770
3771
3772
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
3773
3774
3775
                                      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
3776
3777
3778
                                      format: int32
                                      type: integer
                                    periodSeconds:
3779
3780
3781
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
3782
3783
3784
                                      format: int32
                                      type: integer
                                    successThreshold:
3785
3786
3787
                                      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.
3788
3789
3790
                                      format: int32
                                      type: integer
                                    tcpSocket:
3791
                                      description: TCPSocket specifies a connection to a TCP port.
3792
3793
                                      properties:
                                        host:
3794
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
3795
3796
3797
3798
3799
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3800
3801
3802
3803
                                          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.
3804
3805
3806
3807
3808
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
                                      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.
3820
3821
3822
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
3823
3824
3825
3826
                                      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
3827
3828
3829
3830
                                      format: int32
                                      type: integer
                                  type: object
                                name:
3831
3832
3833
                                  description: |-
                                    Name of the ephemeral container specified as a DNS_LABEL.
                                    This name must be unique among all containers, init containers and ephemeral containers.
3834
3835
                                  type: string
                                ports:
3836
                                  description: Ports are not allowed for ephemeral containers.
3837
                                  items:
3838
                                    description: ContainerPort represents a network port in a single container.
3839
3840
                                    properties:
                                      containerPort:
3841
3842
3843
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
3844
3845
3846
                                        format: int32
                                        type: integer
                                      hostIP:
3847
                                        description: What host IP to bind the external port to.
3848
3849
                                        type: string
                                      hostPort:
3850
3851
3852
3853
3854
                                        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.
3855
3856
3857
                                        format: int32
                                        type: integer
                                      name:
3858
3859
3860
3861
                                        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.
3862
3863
3864
                                        type: string
                                      protocol:
                                        default: TCP
3865
3866
3867
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
                                        type: string
                                    required:
                                      - containerPort
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
3878
                                  description: Probes are not allowed for ephemeral containers.
3879
3880
                                  properties:
                                    exec:
3881
                                      description: Exec specifies a command to execute in the container.
3882
3883
                                      properties:
                                        command:
3884
3885
3886
3887
3888
3889
                                          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.
3890
3891
3892
3893
3894
3895
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
3896
3897
3898
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
3899
3900
3901
                                      format: int32
                                      type: integer
                                    grpc:
3902
                                      description: GRPC specifies a GRPC HealthCheckRequest.
3903
3904
                                      properties:
                                        port:
3905
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
3906
3907
3908
                                          format: int32
                                          type: integer
                                        service:
3909
                                          default: ""
3910
3911
3912
3913
3914
                                          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.
3915
                                          type: string
3916
3917
                                      required:
                                        - port
3918
                                      type: object
3919
                                    httpGet:
3920
                                      description: HTTPGet specifies an HTTP GET request to perform.
3921
3922
                                      properties:
                                        host:
3923
3924
3925
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
3926
3927
                                          type: string
                                        httpHeaders:
3928
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
3929
                                          items:
3930
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
3931
3932
                                            properties:
                                              name:
3933
3934
3935
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
3936
3937
                                                type: string
                                              value:
3938
                                                description: The header field value
3939
3940
3941
3942
3943
3944
3945
3946
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
3947
                                          description: Path to access on the HTTP server.
3948
3949
3950
3951
3952
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3953
3954
3955
3956
                                          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.
3957
3958
                                          x-kubernetes-int-or-string: true
                                        scheme:
3959
3960
3961
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
3962
3963
3964
3965
3966
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
3967
3968
3969
                                      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
3970
3971
3972
                                      format: int32
                                      type: integer
                                    periodSeconds:
3973
3974
3975
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
3976
3977
3978
                                      format: int32
                                      type: integer
                                    successThreshold:
3979
3980
3981
                                      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.
3982
3983
3984
                                      format: int32
                                      type: integer
                                    tcpSocket:
3985
                                      description: TCPSocket specifies a connection to a TCP port.
3986
3987
                                      properties:
                                        host:
3988
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
3989
3990
3991
3992
3993
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
3994
3995
3996
3997
                                          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.
3998
3999
4000
4001
4002
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
                                      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.
4014
4015
4016
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
4017
4018
4019
4020
                                      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
4021
4022
                                      format: int32
                                      type: integer
4023
                                  type: object
4024
                                resizePolicy:
4025
                                  description: Resources resize policy for the container.
4026
                                  items:
4027
                                    description: ContainerResizePolicy represents resource resize policy for the container.
4028
                                    properties:
4029
                                      resourceName:
4030
4031
4032
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
4033
4034
                                        type: string
                                      restartPolicy:
4035
4036
4037
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
4038
4039
4040
4041
4042
4043
4044
4045
                                        type: string
                                    required:
                                      - resourceName
                                      - restartPolicy
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
4046
4047
4048
                                  description: |-
                                    Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
                                    already allocated to the pod.
4049
4050
                                  properties:
                                    claims:
4051
4052
4053
4054
4055
4056
4057
4058
                                      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.
4059
                                      items:
4060
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
4061
                                        properties:
4062
                                          name:
4063
4064
4065
4066
                                            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.
4067
                                            type: string
4068
                                          request:
4069
4070
4071
4072
                                            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.
4073
4074
                                            type: string
                                        required:
4075
                                          - name
4076
                                        type: object
4077
4078
4079
4080
4081
4082
                                      type: array
                                      x-kubernetes-list-map-keys:
                                        - name
                                      x-kubernetes-list-type: map
                                    limits:
                                      additionalProperties:
4083
                                        anyOf:
4084
4085
                                          - type: integer
                                          - type: string
4086
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4087
                                        x-kubernetes-int-or-string: true
4088
4089
4090
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
4091
4092
4093
                                      type: object
                                    requests:
                                      additionalProperties:
4094
                                        anyOf:
4095
4096
                                          - type: integer
                                          - type: string
4097
                                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4098
                                        x-kubernetes-int-or-string: true
4099
4100
4101
4102
4103
                                      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/
4104
4105
4106
                                      type: object
                                  type: object
                                restartPolicy:
4107
4108
4109
4110
4111
                                  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.
4112
4113
                                  type: string
                                securityContext:
4114
4115
4116
                                  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.
4117
                                  properties:
4118
                                    allowPrivilegeEscalation:
4119
4120
4121
4122
4123
4124
4125
4126
                                      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.
4127
4128
                                      type: boolean
                                    appArmorProfile:
4129
4130
4131
4132
                                      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.
4133
4134
                                      properties:
                                        localhostProfile:
4135
4136
4137
4138
4139
                                          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".
4140
4141
                                          type: string
                                        type:
4142
4143
4144
4145
4146
4147
                                          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.
4148
4149
4150
4151
4152
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
4153
4154
4155
4156
                                      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.
4157
4158
                                      properties:
                                        add:
4159
                                          description: Added capabilities
4160
                                          items:
4161
                                            description: Capability represent POSIX capabilities type
4162
4163
4164
4165
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
4166
                                          description: Removed capabilities
4167
                                          items:
4168
                                            description: Capability represent POSIX capabilities type
4169
4170
4171
4172
4173
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
4174
4175
4176
4177
4178
                                      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.
4179
4180
                                      type: boolean
                                    procMount:
4181
4182
4183
4184
4185
4186
                                      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.
4187
                                      type: string
4188
                                    readOnlyRootFilesystem:
4189
4190
4191
4192
                                      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.
4193
4194
                                      type: boolean
                                    runAsGroup:
4195
4196
4197
4198
4199
4200
                                      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.
4201
                                      format: int64
4202
                                      type: integer
4203
                                    runAsNonRoot:
4204
4205
4206
4207
4208
4209
4210
                                      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.
4211
4212
                                      type: boolean
                                    runAsUser:
4213
4214
4215
4216
4217
4218
                                      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.
4219
4220
4221
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
4222
4223
4224
4225
4226
4227
                                      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.
4228
4229
                                      properties:
                                        level:
4230
                                          description: Level is SELinux level label that applies to the container.
4231
4232
                                          type: string
                                        role:
4233
                                          description: Role is a SELinux role label that applies to the container.
4234
4235
                                          type: string
                                        type:
4236
                                          description: Type is a SELinux type label that applies to the container.
4237
4238
                                          type: string
                                        user:
4239
                                          description: User is a SELinux user label that applies to the container.
4240
4241
4242
                                          type: string
                                      type: object
                                    seccompProfile:
4243
4244
4245
4246
4247
                                      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.
4248
4249
                                      properties:
                                        localhostProfile:
4250
4251
4252
4253
4254
                                          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.
4255
4256
                                          type: string
                                        type:
4257
4258
4259
4260
4261
4262
4263
                                          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.
4264
4265
4266
4267
4268
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
4269
4270
4271
4272
4273
                                      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.
4274
4275
                                      properties:
                                        gmsaCredentialSpec:
4276
4277
4278
4279
                                          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.
4280
4281
                                          type: string
                                        gmsaCredentialSpecName:
4282
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
4283
4284
                                          type: string
                                        hostProcess:
4285
4286
4287
4288
4289
                                          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.
4290
4291
                                          type: boolean
                                        runAsUserName:
4292
4293
4294
4295
4296
                                          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.
4297
4298
                                          type: string
                                      type: object
4299
                                  type: object
4300
                                startupProbe:
4301
                                  description: Probes are not allowed for ephemeral containers.
4302
4303
                                  properties:
                                    exec:
4304
                                      description: Exec specifies a command to execute in the container.
4305
                                      properties:
4306
                                        command:
4307
4308
4309
4310
4311
4312
                                          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.
4313
4314
4315
4316
4317
4318
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
4319
4320
4321
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
4322
4323
4324
                                      format: int32
                                      type: integer
                                    grpc:
4325
                                      description: GRPC specifies a GRPC HealthCheckRequest.
4326
4327
                                      properties:
                                        port:
4328
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
4329
4330
4331
4332
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
4333
4334
4335
4336
4337
                                          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.
4338
                                          type: string
4339
4340
4341
4342
                                      required:
                                        - port
                                      type: object
                                    httpGet:
4343
                                      description: HTTPGet specifies an HTTP GET request to perform.
4344
4345
                                      properties:
                                        host:
4346
4347
4348
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
4349
4350
                                          type: string
                                        httpHeaders:
4351
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
4352
                                          items:
4353
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
4354
4355
                                            properties:
                                              name:
4356
4357
4358
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
4359
4360
                                                type: string
                                              value:
4361
                                                description: The header field value
4362
4363
4364
4365
4366
4367
4368
4369
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
4370
                                          description: Path to access on the HTTP server.
4371
4372
4373
4374
4375
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4376
4377
4378
4379
                                          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.
4380
4381
                                          x-kubernetes-int-or-string: true
                                        scheme:
4382
4383
4384
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
4385
4386
                                          type: string
                                      required:
4387
                                        - port
4388
                                      type: object
4389
                                    initialDelaySeconds:
4390
4391
4392
                                      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
4393
4394
4395
                                      format: int32
                                      type: integer
                                    periodSeconds:
4396
4397
4398
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
4399
4400
4401
                                      format: int32
                                      type: integer
                                    successThreshold:
4402
4403
4404
                                      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.
4405
4406
4407
                                      format: int32
                                      type: integer
                                    tcpSocket:
4408
                                      description: TCPSocket specifies a connection to a TCP port.
4409
4410
                                      properties:
                                        host:
4411
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
4412
4413
4414
4415
4416
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
4417
4418
4419
4420
                                          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.
4421
4422
4423
4424
4425
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
                                      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.
4437
4438
4439
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
4440
4441
4442
4443
                                      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
4444
4445
4446
4447
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
4448
4449
4450
4451
                                  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.
4452
4453
                                  type: boolean
                                stdinOnce:
4454
4455
4456
4457
4458
4459
4460
4461
                                  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
4462
4463
                                  type: boolean
                                targetContainerName:
4464
4465
4466
4467
4468
4469
4470
                                  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.
4471
4472
                                  type: string
                                terminationMessagePath:
4473
4474
4475
4476
4477
4478
4479
4480
                                  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.
4481
4482
                                  type: string
                                terminationMessagePolicy:
4483
4484
4485
4486
4487
4488
4489
4490
                                  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.
4491
4492
                                  type: string
                                tty:
4493
4494
4495
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
4496
4497
                                  type: boolean
                                volumeDevices:
4498
                                  description: volumeDevices is the list of block devices to be used by the container.
4499
                                  items:
4500
                                    description: volumeDevice describes a mapping of a raw block device within a container.
4501
                                    properties:
4502
                                      devicePath:
4503
                                        description: devicePath is the path inside of the container that the device will be mapped to.
4504
                                        type: string
4505
                                      name:
4506
                                        description: name must match the name of a persistentVolumeClaim in the pod
4507
4508
                                        type: string
                                    required:
4509
4510
                                      - devicePath
                                      - name
4511
                                    type: object
4512
4513
4514
4515
4516
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
4517
4518
4519
                                  description: |-
                                    Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
                                    Cannot be updated.
4520
                                  items:
4521
                                    description: VolumeMount describes a mounting of a Volume within a container.
4522
                                    properties:
4523
                                      mountPath:
4524
4525
4526
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
4527
                                        type: string
4528
                                      mountPropagation:
4529
4530
4531
4532
4533
4534
4535
                                        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).
4536
                                        type: string
4537
                                      name:
4538
                                        description: This must match the Name of a Volume.
4539
                                        type: string
4540
                                      readOnly:
4541
4542
4543
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
4544
4545
                                        type: boolean
                                      recursiveReadOnly:
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
                                        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.
4563
                                        type: string
4564
                                      subPath:
4565
4566
4567
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
4568
                                        type: string
4569
                                      subPathExpr:
4570
4571
4572
4573
4574
                                        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.
4575
4576
                                        type: string
                                    required:
4577
4578
                                      - mountPath
                                      - name
4579
                                    type: object
4580
4581
4582
4583
4584
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
4585
4586
4587
4588
4589
                                  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.
4590
4591
4592
4593
4594
4595
4596
4597
4598
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          hostAliases:
4599
4600
4601
                            description: |-
                              HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
                              file if specified.
4602
                            items:
4603
4604
4605
                              description: |-
                                HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the
                                pod's hosts file.
4606
4607
                              properties:
                                hostnames:
4608
                                  description: Hostnames for the above IP address.
4609
4610
4611
4612
4613
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                ip:
4614
                                  description: IP address of the host file entry.
4615
4616
4617
4618
4619
4620
4621
4622
4623
                                  type: string
                              required:
                                - ip
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - ip
                            x-kubernetes-list-type: map
                          hostIPC:
4624
4625
4626
                            description: |-
                              Use the host's ipc namespace.
                              Optional: Default to false.
4627
4628
                            type: boolean
                          hostNetwork:
4629
4630
4631
4632
                            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.
4633
4634
                            type: boolean
                          hostPID:
4635
4636
4637
                            description: |-
                              Use the host's pid namespace.
                              Optional: Default to false.
4638
4639
                            type: boolean
                          hostUsers:
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
                            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.
4650
4651
                            type: boolean
                          hostname:
4652
4653
4654
                            description: |-
                              Specifies the hostname of the Pod
                              If not specified, the pod's hostname will be set to a system-defined value.
4655
4656
                            type: string
                          imagePullSecrets:
4657
4658
4659
4660
                            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
4661
                            items:
4662
4663
4664
                              description: |-
                                LocalObjectReference contains enough information to let you locate the
                                referenced object inside the same namespace.
4665
4666
4667
                              properties:
                                name:
                                  default: ""
4668
4669
4670
4671
4672
4673
                                  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
4674
4675
4676
4677
4678
4679
4680
4681
                                  type: string
                              type: object
                              x-kubernetes-map-type: atomic
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          initContainers:
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
                            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/
4696
                            items:
4697
                              description: A single application container that you want to run within a pod.
4698
4699
                              properties:
                                args:
4700
4701
4702
4703
4704
4705
4706
4707
4708
                                  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
4709
4710
4711
4712
4713
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                command:
4714
4715
4716
4717
4718
4719
4720
4721
4722
                                  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
4723
4724
4725
4726
4727
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                env:
4728
4729
4730
                                  description: |-
                                    List of environment variables to set in the container.
                                    Cannot be updated.
4731
                                  items:
4732
                                    description: EnvVar represents an environment variable present in a Container.
4733
                                    properties:
4734
                                      name:
4735
                                        description: Name of the environment variable. Must be a C_IDENTIFIER.
4736
                                        type: string
4737
                                      value:
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
                                        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 "".
4748
                                        type: string
4749
                                      valueFrom:
4750
                                        description: Source for the environment variable's value. Cannot be used if value is not empty.
4751
4752
                                        properties:
                                          configMapKeyRef:
4753
                                            description: Selects a key of a ConfigMap.
4754
4755
                                            properties:
                                              key:
4756
                                                description: The key to select.
4757
4758
4759
                                                type: string
                                              name:
                                                default: ""
4760
4761
4762
4763
4764
4765
                                                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
4766
4767
                                                type: string
                                              optional:
4768
                                                description: Specify whether the ConfigMap or its key must be defined
4769
4770
4771
4772
4773
4774
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          fieldRef:
4775
4776
4777
                                            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.
4778
4779
                                            properties:
                                              apiVersion:
4780
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
4781
4782
                                                type: string
                                              fieldPath:
4783
                                                description: Path of the field to select in the specified API version.
4784
4785
4786
4787
4788
4789
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          resourceFieldRef:
4790
4791
4792
                                            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.
4793
4794
                                            properties:
                                              containerName:
4795
                                                description: 'Container name: required for volumes, optional for env vars'
4796
4797
4798
4799
4800
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
4801
                                                description: Specifies the output format of the exposed resources, defaults to "1"
4802
4803
4804
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
4805
                                                description: 'Required: resource to select'
4806
4807
4808
4809
4810
4811
                                                type: string
                                            required:
                                              - resource
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          secretKeyRef:
4812
                                            description: Selects a key of a secret in the pod's namespace
4813
4814
                                            properties:
                                              key:
4815
                                                description: The key of the secret to select from.  Must be a valid secret key.
4816
4817
4818
                                                type: string
                                              name:
                                                default: ""
4819
4820
4821
4822
4823
4824
                                                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
4825
4826
                                                type: string
                                              optional:
4827
                                                description: Specify whether the Secret or its key must be defined
4828
4829
4830
4831
4832
4833
                                                type: boolean
                                            required:
                                              - key
                                            type: object
                                            x-kubernetes-map-type: atomic
                                        type: object
4834
                                    required:
4835
                                      - name
4836
                                    type: object
4837
4838
4839
4840
4841
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - name
                                  x-kubernetes-list-type: map
                                envFrom:
4842
4843
4844
4845
4846
4847
4848
                                  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.
4849
                                  items:
4850
                                    description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
4851
                                    properties:
4852
                                      configMapRef:
4853
                                        description: The ConfigMap to select from
4854
4855
4856
                                        properties:
                                          name:
                                            default: ""
4857
4858
4859
4860
4861
4862
                                            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
4863
4864
                                            type: string
                                          optional:
4865
                                            description: Specify whether the ConfigMap must be defined
4866
4867
4868
4869
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                      prefix:
4870
                                        description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
4871
                                        type: string
4872
                                      secretRef:
4873
                                        description: The Secret to select from
4874
4875
4876
                                        properties:
                                          name:
                                            default: ""
4877
4878
4879
4880
4881
4882
                                            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
4883
4884
                                            type: string
                                          optional:
4885
                                            description: Specify whether the Secret must be defined
4886
4887
4888
4889
4890
4891
4892
                                            type: boolean
                                        type: object
                                        x-kubernetes-map-type: atomic
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                image:
4893
4894
4895
4896
4897
                                  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.
4898
4899
                                  type: string
                                imagePullPolicy:
4900
4901
4902
4903
4904
4905
                                  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
4906
4907
                                  type: string
                                lifecycle:
4908
4909
4910
                                  description: |-
                                    Actions that the management system should take in response to container lifecycle events.
                                    Cannot be updated.
4911
4912
                                  properties:
                                    postStart:
4913
4914
4915
4916
4917
                                      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
4918
4919
                                      properties:
                                        exec:
4920
                                          description: Exec specifies a command to execute in the container.
4921
                                          properties:
4922
                                            command:
4923
4924
4925
4926
4927
4928
                                              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.
4929
4930
4931
4932
4933
4934
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
4935
                                          description: HTTPGet specifies an HTTP GET request to perform.
4936
4937
                                          properties:
                                            host:
4938
4939
4940
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
4941
                                              type: string
4942
                                            httpHeaders:
4943
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
4944
                                              items:
4945
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
4946
4947
                                                properties:
                                                  name:
4948
4949
4950
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
4951
4952
                                                    type: string
                                                  value:
4953
                                                    description: The header field value
4954
4955
4956
4957
4958
4959
4960
4961
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
4962
                                              description: Path to access on the HTTP server.
4963
4964
4965
4966
4967
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
4968
4969
4970
4971
                                              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.
4972
4973
                                              x-kubernetes-int-or-string: true
                                            scheme:
4974
4975
4976
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
4977
4978
                                              type: string
                                          required:
4979
                                            - port
4980
                                          type: object
4981
                                        sleep:
4982
                                          description: Sleep represents a duration that the container should sleep.
4983
4984
                                          properties:
                                            seconds:
4985
                                              description: Seconds is the number of seconds to sleep.
4986
4987
4988
4989
4990
4991
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
4992
4993
4994
4995
                                          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.
4996
4997
                                          properties:
                                            host:
4998
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
4999
5000
5001
5002
5003
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5004
5005
5006
5007
                                              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.
5008
5009
5010
5011
5012
5013
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    preStop:
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
                                      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
5024
5025
                                      properties:
                                        exec:
5026
                                          description: Exec specifies a command to execute in the container.
5027
5028
                                          properties:
                                            command:
5029
5030
5031
5032
5033
5034
                                              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.
5035
5036
5037
5038
5039
5040
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                          type: object
                                        httpGet:
5041
                                          description: HTTPGet specifies an HTTP GET request to perform.
5042
5043
                                          properties:
                                            host:
5044
5045
5046
                                              description: |-
                                                Host name to connect to, defaults to the pod IP. You probably want to set
                                                "Host" in httpHeaders instead.
5047
5048
                                              type: string
                                            httpHeaders:
5049
                                              description: Custom headers to set in the request. HTTP allows repeated headers.
5050
                                              items:
5051
                                                description: HTTPHeader describes a custom header to be used in HTTP probes
5052
5053
                                                properties:
                                                  name:
5054
5055
5056
                                                    description: |-
                                                      The header field name.
                                                      This will be canonicalized upon output, so case-variant names will be understood as the same header.
5057
5058
                                                    type: string
                                                  value:
5059
                                                    description: The header field value
5060
5061
5062
5063
5064
5065
5066
5067
                                                    type: string
                                                required:
                                                  - name
                                                  - value
                                                type: object
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            path:
5068
                                              description: Path to access on the HTTP server.
5069
5070
5071
5072
5073
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5074
5075
5076
5077
                                              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.
5078
5079
                                              x-kubernetes-int-or-string: true
                                            scheme:
5080
5081
5082
                                              description: |-
                                                Scheme to use for connecting to the host.
                                                Defaults to HTTP.
5083
5084
5085
5086
5087
                                              type: string
                                          required:
                                            - port
                                          type: object
                                        sleep:
5088
                                          description: Sleep represents a duration that the container should sleep.
5089
5090
                                          properties:
                                            seconds:
5091
                                              description: Seconds is the number of seconds to sleep.
5092
5093
5094
5095
5096
5097
                                              format: int64
                                              type: integer
                                          required:
                                            - seconds
                                          type: object
                                        tcpSocket:
5098
5099
5100
5101
                                          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.
5102
5103
                                          properties:
                                            host:
5104
                                              description: 'Optional: Host name to connect to, defaults to the pod IP.'
5105
5106
5107
5108
5109
                                              type: string
                                            port:
                                              anyOf:
                                                - type: integer
                                                - type: string
5110
5111
5112
5113
                                              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.
5114
5115
5116
5117
5118
5119
                                              x-kubernetes-int-or-string: true
                                          required:
                                            - port
                                          type: object
                                      type: object
                                    stopSignal:
5120
5121
5122
5123
                                      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
5124
5125
5126
                                      type: string
                                  type: object
                                livenessProbe:
5127
5128
5129
5130
5131
                                  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
5132
5133
                                  properties:
                                    exec:
5134
                                      description: Exec specifies a command to execute in the container.
5135
5136
                                      properties:
                                        command:
5137
5138
5139
5140
5141
5142
                                          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.
5143
5144
5145
5146
5147
5148
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
5149
5150
5151
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
5152
5153
5154
                                      format: int32
                                      type: integer
                                    grpc:
5155
                                      description: GRPC specifies a GRPC HealthCheckRequest.
5156
5157
                                      properties:
                                        port:
5158
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5159
5160
5161
5162
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
5163
5164
5165
5166
5167
                                          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.
5168
5169
5170
5171
5172
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
5173
                                      description: HTTPGet specifies an HTTP GET request to perform.
5174
5175
                                      properties:
                                        host:
5176
5177
5178
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
5179
5180
                                          type: string
                                        httpHeaders:
5181
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
5182
                                          items:
5183
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
5184
5185
                                            properties:
                                              name:
5186
5187
5188
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
5189
5190
                                                type: string
                                              value:
5191
                                                description: The header field value
5192
5193
5194
5195
5196
5197
5198
5199
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
5200
                                          description: Path to access on the HTTP server.
5201
5202
5203
5204
5205
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5206
5207
5208
5209
                                          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.
5210
5211
                                          x-kubernetes-int-or-string: true
                                        scheme:
5212
5213
5214
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
5215
5216
5217
5218
5219
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
5220
5221
5222
                                      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
5223
5224
5225
                                      format: int32
                                      type: integer
                                    periodSeconds:
5226
5227
5228
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
5229
5230
5231
                                      format: int32
                                      type: integer
                                    successThreshold:
5232
5233
5234
                                      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.
5235
5236
5237
                                      format: int32
                                      type: integer
                                    tcpSocket:
5238
                                      description: TCPSocket specifies a connection to a TCP port.
5239
5240
                                      properties:
                                        host:
5241
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
5242
5243
5244
5245
5246
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5247
5248
5249
5250
                                          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.
5251
5252
5253
5254
5255
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
                                      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.
5267
5268
5269
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
5270
5271
5272
5273
                                      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
5274
5275
5276
5277
                                      format: int32
                                      type: integer
                                  type: object
                                name:
5278
5279
5280
5281
                                  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.
5282
5283
                                  type: string
                                ports:
5284
5285
5286
5287
5288
5289
5290
5291
                                  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.
5292
                                  items:
5293
                                    description: ContainerPort represents a network port in a single container.
5294
5295
                                    properties:
                                      containerPort:
5296
5297
5298
                                        description: |-
                                          Number of port to expose on the pod's IP address.
                                          This must be a valid port number, 0 < x < 65536.
5299
5300
5301
                                        format: int32
                                        type: integer
                                      hostIP:
5302
                                        description: What host IP to bind the external port to.
5303
                                        type: string
5304
                                      hostPort:
5305
5306
5307
5308
5309
                                        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.
5310
5311
5312
                                        format: int32
                                        type: integer
                                      name:
5313
5314
5315
5316
                                        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.
5317
                                        type: string
5318
5319
                                      protocol:
                                        default: TCP
5320
5321
5322
                                        description: |-
                                          Protocol for port. Must be UDP, TCP, or SCTP.
                                          Defaults to "TCP".
5323
5324
                                        type: string
                                    required:
5325
                                      - containerPort
5326
                                    type: object
5327
5328
5329
5330
5331
5332
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - containerPort
                                    - protocol
                                  x-kubernetes-list-type: map
                                readinessProbe:
5333
5334
5335
5336
5337
                                  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
5338
5339
                                  properties:
                                    exec:
5340
                                      description: Exec specifies a command to execute in the container.
5341
5342
                                      properties:
                                        command:
5343
5344
5345
5346
5347
5348
                                          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.
5349
5350
5351
5352
5353
5354
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
5355
5356
5357
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
5358
5359
5360
                                      format: int32
                                      type: integer
                                    grpc:
5361
                                      description: GRPC specifies a GRPC HealthCheckRequest.
5362
5363
                                      properties:
                                        port:
5364
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5365
5366
5367
5368
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
5369
5370
5371
5372
5373
                                          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.
5374
5375
5376
5377
5378
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
5379
                                      description: HTTPGet specifies an HTTP GET request to perform.
5380
5381
                                      properties:
                                        host:
5382
5383
5384
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
5385
5386
                                          type: string
                                        httpHeaders:
5387
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
5388
                                          items:
5389
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
5390
5391
                                            properties:
                                              name:
5392
5393
5394
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
5395
5396
                                                type: string
                                              value:
5397
                                                description: The header field value
5398
5399
5400
5401
5402
5403
5404
5405
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
5406
                                          description: Path to access on the HTTP server.
5407
5408
5409
5410
5411
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5412
5413
5414
5415
                                          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.
5416
5417
                                          x-kubernetes-int-or-string: true
                                        scheme:
5418
5419
5420
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
5421
5422
5423
5424
5425
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
5426
5427
5428
                                      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
5429
5430
5431
                                      format: int32
                                      type: integer
                                    periodSeconds:
5432
5433
5434
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
5435
5436
5437
                                      format: int32
                                      type: integer
                                    successThreshold:
5438
5439
5440
                                      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.
5441
5442
5443
                                      format: int32
                                      type: integer
                                    tcpSocket:
5444
                                      description: TCPSocket specifies a connection to a TCP port.
5445
5446
                                      properties:
                                        host:
5447
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
5448
5449
5450
5451
5452
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5453
5454
5455
5456
                                          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.
5457
5458
5459
5460
5461
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
                                      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.
5473
5474
5475
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
5476
5477
5478
5479
                                      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
5480
5481
5482
5483
                                      format: int32
                                      type: integer
                                  type: object
                                resizePolicy:
5484
                                  description: Resources resize policy for the container.
5485
                                  items:
5486
                                    description: ContainerResizePolicy represents resource resize policy for the container.
5487
5488
                                    properties:
                                      resourceName:
5489
5490
5491
                                        description: |-
                                          Name of the resource to which this resource resize policy applies.
                                          Supported values: cpu, memory.
5492
5493
                                        type: string
                                      restartPolicy:
5494
5495
5496
                                        description: |-
                                          Restart policy to apply when specified resource is resized.
                                          If not specified, it defaults to NotRequired.
5497
5498
5499
5500
5501
5502
5503
5504
                                        type: string
                                    required:
                                      - resourceName
                                      - restartPolicy
                                    type: object
                                  type: array
                                  x-kubernetes-list-type: atomic
                                resources:
5505
5506
5507
5508
                                  description: |-
                                    Compute Resources required by this container.
                                    Cannot be updated.
                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
5509
5510
                                  properties:
                                    claims:
5511
5512
5513
5514
5515
5516
5517
5518
                                      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.
5519
                                      items:
5520
                                        description: ResourceClaim references one entry in PodSpec.ResourceClaims.
5521
5522
                                        properties:
                                          name:
5523
5524
5525
5526
                                            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.
5527
5528
                                            type: string
                                          request:
5529
5530
5531
5532
                                            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.
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
                                            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
5548
5549
5550
                                      description: |-
                                        Limits describes the maximum amount of compute resources allowed.
                                        More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
5551
5552
5553
5554
5555
5556
5557
5558
                                      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
5559
5560
5561
5562
5563
                                      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/
5564
5565
5566
                                      type: object
                                  type: object
                                restartPolicy:
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
                                  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.
5583
5584
                                  type: string
                                securityContext:
5585
5586
5587
5588
                                  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/
5589
5590
                                  properties:
                                    allowPrivilegeEscalation:
5591
5592
5593
5594
5595
5596
5597
5598
                                      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.
5599
5600
                                      type: boolean
                                    appArmorProfile:
5601
5602
5603
5604
                                      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.
5605
5606
                                      properties:
                                        localhostProfile:
5607
5608
5609
5610
5611
                                          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".
5612
5613
                                          type: string
                                        type:
5614
5615
5616
5617
5618
5619
                                          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.
5620
5621
5622
5623
5624
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    capabilities:
5625
5626
5627
5628
                                      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.
5629
5630
                                      properties:
                                        add:
5631
                                          description: Added capabilities
5632
                                          items:
5633
                                            description: Capability represent POSIX capabilities type
5634
5635
5636
5637
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        drop:
5638
                                          description: Removed capabilities
5639
                                          items:
5640
                                            description: Capability represent POSIX capabilities type
5641
5642
5643
5644
5645
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    privileged:
5646
5647
5648
5649
5650
                                      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.
5651
5652
                                      type: boolean
                                    procMount:
5653
5654
5655
5656
5657
5658
                                      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.
5659
5660
                                      type: string
                                    readOnlyRootFilesystem:
5661
5662
5663
5664
                                      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.
5665
5666
                                      type: boolean
                                    runAsGroup:
5667
5668
5669
5670
5671
5672
                                      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.
5673
5674
5675
                                      format: int64
                                      type: integer
                                    runAsNonRoot:
5676
5677
5678
5679
5680
5681
5682
                                      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.
5683
5684
                                      type: boolean
                                    runAsUser:
5685
5686
5687
5688
5689
5690
                                      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.
5691
5692
5693
                                      format: int64
                                      type: integer
                                    seLinuxOptions:
5694
5695
5696
5697
5698
5699
                                      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.
5700
5701
                                      properties:
                                        level:
5702
                                          description: Level is SELinux level label that applies to the container.
5703
5704
                                          type: string
                                        role:
5705
                                          description: Role is a SELinux role label that applies to the container.
5706
5707
                                          type: string
                                        type:
5708
                                          description: Type is a SELinux type label that applies to the container.
5709
5710
                                          type: string
                                        user:
5711
                                          description: User is a SELinux user label that applies to the container.
5712
5713
5714
                                          type: string
                                      type: object
                                    seccompProfile:
5715
5716
5717
5718
5719
                                      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.
5720
5721
                                      properties:
                                        localhostProfile:
5722
5723
5724
5725
5726
                                          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.
5727
5728
                                          type: string
                                        type:
5729
5730
5731
5732
5733
5734
5735
                                          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.
5736
5737
5738
5739
5740
                                          type: string
                                      required:
                                        - type
                                      type: object
                                    windowsOptions:
5741
5742
5743
5744
5745
                                      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.
5746
5747
                                      properties:
                                        gmsaCredentialSpec:
5748
5749
5750
5751
                                          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.
5752
5753
                                          type: string
                                        gmsaCredentialSpecName:
5754
                                          description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
5755
5756
                                          type: string
                                        hostProcess:
5757
5758
5759
5760
5761
                                          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.
5762
5763
                                          type: boolean
                                        runAsUserName:
5764
5765
5766
5767
5768
                                          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.
5769
5770
5771
5772
                                          type: string
                                      type: object
                                  type: object
                                startupProbe:
5773
5774
5775
5776
5777
5778
5779
5780
                                  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
5781
5782
                                  properties:
                                    exec:
5783
                                      description: Exec specifies a command to execute in the container.
5784
5785
                                      properties:
                                        command:
5786
5787
5788
5789
5790
5791
                                          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.
5792
5793
5794
5795
5796
5797
                                          items:
                                            type: string
                                          type: array
                                          x-kubernetes-list-type: atomic
                                      type: object
                                    failureThreshold:
5798
5799
5800
                                      description: |-
                                        Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                        Defaults to 3. Minimum value is 1.
5801
5802
5803
                                      format: int32
                                      type: integer
                                    grpc:
5804
                                      description: GRPC specifies a GRPC HealthCheckRequest.
5805
5806
                                      properties:
                                        port:
5807
                                          description: Port number of the gRPC service. Number must be in the range 1 to 65535.
5808
5809
5810
5811
                                          format: int32
                                          type: integer
                                        service:
                                          default: ""
5812
5813
5814
5815
5816
                                          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.
5817
5818
5819
5820
5821
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    httpGet:
5822
                                      description: HTTPGet specifies an HTTP GET request to perform.
5823
5824
                                      properties:
                                        host:
5825
5826
5827
                                          description: |-
                                            Host name to connect to, defaults to the pod IP. You probably want to set
                                            "Host" in httpHeaders instead.
5828
5829
                                          type: string
                                        httpHeaders:
5830
                                          description: Custom headers to set in the request. HTTP allows repeated headers.
5831
                                          items:
5832
                                            description: HTTPHeader describes a custom header to be used in HTTP probes
5833
5834
                                            properties:
                                              name:
5835
5836
5837
                                                description: |-
                                                  The header field name.
                                                  This will be canonicalized upon output, so case-variant names will be understood as the same header.
5838
5839
                                                type: string
                                              value:
5840
                                                description: The header field value
5841
5842
5843
5844
5845
5846
5847
5848
                                                type: string
                                            required:
                                              - name
                                              - value
                                            type: object
                                          type: array
                                          x-kubernetes-list-type: atomic
                                        path:
5849
                                          description: Path to access on the HTTP server.
5850
5851
5852
5853
5854
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5855
5856
5857
5858
                                          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.
5859
5860
                                          x-kubernetes-int-or-string: true
                                        scheme:
5861
5862
5863
                                          description: |-
                                            Scheme to use for connecting to the host.
                                            Defaults to HTTP.
5864
5865
5866
5867
5868
                                          type: string
                                      required:
                                        - port
                                      type: object
                                    initialDelaySeconds:
5869
5870
5871
                                      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
5872
5873
5874
                                      format: int32
                                      type: integer
                                    periodSeconds:
5875
5876
5877
                                      description: |-
                                        How often (in seconds) to perform the probe.
                                        Default to 10 seconds. Minimum value is 1.
5878
5879
5880
                                      format: int32
                                      type: integer
                                    successThreshold:
5881
5882
5883
                                      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.
5884
5885
5886
                                      format: int32
                                      type: integer
                                    tcpSocket:
5887
                                      description: TCPSocket specifies a connection to a TCP port.
5888
5889
                                      properties:
                                        host:
5890
                                          description: 'Optional: Host name to connect to, defaults to the pod IP.'
5891
5892
5893
5894
5895
                                          type: string
                                        port:
                                          anyOf:
                                            - type: integer
                                            - type: string
5896
5897
5898
5899
                                          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.
5900
5901
5902
5903
5904
                                          x-kubernetes-int-or-string: true
                                      required:
                                        - port
                                      type: object
                                    terminationGracePeriodSeconds:
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
                                      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.
5916
5917
5918
                                      format: int64
                                      type: integer
                                    timeoutSeconds:
5919
5920
5921
5922
                                      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
5923
5924
5925
5926
                                      format: int32
                                      type: integer
                                  type: object
                                stdin:
5927
5928
5929
5930
                                  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.
5931
5932
                                  type: boolean
                                stdinOnce:
5933
5934
5935
5936
5937
5938
5939
5940
                                  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
5941
5942
                                  type: boolean
                                terminationMessagePath:
5943
5944
5945
5946
5947
5948
5949
5950
                                  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.
5951
5952
                                  type: string
                                terminationMessagePolicy:
5953
5954
5955
5956
5957
5958
5959
5960
                                  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.
5961
5962
                                  type: string
                                tty:
5963
5964
5965
                                  description: |-
                                    Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                    Default is false.
5966
5967
                                  type: boolean
                                volumeDevices:
5968
                                  description: volumeDevices is the list of block devices to be used by the container.
5969
                                  items:
5970
                                    description: volumeDevice describes a mapping of a raw block device within a container.
5971
5972
                                    properties:
                                      devicePath:
5973
                                        description: devicePath is the path inside of the container that the device will be mapped to.
5974
5975
                                        type: string
                                      name:
5976
                                        description: name must match the name of a persistentVolumeClaim in the pod
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
                                        type: string
                                    required:
                                      - devicePath
                                      - name
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - devicePath
                                  x-kubernetes-list-type: map
                                volumeMounts:
5987
5988
5989
                                  description: |-
                                    Pod volumes to mount into the container's filesystem.
                                    Cannot be updated.
5990
                                  items:
5991
                                    description: VolumeMount describes a mounting of a Volume within a container.
5992
5993
                                    properties:
                                      mountPath:
5994
5995
5996
                                        description: |-
                                          Path within the container at which the volume should be mounted.  Must
                                          not contain ':'.
5997
5998
                                        type: string
                                      mountPropagation:
5999
6000
6001
6002
6003
6004
6005
                                        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).
6006
6007
                                        type: string
                                      name:
6008
                                        description: This must match the Name of a Volume.
6009
6010
                                        type: string
                                      readOnly:
6011
6012
6013
                                        description: |-
                                          Mounted read-only if true, read-write otherwise (false or unspecified).
                                          Defaults to false.
6014
6015
                                        type: boolean
                                      recursiveReadOnly:
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
                                        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.
6033
6034
                                        type: string
                                      subPath:
6035
6036
6037
                                        description: |-
                                          Path within the volume from which the container's volume should be mounted.
                                          Defaults to "" (volume's root).
6038
6039
                                        type: string
                                      subPathExpr:
6040
6041
6042
6043
6044
                                        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.
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
                                        type: string
                                    required:
                                      - mountPath
                                      - name
                                    type: object
                                  type: array
                                  x-kubernetes-list-map-keys:
                                    - mountPath
                                  x-kubernetes-list-type: map
                                workingDir:
6055
6056
6057
6058
6059
                                  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.
6060
6061
6062
6063
6064
6065
6066
6067
6068
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          mainContainer:
6069
                            description: A single application container that you want to run within a pod.
6070
6071
                            properties:
                              args:
6072
6073
6074
6075
6076
6077
6078
6079
6080
                                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
6081
6082
6083
6084
6085
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              command:
6086
6087
6088
6089
6090
6091
6092
6093
6094
                                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
6095
6096
6097
6098
6099
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                              env:
6100
6101
6102
                                description: |-
                                  List of environment variables to set in the container.
                                  Cannot be updated.
6103
                                items:
6104
                                  description: EnvVar represents an environment variable present in a Container.
6105
6106
                                  properties:
                                    name:
6107
                                      description: Name of the environment variable. Must be a C_IDENTIFIER.
6108
6109
                                      type: string
                                    value:
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
                                      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 "".
6120
6121
                                      type: string
                                    valueFrom:
6122
                                      description: Source for the environment variable's value. Cannot be used if value is not empty.
6123
6124
                                      properties:
                                        configMapKeyRef:
6125
                                          description: Selects a key of a ConfigMap.
6126
6127
                                          properties:
                                            key:
6128
                                              description: The key to select.
6129
6130
6131
                                              type: string
                                            name:
                                              default: ""
6132
6133
6134
6135
6136
6137
                                              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
6138
6139
                                              type: string
                                            optional:
6140
                                              description: Specify whether the ConfigMap or its key must be defined
6141
6142
6143
6144
6145
6146
                                              type: boolean
                                          required:
                                            - key
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        fieldRef:
6147
6148
6149
                                          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.
6150
6151
                                          properties:
                                            apiVersion:
6152
                                              description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
6153
6154
                                              type: string
                                            fieldPath:
6155
                                              description: Path of the field to select in the specified API version.
6156
6157
6158
6159
6160
6161
                                              type: string
                                          required:
                                            - fieldPath
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        resourceFieldRef:
6162
6163
6164
                                          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.
6165
6166
                                          properties:
                                            containerName:
6167
                                              description: 'Container name: required for volumes, optional for env vars'
6168
6169
6170
6171
6172
                                              type: string
                                            divisor:
                                              anyOf:
                                                - type: integer
                                                - type: string
6173
                                              description: Specifies the output format of the exposed resources, defaults to "1"
6174
6175
6176
                                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                              x-kubernetes-int-or-string: true
                                            resource:
6177
                                              description: 'Required: resource to select'
6178
6179
6180
6181
6182
6183
                                              type: string
                                          required:
                                            - resource
                                          type: object
                                          x-kubernetes-map-type: atomic
                                        secretKeyRef:
6184
                                          description: Selects a key of a secret in the pod's namespace
6185
6186
                                          properties:
                                            key:
6187
                                              description: The key of the secret to select from.  Must be a valid secret key.
6188
6189
6190
                                              type: string
                                            name:
                                              default: ""
6191
6192
6193
6194
6195
6196
                                              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
6197
6198
                                              type: string
                                            optional:
6199
                                              description: Specify whether the Secret or its key must be defined
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
                                              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:
6214
6215
6216
6217
6218
6219
6220
                                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.
6221
                                items:
6222
                                  description: EnvFromSource represents the source of a set of ConfigMaps or Secrets
6223
6224
                                  properties:
                                    configMapRef:
6225
                                      description: The ConfigMap to select from
6226
6227
6228
                                      properties:
                                        name:
                                          default: ""
6229
6230
6231
6232
6233
6234
                                          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
6235
6236
                                          type: string
                                        optional:
6237
                                          description: Specify whether the ConfigMap must be defined
6238
6239
6240
6241
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    prefix:
6242
                                      description: Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
6243
6244
                                      type: string
                                    secretRef:
6245
                                      description: The Secret to select from
6246
6247
6248
                                      properties:
                                        name:
                                          default: ""
6249
6250
6251
6252
6253
6254
                                          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
6255
6256
                                          type: string
                                        optional:
6257
                                          description: Specify whether the Secret must be defined
6258
6259
6260
6261
6262
6263
6264
                                          type: boolean
                                      type: object
                                      x-kubernetes-map-type: atomic
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              image:
6265
6266
6267
6268
6269
                                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.
6270
6271
                                type: string
                              imagePullPolicy:
6272
6273
6274
6275
6276
6277
                                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
6278
6279
                                type: string
                              lifecycle:
6280
6281
6282
                                description: |-
                                  Actions that the management system should take in response to container lifecycle events.
                                  Cannot be updated.
6283
6284
                                properties:
                                  postStart:
6285
6286
6287
6288
6289
                                    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
6290
6291
                                    properties:
                                      exec:
6292
                                        description: Exec specifies a command to execute in the container.
6293
6294
                                        properties:
                                          command:
6295
6296
6297
6298
6299
6300
                                            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.
6301
6302
6303
6304
6305
6306
                                            items:
                                              type: string
                                            type: array
                                            x-kubernetes-list-type: atomic
                                        type: object
                                      httpGet:
6307
                                        description: HTTPGet specifies an HTTP GET request to perform.
6308
6309
                                        properties:
                                          host:
6310
6311
6312
                                            description: |-
                                              Host name to connect to, defaults to the pod IP. You probably want to set
                                              "Host" in httpHeaders instead.
6313
6314
                                            type: string
                                          httpHeaders:
6315
                                            description: Custom headers to set in the request. HTTP allows repeated headers.
6316
                                            items:
6317
                                              description: HTTPHeader describes a custom header to be used in HTTP probes
6318
6319
                                              properties:
                                                name:
6320
6321
6322
                                                  description: |-
                                                    The header field name.
                                                    This will be canonicalized upon output, so case-variant names will be understood as the same header.
6323
6324
                                                  type: string
                                                value:
6325
                                                  description: The header field value
6326
6327
6328
6329
6330
6331
6332
6333
                                                  type: string
                                              required:
                                                - name
                                                - value
                                              type: object
                                            type: array
                                            x-kubernetes-list-type: atomic
                                          path:
6334
                                            description: Path to access on the HTTP server.
6335
6336
6337
6338
6339
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
6340
6341
6342
6343
                                            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.
6344
6345
                                            x-kubernetes-int-or-string: true
                                          scheme:
6346
6347
6348
                                            description: |-
                                              Scheme to use for connecting to the host.
                                              Defaults to HTTP.
6349
6350
6351
6352
6353
                                            type: string
                                        required:
                                          - port
                                        type: object
                                      sleep:
6354
                                        description: Sleep represents a duration that the container should sleep.
6355
6356
                                        properties:
                                          seconds:
6357
                                            description: Seconds is the number of seconds to sleep.
6358
6359
6360
6361
6362
6363
                                            format: int64
                                            type: integer
                                        required:
                                          - seconds
                                        type: object
                                      tcpSocket:
6364
6365
6366
6367
                                        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.
6368
6369
                                        properties:
                                          host:
6370
                                            description: 'Optional: Host name to connect to, defaults to the pod IP.'
6371
6372
6373
6374
6375
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
6376
6377
6378
6379
                                            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.
6380
6381
6382
6383
6384
6385
                                            x-kubernetes-int-or-string: true
                                        required:
                                          - port
                                        type: object
                                    type: object
                                  preStop:
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
                                    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
6396
6397
                                    properties:
                                      exec:
6398
                                        description: Exec specifies a command to execute in the container.
6399
6400
                                        properties:
                                          command:
6401
6402
6403
6404
6405
6406
                                            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.
6407
6408
6409
6410
6411
6412
                                            items:
                                              type: string
                                            type: array
                                            x-kubernetes-list-type: atomic
                                        type: object
                                      httpGet:
6413
                                        description: HTTPGet specifies an HTTP GET request to perform.
6414
6415
                                        properties:
                                          host:
6416
6417
6418
                                            description: |-
                                              Host name to connect to, defaults to the pod IP. You probably want to set
                                              "Host" in httpHeaders instead.
6419
6420
                                            type: string
                                          httpHeaders:
6421
                                            description: Custom headers to set in the request. HTTP allows repeated headers.
6422
                                            items:
6423
                                              description: HTTPHeader describes a custom header to be used in HTTP probes
6424
6425
                                              properties:
                                                name:
6426
6427
6428
                                                  description: |-
                                                    The header field name.
                                                    This will be canonicalized upon output, so case-variant names will be understood as the same header.
6429
6430
                                                  type: string
                                                value:
6431
                                                  description: The header field value
6432
6433
6434
6435
6436
6437
6438
6439
                                                  type: string
                                              required:
                                                - name
                                                - value
                                              type: object
                                            type: array
                                            x-kubernetes-list-type: atomic
                                          path:
6440
                                            description: Path to access on the HTTP server.
6441
6442
6443
6444
6445
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
6446
6447
6448
6449
                                            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.
6450
6451
                                            x-kubernetes-int-or-string: true
                                          scheme:
6452
6453
6454
                                            description: |-
                                              Scheme to use for connecting to the host.
                                              Defaults to HTTP.
6455
6456
6457
6458
6459
                                            type: string
                                        required:
                                          - port
                                        type: object
                                      sleep:
6460
                                        description: Sleep represents a duration that the container should sleep.
6461
6462
                                        properties:
                                          seconds:
6463
                                            description: Seconds is the number of seconds to sleep.
6464
6465
6466
6467
6468
6469
                                            format: int64
                                            type: integer
                                        required:
                                          - seconds
                                        type: object
                                      tcpSocket:
6470
6471
6472
6473
                                        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.
6474
6475
                                        properties:
                                          host:
6476
                                            description: 'Optional: Host name to connect to, defaults to the pod IP.'
6477
6478
6479
6480
6481
                                            type: string
                                          port:
                                            anyOf:
                                              - type: integer
                                              - type: string
6482
6483
6484
6485
                                            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.
6486
6487
6488
6489
6490
6491
                                            x-kubernetes-int-or-string: true
                                        required:
                                          - port
                                        type: object
                                    type: object
                                  stopSignal:
6492
6493
6494
6495
                                    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
6496
6497
6498
                                    type: string
                                type: object
                              livenessProbe:
6499
6500
6501
6502
6503
                                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
6504
6505
                                properties:
                                  exec:
6506
                                    description: Exec specifies a command to execute in the container.
6507
6508
                                    properties:
                                      command:
6509
6510
6511
6512
6513
6514
                                        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.
6515
6516
6517
6518
6519
6520
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
6521
6522
6523
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
6524
6525
6526
                                    format: int32
                                    type: integer
                                  grpc:
6527
                                    description: GRPC specifies a GRPC HealthCheckRequest.
6528
6529
                                    properties:
                                      port:
6530
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
6531
6532
6533
6534
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
6535
6536
6537
6538
6539
                                        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.
6540
6541
6542
6543
6544
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
6545
                                    description: HTTPGet specifies an HTTP GET request to perform.
6546
6547
                                    properties:
                                      host:
6548
6549
6550
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
6551
6552
                                        type: string
                                      httpHeaders:
6553
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
6554
                                        items:
6555
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
6556
6557
                                          properties:
                                            name:
6558
6559
6560
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
6561
6562
                                              type: string
                                            value:
6563
                                              description: The header field value
6564
6565
6566
6567
6568
6569
6570
6571
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
6572
                                        description: Path to access on the HTTP server.
6573
6574
6575
6576
6577
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
6578
6579
6580
6581
                                        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.
6582
6583
                                        x-kubernetes-int-or-string: true
                                      scheme:
6584
6585
6586
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
6587
6588
6589
6590
6591
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
6592
6593
6594
                                    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
6595
6596
6597
                                    format: int32
                                    type: integer
                                  periodSeconds:
6598
6599
6600
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
6601
6602
6603
                                    format: int32
                                    type: integer
                                  successThreshold:
6604
6605
6606
                                    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.
6607
6608
6609
                                    format: int32
                                    type: integer
                                  tcpSocket:
6610
                                    description: TCPSocket specifies a connection to a TCP port.
6611
6612
                                    properties:
                                      host:
6613
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
6614
6615
6616
6617
6618
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
6619
6620
6621
6622
                                        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.
6623
6624
6625
6626
6627
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
                                    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.
6639
6640
6641
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
6642
6643
6644
6645
                                    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
6646
6647
6648
6649
                                    format: int32
                                    type: integer
                                type: object
                              name:
6650
6651
6652
6653
                                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.
6654
6655
                                type: string
                              ports:
6656
6657
6658
6659
6660
6661
6662
6663
                                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.
6664
                                items:
6665
                                  description: ContainerPort represents a network port in a single container.
6666
6667
                                  properties:
                                    containerPort:
6668
6669
6670
                                      description: |-
                                        Number of port to expose on the pod's IP address.
                                        This must be a valid port number, 0 < x < 65536.
6671
6672
6673
                                      format: int32
                                      type: integer
                                    hostIP:
6674
                                      description: What host IP to bind the external port to.
6675
6676
                                      type: string
                                    hostPort:
6677
6678
6679
6680
6681
                                      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.
6682
6683
6684
                                      format: int32
                                      type: integer
                                    name:
6685
6686
6687
6688
                                      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.
6689
6690
6691
                                      type: string
                                    protocol:
                                      default: TCP
6692
6693
6694
                                      description: |-
                                        Protocol for port. Must be UDP, TCP, or SCTP.
                                        Defaults to "TCP".
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
                                      type: string
                                  required:
                                    - containerPort
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - containerPort
                                  - protocol
                                x-kubernetes-list-type: map
                              readinessProbe:
6705
6706
6707
6708
6709
                                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
6710
6711
                                properties:
                                  exec:
6712
                                    description: Exec specifies a command to execute in the container.
6713
6714
                                    properties:
                                      command:
6715
6716
6717
6718
6719
6720
                                        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.
6721
6722
6723
6724
6725
6726
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
6727
6728
6729
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
6730
6731
6732
                                    format: int32
                                    type: integer
                                  grpc:
6733
                                    description: GRPC specifies a GRPC HealthCheckRequest.
6734
6735
                                    properties:
                                      port:
6736
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
6737
6738
6739
6740
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
6741
6742
6743
6744
6745
                                        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.
6746
6747
6748
6749
6750
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
6751
                                    description: HTTPGet specifies an HTTP GET request to perform.
6752
6753
                                    properties:
                                      host:
6754
6755
6756
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
6757
6758
                                        type: string
                                      httpHeaders:
6759
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
6760
                                        items:
6761
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
6762
6763
                                          properties:
                                            name:
6764
6765
6766
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
6767
6768
                                              type: string
                                            value:
6769
                                              description: The header field value
6770
6771
6772
6773
6774
6775
6776
6777
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
6778
                                        description: Path to access on the HTTP server.
6779
6780
6781
6782
6783
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
6784
6785
6786
6787
                                        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.
6788
6789
                                        x-kubernetes-int-or-string: true
                                      scheme:
6790
6791
6792
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
6793
6794
6795
6796
6797
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
6798
6799
6800
                                    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
6801
6802
6803
                                    format: int32
                                    type: integer
                                  periodSeconds:
6804
6805
6806
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
6807
6808
6809
                                    format: int32
                                    type: integer
                                  successThreshold:
6810
6811
6812
                                    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.
6813
6814
6815
                                    format: int32
                                    type: integer
                                  tcpSocket:
6816
                                    description: TCPSocket specifies a connection to a TCP port.
6817
6818
                                    properties:
                                      host:
6819
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
6820
6821
6822
6823
6824
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
6825
6826
6827
6828
                                        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.
6829
6830
6831
6832
6833
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
                                    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.
6845
6846
6847
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
6848
6849
6850
6851
                                    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
6852
6853
6854
6855
                                    format: int32
                                    type: integer
                                type: object
                              resizePolicy:
6856
                                description: Resources resize policy for the container.
6857
                                items:
6858
                                  description: ContainerResizePolicy represents resource resize policy for the container.
6859
6860
                                  properties:
                                    resourceName:
6861
6862
6863
                                      description: |-
                                        Name of the resource to which this resource resize policy applies.
                                        Supported values: cpu, memory.
6864
6865
                                      type: string
                                    restartPolicy:
6866
6867
6868
                                      description: |-
                                        Restart policy to apply when specified resource is resized.
                                        If not specified, it defaults to NotRequired.
6869
6870
6871
6872
6873
6874
6875
6876
                                      type: string
                                  required:
                                    - resourceName
                                    - restartPolicy
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              resources:
6877
6878
6879
6880
                                description: |-
                                  Compute Resources required by this container.
                                  Cannot be updated.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6881
6882
                                properties:
                                  claims:
6883
6884
6885
6886
6887
6888
6889
6890
                                    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.
6891
                                    items:
6892
                                      description: ResourceClaim references one entry in PodSpec.ResourceClaims.
6893
6894
                                      properties:
                                        name:
6895
6896
6897
6898
                                          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.
6899
6900
                                          type: string
                                        request:
6901
6902
6903
6904
                                          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.
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
                                          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
6920
6921
6922
                                    description: |-
                                      Limits describes the maximum amount of compute resources allowed.
                                      More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
6923
6924
6925
6926
6927
6928
6929
6930
                                    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
6931
6932
6933
6934
6935
                                    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/
6936
6937
6938
                                    type: object
                                type: object
                              restartPolicy:
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
                                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.
6955
6956
                                type: string
                              securityContext:
6957
6958
6959
6960
                                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/
6961
6962
                                properties:
                                  allowPrivilegeEscalation:
6963
6964
6965
6966
6967
6968
6969
6970
                                    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.
6971
6972
                                    type: boolean
                                  appArmorProfile:
6973
6974
6975
6976
                                    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.
6977
6978
                                    properties:
                                      localhostProfile:
6979
6980
6981
6982
6983
                                        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".
6984
6985
                                        type: string
                                      type:
6986
6987
6988
6989
6990
6991
                                        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.
6992
6993
6994
6995
6996
                                        type: string
                                    required:
                                      - type
                                    type: object
                                  capabilities:
6997
6998
6999
7000
                                    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.
7001
7002
                                    properties:
                                      add:
7003
                                        description: Added capabilities
7004
                                        items:
7005
                                          description: Capability represent POSIX capabilities type
7006
7007
7008
7009
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      drop:
7010
                                        description: Removed capabilities
7011
                                        items:
7012
                                          description: Capability represent POSIX capabilities type
7013
7014
7015
7016
7017
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  privileged:
7018
7019
7020
7021
7022
                                    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.
7023
7024
                                    type: boolean
                                  procMount:
7025
7026
7027
7028
7029
7030
                                    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.
7031
7032
                                    type: string
                                  readOnlyRootFilesystem:
7033
7034
7035
7036
                                    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.
7037
7038
                                    type: boolean
                                  runAsGroup:
7039
7040
7041
7042
7043
7044
                                    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.
7045
7046
7047
                                    format: int64
                                    type: integer
                                  runAsNonRoot:
7048
7049
7050
7051
7052
7053
7054
                                    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.
7055
7056
                                    type: boolean
                                  runAsUser:
7057
7058
7059
7060
7061
7062
                                    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.
7063
7064
7065
                                    format: int64
                                    type: integer
                                  seLinuxOptions:
7066
7067
7068
7069
7070
7071
                                    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.
7072
7073
                                    properties:
                                      level:
7074
                                        description: Level is SELinux level label that applies to the container.
7075
7076
                                        type: string
                                      role:
7077
                                        description: Role is a SELinux role label that applies to the container.
7078
7079
                                        type: string
                                      type:
7080
                                        description: Type is a SELinux type label that applies to the container.
7081
7082
                                        type: string
                                      user:
7083
                                        description: User is a SELinux user label that applies to the container.
7084
7085
7086
                                        type: string
                                    type: object
                                  seccompProfile:
7087
7088
7089
7090
7091
                                    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.
7092
7093
                                    properties:
                                      localhostProfile:
7094
7095
7096
7097
7098
                                        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.
7099
7100
                                        type: string
                                      type:
7101
7102
7103
7104
7105
7106
7107
                                        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.
7108
7109
7110
7111
7112
                                        type: string
                                    required:
                                      - type
                                    type: object
                                  windowsOptions:
7113
7114
7115
7116
7117
                                    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.
7118
7119
                                    properties:
                                      gmsaCredentialSpec:
7120
7121
7122
7123
                                        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.
7124
7125
                                        type: string
                                      gmsaCredentialSpecName:
7126
                                        description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
7127
7128
                                        type: string
                                      hostProcess:
7129
7130
7131
7132
7133
                                        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.
7134
7135
                                        type: boolean
                                      runAsUserName:
7136
7137
7138
7139
7140
                                        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.
7141
7142
7143
7144
                                        type: string
                                    type: object
                                type: object
                              startupProbe:
7145
7146
7147
7148
7149
7150
7151
7152
                                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
7153
7154
                                properties:
                                  exec:
7155
                                    description: Exec specifies a command to execute in the container.
7156
7157
                                    properties:
                                      command:
7158
7159
7160
7161
7162
7163
                                        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.
7164
7165
7166
7167
7168
7169
                                        items:
                                          type: string
                                        type: array
                                        x-kubernetes-list-type: atomic
                                    type: object
                                  failureThreshold:
7170
7171
7172
                                    description: |-
                                      Minimum consecutive failures for the probe to be considered failed after having succeeded.
                                      Defaults to 3. Minimum value is 1.
7173
7174
7175
                                    format: int32
                                    type: integer
                                  grpc:
7176
                                    description: GRPC specifies a GRPC HealthCheckRequest.
7177
7178
                                    properties:
                                      port:
7179
                                        description: Port number of the gRPC service. Number must be in the range 1 to 65535.
7180
7181
7182
7183
                                        format: int32
                                        type: integer
                                      service:
                                        default: ""
7184
7185
7186
7187
7188
                                        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.
7189
7190
7191
7192
7193
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  httpGet:
7194
                                    description: HTTPGet specifies an HTTP GET request to perform.
7195
7196
                                    properties:
                                      host:
7197
7198
7199
                                        description: |-
                                          Host name to connect to, defaults to the pod IP. You probably want to set
                                          "Host" in httpHeaders instead.
7200
7201
                                        type: string
                                      httpHeaders:
7202
                                        description: Custom headers to set in the request. HTTP allows repeated headers.
7203
                                        items:
7204
                                          description: HTTPHeader describes a custom header to be used in HTTP probes
7205
7206
                                          properties:
                                            name:
7207
7208
7209
                                              description: |-
                                                The header field name.
                                                This will be canonicalized upon output, so case-variant names will be understood as the same header.
7210
7211
                                              type: string
                                            value:
7212
                                              description: The header field value
7213
7214
7215
7216
7217
7218
7219
7220
                                              type: string
                                          required:
                                            - name
                                            - value
                                          type: object
                                        type: array
                                        x-kubernetes-list-type: atomic
                                      path:
7221
                                        description: Path to access on the HTTP server.
7222
7223
7224
7225
7226
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7227
7228
7229
7230
                                        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.
7231
7232
                                        x-kubernetes-int-or-string: true
                                      scheme:
7233
7234
7235
                                        description: |-
                                          Scheme to use for connecting to the host.
                                          Defaults to HTTP.
7236
7237
7238
7239
7240
                                        type: string
                                    required:
                                      - port
                                    type: object
                                  initialDelaySeconds:
7241
7242
7243
                                    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
7244
7245
7246
                                    format: int32
                                    type: integer
                                  periodSeconds:
7247
7248
7249
                                    description: |-
                                      How often (in seconds) to perform the probe.
                                      Default to 10 seconds. Minimum value is 1.
7250
7251
7252
                                    format: int32
                                    type: integer
                                  successThreshold:
7253
7254
7255
                                    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.
7256
7257
7258
                                    format: int32
                                    type: integer
                                  tcpSocket:
7259
                                    description: TCPSocket specifies a connection to a TCP port.
7260
7261
                                    properties:
                                      host:
7262
                                        description: 'Optional: Host name to connect to, defaults to the pod IP.'
7263
7264
7265
7266
7267
                                        type: string
                                      port:
                                        anyOf:
                                          - type: integer
                                          - type: string
7268
7269
7270
7271
                                        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.
7272
7273
7274
7275
7276
                                        x-kubernetes-int-or-string: true
                                    required:
                                      - port
                                    type: object
                                  terminationGracePeriodSeconds:
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
                                    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.
7288
7289
7290
                                    format: int64
                                    type: integer
                                  timeoutSeconds:
7291
7292
7293
7294
                                    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
7295
7296
7297
7298
                                    format: int32
                                    type: integer
                                type: object
                              stdin:
7299
7300
7301
7302
                                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.
7303
7304
                                type: boolean
                              stdinOnce:
7305
7306
7307
7308
7309
7310
7311
7312
                                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
7313
7314
                                type: boolean
                              terminationMessagePath:
7315
7316
7317
7318
7319
7320
7321
7322
                                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.
7323
7324
                                type: string
                              terminationMessagePolicy:
7325
7326
7327
7328
7329
7330
7331
7332
                                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.
7333
7334
                                type: string
                              tty:
7335
7336
7337
                                description: |-
                                  Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
                                  Default is false.
7338
7339
                                type: boolean
                              volumeDevices:
7340
                                description: volumeDevices is the list of block devices to be used by the container.
7341
                                items:
7342
                                  description: volumeDevice describes a mapping of a raw block device within a container.
7343
7344
                                  properties:
                                    devicePath:
7345
                                      description: devicePath is the path inside of the container that the device will be mapped to.
7346
7347
                                      type: string
                                    name:
7348
                                      description: name must match the name of a persistentVolumeClaim in the pod
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
                                      type: string
                                  required:
                                    - devicePath
                                    - name
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - devicePath
                                x-kubernetes-list-type: map
                              volumeMounts:
7359
7360
7361
                                description: |-
                                  Pod volumes to mount into the container's filesystem.
                                  Cannot be updated.
7362
                                items:
7363
                                  description: VolumeMount describes a mounting of a Volume within a container.
7364
7365
                                  properties:
                                    mountPath:
7366
7367
7368
                                      description: |-
                                        Path within the container at which the volume should be mounted.  Must
                                        not contain ':'.
7369
7370
                                      type: string
                                    mountPropagation:
7371
7372
7373
7374
7375
7376
7377
                                      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).
7378
7379
                                      type: string
                                    name:
7380
                                      description: This must match the Name of a Volume.
7381
7382
                                      type: string
                                    readOnly:
7383
7384
7385
                                      description: |-
                                        Mounted read-only if true, read-write otherwise (false or unspecified).
                                        Defaults to false.
7386
7387
                                      type: boolean
                                    recursiveReadOnly:
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
                                      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.
7405
7406
                                      type: string
                                    subPath:
7407
7408
7409
                                      description: |-
                                        Path within the volume from which the container's volume should be mounted.
                                        Defaults to "" (volume's root).
7410
7411
                                      type: string
                                    subPathExpr:
7412
7413
7414
7415
7416
                                      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.
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
                                      type: string
                                  required:
                                    - mountPath
                                    - name
                                  type: object
                                type: array
                                x-kubernetes-list-map-keys:
                                  - mountPath
                                x-kubernetes-list-type: map
                              workingDir:
7427
7428
7429
7430
7431
                                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.
7432
7433
7434
7435
                                type: string
                            required: []
                            type: object
                          nodeName:
7436
7437
7438
7439
7440
7441
                            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
7442
7443
7444
7445
                            type: string
                          nodeSelector:
                            additionalProperties:
                              type: string
7446
7447
7448
7449
                            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/
7450
7451
7452
                            type: object
                            x-kubernetes-map-type: atomic
                          os:
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
                            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
7485
7486
                            properties:
                              name:
7487
7488
7489
7490
7491
                                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
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
                                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
7503
7504
7505
7506
7507
7508
7509
7510
                            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
7511
7512
                            type: object
                          preemptionPolicy:
7513
7514
7515
7516
                            description: |-
                              PreemptionPolicy is the Policy for preempting pods with lower priority.
                              One of Never, PreemptLowerPriority.
                              Defaults to PreemptLowerPriority if unset.
7517
7518
                            type: string
                          priority:
7519
7520
7521
7522
7523
7524
                            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.
7525
7526
7527
                            format: int32
                            type: integer
                          priorityClassName:
7528
7529
7530
7531
7532
7533
7534
                            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.
7535
7536
                            type: string
                          readinessGates:
7537
7538
7539
7540
7541
                            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
7542
                            items:
7543
                              description: PodReadinessGate contains the reference to a pod condition
7544
7545
                              properties:
                                conditionType:
7546
                                  description: ConditionType refers to a condition in the pod's condition list with matching type.
7547
7548
7549
7550
7551
7552
7553
                                  type: string
                              required:
                                - conditionType
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          resourceClaims:
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
                            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.
7564
                            items:
7565
7566
7567
7568
7569
7570
7571
                              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.
7572
7573
                              properties:
                                name:
7574
7575
7576
                                  description: |-
                                    Name uniquely identifies this resource claim inside the pod.
                                    This must be a DNS_LABEL.
7577
7578
                                  type: string
                                resourceClaimName:
7579
7580
7581
7582
7583
7584
                                  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.
7585
7586
                                  type: string
                                resourceClaimTemplateName:
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
                                  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.
7603
7604
7605
7606
7607
7608
7609
7610
7611
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          resources:
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
                            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.
7622
7623
                            properties:
                              claims:
7624
7625
7626
7627
7628
7629
7630
7631
                                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.
7632
                                items:
7633
                                  description: ResourceClaim references one entry in PodSpec.ResourceClaims.
7634
7635
                                  properties:
                                    name:
7636
7637
7638
7639
                                      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.
7640
7641
                                      type: string
                                    request:
7642
7643
7644
7645
                                      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.
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
                                      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
7661
7662
7663
                                description: |-
                                  Limits describes the maximum amount of compute resources allowed.
                                  More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
7664
7665
7666
7667
7668
7669
7670
7671
                                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
7672
7673
7674
7675
7676
                                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/
7677
7678
7679
                                type: object
                            type: object
                          restartPolicy:
7680
7681
7682
7683
7684
                            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
7685
7686
                            type: string
                          runtimeClassName:
7687
7688
7689
7690
7691
7692
                            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
7693
7694
                            type: string
                          schedulerName:
7695
7696
7697
                            description: |-
                              If specified, the pod will be dispatched by specified scheduler.
                              If not specified, the pod will be dispatched by default scheduler.
7698
7699
                            type: string
                          schedulingGates:
7700
7701
7702
7703
7704
7705
                            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.
7706
                            items:
7707
                              description: PodSchedulingGate is associated to a Pod to guard its scheduling.
7708
7709
                              properties:
                                name:
7710
7711
7712
                                  description: |-
                                    Name of the scheduling gate.
                                    Each scheduling gate must have a unique name field.
7713
7714
7715
7716
7717
7718
7719
7720
7721
                                  type: string
                              required:
                                - name
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
                          securityContext:
7722
7723
7724
                            description: |-
                              SecurityContext holds pod-level security attributes and common container settings.
                              Optional: Defaults to empty.  See type description for default values of each field.
7725
7726
                            properties:
                              appArmorProfile:
7727
7728
7729
                                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.
7730
7731
                                properties:
                                  localhostProfile:
7732
7733
7734
7735
7736
                                    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".
7737
7738
                                    type: string
                                  type:
7739
7740
7741
7742
7743
7744
                                    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.
7745
7746
7747
7748
7749
                                    type: string
                                required:
                                  - type
                                type: object
                              fsGroup:
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
                                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.
7761
7762
7763
                                format: int64
                                type: integer
                              fsGroupChangePolicy:
7764
7765
7766
7767
7768
7769
7770
7771
                                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.
7772
7773
                                type: string
                              runAsGroup:
7774
7775
7776
7777
7778
7779
7780
                                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.
7781
7782
7783
                                format: int64
                                type: integer
                              runAsNonRoot:
7784
7785
7786
7787
7788
7789
7790
                                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.
7791
7792
                                type: boolean
                              runAsUser:
7793
7794
7795
7796
7797
7798
7799
                                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.
7800
7801
7802
                                format: int64
                                type: integer
                              seLinuxChangePolicy:
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
                                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.
7827
7828
                                type: string
                              seLinuxOptions:
7829
7830
7831
7832
7833
7834
7835
                                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.
7836
7837
                                properties:
                                  level:
7838
                                    description: Level is SELinux level label that applies to the container.
7839
7840
                                    type: string
                                  role:
7841
                                    description: Role is a SELinux role label that applies to the container.
7842
7843
                                    type: string
                                  type:
7844
                                    description: Type is a SELinux type label that applies to the container.
7845
7846
                                    type: string
                                  user:
7847
                                    description: User is a SELinux user label that applies to the container.
7848
7849
7850
                                    type: string
                                type: object
                              seccompProfile:
7851
7852
7853
                                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.
7854
7855
                                properties:
                                  localhostProfile:
7856
7857
7858
7859
7860
                                    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.
7861
7862
                                    type: string
                                  type:
7863
7864
7865
7866
7867
7868
7869
                                    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.
7870
7871
7872
7873
7874
                                    type: string
                                required:
                                  - type
                                type: object
                              supplementalGroups:
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
                                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.
7885
7886
7887
7888
7889
7890
                                items:
                                  format: int64
                                  type: integer
                                type: array
                                x-kubernetes-list-type: atomic
                              supplementalGroupsPolicy:
7891
7892
7893
7894
7895
7896
                                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.
7897
7898
                                type: string
                              sysctls:
7899
7900
7901
7902
                                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.
7903
                                items:
7904
                                  description: Sysctl defines a kernel parameter to be set
7905
7906
                                  properties:
                                    name:
7907
                                      description: Name of a property to set
7908
7909
                                      type: string
                                    value:
7910
                                      description: Value of a property to set
7911
7912
7913
7914
7915
7916
7917
7918
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              windowsOptions:
7919
7920
7921
7922
7923
                                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.
7924
7925
                                properties:
                                  gmsaCredentialSpec:
7926
7927
7928
7929
                                    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.
7930
7931
                                    type: string
                                  gmsaCredentialSpecName:
7932
                                    description: GMSACredentialSpecName is the name of the GMSA credential spec to use.
7933
7934
                                    type: string
                                  hostProcess:
7935
7936
7937
7938
7939
                                    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.
7940
7941
                                    type: boolean
                                  runAsUserName:
7942
7943
7944
7945
7946
                                    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.
7947
7948
7949
7950
                                    type: string
                                type: object
                            type: object
                          serviceAccount:
7951
7952
7953
                            description: |-
                              DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.
                              Deprecated: Use serviceAccountName instead.
7954
7955
                            type: string
                          serviceAccountName:
7956
7957
7958
                            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/
7959
7960
                            type: string
                          setHostnameAsFQDN:
7961
7962
7963
7964
7965
7966
                            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.
7967
7968
                            type: boolean
                          shareProcessNamespace:
7969
7970
7971
7972
7973
7974
                            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.
7975
7976
                            type: boolean
                          subdomain:
7977
7978
7979
                            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.
7980
7981
                            type: string
                          terminationGracePeriodSeconds:
7982
7983
7984
7985
7986
7987
7988
7989
7990
                            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.
7991
7992
7993
                            format: int64
                            type: integer
                          tolerations:
7994
                            description: If specified, the pod's tolerations.
7995
                            items:
7996
7997
7998
                              description: |-
                                The pod this Toleration is attached to tolerates any taint that matches
                                the triple <key,value,effect> using the matching operator <operator>.
7999
8000
                              properties:
                                effect:
8001
8002
8003
                                  description: |-
                                    Effect indicates the taint effect to match. Empty means match all taint effects.
                                    When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
8004
8005
                                  type: string
                                key:
8006
8007
8008
                                  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.
8009
8010
                                  type: string
                                operator:
8011
8012
8013
8014
8015
                                  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.
8016
8017
                                  type: string
                                tolerationSeconds:
8018
8019
8020
8021
8022
                                  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.
8023
8024
8025
                                  format: int64
                                  type: integer
                                value:
8026
8027
8028
                                  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.
8029
8030
8031
8032
8033
                                  type: string
                              type: object
                            type: array
                            x-kubernetes-list-type: atomic
                          topologySpreadConstraints:
8034
8035
8036
8037
                            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.
8038
                            items:
8039
                              description: TopologySpreadConstraint specifies how to spread matching pods among the given topology.
8040
8041
                              properties:
                                labelSelector:
8042
8043
8044
8045
                                  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.
8046
8047
                                  properties:
                                    matchExpressions:
8048
                                      description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
8049
                                      items:
8050
8051
8052
                                        description: |-
                                          A label selector requirement is a selector that contains values, a key, and an operator that
                                          relates the key and values.
8053
8054
                                        properties:
                                          key:
8055
                                            description: key is the label key that the selector applies to.
8056
8057
                                            type: string
                                          operator:
8058
8059
8060
                                            description: |-
                                              operator represents a key's relationship to a set of values.
                                              Valid operators are In, NotIn, Exists and DoesNotExist.
8061
8062
                                            type: string
                                          values:
8063
8064
8065
8066
8067
                                            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.
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
                                            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
8081
8082
8083
8084
                                      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.
8085
8086
8087
8088
                                      type: object
                                  type: object
                                  x-kubernetes-map-type: atomic
                                matchLabelKeys:
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
                                  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).
8100
8101
8102
8103
8104
                                  items:
                                    type: string
                                  type: array
                                  x-kubernetes-list-type: atomic
                                maxSkew:
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
                                  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.
8123
8124
8125
                                  format: int32
                                  type: integer
                                minDomains:
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
                                  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.
8146
8147
8148
                                  format: int32
                                  type: integer
                                nodeAffinityPolicy:
8149
8150
8151
8152
8153
8154
8155
                                  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.
8156
8157
                                  type: string
                                nodeTaintsPolicy:
8158
8159
8160
8161
8162
8163
8164
8165
                                  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.
8166
8167
                                  type: string
                                topologyKey:
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
                                  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.
8179
8180
                                  type: string
                                whenUnsatisfiable:
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
                                  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.
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
                                  type: string
                              required:
                                - maxSkew
                                - topologyKey
                                - whenUnsatisfiable
                              type: object
                            type: array
                            x-kubernetes-list-map-keys:
                              - topologyKey
                              - whenUnsatisfiable
                            x-kubernetes-list-type: map
                          volumes:
8212
8213
8214
                            description: |-
                              List of volumes that can be mounted by containers belonging to the pod.
                              More info: https://kubernetes.io/docs/concepts/storage/volumes
8215
                            items:
8216
                              description: Volume represents a named volume in a pod that may be accessed by any container in the pod.
8217
8218
                              properties:
                                awsElasticBlockStore:
8219
8220
8221
8222
8223
8224
                                  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
8225
8226
                                  properties:
                                    fsType:
8227
8228
8229
8230
8231
                                      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
8232
8233
                                      type: string
                                    partition:
8234
8235
8236
8237
8238
                                      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).
8239
8240
8241
                                      format: int32
                                      type: integer
                                    readOnly:
8242
8243
8244
                                      description: |-
                                        readOnly value true will force the readOnly setting in VolumeMounts.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
8245
8246
                                      type: boolean
                                    volumeID:
8247
8248
8249
                                      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
8250
8251
8252
8253
8254
                                      type: string
                                  required:
                                    - volumeID
                                  type: object
                                azureDisk:
8255
8256
8257
8258
                                  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.
8259
8260
                                  properties:
                                    cachingMode:
8261
                                      description: 'cachingMode is the Host Caching mode: None, Read Only, Read Write.'
8262
8263
                                      type: string
                                    diskName:
8264
                                      description: diskName is the Name of the data disk in the blob storage
8265
8266
                                      type: string
                                    diskURI:
8267
                                      description: diskURI is the URI of data disk in the blob storage
8268
8269
8270
                                      type: string
                                    fsType:
                                      default: ext4
8271
8272
8273
8274
                                      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.
8275
8276
                                      type: string
                                    kind:
8277
                                      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'
8278
8279
8280
                                      type: string
                                    readOnly:
                                      default: false
8281
8282
8283
                                      description: |-
                                        readOnly Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
8284
8285
8286
8287
8288
8289
                                      type: boolean
                                  required:
                                    - diskName
                                    - diskURI
                                  type: object
                                azureFile:
8290
8291
8292
8293
                                  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.
8294
8295
                                  properties:
                                    readOnly:
8296
8297
8298
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
8299
8300
                                      type: boolean
                                    secretName:
8301
                                      description: secretName is the  name of secret that contains Azure Storage Account Name and Key
8302
8303
                                      type: string
                                    shareName:
8304
                                      description: shareName is the azure share Name
8305
8306
8307
8308
8309
8310
                                      type: string
                                  required:
                                    - secretName
                                    - shareName
                                  type: object
                                cephfs:
8311
8312
8313
                                  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.
8314
8315
                                  properties:
                                    monitors:
8316
8317
8318
                                      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
8319
8320
8321
8322
8323
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    path:
8324
                                      description: 'path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /'
8325
8326
                                      type: string
                                    readOnly:
8327
8328
8329
8330
                                      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
8331
8332
                                      type: boolean
                                    secretFile:
8333
8334
8335
                                      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
8336
8337
                                      type: string
                                    secretRef:
8338
8339
8340
                                      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
8341
8342
8343
                                      properties:
                                        name:
                                          default: ""
8344
8345
8346
8347
8348
8349
                                          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
8350
8351
8352
8353
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    user:
8354
8355
8356
                                      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
8357
8358
8359
8360
8361
                                      type: string
                                  required:
                                    - monitors
                                  type: object
                                cinder:
8362
8363
8364
8365
8366
                                  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
8367
8368
                                  properties:
                                    fsType:
8369
8370
8371
8372
8373
                                      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
8374
8375
                                      type: string
                                    readOnly:
8376
8377
8378
8379
                                      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
8380
8381
                                      type: boolean
                                    secretRef:
8382
8383
8384
                                      description: |-
                                        secretRef is optional: points to a secret object containing parameters used to connect
                                        to OpenStack.
8385
8386
8387
                                      properties:
                                        name:
                                          default: ""
8388
8389
8390
8391
8392
8393
                                          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
8394
8395
8396
8397
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    volumeID:
8398
8399
8400
                                      description: |-
                                        volumeID used to identify the volume in cinder.
                                        More info: https://examples.k8s.io/mysql-cinder-pd/README.md
8401
8402
8403
8404
8405
                                      type: string
                                  required:
                                    - volumeID
                                  type: object
                                configMap:
8406
                                  description: configMap represents a configMap that should populate this volume
8407
8408
                                  properties:
                                    defaultMode:
8409
8410
8411
8412
8413
8414
8415
8416
                                      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.
8417
8418
8419
                                      format: int32
                                      type: integer
                                    items:
8420
8421
8422
8423
8424
8425
8426
8427
                                      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 '..'.
8428
                                      items:
8429
                                        description: Maps a string key to a path within a volume.
8430
8431
                                        properties:
                                          key:
8432
                                            description: key is the key to project.
8433
8434
                                            type: string
                                          mode:
8435
8436
8437
8438
8439
8440
8441
                                            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.
8442
8443
8444
                                            format: int32
                                            type: integer
                                          path:
8445
8446
8447
8448
8449
                                            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 '..'.
8450
8451
8452
8453
8454
8455
8456
8457
8458
                                            type: string
                                        required:
                                          - key
                                          - path
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    name:
                                      default: ""
8459
8460
8461
8462
8463
8464
                                      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
8465
8466
                                      type: string
                                    optional:
8467
                                      description: optional specify whether the ConfigMap or its keys must be defined
8468
8469
8470
8471
                                      type: boolean
                                  type: object
                                  x-kubernetes-map-type: atomic
                                csi:
8472
                                  description: csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
8473
8474
                                  properties:
                                    driver:
8475
8476
8477
                                      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.
8478
8479
                                      type: string
                                    fsType:
8480
8481
8482
8483
                                      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.
8484
8485
                                      type: string
                                    nodePublishSecretRef:
8486
8487
8488
8489
8490
8491
                                      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.
8492
8493
8494
                                      properties:
                                        name:
                                          default: ""
8495
8496
8497
8498
8499
8500
                                          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
8501
8502
8503
8504
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    readOnly:
8505
8506
8507
                                      description: |-
                                        readOnly specifies a read-only configuration for the volume.
                                        Defaults to false (read/write).
8508
8509
8510
8511
                                      type: boolean
                                    volumeAttributes:
                                      additionalProperties:
                                        type: string
8512
8513
8514
                                      description: |-
                                        volumeAttributes stores driver-specific properties that are passed to the CSI
                                        driver. Consult your driver's documentation for supported values.
8515
8516
8517
8518
8519
                                      type: object
                                  required:
                                    - driver
                                  type: object
                                downwardAPI:
8520
                                  description: downwardAPI represents downward API about the pod that should populate this volume
8521
8522
                                  properties:
                                    defaultMode:
8523
8524
8525
8526
8527
8528
8529
8530
8531
                                      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.
8532
8533
8534
                                      format: int32
                                      type: integer
                                    items:
8535
                                      description: Items is a list of downward API volume file
8536
                                      items:
8537
                                        description: DownwardAPIVolumeFile represents information to create the file containing the pod field
8538
8539
                                        properties:
                                          fieldRef:
8540
                                            description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
8541
8542
                                            properties:
                                              apiVersion:
8543
                                                description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
8544
8545
                                                type: string
                                              fieldPath:
8546
                                                description: Path of the field to select in the specified API version.
8547
8548
8549
8550
8551
8552
                                                type: string
                                            required:
                                              - fieldPath
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          mode:
8553
8554
8555
8556
8557
8558
8559
                                            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.
8560
8561
8562
                                            format: int32
                                            type: integer
                                          path:
8563
                                            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 ''..'''
8564
8565
                                            type: string
                                          resourceFieldRef:
8566
8567
8568
                                            description: |-
                                              Selects a resource of the container: only resources limits and requests
                                              (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
8569
8570
                                            properties:
                                              containerName:
8571
                                                description: 'Container name: required for volumes, optional for env vars'
8572
8573
8574
8575
8576
                                                type: string
                                              divisor:
                                                anyOf:
                                                  - type: integer
                                                  - type: string
8577
                                                description: Specifies the output format of the exposed resources, defaults to "1"
8578
8579
8580
                                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                x-kubernetes-int-or-string: true
                                              resource:
8581
                                                description: 'Required: resource to select'
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
                                                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:
8594
8595
8596
                                  description: |-
                                    emptyDir represents a temporary directory that shares a pod's lifetime.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
8597
8598
                                  properties:
                                    medium:
8599
8600
8601
8602
8603
                                      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
8604
8605
8606
8607
8608
                                      type: string
                                    sizeLimit:
                                      anyOf:
                                        - type: integer
                                        - type: string
8609
8610
8611
8612
8613
8614
8615
                                      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
8616
8617
8618
8619
                                      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:
8620
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: |-
                                    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.
8645
8646
                                  properties:
                                    volumeClaimTemplate:
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
                                      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.
8669
8670
                                      properties:
                                        metadata:
8671
8672
8673
8674
                                          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.
8675
8676
                                          type: object
                                        spec:
8677
8678
8679
8680
8681
                                          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.
8682
8683
                                          properties:
                                            accessModes:
8684
8685
8686
                                              description: |-
                                                accessModes contains the desired access modes the volume should have.
                                                More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
8687
8688
8689
8690
8691
                                              items:
                                                type: string
                                              type: array
                                              x-kubernetes-list-type: atomic
                                            dataSource:
8692
8693
8694
8695
8696
8697
8698
8699
8700
                                              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.
8701
8702
                                              properties:
                                                apiGroup:
8703
8704
8705
8706
                                                  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.
8707
8708
                                                  type: string
                                                kind:
8709
                                                  description: Kind is the type of resource being referenced
8710
8711
                                                  type: string
                                                name:
8712
                                                  description: Name is the name of resource being referenced
8713
8714
8715
8716
8717
8718
8719
                                                  type: string
                                              required:
                                                - kind
                                                - name
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            dataSourceRef:
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
                                              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.
8744
8745
                                              properties:
                                                apiGroup:
8746
8747
8748
8749
                                                  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.
8750
8751
                                                  type: string
                                                kind:
8752
                                                  description: Kind is the type of resource being referenced
8753
8754
                                                  type: string
                                                name:
8755
                                                  description: Name is the name of resource being referenced
8756
8757
                                                  type: string
                                                namespace:
8758
8759
8760
8761
                                                  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.
8762
8763
8764
8765
8766
8767
                                                  type: string
                                              required:
                                                - kind
                                                - name
                                              type: object
                                            resources:
8768
8769
8770
8771
8772
8773
                                              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
8774
8775
8776
8777
8778
8779
8780
8781
                                              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
8782
8783
8784
                                                  description: |-
                                                    Limits describes the maximum amount of compute resources allowed.
                                                    More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
8785
8786
8787
8788
8789
8790
8791
8792
                                                  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
8793
8794
8795
8796
8797
                                                  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/
8798
8799
8800
                                                  type: object
                                              type: object
                                            selector:
8801
                                              description: selector is a label query over volumes to consider for binding.
8802
8803
                                              properties:
                                                matchExpressions:
8804
                                                  description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
8805
                                                  items:
8806
8807
8808
                                                    description: |-
                                                      A label selector requirement is a selector that contains values, a key, and an operator that
                                                      relates the key and values.
8809
8810
                                                    properties:
                                                      key:
8811
                                                        description: key is the label key that the selector applies to.
8812
8813
                                                        type: string
                                                      operator:
8814
8815
8816
                                                        description: |-
                                                          operator represents a key's relationship to a set of values.
                                                          Valid operators are In, NotIn, Exists and DoesNotExist.
8817
8818
                                                        type: string
                                                      values:
8819
8820
8821
8822
8823
                                                        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.
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
                                                        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
8837
8838
8839
8840
                                                  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.
8841
8842
8843
8844
                                                  type: object
                                              type: object
                                              x-kubernetes-map-type: atomic
                                            storageClassName:
8845
8846
8847
                                              description: |-
                                                storageClassName is the name of the StorageClass required by the claim.
                                                More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
8848
8849
                                              type: string
                                            volumeAttributesClassName:
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
                                              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).
8863
8864
                                              type: string
                                            volumeMode:
8865
8866
8867
                                              description: |-
                                                volumeMode defines what type of volume is required by the claim.
                                                Value of Filesystem is implied when not included in claim spec.
8868
8869
                                              type: string
                                            volumeName:
8870
                                              description: volumeName is the binding reference to the PersistentVolume backing this claim.
8871
8872
8873
8874
8875
8876
8877
                                              type: string
                                          type: object
                                      required:
                                        - spec
                                      type: object
                                  type: object
                                fc:
8878
                                  description: fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
8879
8880
                                  properties:
                                    fsType:
8881
8882
8883
8884
                                      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.
8885
8886
                                      type: string
                                    lun:
8887
                                      description: 'lun is Optional: FC target lun number'
8888
8889
8890
                                      format: int32
                                      type: integer
                                    readOnly:
8891
8892
8893
                                      description: |-
                                        readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
8894
8895
                                      type: boolean
                                    targetWWNs:
8896
                                      description: 'targetWWNs is Optional: FC target worldwide names (WWNs)'
8897
8898
8899
8900
8901
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    wwids:
8902
8903
8904
                                      description: |-
                                        wwids Optional: FC volume world wide identifiers (wwids)
                                        Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
8905
8906
8907
8908
8909
8910
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                flexVolume:
8911
8912
8913
8914
                                  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.
8915
8916
                                  properties:
                                    driver:
8917
                                      description: driver is the name of the driver to use for this volume.
8918
8919
                                      type: string
                                    fsType:
8920
8921
8922
8923
                                      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.
8924
8925
8926
8927
                                      type: string
                                    options:
                                      additionalProperties:
                                        type: string
8928
                                      description: 'options is Optional: this field holds extra command options if any.'
8929
8930
                                      type: object
                                    readOnly:
8931
8932
8933
                                      description: |-
                                        readOnly is Optional: defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
8934
8935
                                      type: boolean
                                    secretRef:
8936
8937
8938
8939
8940
8941
                                      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.
8942
8943
8944
                                      properties:
                                        name:
                                          default: ""
8945
8946
8947
8948
8949
8950
                                          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
8951
8952
8953
8954
8955
8956
8957
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                  required:
                                    - driver
                                  type: object
                                flocker:
8958
8959
8960
                                  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.
8961
8962
                                  properties:
                                    datasetName:
8963
8964
8965
                                      description: |-
                                        datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
                                        should be considered as deprecated
8966
8967
                                      type: string
                                    datasetUUID:
8968
                                      description: datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
8969
8970
8971
                                      type: string
                                  type: object
                                gcePersistentDisk:
8972
8973
8974
8975
8976
8977
                                  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
8978
8979
                                  properties:
                                    fsType:
8980
8981
8982
8983
8984
                                      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
8985
8986
                                      type: string
                                    partition:
8987
8988
8989
8990
8991
8992
                                      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
8993
8994
8995
                                      format: int32
                                      type: integer
                                    pdName:
8996
8997
8998
                                      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
8999
9000
                                      type: string
                                    readOnly:
9001
9002
9003
9004
                                      description: |-
                                        readOnly here will force the ReadOnly setting in VolumeMounts.
                                        Defaults to false.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
9005
9006
9007
9008
9009
                                      type: boolean
                                  required:
                                    - pdName
                                  type: object
                                gitRepo:
9010
9011
9012
9013
9014
                                  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.
9015
9016
                                  properties:
                                    directory:
9017
9018
9019
9020
9021
                                      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.
9022
9023
                                      type: string
                                    repository:
9024
                                      description: repository is the URL
9025
9026
                                      type: string
                                    revision:
9027
                                      description: revision is the commit hash for the specified revision.
9028
9029
9030
9031
9032
                                      type: string
                                  required:
                                    - repository
                                  type: object
                                glusterfs:
9033
9034
9035
9036
                                  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
9037
9038
                                  properties:
                                    endpoints:
9039
9040
9041
                                      description: |-
                                        endpoints is the endpoint name that details Glusterfs topology.
                                        More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
9042
9043
                                      type: string
                                    path:
9044
9045
9046
                                      description: |-
                                        path is the Glusterfs volume path.
                                        More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
9047
9048
                                      type: string
                                    readOnly:
9049
9050
9051
9052
                                      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
9053
9054
9055
9056
9057
9058
                                      type: boolean
                                  required:
                                    - endpoints
                                    - path
                                  type: object
                                hostPath:
9059
9060
9061
9062
9063
9064
                                  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
9065
9066
                                  properties:
                                    path:
9067
9068
9069
9070
                                      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
9071
9072
                                      type: string
                                    type:
9073
9074
9075
9076
                                      description: |-
                                        type for HostPath Volume
                                        Defaults to ""
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
9077
9078
9079
9080
9081
                                      type: string
                                  required:
                                    - path
                                  type: object
                                image:
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
                                  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.
9097
9098
                                  properties:
                                    pullPolicy:
9099
9100
9101
9102
9103
9104
                                      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.
9105
9106
                                      type: string
                                    reference:
9107
9108
9109
9110
9111
9112
9113
                                      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.
9114
9115
9116
                                      type: string
                                  type: object
                                iscsi:
9117
9118
9119
9120
                                  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
9121
9122
                                  properties:
                                    chapAuthDiscovery:
9123
                                      description: chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
9124
9125
                                      type: boolean
                                    chapAuthSession:
9126
                                      description: chapAuthSession defines whether support iSCSI Session CHAP authentication
9127
9128
                                      type: boolean
                                    fsType:
9129
9130
9131
9132
9133
                                      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
9134
9135
                                      type: string
                                    initiatorName:
9136
9137
9138
9139
                                      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.
9140
9141
                                      type: string
                                    iqn:
9142
                                      description: iqn is the target iSCSI Qualified Name.
9143
9144
9145
                                      type: string
                                    iscsiInterface:
                                      default: default
9146
9147
9148
                                      description: |-
                                        iscsiInterface is the interface Name that uses an iSCSI transport.
                                        Defaults to 'default' (tcp).
9149
9150
                                      type: string
                                    lun:
9151
                                      description: lun represents iSCSI Target Lun number.
9152
9153
9154
                                      format: int32
                                      type: integer
                                    portals:
9155
9156
9157
                                      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).
9158
9159
9160
9161
9162
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    readOnly:
9163
9164
9165
                                      description: |-
                                        readOnly here will force the ReadOnly setting in VolumeMounts.
                                        Defaults to false.
9166
9167
                                      type: boolean
                                    secretRef:
9168
                                      description: secretRef is the CHAP Secret for iSCSI target and initiator authentication
9169
9170
9171
                                      properties:
                                        name:
                                          default: ""
9172
9173
9174
9175
9176
9177
                                          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
9178
9179
9180
9181
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    targetPortal:
9182
9183
9184
                                      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).
9185
9186
9187
9188
9189
9190
9191
                                      type: string
                                  required:
                                    - iqn
                                    - lun
                                    - targetPortal
                                  type: object
                                name:
9192
9193
9194
9195
                                  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
9196
9197
                                  type: string
                                nfs:
9198
9199
9200
                                  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
9201
                                  properties:
9202
                                    path:
9203
9204
9205
                                      description: |-
                                        path that is exported by the NFS server.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9206
                                      type: string
9207
                                    readOnly:
9208
9209
9210
9211
                                      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
9212
9213
                                      type: boolean
                                    server:
9214
9215
9216
                                      description: |-
                                        server is the hostname or IP address of the NFS server.
                                        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
9217
9218
                                      type: string
                                  required:
9219
9220
                                    - path
                                    - server
9221
                                  type: object
9222
                                persistentVolumeClaim:
9223
9224
9225
9226
                                  description: |-
                                    persistentVolumeClaimVolumeSource represents a reference to a
                                    PersistentVolumeClaim in the same namespace.
                                    More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
9227
                                  properties:
9228
                                    claimName:
9229
9230
9231
                                      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
9232
                                      type: string
9233
                                    readOnly:
9234
9235
9236
                                      description: |-
                                        readOnly Will force the ReadOnly setting in VolumeMounts.
                                        Default false.
9237
9238
9239
9240
9241
                                      type: boolean
                                  required:
                                    - claimName
                                  type: object
                                photonPersistentDisk:
9242
9243
9244
                                  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.
9245
9246
                                  properties:
                                    fsType:
9247
9248
9249
9250
                                      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.
9251
                                      type: string
9252
                                    pdID:
9253
                                      description: pdID is the ID that identifies Photon Controller persistent disk
9254
9255
9256
9257
9258
                                      type: string
                                  required:
                                    - pdID
                                  type: object
                                portworxVolume:
9259
9260
9261
9262
9263
                                  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.
9264
9265
                                  properties:
                                    fsType:
9266
9267
9268
9269
                                      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.
9270
                                      type: string
9271
                                    readOnly:
9272
9273
9274
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9275
                                      type: boolean
9276
                                    volumeID:
9277
                                      description: volumeID uniquely identifies a Portworx volume
9278
                                      type: string
9279
9280
9281
9282
                                  required:
                                    - volumeID
                                  type: object
                                projected:
9283
                                  description: projected items for all in one resources secrets, configmaps, and downward API
9284
9285
                                  properties:
                                    defaultMode:
9286
9287
9288
9289
9290
9291
9292
                                      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.
9293
9294
9295
                                      format: int32
                                      type: integer
                                    sources:
9296
9297
9298
                                      description: |-
                                        sources is the list of volume projections. Each entry in this list
                                        handles one source.
9299
                                      items:
9300
9301
9302
                                        description: |-
                                          Projection that may be projected along with other supported volume types.
                                          Exactly one of these fields must be set.
9303
9304
                                        properties:
                                          clusterTrustBundle:
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
                                            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.
9319
9320
                                            properties:
                                              labelSelector:
9321
9322
9323
9324
9325
                                                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".
9326
9327
                                                properties:
                                                  matchExpressions:
9328
                                                    description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
9329
                                                    items:
9330
9331
9332
                                                      description: |-
                                                        A label selector requirement is a selector that contains values, a key, and an operator that
                                                        relates the key and values.
9333
9334
                                                      properties:
                                                        key:
9335
                                                          description: key is the label key that the selector applies to.
9336
9337
                                                          type: string
                                                        operator:
9338
9339
9340
                                                          description: |-
                                                            operator represents a key's relationship to a set of values.
                                                            Valid operators are In, NotIn, Exists and DoesNotExist.
9341
9342
                                                          type: string
                                                        values:
9343
9344
9345
9346
9347
                                                          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.
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
                                                          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
9361
9362
9363
9364
                                                    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.
9365
9366
9367
9368
                                                    type: object
                                                type: object
                                                x-kubernetes-map-type: atomic
                                              name:
9369
9370
9371
                                                description: |-
                                                  Select a single ClusterTrustBundle by object name.  Mutually-exclusive
                                                  with signerName and labelSelector.
9372
9373
                                                type: string
                                              optional:
9374
9375
9376
9377
9378
9379
                                                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.
9380
9381
                                                type: boolean
                                              path:
9382
                                                description: Relative path from the volume root to write the bundle.
9383
9384
                                                type: string
                                              signerName:
9385
9386
9387
9388
                                                description: |-
                                                  Select all ClusterTrustBundles that match this signer name.
                                                  Mutually-exclusive with name.  The contents of all selected
                                                  ClusterTrustBundles will be unified and deduplicated.
9389
9390
9391
9392
9393
                                                type: string
                                            required:
                                              - path
                                            type: object
                                          configMap:
9394
                                            description: configMap information about the configMap data to project
9395
9396
                                            properties:
                                              items:
9397
9398
9399
9400
9401
9402
9403
9404
                                                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 '..'.
9405
                                                items:
9406
                                                  description: Maps a string key to a path within a volume.
9407
9408
                                                  properties:
                                                    key:
9409
                                                      description: key is the key to project.
9410
9411
                                                      type: string
                                                    mode:
9412
9413
9414
9415
9416
9417
9418
                                                      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.
9419
9420
9421
                                                      format: int32
                                                      type: integer
                                                    path:
9422
9423
9424
9425
9426
                                                      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 '..'.
9427
9428
9429
9430
9431
9432
9433
9434
9435
                                                      type: string
                                                  required:
                                                    - key
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                              name:
                                                default: ""
9436
9437
9438
9439
9440
9441
                                                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
9442
9443
                                                type: string
                                              optional:
9444
                                                description: optional specify whether the ConfigMap or its keys must be defined
9445
9446
9447
9448
                                                type: boolean
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          downwardAPI:
9449
                                            description: downwardAPI information about the downwardAPI data to project
9450
9451
                                            properties:
                                              items:
9452
                                                description: Items is a list of DownwardAPIVolume file
9453
                                                items:
9454
                                                  description: DownwardAPIVolumeFile represents information to create the file containing the pod field
9455
9456
                                                  properties:
                                                    fieldRef:
9457
                                                      description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
9458
9459
                                                      properties:
                                                        apiVersion:
9460
                                                          description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
9461
9462
                                                          type: string
                                                        fieldPath:
9463
                                                          description: Path of the field to select in the specified API version.
9464
9465
9466
9467
9468
9469
                                                          type: string
                                                      required:
                                                        - fieldPath
                                                      type: object
                                                      x-kubernetes-map-type: atomic
                                                    mode:
9470
9471
9472
9473
9474
9475
9476
                                                      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.
9477
9478
9479
                                                      format: int32
                                                      type: integer
                                                    path:
9480
                                                      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 ''..'''
9481
9482
                                                      type: string
                                                    resourceFieldRef:
9483
9484
9485
                                                      description: |-
                                                        Selects a resource of the container: only resources limits and requests
                                                        (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
9486
9487
                                                      properties:
                                                        containerName:
9488
                                                          description: 'Container name: required for volumes, optional for env vars'
9489
9490
9491
9492
9493
                                                          type: string
                                                        divisor:
                                                          anyOf:
                                                            - type: integer
                                                            - type: string
9494
                                                          description: Specifies the output format of the exposed resources, defaults to "1"
9495
9496
9497
                                                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                                          x-kubernetes-int-or-string: true
                                                        resource:
9498
                                                          description: 'Required: resource to select'
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
                                                          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:
9511
                                            description: secret information about the secret data to project
9512
9513
                                            properties:
                                              items:
9514
9515
9516
9517
9518
9519
9520
9521
                                                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 '..'.
9522
                                                items:
9523
                                                  description: Maps a string key to a path within a volume.
9524
9525
                                                  properties:
                                                    key:
9526
                                                      description: key is the key to project.
9527
9528
                                                      type: string
                                                    mode:
9529
9530
9531
9532
9533
9534
9535
                                                      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.
9536
9537
9538
                                                      format: int32
                                                      type: integer
                                                    path:
9539
9540
9541
9542
9543
                                                      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 '..'.
9544
9545
9546
9547
9548
9549
9550
9551
9552
                                                      type: string
                                                  required:
                                                    - key
                                                    - path
                                                  type: object
                                                type: array
                                                x-kubernetes-list-type: atomic
                                              name:
                                                default: ""
9553
9554
9555
9556
9557
9558
                                                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
9559
9560
                                                type: string
                                              optional:
9561
                                                description: optional field specify whether the Secret or its key must be defined
9562
9563
9564
9565
                                                type: boolean
                                            type: object
                                            x-kubernetes-map-type: atomic
                                          serviceAccountToken:
9566
                                            description: serviceAccountToken is information about the serviceAccountToken data to project
9567
9568
                                            properties:
                                              audience:
9569
9570
9571
9572
9573
                                                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.
9574
9575
                                                type: string
                                              expirationSeconds:
9576
9577
9578
9579
9580
9581
9582
                                                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.
9583
9584
9585
                                                format: int64
                                                type: integer
                                              path:
9586
9587
9588
                                                description: |-
                                                  path is the path relative to the mount point of the file to project the
                                                  token into.
9589
9590
9591
9592
9593
9594
9595
9596
9597
                                                type: string
                                            required:
                                              - path
                                            type: object
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
                                  type: object
                                quobyte:
9598
9599
9600
                                  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.
9601
9602
                                  properties:
                                    group:
9603
9604
9605
                                      description: |-
                                        group to map volume access to
                                        Default is no group
9606
                                      type: string
9607
                                    readOnly:
9608
9609
9610
                                      description: |-
                                        readOnly here will force the Quobyte volume to be mounted with read-only permissions.
                                        Defaults to false.
9611
9612
                                      type: boolean
                                    registry:
9613
9614
9615
9616
                                      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
9617
9618
                                      type: string
                                    tenant:
9619
9620
9621
                                      description: |-
                                        tenant owning the given Quobyte volume in the Backend
                                        Used with dynamically provisioned Quobyte volumes, value is set by the plugin
9622
9623
                                      type: string
                                    user:
9624
9625
9626
                                      description: |-
                                        user to map volume access to
                                        Defaults to serivceaccount user
9627
9628
                                      type: string
                                    volume:
9629
                                      description: volume is a string that references an already created Quobyte volume by name.
9630
9631
                                      type: string
                                  required:
9632
9633
                                    - registry
                                    - volume
9634
                                  type: object
9635
                                rbd:
9636
9637
9638
9639
                                  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
9640
                                  properties:
9641
                                    fsType:
9642
9643
9644
9645
9646
                                      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
9647
9648
                                      type: string
                                    image:
9649
9650
9651
                                      description: |-
                                        image is the rados image name.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9652
9653
9654
                                      type: string
                                    keyring:
                                      default: /etc/ceph/keyring
9655
9656
9657
9658
                                      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
9659
9660
                                      type: string
                                    monitors:
9661
9662
9663
                                      description: |-
                                        monitors is a collection of Ceph monitors.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9664
9665
9666
9667
9668
9669
                                      items:
                                        type: string
                                      type: array
                                      x-kubernetes-list-type: atomic
                                    pool:
                                      default: rbd
9670
9671
9672
9673
                                      description: |-
                                        pool is the rados pool name.
                                        Default is rbd.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9674
9675
                                      type: string
                                    readOnly:
9676
9677
9678
9679
                                      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
9680
9681
                                      type: boolean
                                    secretRef:
9682
9683
9684
9685
9686
                                      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
9687
9688
9689
                                      properties:
                                        name:
                                          default: ""
9690
9691
9692
9693
9694
9695
                                          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
9696
9697
9698
9699
9700
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    user:
                                      default: admin
9701
9702
9703
9704
                                      description: |-
                                        user is the rados user name.
                                        Default is admin.
                                        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
9705
9706
9707
9708
9709
9710
                                      type: string
                                  required:
                                    - image
                                    - monitors
                                  type: object
                                scaleIO:
9711
9712
9713
                                  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.
9714
9715
9716
                                  properties:
                                    fsType:
                                      default: xfs
9717
9718
9719
9720
9721
                                      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".
9722
9723
                                      type: string
                                    gateway:
9724
                                      description: gateway is the host address of the ScaleIO API Gateway.
9725
9726
                                      type: string
                                    protectionDomain:
9727
                                      description: protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
9728
9729
                                      type: string
                                    readOnly:
9730
9731
9732
                                      description: |-
                                        readOnly Defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9733
9734
                                      type: boolean
                                    secretRef:
9735
9736
9737
                                      description: |-
                                        secretRef references to the secret for ScaleIO user and other
                                        sensitive information. If this is not provided, Login operation will fail.
9738
9739
9740
                                      properties:
                                        name:
                                          default: ""
9741
9742
9743
9744
9745
9746
                                          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
9747
9748
9749
9750
                                          type: string
                                      type: object
                                      x-kubernetes-map-type: atomic
                                    sslEnabled:
9751
                                      description: sslEnabled Flag enable/disable SSL communication with Gateway, default false
9752
9753
9754
                                      type: boolean
                                    storageMode:
                                      default: ThinProvisioned
9755
9756
9757
                                      description: |-
                                        storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
                                        Default is ThinProvisioned.
9758
9759
                                      type: string
                                    storagePool:
9760
                                      description: storagePool is the ScaleIO Storage Pool associated with the protection domain.
9761
9762
                                      type: string
                                    system:
9763
                                      description: system is the name of the storage system as configured in ScaleIO.
9764
9765
                                      type: string
                                    volumeName:
9766
9767
9768
                                      description: |-
                                        volumeName is the name of a volume already created in the ScaleIO system
                                        that is associated with this volume source.
9769
9770
9771
9772
9773
9774
9775
                                      type: string
                                  required:
                                    - gateway
                                    - secretRef
                                    - system
                                  type: object
                                secret:
9776
9777
9778
                                  description: |-
                                    secret represents a secret that should populate this volume.
                                    More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
9779
9780
                                  properties:
                                    defaultMode:
9781
9782
9783
9784
9785
9786
9787
9788
                                      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.
9789
9790
9791
                                      format: int32
                                      type: integer
                                    items:
9792
9793
9794
9795
9796
9797
9798
9799
                                      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 '..'.
9800
                                      items:
9801
                                        description: Maps a string key to a path within a volume.
9802
                                        properties:
9803
                                          key:
9804
                                            description: key is the key to project.
9805
                                            type: string
9806
                                          mode:
9807
9808
9809
9810
9811
9812
9813
                                            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.
9814
9815
9816
                                            format: int32
                                            type: integer
                                          path:
9817
9818
9819
9820
9821
                                            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 '..'.
9822
9823
                                            type: string
                                        required:
9824
                                          - key
9825
                                          - path
9826
9827
9828
                                        type: object
                                      type: array
                                      x-kubernetes-list-type: atomic
9829
                                    optional:
9830
                                      description: optional field specify whether the Secret or its keys must be defined
9831
9832
                                      type: boolean
                                    secretName:
9833
9834
9835
                                      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
9836
9837
9838
                                      type: string
                                  type: object
                                storageos:
9839
9840
9841
                                  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.
9842
9843
                                  properties:
                                    fsType:
9844
9845
9846
9847
                                      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.
9848
9849
                                      type: string
                                    readOnly:
9850
9851
9852
                                      description: |-
                                        readOnly defaults to false (read/write). ReadOnly here will force
                                        the ReadOnly setting in VolumeMounts.
9853
9854
                                      type: boolean
                                    secretRef:
9855
9856
9857
                                      description: |-
                                        secretRef specifies the secret to use for obtaining the StorageOS API
                                        credentials.  If not specified, default values will be attempted.
9858
9859
9860
                                      properties:
                                        name:
                                          default: ""
9861
9862
9863
9864
9865
9866
                                          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
9867
                                          type: string
9868
                                      type: object
9869
9870
                                      x-kubernetes-map-type: atomic
                                    volumeName:
9871
9872
9873
                                      description: |-
                                        volumeName is the human-readable name of the StorageOS volume.  Volume
                                        names are only unique within a namespace.
9874
9875
                                      type: string
                                    volumeNamespace:
9876
9877
9878
9879
9880
9881
9882
                                      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.
9883
9884
9885
                                      type: string
                                  type: object
                                vsphereVolume:
9886
9887
9888
9889
                                  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.
9890
9891
                                  properties:
                                    fsType:
9892
9893
9894
9895
                                      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.
9896
9897
                                      type: string
                                    storagePolicyID:
9898
                                      description: storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
9899
9900
                                      type: string
                                    storagePolicyName:
9901
                                      description: storagePolicyName is the storage Policy Based Management (SPBM) profile name.
9902
9903
                                      type: string
                                    volumePath:
9904
                                      description: volumePath is the path that identifies vSphere volume vmdk
9905
9906
9907
                                      type: string
                                  required:
                                    - volumePath
9908
                                  type: object
9909
                              required:
9910
                                - name
9911
                              type: object
9912
                            type: array
9913
9914
9915
                            x-kubernetes-list-map-keys:
                              - name
                            x-kubernetes-list-type: map
9916
                        required: []
9917
9918
                        type: object
                      ingress:
9919
                        description: Ingress config to expose the component outside the cluster (or through a service mesh).
9920
9921
9922
                        properties:
                          annotations:
                            additionalProperties:
9923
                              type: string
9924
                            description: Annotations to set on the generated Ingress/VirtualService resources.
9925
9926
                            type: object
                          enabled:
9927
                            description: Enabled exposes the component through an ingress or virtual service when true.
9928
9929
                            type: boolean
                          host:
9930
                            description: Host is the base host name to route external traffic to this component.
9931
9932
                            type: string
                          hostPrefix:
9933
                            description: HostPrefix is an optional prefix added before the host.
9934
9935
                            type: string
                          hostSuffix:
9936
                            description: HostSuffix is an optional suffix appended after the host.
9937
9938
                            type: string
                          ingressControllerClassName:
9939
                            description: IngressControllerClassName selects the ingress controller class (e.g., "nginx").
9940
9941
9942
                            type: string
                          labels:
                            additionalProperties:
9943
                              type: string
9944
                            description: Labels to set on the generated Ingress/VirtualService resources.
9945
9946
                            type: object
                          tls:
9947
                            description: TLS holds the TLS configuration used by the Ingress/VirtualService.
9948
9949
                            properties:
                              secretName:
9950
                                description: SecretName is the name of a Kubernetes Secret containing the TLS certificate and key.
9951
9952
9953
                                type: string
                            type: object
                          useVirtualService:
9954
                            description: UseVirtualService indicates whether to configure a service-mesh VirtualService instead of a standard Ingress.
9955
9956
                            type: boolean
                          virtualServiceGateway:
9957
                            description: VirtualServiceGateway optionally specifies the gateway name to attach the VirtualService to.
9958
                            type: string
9959
9960
9961
                        type: object
                      labels:
                        additionalProperties:
9962
                          type: string
9963
                        description: Labels to add to generated Kubernetes resources for this component.
9964
9965
                        type: object
                      livenessProbe:
9966
                        description: LivenessProbe to detect and restart unhealthy containers.
9967
9968
                        properties:
                          exec:
9969
                            description: Exec specifies a command to execute in the container.
9970
9971
                            properties:
                              command:
9972
9973
9974
9975
9976
9977
                                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.
9978
9979
9980
9981
9982
9983
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
                            type: object
                          failureThreshold:
9984
9985
9986
                            description: |-
                              Minimum consecutive failures for the probe to be considered failed after having succeeded.
                              Defaults to 3. Minimum value is 1.
9987
9988
9989
                            format: int32
                            type: integer
                          grpc:
9990
                            description: GRPC specifies a GRPC HealthCheckRequest.
9991
                            properties:
9992
                              port:
9993
                                description: Port number of the gRPC service. Number must be in the range 1 to 65535.
9994
9995
9996
9997
                                format: int32
                                type: integer
                              service:
                                default: ""
9998
9999
10000
10001
10002
                                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.
10003
                                type: string
10004
10005
10006
10007
                            required:
                              - port
                            type: object
                          httpGet:
10008
                            description: HTTPGet specifies an HTTP GET request to perform.
10009
10010
                            properties:
                              host:
10011
10012
10013
                                description: |-
                                  Host name to connect to, defaults to the pod IP. You probably want to set
                                  "Host" in httpHeaders instead.
10014
                                type: string
10015
                              httpHeaders:
10016
                                description: Custom headers to set in the request. HTTP allows repeated headers.
10017
                                items:
10018
                                  description: HTTPHeader describes a custom header to be used in HTTP probes
10019
10020
                                  properties:
                                    name:
10021
10022
10023
                                      description: |-
                                        The header field name.
                                        This will be canonicalized upon output, so case-variant names will be understood as the same header.
10024
10025
                                      type: string
                                    value:
10026
                                      description: The header field value
10027
10028
10029
10030
10031
10032
10033
10034
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
10035
                                description: Path to access on the HTTP server.
10036
                                type: string
10037
10038
10039
10040
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10041
10042
10043
10044
                                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.
10045
10046
                                x-kubernetes-int-or-string: true
                              scheme:
10047
10048
10049
                                description: |-
                                  Scheme to use for connecting to the host.
                                  Defaults to HTTP.
10050
                                type: string
10051
10052
                            required:
                              - port
10053
                            type: object
10054
                          initialDelaySeconds:
10055
10056
10057
                            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
10058
10059
10060
                            format: int32
                            type: integer
                          periodSeconds:
10061
10062
10063
                            description: |-
                              How often (in seconds) to perform the probe.
                              Default to 10 seconds. Minimum value is 1.
10064
10065
10066
                            format: int32
                            type: integer
                          successThreshold:
10067
10068
10069
                            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.
10070
10071
10072
                            format: int32
                            type: integer
                          tcpSocket:
10073
                            description: TCPSocket specifies a connection to a TCP port.
10074
                            properties:
10075
                              host:
10076
                                description: 'Optional: Host name to connect to, defaults to the pod IP.'
10077
10078
10079
10080
10081
                                type: string
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10082
10083
10084
10085
                                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.
10086
10087
10088
10089
10090
                                x-kubernetes-int-or-string: true
                            required:
                              - port
                            type: object
                          terminationGracePeriodSeconds:
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
                            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.
10102
10103
10104
                            format: int64
                            type: integer
                          timeoutSeconds:
10105
10106
10107
10108
                            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
10109
10110
10111
                            format: int32
                            type: integer
                        type: object
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
                      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
10127
                      pvc:
10128
                        description: PVC config describing volumes to be mounted by the component.
10129
10130
                        properties:
                          create:
10131
                            description: Create indicates to create a new PVC
10132
10133
10134
10135
                            type: boolean
                          mountPoint:
                            type: string
                          name:
10136
                            description: Name is the name of the PVC
10137
10138
10139
10140
10141
                            type: string
                          size:
                            anyOf:
                              - type: integer
                              - type: string
10142
                            description: Size of the NIM cache in Gi, used during PVC creation
10143
10144
10145
                            pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                            x-kubernetes-int-or-string: true
                          storageClass:
10146
                            description: StorageClass to be used for PVC creation. Leave it as empty if the PVC is already created.
10147
10148
                            type: string
                          volumeAccessMode:
10149
                            description: VolumeAccessMode is the volume access mode of the PVC
10150
10151
10152
                            type: string
                        type: object
                      readinessProbe:
10153
                        description: ReadinessProbe to signal when the container is ready to receive traffic.
10154
10155
                        properties:
                          exec:
10156
                            description: Exec specifies a command to execute in the container.
10157
10158
                            properties:
                              command:
10159
10160
10161
10162
10163
10164
                                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.
10165
10166
10167
10168
                                items:
                                  type: string
                                type: array
                                x-kubernetes-list-type: atomic
10169
10170
                            type: object
                          failureThreshold:
10171
10172
10173
                            description: |-
                              Minimum consecutive failures for the probe to be considered failed after having succeeded.
                              Defaults to 3. Minimum value is 1.
10174
10175
10176
                            format: int32
                            type: integer
                          grpc:
10177
                            description: GRPC specifies a GRPC HealthCheckRequest.
10178
10179
                            properties:
                              port:
10180
                                description: Port number of the gRPC service. Number must be in the range 1 to 65535.
10181
10182
                                format: int32
                                type: integer
10183
10184
                              service:
                                default: ""
10185
10186
10187
10188
10189
                                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.
10190
                                type: string
10191
10192
10193
10194
                            required:
                              - port
                            type: object
                          httpGet:
10195
                            description: HTTPGet specifies an HTTP GET request to perform.
10196
10197
                            properties:
                              host:
10198
10199
10200
                                description: |-
                                  Host name to connect to, defaults to the pod IP. You probably want to set
                                  "Host" in httpHeaders instead.
10201
                                type: string
10202
                              httpHeaders:
10203
                                description: Custom headers to set in the request. HTTP allows repeated headers.
10204
                                items:
10205
                                  description: HTTPHeader describes a custom header to be used in HTTP probes
10206
10207
                                  properties:
                                    name:
10208
10209
10210
                                      description: |-
                                        The header field name.
                                        This will be canonicalized upon output, so case-variant names will be understood as the same header.
10211
10212
                                      type: string
                                    value:
10213
                                      description: The header field value
10214
10215
10216
10217
10218
10219
10220
10221
                                      type: string
                                  required:
                                    - name
                                    - value
                                  type: object
                                type: array
                                x-kubernetes-list-type: atomic
                              path:
10222
                                description: Path to access on the HTTP server.
10223
                                type: string
10224
10225
10226
10227
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10228
10229
10230
10231
                                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.
10232
10233
                                x-kubernetes-int-or-string: true
                              scheme:
10234
10235
10236
                                description: |-
                                  Scheme to use for connecting to the host.
                                  Defaults to HTTP.
10237
10238
                                type: string
                            required:
10239
                              - port
10240
                            type: object
10241
                          initialDelaySeconds:
10242
10243
10244
                            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
10245
10246
10247
                            format: int32
                            type: integer
                          periodSeconds:
10248
10249
10250
                            description: |-
                              How often (in seconds) to perform the probe.
                              Default to 10 seconds. Minimum value is 1.
10251
10252
10253
                            format: int32
                            type: integer
                          successThreshold:
10254
10255
10256
                            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.
10257
10258
10259
                            format: int32
                            type: integer
                          tcpSocket:
10260
                            description: TCPSocket specifies a connection to a TCP port.
10261
10262
                            properties:
                              host:
10263
                                description: 'Optional: Host name to connect to, defaults to the pod IP.'
10264
                                type: string
10265
10266
10267
10268
                              port:
                                anyOf:
                                  - type: integer
                                  - type: string
10269
10270
10271
10272
                                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.
10273
10274
10275
10276
10277
                                x-kubernetes-int-or-string: true
                            required:
                              - port
                            type: object
                          terminationGracePeriodSeconds:
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
                            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.
10289
10290
10291
                            format: int64
                            type: integer
                          timeoutSeconds:
10292
10293
10294
10295
                            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
10296
10297
10298
10299
                            format: int32
                            type: integer
                        type: object
                      replicas:
10300
                        description: Replicas is the desired number of Pods for this component when autoscaling is not used.
10301
10302
10303
                        format: int32
                        type: integer
                      resources:
10304
10305
10306
                        description: |-
                          Resources requested and limits for this component, including CPU, memory,
                          GPUs/devices, and any runtime-specific resources.
10307
10308
10309
10310
10311
10312
10313
10314
                        properties:
                          limits:
                            properties:
                              cpu:
                                type: string
                              custom:
                                additionalProperties:
                                  type: string
10315
                                type: object
10316
                              gpu:
10317
10318
10319
                                description: |-
                                  Indicates the number of GPUs to request.
                                  total number of GPUs is NumberOfNodes * GPU in case of multinode deployment.
10320
                                type: string
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
                              memory:
                                type: string
                            type: object
                          requests:
                            properties:
                              cpu:
                                type: string
                              custom:
                                additionalProperties:
                                  type: string
10331
                                type: object
10332
                              gpu:
10333
10334
10335
                                description: |-
                                  Indicates the number of GPUs to request.
                                  total number of GPUs is NumberOfNodes * GPU in case of multinode deployment.
10336
                                type: string
10337
                              memory:
10338
                                type: string
10339
10340
10341
                            type: object
                        type: object
                      serviceName:
10342
                        description: The name of the component
10343
                        type: string
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
                      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
10356
10357
10358
                      subComponentType:
                        description: SubComponentType indicates the sub-role of this component (for example, "prefill").
                        type: string
10359
                    type: object
10360
10361
10362
10363
10364
                  description: |-
                    Services allows per-service overrides of the component deployment settings.
                    - key: name of the service defined by the DynamoComponent
                    - value: overrides for that service
                    If not set for a service, the default DynamoComponentDeployment values are used.
10365
                  type: object
10366
10367
              type: object
            status:
10368
              description: Status reflects the current observed state of this graph deployment.
10369
10370
              properties:
                conditions:
10371
10372
10373
                  description: |-
                    Conditions contains the latest observed conditions of the graph deployment.
                    The slice is merged by type on patch updates.
10374
                  items:
10375
                    description: Condition contains details for one aspect of the current state of this API Resource.
10376
10377
                    properties:
                      lastTransitionTime:
10378
10379
10380
                        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.
10381
10382
10383
                        format: date-time
                        type: string
                      message:
10384
10385
10386
                        description: |-
                          message is a human readable message indicating details about the transition.
                          This may be an empty string.
10387
10388
10389
                        maxLength: 32768
                        type: string
                      observedGeneration:
10390
10391
10392
10393
                        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.
10394
10395
10396
10397
                        format: int64
                        minimum: 0
                        type: integer
                      reason:
10398
10399
10400
10401
10402
10403
                        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.
10404
10405
10406
10407
10408
                        maxLength: 1024
                        minLength: 1
                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
                        type: string
                      status:
10409
                        description: status of the condition, one of True, False, Unknown.
10410
10411
10412
10413
10414
10415
                        enum:
                          - "True"
                          - "False"
                          - Unknown
                        type: string
                      type:
10416
                        description: type of condition in CamelCase or in foo.example.com/CamelCase.
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
                        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])$
                        type: string
                    required:
                      - lastTransitionTime
                      - message
                      - reason
                      - status
                      - type
                    type: object
                  type: array
                state:
10429
                  description: State is a high-level textual status of the graph deployment lifecycle.
10430
10431
10432
10433
10434
10435
10436
                  type: string
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}