常用命令:
kubectl get service
kubectl get pod -n $namespace
kubectl exec -it $podname -n $namespace -- bash
docker build .
docker attach $CONTAINER_ID
docker exec $CONTAINER_ID /bin/bash
docker history $ID --no-trunc
常用命令:
kubectl get service
kubectl get pod -n $namespace
kubectl exec -it $podname -n $namespace -- bash
docker build .
docker attach $CONTAINER_ID
docker exec $CONTAINER_ID /bin/bash
docker history $ID --no-trunc