Difference between revisions of "Kind: StorageClass"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
  [[allowVolumeExpansion]]: true
 
  [[allowVolumeExpansion]]: true
 
  reclaimPolicy: Delete
 
  reclaimPolicy: Delete
 +
 +
 +
[[apiVersion: storage.k8s.io/v1]]
 +
kind: StorageClass
 +
metadata:
 +
  name: standard
 +
  uid: 123456789-f232-11e8-9149-123456789
 +
  resourceVersion: '276'
 +
  creationTimestamp: '2018-11-27T10:50:10Z'
 +
  labels:
 +
    addonmanager.kubernetes.io/mode: EnsureExists
 +
    kubernetes.io/cluster-service: 'true'
 +
  [[annotations:]]
 +
    storageclass.beta.kubernetes.io/is-default-class: 'true'
 +
  selfLink: /apis/storage.k8s.io/v1/storageclasses/standard
 +
allowedTopologies: []
 +
mountOptions: []
 +
parameters:
 +
  type: [[pd-standard]]
 +
provisioner: [[kubernetes.io/gce-pd]]
 +
reclaimPolicy: Delete
 +
volumeBindingMode: Immediate
 +
 +
 +
  
 
== Related ==
 
== Related ==

Revision as of 10:23, 7 November 2022

~> cat standard.yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: standard
parameters:
  type: pd-standard
provisioner: kubernetes.io/gce-pd
allowVolumeExpansion: true
reclaimPolicy: Delete


apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: standard
  uid: 123456789-f232-11e8-9149-123456789
  resourceVersion: '276'
  creationTimestamp: '2018-11-27T10:50:10Z'
  labels:
    addonmanager.kubernetes.io/mode: EnsureExists
    kubernetes.io/cluster-service: 'true'
  annotations:
    storageclass.beta.kubernetes.io/is-default-class: 'true'
  selfLink: /apis/storage.k8s.io/v1/storageclasses/standard
allowedTopologies: []
mountOptions: []
parameters:
  type: pd-standard
provisioner: kubernetes.io/gce-pd
reclaimPolicy: Delete
volumeBindingMode: Immediate



Related

kubectl edit pvc
kind: PersistentVolume
kubectl describe storageclass
kubernetes.io/aws-ebs
ebs-sc
efs-sc

See also

Advertising: