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

rolling updates with persistent storage require RWX #16

Open
C0nsultant opened this issue Dec 20, 2024 · 1 comment
Open

rolling updates with persistent storage require RWX #16

C0nsultant opened this issue Dec 20, 2024 · 1 comment

Comments

@C0nsultant
Copy link
Owner

C0nsultant commented Dec 20, 2024

Currently, all peristent storage volumes are RWO. This works fine with update strategy recreate, but fails intermittently for rollingUpdate at least (when the pod is is on a different node, since the volume obviously would need to be bound on both the old and the new nodes simultaneously until the new pod is healthy).

Possible options:

  • make sure all deployments use an update strategy compatible with RWO
  • switch all relevant PVs and PVCs to RWX

Not idential, but related to the Node Failure scenarios in longhorn.

@C0nsultant C0nsultant changed the title Rolling Updates with persistent storage require RWX rolling updates with persistent storage require RWX Dec 20, 2024
@C0nsultant
Copy link
Owner Author

The performance differences between RWO and RWX in longhorn are quite stark. Using RWX for everything is probably not the way to go.

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

No branches or pull requests

1 participant