-1

This is my StorageClass, Pv and PVC

enter image description here

This is my PVC Describe

enter image description here

Jonas
  • 121,568
  • 97
  • 310
  • 388
  • It's best to copy and paste text into your question rather than linking to an image. That makes the question searchable and thus potentially valuable to others in the future. – David Parks Dec 30 '21 at 03:03

1 Answers1

2

It was successful!
if you want it to be in Bound state as soon as the volume is created, switch volumeBindingMode: WatiForFirstCustomer to volumeBindingMode: Immediate in your sohialsc.yml file.

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: manual
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: Immediate   

Link references:
https://kubernetes.io/docs/concepts/storage/storage-classes/

quoc9x
  • 1,423
  • 2
  • 9
  • 26