Skip to content
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

Add PodDisruptionBudgets for multicluster components #7082

Closed
Crevil opened this issue Oct 12, 2021 · 5 comments
Closed

Add PodDisruptionBudgets for multicluster components #7082

Crevil opened this issue Oct 12, 2021 · 5 comments

Comments

@Crevil
Copy link
Contributor

Crevil commented Oct 12, 2021

Feature Request

What problem are you trying to solve?

When rolling the nodes of the cluster and/or scaling in it is possible for all the multicluster pods to be terminated.

How should the problem be solved?

The helm chart should provision PodDisruptionBudgets for the multicluster components same as implemented in #5406 (discussed in #5398)

What do you want to happen? Add any considered drawbacks.

Any alternatives you've considered?

Modyfing the output of the helm chart manually to add these features.

How would users interact with this feature?

They wouldn't as it should be a default for keeping the setup safe.

@Crevil
Copy link
Contributor Author

Crevil commented Oct 19, 2021

I'd like to take a stab at this 🙏

@Crevil
Copy link
Contributor Author

Crevil commented Oct 19, 2021

When starting to look into this I noticed there wasn't any tests (I could find at least) for the multicluster install command so I kicked this off with #7111 to get a baseline before changing any behaviour.

adleong pushed a commit that referenced this issue Oct 20, 2021
Currently there are no tests of the output of the multicluster install command
unlike the install and viz install commands. This makes it error prone to hard
to validate changes. This is motivated by the addition of an ha mode to the
multicluster components discussed in #7082.

This change adds two test cases and refactors the install command to look like
viz install making it easily testable. This means in practice that the body of
the command is moved into an install function. Here we extract external data,
eg. values, and delegates the values to a render function that handles the
actual rendering.

This is a non-functional change and the output used for the
install_default.golden file is based of the main branch to validate this.

Signed-off-by: Crevil <[email protected]>
@olix0r olix0r added this to the stable-2.12.0 milestone Oct 21, 2021
@kleimkuhler
Copy link
Contributor

Hey @Crevil it looks like to wrap this up we need to add high availability mode and a PDB to the service mirror. Any interest in wrapping this up? No problem if not—just thought I'd check first!

olix0r pushed a commit that referenced this issue Apr 14, 2022
Currently there are no tests of the output of the multicluster install command
unlike the install and viz install commands. This makes it error prone to hard
to validate changes. This is motivated by the addition of an ha mode to the
multicluster components discussed in #7082.

This change adds two test cases and refactors the install command to look like
viz install making it easily testable. This means in practice that the body of
the command is moved into an install function. Here we extract external data,
eg. values, and delegates the values to a render function that handles the
actual rendering.

This is a non-functional change and the output used for the
install_default.golden file is based of the main branch to validate this.

Signed-off-by: Crevil <[email protected]>
(cherry picked from commit fddfb74)
Signed-off-by: Oliver Gould <[email protected]>
@kleimkuhler kleimkuhler self-assigned this Jun 28, 2022
kleimkuhler added a commit that referenced this issue Jun 29, 2022
As part of #7082 we need to add HA mode to linkerd-multicluster's service mirror
component. Before adding configuration for it, we should have a basic unit test
that asserts the output of `linkerd multicluster link`.

Signed-off-by: Kevin Leimkuhler <[email protected]>
@adleong adleong modified the milestones: stable-2.12.0, stable-2.13.0 Jun 30, 2022
@Crevil
Copy link
Contributor Author

Crevil commented Jul 8, 2022

Thanks for picking this up @kleimkuhler 🎉

@kleimkuhler
Copy link
Contributor

Closing this as the remaining work is tracked by #8848.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants