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

Nodes restarting in different Availability Zones #116

Closed
gwvandesteeg opened this issue Nov 15, 2020 · 1 comment · Fixed by #126
Closed

Nodes restarting in different Availability Zones #116

gwvandesteeg opened this issue Nov 15, 2020 · 1 comment · Fixed by #126
Assignees

Comments

@gwvandesteeg
Copy link

In the StorageClass definition you're missing an important setting of WaitForFirstConsumer.
This resolves the issue of topology constrained storage backends (such as AWS EBS).

volumeBindingMode: WaitForFirstConsumer

as per: https://kubernetes.io/docs/concepts/storage/storage-classes/

The main cause of this would be where the instance using the volume is restarted for some reason onto a different availability zone. The above mitigates that and constrains the pod to be more accurately restricted to being in the same zone as the storage (AWS prohibits cross zone EBS bindings).

@xr09 xr09 self-assigned this Nov 16, 2020
@xr09
Copy link
Contributor

xr09 commented Nov 16, 2020

Hey @gwvandesteeg, thanks a lot for reaching out, I'll take a look at this and get it fixed.

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

Successfully merging a pull request may close this issue.

2 participants