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 ...@@ -6,7 +6,7 @@ use
With minikube do 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: machine specific deploy:
...@@ -14,7 +14,7 @@ machine specific deploy: ...@@ -14,7 +14,7 @@ machine specific deploy:
# labdev-nomad # labdev-nomad
cd /nomad/nomadlab/servers/labdev-nomad/analytics/beaker 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 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 ...@@ -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 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
./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 and execute the deploy for remote vis
kubectl create -f container-manager-service-remotevis.yaml kubectl create -f container-manager-service-remotevis.yaml
if ! kubectl get deployment nomad-container-manager-remotevis >& /dev/null ; then kubectl apply -f container-manager-deploy-remotevis.yaml
kubectl create --save-config -f container-manager-deploy-remotevis.yaml
else
kubectl apply -f container-manager-deploy-remotevis.yaml
fi
if only that changed, otherwise on has also to create the secrets and analytics namespace. 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.
Please register or to comment