快速参考表 场景命令查看所有Podkubectl get pod -A查看Pod详情kubectl describe pod 查看Pod日志kubectl logs -f 进入Podkubectl exec -it -- bash应用配置kubectl apply -f file.yaml删除资源kubectl delete -f file.yaml更新镜像kubectl set image deploy/ =扩缩容kubectl scale deploy/ --replicas=3查看服务kubectl get svc -o wide端口转发kubectl port-forward svc/ 8080:80查看节点kubectl get node -o wide查看事件kubectl get events --sort-by='.lastTimestamp'