Commit 69d7545f authored by GRANDGERARD Gilles's avatar GRANDGERARD Gilles
Browse files

process installation microk8s

parent 7115568b
# See: https://microk8s.io/
# on : Install Ubuntu 18.04
snap install microk8s --classic
microk8s.kubectl get all --all-namespaces
microk8s.kubectl get no
microk8s.enable dns dashboard
microk8s.kubectl get all --all-namespaces
watch microk8s.kubectl get all --all-namespaces
clear
microk8s.kubectl run nginx --image nginx --replicas 3
watch microk8s.kubectl get all --all-namespaces
microk8s.kubectl expose deployment nginx --port 80 --target-port 80 --type ClusterIP --selector=run=nginx --name=nginx
watch microk8s.kubectl get all --all-namespaces
watch microk8s.kubectl get all
wget 10.152.183.21
cat index.html
microk8s.kubectl delete deployment/nginx
watch microk8s.kubectl get all
microk8s.kubectl delete svc/nginx
microk8s.disable dashboard dns
microk8s.kubectl get all --all-namespaces
#snap remove microk8s
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment