Just making some notes for the upgrade steps for Zookeeper as a memo.
Prerequisites
- Terraform work complete to create Zookeeper Auto Scaling Group (ASG)
Autoscaling
Full autoscaling Zookeeper (actually adding new nodes to the Zookeeper ensemble automatically) is a bit tricky currently as a full rolling restart of the Zookeeper cluster would have to be orchestrated without ever losing quorum. Zookeeper 3.5 introduced dynamic reconfiguration which would most likely make this significantly easier. There are some other options for autoscaling Zookeeper 3.4 but we’d need to weigh up whether that additional complexity is really worth it.
Puppet
Using the puppet module: deric/puppet-zookeeper