Skip to content

Evaluate Regional volumes for the two ZK pods meant to migrate at zone outage - #191

Merged
solsson merged 9 commits into
masterfrom
all-persistent-zookeeper
Nov 29, 2018
Merged

solsson merged 9 commits into
masterfrom
all-persistent-zookeeper

Conversation

@solsson

@solsson solsson commented Jul 21, 2018

Copy link
Copy Markdown
Contributor

After trying I'm not sure https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes#regional_persistent_disks was meant to be used with automatic volume provisioning. To me it appears to be useful only with single-pod statefulsets, due to the hard coded zone names.

storage class name, but apply different definitions.
@solsson solsson added this to the 5.0 - Java 11 milestone Nov 28, 2018
@solsson

solsson commented Nov 28, 2018

Copy link
Copy Markdown
Contributor Author

This PR is a good fit for the breaking 5.0 release as it introduces storage classes for zoo that lets you chose persistence. The name kafka-zookeeper-regional is also OK even if you go for other types of persistence, as it indicates the idea to have volumes that are not bound to a single availability zone.

I haven't found a way to use for example emptyDir with storage classes, but you can always remove the volume template to revert to the old behavior. Ephemeral zoo has been an element of surprise (see for example #123) so it's probably not a good default.

@solsson
solsson merged commit 81774cc into master Nov 29, 2018
@solsson solsson mentioned this pull request Jan 16, 2019
solsson added a commit that referenced this pull request May 3, 2019
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

Successfully merging this pull request may close these issues.

1 participant