summaryrefslogtreecommitdiffstats
path: root/tools/kubernetes
diff options
context:
space:
mode:
authorBryan Sullivan <bryan.sullivan@att.com>2017-11-07 15:54:47 -0800
committerBryan Sullivan <bryan.sullivan@att.com>2017-11-07 17:33:53 -0800
commit6b4f4a7389915f69d268f13d151bd32d39e8e23c (patch)
treed0fafd26f7fdc580fccfd07cf6ed382f127e7d9f /tools/kubernetes
parentfd83878a3e018d0722143dbc91edb3665ef635f1 (diff)
Add cloudify API method for demo start/stop
JIRA: MODELS-2 more bug fixes Change-Id: Ic617fd5ca030eed0beb850f97f54fa213fee87e3 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tools/kubernetes')
-rw-r--r--tools/kubernetes/demo_deploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/kubernetes/demo_deploy.sh b/tools/kubernetes/demo_deploy.sh
index b91f828..b3ba479 100644
--- a/tools/kubernetes/demo_deploy.sh
+++ b/tools/kubernetes/demo_deploy.sh
@@ -85,8 +85,7 @@ ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$maste
bash cloudify/k8s-cloudify.sh prereqs
ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$master \
bash cloudify/k8s-cloudify.sh setup
-ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$master \
- bash cloudify/k8s-cloudify.sh demo
+source ~/models/tools/cloudify/k8s-cloudify.sh demo start $master
echo "$0 $(date): All done!"
export NODE_PORT=$(ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$master kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services dw-dokuwiki)
@@ -98,3 +97,4 @@ echo "Prometheus UI is available at http://$master:9090"
echo "Grafana dashboards are available at http://$master:3000 (login as admin/admin)"
echo "Grafana API is available at http://admin:admin@$master:3000/api/v1/query?query=<string>"
echo "Kubernetes API is available at https://$master:6443/api/v1/"
+echo "Cloudify API access example: curl -u admin:admin --header 'Tenant: default_tenant' http://$master/api/v3.1/status"