Skip to content

kemingy/envd-server

 
 

Repository files navigation

envd-server

envd-server is the backend server for envd, which talks to Kubernetes and manage environments for users.

Install

helm install --debug envd-server ./manifests
# skip 8080 if you're going to run the envd-server locally
kubectl --namespace default port-forward service/envd-server 8080:8080 &
kubectl --namespace default port-forward service/envd-server 2222:2222 &

To run the envd-server locally:

make build-local
./bin/envd-server --kubeconfig $HOME/.kube/config --hostkey manifests/secretkeys/hostkey

Usage

envd context create --name server --runner envd-server --runner-address http://localhost:8080 --use
envd login
envd create --image gaocegege/test-envd

Development Guide of Dashboard

Enter into dashboard directory to develop just like normal vue application.

If you want to build envd-server with dashboard

pushd dashboard
npm install
npm run build
popd
 DASHBOARD_BUILD=release make build-local

When envd-server is running, you can visit https:/localhost:8080/dashboard to see it

About

WIP Backend server for envd

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 51.9%
  • Vue 38.2%
  • TypeScript 6.4%
  • Makefile 2.3%
  • Smarty 0.6%
  • HCL 0.3%
  • Other 0.3%