Web UI for KubeEdge
Go to file
KubeEdge Bot 0edfae87bb
Merge pull request #48 from DoisLONG/main
Add an example of building the image locally to the README.
2025-04-08 09:37:18 +08:00
.github add stale 2023-02-20 22:57:24 +05:30
public/icons refactor: new dashboard with nextjs and mui. 2024-08-28 16:52:44 +08:00
src Merge pull request #34 from ghosind/fix/input-style-issue 2025-02-24 17:24:37 +08:00
.eslintrc.json refactor: new dashboard with nextjs and mui. 2024-08-28 16:52:44 +08:00
.gitignore refactor: new dashboard with nextjs and mui. 2024-08-28 16:52:44 +08:00
CODE_OF_CONDUCT.md update CoC 2024-06-14 10:41:51 +08:00
CONTRIBUTING.md Fix broken links in contributing doc. 2025-01-24 14:10:26 +05:00
Dockerfile feat: add dockerfile and make output to standalone mode. 2024-09-13 23:09:28 +08:00
LICENSE Initial commit 2023-01-09 00:39:05 +08:00
OWNERS add approver 2024-09-10 15:55:09 +08:00
README.md Add an example of building the image locally to the README. 2025-04-07 18:40:43 +08:00
next.config.mjs feat: add dockerfile and make output to standalone mode. 2024-09-13 23:09:28 +08:00
package.json deps: add sharp for nextjs image optimization. 2024-09-14 17:42:01 +08:00
pnpm-lock.yaml deps: add sharp for nextjs image optimization. 2024-09-14 17:42:01 +08:00
tsconfig.json refactor: new dashboard with nextjs and mui. 2024-08-28 16:52:44 +08:00

README.md

KubeEdge Dashboard

Introduction

KubeEdge dashboard provides a graphical user interface (GUI) for managing and monitoring your KubeEdge clusters. It allows users to manage edge applications running in the cluster and troubleshoot them.

This project is currently in development, and we will iterate it continuously. We welcome any feedback and contributions.

Contact

If you have any questions, feel free to reach out to us in the following ways:

Prepare environment

nodejs, npm/yarn/pnpm is needed, pnpm is recommended

Install packages

npm install
yarn install

or

pnpm install

Start project

npm run build
API_SERVER={proxy address} npm run start
Example: API_SERVER=https://192.168.33.129:6443 npm run dev

or

yarn build
API_SERVER={proxy address} yarn start
Example: API_SERVER=https://192.168.33.129:6443 yarn dev

or

pnpm run build
API_SERVER={proxy address} pnpm run start
Example: API_SERVER=https://192.168.33.129:6443 pnpm run dev

If your API server is running with self-signed certificate, you can set NODE_TLS_REJECT_UNAUTHORIZED=0 to ignore the certificate verification.

NODE_TLS_REJECT_UNAUTHORIZED=0 API_SERVER=https://192.168.33.129:6443 npm run dev

If you need to build the image locally for testing, you can refer to the following example.

docker build -t kubeedge-dashboard .
docker run -p 3000:3000 -e API_SERVER=https://192.168.33.129:6443 kubeedge-dashboard

Login with token

kubectl create serviceaccount curl-user -n kube-system
kubectl create clusterrolebinding curl-user-binding --clusterrole=cluster-admin --serviceaccount=kube-system:curl-user -n kube-system

# For Kubernetes 1.23 and earlier:
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep curl-user | awk '{print $1}')
# For Kubernetes 1.24 and later:
kubectl create token curl-user -n kube-system

Contributing

If you're interested in being a contributor and want to get involved in developing the KubeEdge code, please see CONTRIBUTING for details on submitting patches and the contribution workflow.

License

KubeEdge is under Apache 2.0 license. See the LICENSE file for details.