Skip to content

Instantly share code, notes, and snippets.

@rkamradt
Created May 31, 2020 14:51
Show Gist options
  • Save rkamradt/61ed31b42933db3670428607eb6cf947 to your computer and use it in GitHub Desktop.
Save rkamradt/61ed31b42933db3670428607eb6cf947 to your computer and use it in GitHub Desktop.
Create and check for csi drivers in a Kubernetes Cluster
kubectl create -f https://raw.githubusercontent.com/kubernetes/csi-api/release-1.13/pkg/crd/manifests/csidriver.yaml
kubectl create -f https://raw.githubusercontent.com/kubernetes/csi-api/release-1.13/pkg/crd/manifests/csinodeinfo.yaml
# check that they exist:
kubectl get customresourcedefinition.apiextensions.k8s.io/csidrivers.csi.storage.k8s.io
kubectl get customresourcedefinition.apiextensions.k8s.io/csinodeinfos.csi.storage.k8s.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment