k8s 常用排查问题命令
kubectl 运行 pod
# 模板 :
kubectl run mysql-client --image={image:version} -it --rm --restart=Never -- bash
kubectl run mysql-client --image={image:version} -it --rm --restart=Never -- sh
# mysql clinet
kubectl run mysql-client --image=mysql:5.7 -it --rm --restart=Never -- bash
# busybox
kubectl run mysql-client --image=busybox:latest -it --rm --restart=Never -- sh
不断学习