autok3s icon indicating copy to clipboard operation
autok3s copied to clipboard

[BUG] ">_ Launch Kubectl" does not work on windows

Open doublefx opened this issue 2 years ago • 2 comments

Describe the bug ">_ Launch Kubectl" does not work on windows: level=error msg="Unknown error: not support windows"

To reproduce Steps to reproduce the behavior:

  1. In your path, download the latest autok3s for windows 64 and rename it: autok3s

  2. Create a cluster.

  3. In the UI, go to http://localhost:8080/ui/cluster-explorer/core/clusters, click on ">_ Launch Kubectl", select your cluster and get: level=error msg="Unknown error: not support windows"

image

OS: Windows 11 AutoK3s Version: v0.6.0

doublefx avatar Nov 14 '22 05:11 doublefx

@doublefx This is a known issue as autok3s uses creack/pty to establish pty connections and currently cannot support windows environment.

Jason-ZW avatar Nov 14 '22 07:11 Jason-ZW

Maybe we can support Windows through conpty.

Jason-ZW avatar Nov 14 '23 07:11 Jason-ZW