-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gather ansible_default_ipv4 for specific groups #6318
Gather ansible_default_ipv4 for specific groups #6318
Conversation
Hi @mqasimsarfraz. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Miouge1, MQasimSarfraz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
* 'master' of https://github.com/kubernetes-sigs/kubespray: (22 commits) Remove runtime-config from kubeadm if empty (kubernetes-sigs#6311) Update deprecated api (kubernetes-sigs#6245) Update kube-router to 1.0.0 (kubernetes-sigs#6211) Fix kubelet cgroup driver detection for crio (kubernetes-sigs#6331) Update hashes and set default version to 1.18.5 (kubernetes-sigs#6335) Change MetalLB to one of addons (kubernetes-sigs#6238) Update calico to 1.15.0 + minor update to kube-ovn/weave (kubernetes-sigs#6306) Add .editorconfig file (kubernetes-sigs#6307) Use NetworkManager to manage resolv.conf in FedoraCoreOS (kubernetes-sigs#6291) Add USE_REAL_HOSTNAME to inventory.py (kubernetes-sigs#6293) Cleanup OpenStack network things (kubernetes-sigs#6283) Add support for dns_etchosts (kubernetes-sigs#6236) kube_encryption_resources must be output as yaml (kubernetes-sigs#6309) Gather ansible_default_ipv4 for specific groups (kubernetes-sigs#6318) added azure_cloud parameter to Azure's cloud_config (kubernetes-sigs#6321) Fix some doc links (kubernetes-sigs#6328) Use `connection: local` when `delegate_to: localhost` (kubernetes-sigs#6322) Add /dev volume (kubernetes-sigs#6319) Update cilium to 1.8.0 (kubernetes-sigs#6314) fix use of ansible tags (kubernetes-sigs#6316) ...
What type of PR is this?
/kind bug
What this PR does / why we need it:
Currently we try to gather
ansible_default_ipv4
forall
hosts. Which works well if you use kubespray as standalone project but since we use it as a submodule we have inventory with much more hosts and gather fact play takes much time or becomes fragile. The idea here is to limit it to specific groups so it works well for projects consuming it as submodule.Special notes for your reviewer:
If we must gather facts for
all
. May be we can mark the tasks asignore_errors: true
?