mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-23 05:58:04 +00:00
ci: k8s: Do not fail when gathering info on AKS nodes
Otherwise the VM deletion may not delete, leaving us with several machines behind. Fixes: #7509 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
1a94aad44f
commit
f910c66d6f
@ -173,8 +173,8 @@ function delete_cluster() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function get_nodes_and_pods_info() {
|
function get_nodes_and_pods_info() {
|
||||||
kubectl debug $(kubectl get nodes -o name) -it --image=quay.io/kata-containers/kata-debug:latest
|
kubectl debug $(kubectl get nodes -o name) -it --image=quay.io/kata-containers/kata-debug:latest || true
|
||||||
kubectl get pods -o name | grep node-debugger | xargs kubectl delete
|
kubectl get pods -o name | grep node-debugger | xargs kubectl delete || true
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user