Explorar o código

Merge remote-tracking branch 'origin/master'

tianyunperfect hai 4 meses
pai
achega
d6ad7131b7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      sh_config.sh

+ 1 - 0
sh_config.sh

@@ -120,6 +120,7 @@ function k8s-inpod() {
 	podName=$(kubectl get pods -o wide | grep "${1}" | awk '{print $1}')
 	kubectl exec -it "${podName}" -- /bin/bash
 }
+alias k8s-getnodes='kubectl get nodes'
 
 alias k8s-topnodes='kubectl top node'