@@ -8362,6 +8362,205 @@ spec:
8362
8362
required:
8363
8363
- type
8364
8364
type: object
8365
+ volumeClaimTemplates:
8366
+ description: volumeClaimTemplates is a list of claims that pods
8367
+ are allowed to reference. The StatefulSet controller is responsible
8368
+ for mapping network identities to claims in a way that maintains
8369
+ the identity of a pod. Every claim in this list must have at
8370
+ least one matching (by name) volumeMount in one container in
8371
+ the template. A claim in this list takes precedence over any
8372
+ volumes in the template, with the same name.
8373
+ items:
8374
+ properties:
8375
+ spec:
8376
+ description: The specification for the PersistentVolumeClaim.
8377
+ The entire content is copied unchanged into the PVC that
8378
+ gets created from this template. The same fields as in
8379
+ a PersistentVolumeClaim are also valid here.
8380
+ properties:
8381
+ accessModes:
8382
+ description: 'accessModes contains the desired access
8383
+ modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
8384
+ items:
8385
+ type: string
8386
+ type: array
8387
+ dataSource:
8388
+ description: 'dataSource field can be used to specify
8389
+ either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
8390
+ * An existing PVC (PersistentVolumeClaim) If the provisioner
8391
+ or an external controller can support the specified
8392
+ data source, it will create a new volume based on
8393
+ the contents of the specified data source. If the
8394
+ AnyVolumeDataSource feature gate is enabled, this
8395
+ field will always have the same contents as the DataSourceRef
8396
+ field.'
8397
+ properties:
8398
+ apiGroup:
8399
+ description: APIGroup is the group for the resource
8400
+ being referenced. If APIGroup is not specified,
8401
+ the specified Kind must be in the core API group.
8402
+ For any other third-party types, APIGroup is required.
8403
+ type: string
8404
+ kind:
8405
+ description: Kind is the type of resource being
8406
+ referenced
8407
+ type: string
8408
+ name:
8409
+ description: Name is the name of resource being
8410
+ referenced
8411
+ type: string
8412
+ required:
8413
+ - kind
8414
+ - name
8415
+ type: object
8416
+ x-kubernetes-map-type: atomic
8417
+ dataSourceRef:
8418
+ description: 'dataSourceRef specifies the object from
8419
+ which to populate the volume with data, if a non-empty
8420
+ volume is desired. This may be any local object from
8421
+ a non-empty API group (non core object) or a PersistentVolumeClaim
8422
+ object. When this field is specified, volume binding
8423
+ will only succeed if the type of the specified object
8424
+ matches some installed volume populator or dynamic
8425
+ provisioner. This field will replace the functionality
8426
+ of the DataSource field and as such if both fields
8427
+ are non-empty, they must have the same value. For
8428
+ backwards compatibility, both fields (DataSource and
8429
+ DataSourceRef) will be set to the same value automatically
8430
+ if one of them is empty and the other is non-empty.
8431
+ There are two important differences between DataSource
8432
+ and DataSourceRef: * While DataSource only allows
8433
+ two specific types of objects, DataSourceRef allows
8434
+ any non-core object, as well as PersistentVolumeClaim
8435
+ objects. * While DataSource ignores disallowed values
8436
+ (dropping them), DataSourceRef preserves all values,
8437
+ and generates an error if a disallowed value is specified.
8438
+ (Beta) Using this field requires the AnyVolumeDataSource
8439
+ feature gate to be enabled.'
8440
+ properties:
8441
+ apiGroup:
8442
+ description: APIGroup is the group for the resource
8443
+ being referenced. If APIGroup is not specified,
8444
+ the specified Kind must be in the core API group.
8445
+ For any other third-party types, APIGroup is required.
8446
+ type: string
8447
+ kind:
8448
+ description: Kind is the type of resource being
8449
+ referenced
8450
+ type: string
8451
+ name:
8452
+ description: Name is the name of resource being
8453
+ referenced
8454
+ type: string
8455
+ required:
8456
+ - kind
8457
+ - name
8458
+ type: object
8459
+ x-kubernetes-map-type: atomic
8460
+ resources:
8461
+ description: 'resources represents the minimum resources
8462
+ the volume should have. If RecoverVolumeExpansionFailure
8463
+ feature is enabled users are allowed to specify resource
8464
+ requirements that are lower than previous value but
8465
+ must still be higher than capacity recorded in the
8466
+ status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
8467
+ properties:
8468
+ limits:
8469
+ additionalProperties:
8470
+ anyOf:
8471
+ - type: integer
8472
+ - type: string
8473
+ pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
8474
+ x-kubernetes-int-or-string: true
8475
+ description: 'Limits describes the maximum amount
8476
+ of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
8477
+ type: object
8478
+ requests:
8479
+ additionalProperties:
8480
+ anyOf:
8481
+ - type: integer
8482
+ - type: string
8483
+ pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
8484
+ x-kubernetes-int-or-string: true
8485
+ description: 'Requests describes the minimum amount
8486
+ of compute resources required. If Requests is
8487
+ omitted for a container, it defaults to Limits
8488
+ if that is explicitly specified, otherwise to
8489
+ an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
8490
+ type: object
8491
+ type: object
8492
+ selector:
8493
+ description: selector is a label query over volumes
8494
+ to consider for binding.
8495
+ properties:
8496
+ matchExpressions:
8497
+ description: matchExpressions is a list of label
8498
+ selector requirements. The requirements are ANDed.
8499
+ items:
8500
+ description: A label selector requirement is a
8501
+ selector that contains values, a key, and an
8502
+ operator that relates the key and values.
8503
+ properties:
8504
+ key:
8505
+ description: key is the label key that the
8506
+ selector applies to.
8507
+ type: string
8508
+ operator:
8509
+ description: operator represents a key's relationship
8510
+ to a set of values. Valid operators are
8511
+ In, NotIn, Exists and DoesNotExist.
8512
+ type: string
8513
+ values:
8514
+ description: values is an array of string
8515
+ values. If the operator is In or NotIn,
8516
+ the values array must be non-empty. If the
8517
+ operator is Exists or DoesNotExist, the
8518
+ values array must be empty. This array is
8519
+ replaced during a strategic merge patch.
8520
+ items:
8521
+ type: string
8522
+ type: array
8523
+ required:
8524
+ - key
8525
+ - operator
8526
+ type: object
8527
+ type: array
8528
+ matchLabels:
8529
+ additionalProperties:
8530
+ type: string
8531
+ description: matchLabels is a map of {key,value}
8532
+ pairs. A single {key,value} in the matchLabels
8533
+ map is equivalent to an element of matchExpressions,
8534
+ whose key field is "key", the operator is "In",
8535
+ and the values array contains only "value". The
8536
+ requirements are ANDed.
8537
+ type: object
8538
+ type: object
8539
+ x-kubernetes-map-type: atomic
8540
+ storageClassName:
8541
+ description: 'storageClassName is the name of the StorageClass
8542
+ required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
8543
+ type: string
8544
+ volumeMode:
8545
+ description: volumeMode defines what type of volume
8546
+ is required by the claim. Value of Filesystem is implied
8547
+ when not included in claim spec.
8548
+ type: string
8549
+ volumeName:
8550
+ description: volumeName is the binding reference to
8551
+ the PersistentVolume backing this claim.
8552
+ type: string
8553
+ type: object
8554
+ volumeNameTemplate:
8555
+ description: May contain labels and annotations that will
8556
+ be copied into the PVC when creating it. No other fields
8557
+ are allowed and will be rejected during validation.
8558
+ type: string
8559
+ required:
8560
+ - spec
8561
+ - volumeNameTemplate
8562
+ type: object
8563
+ type: array
8365
8564
volumeMounts:
8366
8565
description: VolumeMounts indicates describes mountings of volumes
8367
8566
within shuffle servers' container.
0 commit comments