command
module
Version:
v1.13.0
Opens a new window with list of versions in this module.
Published: Apr 9, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 27
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Network Service Mesh Dashboard Backend
NSM dashboard backend part provides graphical model data for the UI part through the REST API
Written in Go
The entire NSM dashboard deployment info see here
Dev/debug
To run dashboard backend in the cluster:
git clone git@github.com:networkservicemesh/deployments-k8s.git
cd deployments-k8s/examples/observability/dashboard
- Edit
dashboard-pod.yaml
and remove the dashboard-ui
container
kubectl apply -f dashboard-pod.yaml
kubectl apply -f dashboard-backend-service.yaml
kubectl port-forward -n nsm-system service/dashboard-backend 3001:3001
- Check
http://localhost:3001/nodes
in the browser
To run dashboard backend with a custom container (Docker have to be installed) in the cluster:
git clone git@github.com:networkservicemesh/cmd-dashboard-backend.git
cd cmd-dashboard-backend
- Make the necessary code changes
- Create a Dockerhub repository
docker build -t your-dh-namespace/dh-repo-name .
docker push your-dh-namespace/dh-repo-name
cd deployments-k8s/examples/observability/dashboard
- Edit
dashboard-pod.yaml
and set your Dockerhub image address for the dashboard-backend
container
- Execute the steps 3-7 from the previous section
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.