# Install Docker on ELIOT Node
SETUP_WORKER_COMMON="sudo rm -rf ~/eliot &&\
git clone ${ELIOT_REPO} &&\
- cd eliot/blueprints/iotgteway/scripts/ && source common.sh"
+ cd eliot/blueprints/iotgateway/scripts/ && source common.sh"
#SETUP_WORKER_COMMON="cd eliot/scripts/ && source common.sh"
SETUP_WORKER="cd eliot/blueprints/iotgateway/scripts/ && source k8sworker.sh"
# 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
}
verify_edgex()
{
set -o xtrace
- source verifyedgex.sh
+ source verifyedgex.sh | tee verifyedgex.log
}
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