Any Idea on the below error while applying the yaml file I got the below error
“error: error validating “pvc-final.yaml”: error validating data: failed to download openapi: the server could not find the requested resource; if you choose to ignore these errors, turn validation off with --validate=false”
content of the yaml is:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: jekyll-site
namespace: development
spec:
accessModes:
- ReadWriteMany
storageClassName: local-storage
resources:
requests:
storage: 1Gi
not sure why it is caused