k8-web-terminal icon indicating copy to clipboard operation
k8-web-terminal copied to clipboard

一个k8s web终端连接工具,在前后端分离或未分离项目中心中,也可以把此项目无缝集成,开箱即用。

Results 3 k8-web-terminal issues
Sort by recently updated
recently updated
newest added

也许是我环境的问题(内网,走proxy),也许是 go.mod确实版本需要更新一下: 问题:编译报错 ``` # k8s.io/client-go/rest D:\Gopath\pkg\mod\k8s.io\[email protected]+incompatible\rest\request.go:598:31: not enough arguments in call to watch.NewStreamWatcher have (*versioned.Decoder) want (watch.Decoder, watch.Reporter) ``` 解决:修改了go.mod包的版本 ``` k8s.io/api v0.17.3 k8s.io/apimachinery v0.17.3 k8s.io/client-go v0.17.3 ```

启动方式:./k8-web-terminal --kubeconfig ./config 浏览器登录: http://ip:8080/container/terminal?name=xxx&namespace=default&container=xxx 报错: handler container ce4e1030fe91 is not valid for pod xxx 2020/03/09 23:21:42.858 [C] [asm_amd64.s:522] the request url is /container/terminal/shell/ws 2020/03/09 23:21:42.858 [C] [asm_amd64.s:522] Handler crashed...