-
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
Do not serialize fact gathering for no_proxy #11598
Merged
k8s-ci-robot
merged 3 commits into
kubernetes-sigs:master
from
VannTen:cleanup/fact_gathering
Oct 31, 2024
Merged
Do not serialize fact gathering for no_proxy #11598
k8s-ci-robot
merged 3 commits into
kubernetes-sigs:master
from
VannTen:cleanup/fact_gathering
Oct 31, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
k8s-ci-robot
added
release-note-action-required
Denotes a PR that introduces potentially breaking changes that require user action.
kind/bug
Categorizes issue or PR as related to a bug.
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
tide/merge-method-merge
Denotes a PR that should use a standard merge by tide when it merges.
cncf-cla: yes
Indicates the PR's author has signed the CNCF CLA.
labels
Oct 4, 2024
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: VannTen 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 |
k8s-ci-robot
added
approved
Indicates a PR has been approved by an approver from all required OWNERS files.
size/M
Denotes a PR that changes 30-99 lines, ignoring generated files.
labels
Oct 4, 2024
/ok-to-test |
k8s-ci-robot
added
the
ok-to-test
Indicates a non-member PR verified by an org member that is safe to test.
label
Oct 4, 2024
VannTen
force-pushed
the
cleanup/fact_gathering
branch
2 times, most recently
from
October 4, 2024 10:55
d618590
to
cd29abc
Compare
The fallback_ips tasks are essentially serializing the gathering of one fact on all the hosts, which can have dramatic performance implications on large clusters (several minutes). This is essentially a reversal of 35f248d Being able to run without refreshing the cache facts is not worth it. We keep fallback_ip for now, simply changing the access to a normal hostvars variable instead of a custom dictionnary.
This should prevent confusing errors with undefined variables
VannTen
force-pushed
the
cleanup/fact_gathering
branch
from
October 4, 2024 12:20
cd29abc
to
b0fb060
Compare
k8s-ci-robot
added
size/L
Denotes a PR that changes 100-499 lines, ignoring generated files.
and removed
size/M
Denotes a PR that changes 30-99 lines, ignoring generated files.
labels
Oct 4, 2024
/retest-failed
|
1 similar comment
/retest-failed
|
/lgtm |
k8s-ci-robot
added
the
lgtm
"Looks good to me", indicates that a PR is ready to be merged.
label
Oct 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
approved
Indicates a PR has been approved by an approver from all required OWNERS files.
cncf-cla: yes
Indicates the PR's author has signed the CNCF CLA.
kind/bug
Categorizes issue or PR as related to a bug.
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
lgtm
"Looks good to me", indicates that a PR is ready to be merged.
ok-to-test
Indicates a non-member PR verified by an org member that is safe to test.
release-note-action-required
Denotes a PR that introduces potentially breaking changes that require user action.
size/L
Denotes a PR that changes 100-499 lines, ignoring generated files.
tide/merge-method-merge
Denotes a PR that should use a standard merge by tide when it merges.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
/kind bug
/kind cleanup
What this PR does / why we need it:
This essentially reverts #5957 , which means it gather ansible_default_ipv4 in parallel.
This means that using kubespray with --limits depends on the fact cache, but given that we have a dedicated playbook just for that and that it's the documented supported behavior, that makes it ok in my book.
Which issue(s) this PR fixes:
Fixes #11587
(I think it does, @sirkrypt0 could you test that patch to confirm ?)
Special notes for your reviewer:
This might need refinement but I'd like to test if the approach works.
Does this PR introduce a user-facing change?:
@rptaylor Thought this might interest you.
/label tide/merge-method-merge