Skip to content

turbo73/web-terminal-in-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

web-terminal-in-go

k8s-webshell

通过web界面连接k8s容器,需要修改beego config配置,指定kubeconfig位置,设置为空则为incluster连接方式,需要传递以下参数:

  • context
  • namespace
  • podname
  • containername

功能

  • web终端实现
  • 多集群支持
  • 根据浏览器窗口调整tty大小

container-webshell

通过web界面连接容器,需要开放docker api,需要传递以下参数:

  • host ip
  • docker port
  • container id

扫码关注我:

微信

About

implementat k8s/docker web terminal with golang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.6%
  • CSS 17.4%
  • Go 2.1%
  • HTML 1.9%