无法通过 Lens 连接到 Pod(Windows10)

时间:2021-02-23 10:00:37

标签: kubernetes

我无法通过 Lens 连接到 Pod(Windows10)
执行以下命令后,Lens 终端挂起。

PS C:\Users\gnltk> kubectl exec -i -t -n default pod-with-pvc -c container "--" sh -c "clear; (bash || ash || sh)"

当这个命令在shell(cmd或powershell)中执行时,它可以工作。
我该如何解决?

0 个答案:

没有答案