3.2.18. kubectl attach

备注

The kubectl attach command is similar to kubectl exec, but it attaches to the main process running in the container instead of running an addi- tional one