WSL: Unable to use a TTY - (kubectl.exe exec -it ..)
Windows 10.0.15063
Trying to run:
kubectl.exe exec -it pod-name sh
get
Unable to use a TTY - input is not a terminal or the right kind of file
Other things with kubectl.exe work quite well in WSL. kubect exec -it in windows works well of cource.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 5
- Comments: 18 (1 by maintainers)
one possible solution is to use winpty, it works fine for me now.
On Win10 with Mingw64 same issue, cmd does not work at all, PowerShell is OK!