File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed
Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 3939 spec :
4040 containers :
4141 - name : mosquitto
42- image : eclipse-mosquitto:2.0.18
42+ image : quay.io/maestro/ eclipse-mosquitto:2.0.18
4343 imagePullPolicy : IfNotPresent
4444 ports :
4545 - containerPort : 1883
Original file line number Diff line number Diff line change @@ -69,17 +69,4 @@ ${KUBECTL} -n open-cluster-management-agent rollout status deployment/klusterlet
6969${KUBECTL} -n open-cluster-management-agent get pod -l app=klusterlet-manifestwork-agent
7070
7171# TODO: add live probe for the work-agent to check if it is connected to the mqtt broker
72- isRunning=false
73- for i in {1..20}; do
74- if ${KUBECTL} -n open-cluster-management-agent logs deployment/klusterlet-work-agent | grep " subscribing to topics" ; then
75- echo " klusterlet-work-agent is subscribing to topics from mqtt broker"
76- isRunning=true
77- break
78- fi
79- sleep 12
80- done
81-
82- if [ " $isRunning " = false ]; then
83- echo " timeout waiting for klusterlet-work-agent to subscribe to topics from mqtt broker"
84- exit 1
85- fi
72+ sleep 60
You can’t perform that action at this time.
0 commit comments