-
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
Explicitly set ETCDCTL_API and use ETCDCTL_ENDPOINTS #6327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
/lgtm |
/hold |
register: member_add_result | ||
until: member_add_result.rc == 0 | ||
retries: "{{ etcd_retries }}" | ||
delay: "{{ retry_stagger | random + 3 }}" | ||
environment: | ||
ETCDCTL_ENDPOINTS: "{{ etcd_events_access_addresses }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why didn't you set ETCDCTL_API
here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed it, adding that in latest commit.
register: etcd_events_member_in_cluster | ||
changed_when: false | ||
check_mode: no | ||
tags: | ||
- facts | ||
environment: | ||
ETCDCTL_ENDPOINTS: "{{ etcd_events_access_addresses }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for ETCDCTL_API
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed it, adding that in latest commit.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Miouge1 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 |
@Miouge1 i have two question
command
return
Can you check also ? PS: i trigger manual ci job https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/617098515 to check with |
@LuckySB I do not update the etcd version in this PR. I'm trying to split the work in several steps to make things easier. |
/hold cancel |
* 'master' of https://github.com/kubernetes-sigs/kubespray: Patch Calico for V3.14.0 missing CR and CRD (kubernetes-sigs#6276) Explicitly set ETCDCTL_API and use ETCDCTL_ENDPOINTS (kubernetes-sigs#6327) Add additional metadata configuration options to external Openstack CCM (kubernetes-sigs#6338) (kubernetes-sigs#6339)
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
In etcd 3.4
ETCDCTL_API
defaults to 3 instead of 2, therefore adding explicitETCDCTL_API: 3
should help until we upgrade.Using
ETCDCTL_ENDPOINTS
instead of--endpoints
to make it more consistent