Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

enable AZ-aa by default #43

Merged
merged 1 commit into from Jun 17, 2022
Merged

enable AZ-aa by default #43

merged 1 commit into from Jun 17, 2022

Conversation

Mojachieee
Copy link
Collaborator

This PR enables spreading etcd pods between AZs by default.

As it's preferred it should have no effect if a cluster does not have any AZs

@Mojachieee Mojachieee marked this pull request as ready for review June 17, 2022 12:45
@Mojachieee Mojachieee requested a review from a team as a code owner June 17, 2022 12:45
@nolancon nolancon merged commit f8899d8 into main Jun 17, 2022
@nolancon nolancon deleted the turn-az-aa-by-default branch June 17, 2022 12:47
@@ -51,3 +51,13 @@ spec:
values:
- storageos-etcd
topologyKey: kubernetes.io/hostname
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think weight 1 is too low, this should be changed to 100. A weight of 1 is almost inconsequential: https://aws.amazon.com/blogs/developer/aws-cli-v2-is-now-generally-available/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think weight 1 is too low, this should be changed to 100.

We plan to patch this with kustomize if the user sets a topology key when installing via the plugin

We're only adding it here (and therefore setting it as default), as limitations with the plugin make it difficult to add an entire new entire object via a kustomize patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants