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

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