Kubernetes StorageClass: local-storage for Local Storage
This is a Kubernetes manifest file for a StorageClass resource named "local-storage". It is using the "storage.k8s.io/v1" API version.
The StorageClass does not have a provisioner specified, as indicated by the value "kubernetes.io/no-provisioner". This means that the storage will not be dynamically provisioned by Kubernetes.
The volumeBindingMode is set to "WaitForFirstConsumer", which means that the volume will not be bound to a PersistentVolumeClaim (PVC) until a Pod using the PVC is scheduled to a node.
Overall, this StorageClass is used for local storage that is not dynamically provisioned and waits for the first consumer (Pod) to be scheduled before binding the volume to a PVC.
原文地址: https://www.cveoy.top/t/topic/pKog 著作权归作者所有。请勿转载和采集!