我有一个正在运行的吊舱,我使用kubectl attach -ti mypod给他输入。

但是,然后,我想从吊舱中移到"deattach"并返回到终端,而不会终止吊舱。 我能做到吗?

提前致谢 阿卜杜勒加尼

分析解答

从kubernetes docs

To detach from the container, you can type the escape sequence Ctrl+P followed by Ctrl+Q.