File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -122,11 +122,13 @@ jobs:
122
122
kubectl patch -n meshery deployment meshery-meshsync -p '{"spec":{"template":{"spec":{"containers":[{"name":"meshsync","imagePullPolicy":"IfNotPresent", "image":"meshery-meshsync:test"}]}}}}'
123
123
kubectl scale --replicas=1 deployment ${DEPLOYMENT_NAME} -n meshery
124
124
kubectl rollout status deployment ${DEPLOYMENT_NAME} -n $NAMESPACE
125
- kubectl get pods -A
126
125
# Deploy pod
127
126
kubectl run nginx-pod --image=nginx --labels=app=web,tier=frontend,purpose=meshsync-test
128
- kubectl get pods -A
127
+
128
+ # Check Meshery logs
129
129
mesheryctl system logs meshery
130
+
131
+ # Check MeshSync logs
130
132
mesheryctl system logs meshsync
131
133
CLUSTER_ID=$(kubectl get ns kube-system -o jsonpath='{.metadata.uid}')
132
134
echo $CLUSTER_ID
@@ -135,7 +137,7 @@ jobs:
135
137
svcip="http://$(kubectl get svc -n meshery | grep "meshery " | tr -s ' ' | cut -d " " -f 3):9081"
136
138
echo "this is $svcip"
137
139
SECONDS=0
138
- end=$((SECONDS+420 ))
140
+ end=$((SECONDS+300 ))
139
141
while [ $SECONDS -lt $end ]; do
140
142
result=$(curl -s --location "${svcip}/api/system/meshsync/resources?kind=Pod&spec=true&annotations=true&labels=true&clusterIds=%5B\"${CLUSTER_ID}\"%5D&page=0&pagesize=25&search=&order=&sort=desc" \
141
143
--header "meshery-token: ${{ secrets.PROVIDER_TOKEN }}" \
You can’t perform that action at this time.
0 commit comments