Open M-JavadHeydarpour opened 3 days ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: M-JavadHeydarpour Once this PR has been reviewed and has the lgtm label, please assign floryut for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Hi @M-JavadHeydarpour. 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 /ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test
label.
I understand the commands that are listed here.
/ok-to-test
What type of PR is this? /kind bug /kind feature
What this PR does / why we need it:
This pull request refactors the etcd configuration to prioritize
access_ip
overip
in several places in the Kubespray defaults. This change ensures that etcd nodes use the correctaccess_ip
for communication between nodes and for accessing services like events and metrics. It simplifies handling in environments where nodes have multiple IP addresses (e.g., internal and external).Which issue(s) this PR fixes: Fixes #10445 Fixes #11560
Special notes for your reviewer:
access_ip
field is now prioritized in the etcd configuration over theip
field for more reliable communication.roles/kubespray-defaults/defaults/main/main.yml
, particularly for etcd, etcd peer, etcd events, and metrics endpoints.Does this PR introduce a user-facing change?: