mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-09-02 15:05:14 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
b46ddc4c8e | ||
|
b5200596f9 | ||
|
a90dd6cafc | ||
|
b227ab5257 |
@@ -19,10 +19,10 @@ ENV DOCKER_URL_amd64=https://get.docker.com/builds/Linux/x86_64/docker-1.10.3 \
|
||||
DOCKER_URL=DOCKER_URL_${ARCH}
|
||||
RUN wget -O - ${!DOCKER_URL} > /usr/bin/docker && chmod +x /usr/bin/docker
|
||||
|
||||
ENV GIT_COMMIT="68b9d2e74a0ab2053ae2a0a50e1476db96653225" \
|
||||
ENV GIT_COMMIT="9a95cd2eae9c4a3effa12fb13826cee48c40e26a" \
|
||||
GIT_BRANCH="ke/v0.2" \
|
||||
GIT_SOURCE="/go/src/github.com/rancher/steve" \
|
||||
CATTLE_DASHBOARD_UI_VERSION=v2.6.0-kube-explorer-ui-rc3
|
||||
CATTLE_DASHBOARD_UI_VERSION=v2.6.2-kube-explorer-ui-rc1
|
||||
|
||||
ENV DAPPER_ENV REPO TAG DRONE_TAG CROSS
|
||||
ENV DAPPER_SOURCE /opt/kube-explorer
|
||||
|
24
README.md
24
README.md
@@ -1,6 +1,6 @@
|
||||
# kube-explorer
|
||||
|
||||
kube-explorer is portable explorer for Kubernetes, without any dependency.
|
||||
kube-explorer is a portable explorer for Kubernetes without any dependency.
|
||||
|
||||
It integrates the Rancher steve framework and its dashboard, and is recompiled, packaged, compressed, and provides an almost completely stateless Kubernetes resource manager.
|
||||
|
||||
@@ -15,3 +15,25 @@ To run an HTTP only server:
|
||||
```
|
||||
|
||||
Then, open the browser to visit http://x.x.x.x:9898 .
|
||||
|
||||
## Build ✅
|
||||
|
||||
To debug on an AMD64 Linux host:
|
||||
|
||||
```
|
||||
make dev
|
||||
|
||||
# $basedir=/opt/ui/dist/
|
||||
# prepare the file trees like this
|
||||
# $basedir/dashboard/
|
||||
# $basedir/index.html
|
||||
|
||||
# good to go!
|
||||
./kube-explorer --debug --ui-path /opt/ui/dist/ --http-listen-port=9898 --https-listen-port=0
|
||||
```
|
||||
|
||||
To build all cross-platform binaries:
|
||||
|
||||
```
|
||||
CROSS=1 make
|
||||
```
|
||||
|
Reference in New Issue
Block a user