Code Review
/
eliot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
AIO and MUNO mode upgrade for EG 1.5.0 version
[eliot.git]
/
scripts
/
setup.sh
diff --git
a/scripts/setup.sh
b/scripts/setup.sh
index
0692622
..
5b246c5
100755
(executable)
--- a/
scripts/setup.sh
+++ b/
scripts/setup.sh
@@
-60,8
+60,8
@@
setup_k8sworkers()
#SETUP_WORKER_COMMON="cd eliot/scripts/ && source common.sh"
SETUP_WORKER="cd eliot/scripts/ && source k8sworker.sh"
#SETUP_WORKER_COMMON="cd eliot/scripts/ && source common.sh"
SETUP_WORKER="cd eliot/scripts/ && source k8sworker.sh"
- KUBEADM_
JOIN=$(grep "kubeadm join" ./kubeadm.log
)
- KUBEADM_JOIN="sudo ${KUBEADM_
JOI
N}"
+ KUBEADM_
TOKEN=$(kubeadm token create --print-join-command
)
+ KUBEADM_JOIN="sudo ${KUBEADM_
TOKE
N}"
# Read all the Worker Node details from nodelist file.
while read line
# Read all the Worker Node details from nodelist file.
while read line
@@
-141,6
+141,12
@@
verify_k8s_status(){
source verifyk8s.sh | tee verifyk8s.log
}
source verifyk8s.sh | tee verifyk8s.log
}
+
+install_edgex(){
+ set -o xtrace
+ cd edgex && source edgexonk8s.sh
+}
+
install_cadvisor_edge(){
set -o xtrace
SETUP_CADVISOR_ATEDGE="cd eliot/scripts/ && source cadvisorsetup.sh"
install_cadvisor_edge(){
set -o xtrace
SETUP_CADVISOR_ATEDGE="cd eliot/scripts/ && source cadvisorsetup.sh"
@@
-181,3
+187,12
@@
sleep 10
install_prometheus
sleep 5
sudo docker ps | grep prometheus
install_prometheus
sleep 5
sudo docker ps | grep prometheus
+
+install_edgex
+sleep 20
+
+# Removing the taint from master node
+kubectl taint nodes --all node-role.kubernetes.io/master- || true
+
+echo "ELIOT Setup execution is Completed..."
+