Skip to content
Snippets Groups Projects
Commit 8febb732 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

README: adapt to deploy move

parent 99b72494
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ use
With minikube do
./deploy.sh --chown-root /data --nomad-root /hosthome/$USER/nomadlab
./deploy/deploy.sh --chown-root /data --nomad-root /hosthome/$USER/nomadlab
machine specific deploy:
......@@ -14,7 +14,7 @@ machine specific deploy:
# labdev-nomad
cd /nomad/nomadlab/servers/labdev-nomad/analytics/beaker
./deploy.sh --env labdev-nomad --target-hostname labdev-nomad --secret-web-certs web-certs --debug
./deploy/deploy.sh --env labdev-nomad --target-hostname labdev-nomad --secret-web-certs web-certs --debug
development machine, deploy mirroring the filesystem, you might need to manully execute npm install in the container to if you update packages
......@@ -36,16 +36,12 @@ update config with current info on the redis dbs of labdev (default-remotevis.hj
docker run -ti -v $PWD:/usr/src/app -v /nomad/nomadlab/servers/services-info:/services-info -w /usr/src/app --rm node:carbon node app.js templateEvaluer --replacements /services-info/labdev-nomad.services.yaml --template config/nomad-vis-test.hjson.in --out-file config/nomad-vis-test.hjson
deploy
./deploy.sh --tls --env nomad-vis-test --target-hostname nomad-vis-test --secret-web-certs web-certs
./deploy/deploy.sh --tls --env nomad-vis-test --target-hostname nomad-vis-test --secret-web-certs web-certs
and execute the deploy for remote vis
kubectl create -f container-manager-service-remotevis.yaml
if ! kubectl get deployment nomad-container-manager-remotevis >& /dev/null ; then
kubectl create --save-config -f container-manager-deploy-remotevis.yaml
else
kubectl apply -f container-manager-deploy-remotevis.yaml
fi
kubectl apply -f container-manager-deploy-remotevis.yaml
if only that changed, otherwise on has also to create the secrets and analytics namespace.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment