om Singh:
controlplane $ kubectl get storageclass
No resources found.
The PersistentVolume “drupal-mysql-pv” is invalid: spec: Required value: must specify a volume type
Earlier it was not coming-any changes applied?
om Singh:
controlplane $ kubectl get storageclass
No resources found.
The PersistentVolume “drupal-mysql-pv” is invalid: spec: Required value: must specify a volume type
Earlier it was not coming-any changes applied?
Mohamed Ayman:
It will be something like this:
apiVersion: v1
kind: PersistentVolume
metadata:
name: drupal-mysql-pv
spec:
accessModes: [ "ReadWriteOnce" ]
capacity:
storage: "5Gi"
hostPath:
path: /drupal-mysql-data