-
Notifications
You must be signed in to change notification settings - Fork 734
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
Evaluate volume expansion #174
Conversation
@solsson Have you been able to test this on GKE? I see the volumeClaimTemplate starts with Slightly off topic, but perhaps related - in my development cluster, we sometimes end up wanting to completely start with a new cluster (zookeeper, brokers, registry), but retain the data. I have been running |
I only created a new test cluster, but never got round to trying the expansion. If it works we'd create new clusters at 10Gi because that's the minimum PD size (SSDs can be smaller) in GKE. We can never really estimate data volumes at cluster creation. I'll post here if/when we've actually evaluated anything :) I'll post in #154 regarding cluster replacement. |
In Kubernetes 1.11 release announcement
|
And it looks like offline resize could actually make it to non-alpha GKE clusters in 1.11. Release notes say "Resizing PersistentVolumes after pod restart is now considered beta." with a reference to kubernetes/enhancements#284. Kafka clusters should be operational with one broker taken down for maintenance, so if resize is reasonably quick there is no reason to wait for online resize. I'll try as soon as we get our hands on a 1.11 cluster. We've failed to do resize in 1.9. |
Actually #191 does include the changes to default volume size. Ok then. |
https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims