Kubectl Cheat Sheet

Configuration and Context Management Show Specifed Kubeconfig Settings Bashkubectl config view Use Multiple Kubeconfig Files BashKUBECONFIG=~/.kube/config:~/.kube/kubconfig2 kubectl config view Get User Password Bashkubectl config view -o jsonpath='{.users[?(@.name == "user")].user.password}' Display…

0 Comments