mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-26 13:25:04 -02:30
Fix netchecker update side effect (#1644)
* Fix netchecker update side effect kubectl apply should only be used on resources created with kubectl apply. To workaround this, we should apply the old manifest before upgrading it. * Update 030_check-network.yml
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
shell: "{{bin_dir}}/kubectl get pods --all-namespaces -owide"
|
||||
register: get_pods
|
||||
|
||||
- debug: msg="{{get_pods.stdout}}"
|
||||
- debug: msg="{{get_pods.stdout.split('\n')}}"
|
||||
|
||||
- name: Get pod names
|
||||
shell: "{{bin_dir}}/kubectl get pods -o json"
|
||||
|
||||
Reference in New Issue
Block a user