diff --git a/README.md b/README.md index a87ca4c6e15fee460603b717982761db54d939f2..bf84ee42f712cfce2449bff2db1995cba8f69e3f 100644 --- a/README.md +++ b/README.md @@ -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.