X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fiotgateway%2Fscripts%2Fsetup.sh;h=8406c733cc6825156d08634516b9247101979b42;hb=d8231861fea9dbdb16952bc1a744a2f8046e1bcf;hp=2d8af77250e56acc669060e04d43f736fb4898aa;hpb=c3a5fc0b392778f0f17bb5d9408dc12e81907b84;p=eliot.git diff --git a/blueprints/iotgateway/scripts/setup.sh b/blueprints/iotgateway/scripts/setup.sh index 2d8af77..8406c73 100755 --- a/blueprints/iotgateway/scripts/setup.sh +++ b/blueprints/iotgateway/scripts/setup.sh @@ -87,8 +87,7 @@ setup_k8smaster_centos() # Setup ELIOT Node setup_k8sworkers_centos - kubectl apply -f cni/calico/rbac.yaml - kubectl apply -f cni/calico/calico.yaml + kubectl apply -f cni/calico/v38/calico.yaml } @@ -136,7 +135,7 @@ install_edgex(){ verify_edgex() { set -o xtrace - source verifyedgex.sh + source verifyedgex.sh | tee verifyedgex.log } @@ -152,11 +151,13 @@ install_cadvisor_edge(){ nodepaswd=$(echo ${nodeinfo} | cut -d"|" -f3) sshpass -p ${nodepaswd} ssh ${nodeusr}@${nodeip} ${SETUP_CADVISOR_ATEDGE} < /dev/null done < nodelist > /dev/null 2>&1 + echo "CADVISOR Installed in all the ELIOT IOT-GATEWAY Nodes" } install_prometheus(){ -set -o xtrace -source prometheus.sh | tee install_prometheus.log + set -o xtrace + source prometheus.sh | tee install_prometheus.log + echo "Prometheus deployed successfully on ELIOT Manager Node and integrated with CAdvisor running on IOT-Gateway Nodes " } # Start