Skip to content

Instantly share code, notes, and snippets.

@trungnt13
Last active April 17, 2023 11:08
Show Gist options
  • Save trungnt13/0fab728f953a18e1219e5bdd7aa2e487 to your computer and use it in GitHub Desktop.
Save trungnt13/0fab728f953a18e1219e5bdd7aa2e487 to your computer and use it in GitHub Desktop.
[CheatSheet] Kubernets

Kubernetes

microk8s status --wait-ready

microk8s enable dashboard dns ingress

If you mainly use MicroK8s you can make our kubectl the default one on your command-line with alias mkctl=”microk8s kubectl”

microk8s kubectl get all --all-namespaces

Access Kubernetes Dashboard

microk8s dashboard-proxy

microk8s start and microk8s stop will do the work for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment