I faced some error while solving the Lab- Kubernetes Challenge 1

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

Hi @koushil

It would help if you could share the YAML inside a code block; that will preserve the indentation and will make sense.
You can use </> button on the editor ribbon.
What is the Cluster and kubectl client Version? It would help if you also share the output of the kubectl version command.

It usually happens if your cluster or client versions are Too Old or misconfigured kubeconfig.