k8s 命令速记

k8s 命令速记

  • 进入 initContainers pod
kubectl exec -it go-test-git-12-79-build -c nitContainerName -- /bin/bash
  • 查看历史版本
oc rollout history dc/mysql -n tarscloud