Skip to content

implementat k8s/docker web terminal with golang

Notifications You must be signed in to change notification settings

smailpengzai/web-terminal-in-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

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