https://github.com/busybox-org/kubefilebrowser
kubernetes container file browser. Is a simple web application that allows you to browse and edit files in a kubernetes container.
https://github.com/busybox-org/kubefilebrowser
container download filebrowser kubectl-cp kubernetes pvcs swagger upload webshell
Last synced: 9 months ago
JSON representation
kubernetes container file browser. Is a simple web application that allows you to browse and edit files in a kubernetes container.
- Host: GitHub
- URL: https://github.com/busybox-org/kubefilebrowser
- Owner: busybox-org
- License: agpl-3.0
- Created: 2021-02-18T03:21:19.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-25T01:57:29.000Z (9 months ago)
- Last Synced: 2025-04-02T06:07:02.665Z (9 months ago)
- Topics: container, download, filebrowser, kubectl-cp, kubernetes, pvcs, swagger, upload, webshell
- Language: Go
- Homepage:
- Size: 5.5 MB
- Stars: 70
- Watchers: 1
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubefileborwser
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fxmapst%2Fkubefilebrowser?ref=badge_shield)
kubernetes container file browser. Is a simple web application that allows you to browse and edit files in a kubernetes container.
## Parameters
+ `RUN_MODE`: run mode, options: `dev`, `prod`
+ `HTTP_ADDR`: listen address, default: `0.0.0.0`
+ `HTTP_PORT`: listen port, default: `8080`
+ `IP_WHITE_LIST`: access ip white list, default: `*` (all).
+ `KUBECONFIG`: k8s config file path, default: `$HOME/.kube/config`
## Run In docker
```shell
docker pull xmapst/kubefilebrowser:latest
docker run -d --restart=always -p 9999:9999 -e RUN_MODE=debug -v /path/to/kubeconfig:/root/.kube/config xmapst/kubefilebrowser:latest
```
## Deploy in kubernetes
```bash
kubectl apply -f deploy/kubefilebrowser.yaml
```
## Index.html

## file_browser

## terminal

## Swagger

## Reference documents
+ [golang 1.16 gin static embed](https://mojotv.cn/golang/golang-html5-websocket-remote-desktop)
+ [vue](https://cli.vuejs.org/config/)
+ [kubectl copy & shell 原理讲解](https://www.yfdou.com/archives/kuberneteszhi-kubectlexeczhi-ling-gong-zuo-yuan-li-shi-xian-copyhe-webshellyi-ji-filebrowser.html)
## License
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fxmapst%2Fkubefilebrowser?ref=badge_large)