mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-10 15:32:09 -03:30
Add subnet var in tests
This commit is contained in:
parent
c7d61af332
commit
08d9d24320
@ -34,6 +34,7 @@
|
||||
register: running_pods
|
||||
|
||||
- set_fact:
|
||||
kube_pods_subnet: 10.233.64.0/18
|
||||
pod_names: "{{ (pods.stdout | from_json)['items'] | map(attribute = 'metadata.name') | list }}"
|
||||
pod_ips: "{{ (pods.stdout | from_json)['items'] | selectattr('status.podIP', 'defined') | map(attribute = 'status.podIP') | list }}"
|
||||
pods_hostnet: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user