Last active
May 4, 2018 13:23
-
-
Save mwalzer/66c3df1ba850687aa4f7082c7aa5c690 to your computer and use it in GitHub Desktop.
get a minikube environment to play
This file contains 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
#hypervisor requirements ... | |
# --vm-driver=none if docker is installed might be enough | |
#kubectl | |
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl ~/cloud-stuff/utils/ | |
#minikube | |
curl -Lo minikube https://github.com/kubernetes/minikube/releases/download/$(curl -s "https://api.github.com/repos/kubernetes/minikube/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')/minikube-linux-amd64 && chmod +x minikube-linux-amd64 && sudo mv minikube-linux-amd64 ~/cloud-stuff/utils/minikube | |
#launch | |
minikube start | |
#look around | |
kubectl get nodes | |
minikube ip | |
kubectl cluster-info | |
#install helm | |
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh | |
chmod 700 get_helm.sh | |
./get_helm.sh | |
#initialize helm, tiller | |
helm init | |
helm repo update | |
helm ls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment