-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[DigitalOcean] Fix DO Tag issue #11102
[DigitalOcean] Fix DO Tag issue #11102
Conversation
Ah, nice find! I believe we only prepend cc @hakman |
@hakman @rifelpet - In the case of DO, we don't actually have an availability zone. All the master droplets will be deployed in the same region. (example for torento region is tor1). So for a master count of 3, etcd-cluster names that gets into the trim function would be For the test case examples as mentioned here it always results in the below output based on the above scenario. So I think it's very safe to assume the name as "etcd-1" or "etcd-2" etc. in DO case.
Please let me know if this helps.. |
@srikiz Can it be a single master droplet? How does it look then? |
@hakman - for a single master cluster it looks like below.
For a multi-master cluster, it looks as below -
|
Then I think the change should be ok. What do you think @rifelpet ? |
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.
agreed. lets give it a shot 👍🏻
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rifelpet 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 |
…-upstream-release-1.20 Automated cherry pick of #11102: Fix DO Tag issue
We add tags to the droplets in order to match the correct volume that needs to be attached. The volumes for etcd-main and etcd-events are also tagged and the etcd-manager does this mapping.
Due to this change, this was breaking DO droplets to volume matching logic and the new clusters wasn't coming up.
FYI - @rifelpet @timoreimann
I can work on a better logic going further, but would need this change to go in so I can continue to test the e2e tests.
Please let me know your thoughts, thanks !