ci: validate CNS in-memory state after restart (#2049)
* validate pod states after cns restart * update job * wait for cns to complete restart * update pipeline log * update pipeline log
This commit is contained in:
Родитель
1bc34bd745
Коммит
e9257ed8df
|
@ -165,6 +165,19 @@ steps:
|
|||
name: "validatePods"
|
||||
displayName: "Validate Pods"
|
||||
|
||||
- script: |
|
||||
echo "validate pod IP assignment before CNS restart"
|
||||
kubectl get pod -owide -A
|
||||
make test-validate-state
|
||||
echo "restart CNS"
|
||||
kubectl rollout restart ds azure-cns -n kube-system
|
||||
kubectl rollout status ds azure-cns -n kube-system
|
||||
kubectl get pod -owide -A
|
||||
echo "validate pods after CNS restart"
|
||||
make test-validate-state
|
||||
name: "restartCNS"
|
||||
displayName: "Restart CNS and validate pods"
|
||||
|
||||
- script: |
|
||||
echo "Run wireserver and metadata connectivity Tests"
|
||||
bash test/network/wireserver_metadata_test.sh
|
||||
|
|
|
@ -149,6 +149,19 @@ steps:
|
|||
name: "validatePods"
|
||||
displayName: "Validate Pods"
|
||||
|
||||
- script: |
|
||||
echo "validate pod IP assignment before CNS restart"
|
||||
kubectl get pod -owide -A
|
||||
make test-validate-state
|
||||
echo "restart CNS"
|
||||
kubectl rollout restart ds azure-cns -n kube-system
|
||||
kubectl rollout status ds azure-cns -n kube-system
|
||||
kubectl get pod -owide -A
|
||||
echo "validate pods after CNS restart"
|
||||
make test-validate-state
|
||||
name: "restartCNS"
|
||||
displayName: "Restart CNS and validate pods"
|
||||
|
||||
- script: |
|
||||
echo "Run wireserver and metadata connectivity Tests"
|
||||
bash test/network/wireserver_metadata_test.sh
|
||||
|
|
Загрузка…
Ссылка в новой задаче