$ cat storagepool.yaml
apiVersion: openebs.io/v1alpha1
kind: StoragePool
metadata:
name: gpdpool
type: hostdir
spec:
path: "/mnt/disk1"
$ kubectl -n openebs apply -f storagepool.yaml
error: unable to recognize "storagepool.yaml": no matches for kind "StoragePool" in version "openebs.io/v1alpha1"
$ cat storagepool.yaml apiVersion: openebs.io/v1alpha1 kind: StoragePool metadata: name: gpdpool type: hostdir spec: path: "/mnt/disk1" $ kubectl -n openebs apply -f storagepool.yaml error: unable to recognize "storagepool.yaml": no matches for kind "StoragePool" in version "openebs.io/v1alpha1"