File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,19 @@ steps:
165165 name: "validatePods"
166166 displayName: "Validate Pods"
167167
168+ - script : |
169+ echo "validate pod IP assignment before CNS restart"
170+ kubectl get pod -owide -A
171+ make test-validate-state
172+ echo "restart CNS"
173+ kubectl rollout restart ds azure-cns -n kube-system
174+ kubectl rollout status ds azure-cns -n kube-system
175+ kubectl get pod -owide -A
176+ echo "validate pods after CNS restart"
177+ make test-validate-state
178+ name: "restartCNS"
179+ displayName: "Restart CNS and validate pods"
180+
168181 - script : |
169182 echo "Run wireserver and metadata connectivity Tests"
170183 bash test/network/wireserver_metadata_test.sh
Original file line number Diff line number Diff line change @@ -149,6 +149,19 @@ steps:
149149 name: "validatePods"
150150 displayName: "Validate Pods"
151151
152+ - script : |
153+ echo "validate pod IP assignment before CNS restart"
154+ kubectl get pod -owide -A
155+ make test-validate-state
156+ echo "restart CNS"
157+ kubectl rollout restart ds azure-cns -n kube-system
158+ kubectl rollout status ds azure-cns -n kube-system
159+ kubectl get pod -owide -A
160+ echo "validate pods after CNS restart"
161+ make test-validate-state
162+ name: "restartCNS"
163+ displayName: "Restart CNS and validate pods"
164+
152165 - script : |
153166 echo "Run wireserver and metadata connectivity Tests"
154167 bash test/network/wireserver_metadata_test.sh
You can’t perform that action at this time.
0 commit comments