Last active
May 30, 2023 04:38
-
-
Save mayurah/c8931173dfb56ca57e2228c2c3e04781 to your computer and use it in GitHub Desktop.
k8s aliases for microk8s / hidden port
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
alias k='microk8s.kubectl -n sc4snmp ' | |
alias kl='k logs -f ' | |
alias kga='k get all' | |
alias kda='k describe all' | |
alias kd='k describe ' | |
alias ka='ka -f ' | |
k get pods -o wide --all-namespaces | |
k exec -it nginx-ingress-microk8s-controller-ttqxr -n ingress -it -- 'ps' | |
Hidden port usage by microk8s, not visible by normal netstat.. | |
microk8s disable ingress | |
^ ingest runs nginx on 80 | |
sudo ip -all netns exec netstat -tapn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment