Last active
March 10, 2020 13:41
-
-
Save fedir/9b03bacb11e30a9228f6bf569e0e3aa0 to your computer and use it in GitHub Desktop.
Kubernetes Linux Mint
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
source <(kubectl completion bash) # active l'auto-complétion pour bash dans le shell courant, le paquet bash-completion devant être installé au préalable | |
echo "source <(kubectl completion bash)" >> ~/.bashrc # ajoute l'auto-complétion de manière permanente à votre shell bash | |
alias k=kubectl | |
complete -F __start_kubectl k |
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
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube | |
sudo mkdir -p /usr/local/bin/ | |
sudo install minikube /usr/local/bin/ | |
minikube version | |
minikube start --vm-driver=virtualbox | |
minikube status | |
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 /usr/local/bin/kubectl | |
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment