diff options
author | Ace Lee <liyin11@huawei.com> | 2018-11-06 13:17:23 +0000 |
---|---|---|
committer | Ace Lee <liyin11@huawei.com> | 2018-11-09 02:16:47 +0000 |
commit | 505a0bbe3d01a234cb47c9c482ed1a37b9360e26 (patch) | |
tree | 4c611cf7f439e166a684e0d70dece672015a5bb4 /samples/scenarios | |
parent | 593828984ee78f6fa1c16a88fb27712313597edb (diff) |
change the doc for the istio 1.0
prometheus has been installed in istio 1.0
so we need to delete the view.sh file.
but we need to change to to NodePort way to expose the port
Change-Id: I8ae6bc1c251ba5effbc94efe984384af6e64adfc
Signed-off-by: Ace Lee <liyin11@huawei.com>
Diffstat (limited to 'samples/scenarios')
-rwxr-xr-x | samples/scenarios/view.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/samples/scenarios/view.sh b/samples/scenarios/view.sh deleted file mode 100755 index 8b155ce..0000000 --- a/samples/scenarios/view.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -# -# Copyright (c) Authors of Clover -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -# - -CLOVER_BASE_DIR=${CLOVER_BASE_DIR:-"/home/opnfv/repos/clover"} -ISTIO_BASE_DIR=${ISTIO_BASE_DIR:-"/istio-source"} - -cd $CLOVER_BASE_DIR - -echo "Deploying Prometheus monitoring" - -kubectl apply -f $ISTIO_BASE_DIR/install/kubernetes/addons/prometheus.yaml - -echo "Deploying Jaeger tracing" - -kubectl apply -n istio-system -f https://raw.githubusercontent.com/jaegertracing/jaeger-kubernetes/master/all-in-one/jaeger-all-in-one-template.yml - -echo "Exposing tracing and monitoring outside of Kubernetes cluster" - -kubectl delete -n istio-system svc prometheus - -kubectl expose -n istio-system deployment jaeger-deployment --port=16686 --type=NodePort - -kubectl expose -n istio-system deployment prometheus --port=9090 --type=NodePort |