-
Notifications
You must be signed in to change notification settings - Fork 49
Conversation
There is a breaking change for existing clusters: https://github.com/etcd-io/etcd/blob/master/CHANGELOG-3.4.md#breaking-changes. |
Release Notes: https://github.com/etcd-io/etcd/releases/tag/v3.4.10 Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
cc7431f
to
5536839
Compare
@invidian the breaking change was fixed. |
assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/cl/controller.yaml.tmpl
Show resolved
Hide resolved
With etcd 3.4.10, this data dir should have permissions 0700. If anything else is found then the daemon fails. For more information read: https://github.com/etcd-io/etcd/blob/master/CHANGELOG-3.4.md#breaking-changes Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
5536839
to
65d3c1d
Compare
See the last commit's description. But tl;dr is that etcd 3.4.10 would fail if it found some other permissions on the data dir. But with this change the permission of the dir will be 0700. Also I have verified with Run # Become root
sudo -i
# Change the permissions as required for the newest version
chmod 0700 /var/lib/etcd/
# Verify the dir permissions
ls -ld /var/lib/etcd/
# Update the version
sed -i 's|3.4.9|3.4.10|g' /etc/systemd/system/etcd-member.service.d/40-etcd-cluster.conf
# Restart the process and verify that it is in Running state
systemctl daemon-reload
systemctl restart etcd-member
systemctl status etcd-member
# Verify as a user:
cd /opt/bootkube/assets/tls/
export ETCDCTL_API=3
export endpoints=https://foobar.net:2379
export cacert=etcd-client-ca.crt
export cert=etcd-client.crt
export key=etcd-client.key
etcdctl member list --cacert=$cacert --cert=$cert --key=$key --endpoints=$endpoints Can you verify this works @ipochi? |
Created a doc which explains how to upgrade the etcd cluster #802. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Release Notes: https://github.com/etcd-io/etcd/releases/tag/v3.4.10