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