Giter VIP home page Giter VIP logo

kubefilebrowser's Introduction

kubefileborwser

kubernetes container file browser

启动可选环境变量

名称 类型 默认值
RUN_MODE string debug
HTTP_PORT string 9999
HTTP_ADDR string 0.0.0.0
LOG_LEVEL string debug
IP_WHITE_LIST []string *
KUBECONFIG string ~/.kube/config
  • 部署在k8s内创建使用管理员权限的serviceaccount即可

debug模式启动日志

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /swagger/*any             --> github.com/swaggo/gin-swagger.CustomWrapHandler.func1 (5 handlers)
[GIN-debug] GET    /                         --> github.com/gin-gonic/gin.(*RouterGroup).StaticFile.func1 (5 handlers)
[GIN-debug] HEAD   /                         --> github.com/gin-gonic/gin.(*RouterGroup).StaticFile.func1 (5 handlers)
[GIN-debug] GET    /static/*filepath         --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (5 handlers)
[GIN-debug] HEAD   /static/*filepath         --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (5 handlers)
[GIN-debug] GET    /api/k8s/namespace        --> kubefilebrowser/apis/k8s.ListNamespace (6 handlers)
[GIN-debug] GET    /api/k8s/deployment       --> kubefilebrowser/apis/k8s.ListNamespaceAllDeployment (6 handlers)
[GIN-debug] GET    /api/k8s/pods             --> kubefilebrowser/apis/k8s.ListNamespaceAllPods (6 handlers)
[GIN-debug] GET    /api/k8s/status           --> kubefilebrowser/apis/k8s.PodStatus (6 handlers)
[GIN-debug] POST   /api/k8s/upload           --> kubefilebrowser/apis/k8s.Copy2Container (6 handlers)
[GIN-debug] POST   /api/k8s/multi_upload     --> kubefilebrowser/apis/k8s.MultiCopy2Container (6 handlers)
[GIN-debug] GET    /api/k8s/download         --> kubefilebrowser/apis/k8s.Copy2Local (6 handlers)
[GIN-debug] GET    /api/k8s/terminal         --> kubefilebrowser/apis/k8s.Terminal (6 handlers)
[GIN-debug] GET    /api/k8s/exec             --> kubefilebrowser/apis/k8s.Exec (6 handlers)
[GIN-debug] GET    /api/k8s/file_browser     --> kubefilebrowser/apis/k8s.FileBrowser (6 handlers)

Index.html

kubefilebrowser_index_html

file_browser

kubefilebrowser

terminal

terminal

Swagger

kubefilebrowser swagger image

Reference documents

kubefilebrowser's People

Contributors

xmapst avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.