Skip to content

caoyingjunz/kube-webshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebShell demo

通过 webshell 连接到 kubernetes 集群的指定 pod,并执行相互操作

使用工具

  • gin
  • client-go
  • sockjs

执行

启动后端进程

# 默认读取 ~/.kube/confg 的 kubeconfig,可根据需要修改
go run webshell.go 

打开浏览器输入 127.0.0.1:8080

img.png

输入并点击连接

img.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published