Created
July 5, 2019 12:34
-
-
Save yankcrime/a57f361309887701c2528745a9e3f004 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
kind create cluster --config ~/Temp/kind.yml | |
export KUBECONFIG="$(kind get kubeconfig-path --name="kind")" | |
kubectl delete storageclass standard | |
kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml | |
kubectl annotate storageclass --overwrite local-path storageclass.kubernetes.io/is-default-class=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment