Steward
分享是一種喜悅、更是一種幸福
系統 - K8s - 常見操作指令
參考資訊:
https://kubernetes.io/docs/tasks/debug/debug-application/get-shell-running-container/
List Pod
$ sudo kubectl get pod
Remove All Resources
$ sudo kubectl delete -f xxx.yaml $ sudo kubectl delete pods --all
Attach Console
$ kubectl exec --stdin --tty shell-demo -- /bin/bash