To reproduce:
- Install etcd-operator 0.2
- Create a 3-node etcdcluster with etcd image 3.6.8
- Update etcdcluster.yaml to use image 3.6.10
kubectl apply the new manifest from sample_autocert_etcdcluster.yaml
- etcdcluster definition is updated
- The Statefulset does NOT get updated. No members actually get upgraded.
- Try modifying etcdcluster-sample using
kubectl edit
- Statefulset still not updated
- Edit the YAML file one more time, changing the number of members also
- The statefulset will be updated, including the image version
It appears that changes made to the manifest for an existing cluster are not applied to the statefulset unless the user also changes the number of members. This is a missing logic loop somewhere.
To reproduce:
kubectl applythe new manifest fromsample_autocert_etcdcluster.yamlkubectl editIt appears that changes made to the manifest for an existing cluster are not applied to the statefulset unless the user also changes the number of members. This is a missing logic loop somewhere.