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