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:
Camryn Lee 2023-07-13 20:37:58 -07:00 коммит произвёл GitHub
Родитель 1bc34bd745
Коммит e9257ed8df
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 26 добавлений и 0 удалений

Просмотреть файл

@ -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