From 41051bbbdec39f4ccd1795b936c1d14fea1fe01b Mon Sep 17 00:00:00 2001 From: Eddie Arrage Date: Fri, 13 Apr 2018 19:15:29 +0000 Subject: Add SDC deploy/clean scripts - Added deploy/clean scripts for use in Clover container - Deployment of entire SDC scenario - Deployment includes istio install for manual sidecar injection without TLS authentication (deploy.sh) - Added Jaeger tracing and Prometheus monitoring install (view.sh) - Exposes NodePort for monitoring/tracing to access UIs outside of cluster - Clean.sh attempts to remove all of the above Change-Id: Id9548a77d71465a814a6e0cb1cbdf02d37235590 Signed-off-by: Eddie Arrage --- samples/scenarios/deploy.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 samples/scenarios/deploy.sh (limited to 'samples/scenarios/deploy.sh') diff --git a/samples/scenarios/deploy.sh b/samples/scenarios/deploy.sh new file mode 100755 index 0000000..1ffea37 --- /dev/null +++ b/samples/scenarios/deploy.sh @@ -0,0 +1,22 @@ +#!/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 Istio manual sidecar injection without TLS authentication" + +kubectl apply -f $ISTIO_BASE_DIR/install/kubernetes/istio.yaml + +echo "Deploying Service Delivery Controller sample scenario" + +kubectl apply -f <(istioctl kube-inject --debug -f ./samples/scenarios/service_delivery_controller_opnfv.yaml) -- cgit 1.2.3-korg