Downgrading Calico

About downgrading Calico

Under some circumstances, you may need to perform a downgrade and return your
cluster to the previous version of Calico. If you need to downgrade
you should do so as soon as possible to avoid an outage.

Important: After downgrading or aborting the migration it is necessary
to delete the previously migrated
etcd

Calico package downgrade

This procedure is the reverse of the upgrade procedure and varies slightly according to which operating system you are using.

On all compute nodes, remove the following line from /etc/calico/felix.cfg:

DatastoreType = etcdv3

If you changed the EtcdEndpoints address (e.g. because you installed a new etcdv3 cluster
rather than upgrading your existing etcdv2 cluster), you should update the EtcdEndpoints addresses
in /etcd/calico/felix.cfg at this point.

On all compute nodes, remove the following line from /etc/calico/felix.cfg:

DatastoreType = etcdv3

If you changed the EtcdEndpoints address (e.g. because you installed a new etcdv3 cluster
rather than upgrading your existing etcdv2 cluster), you should update the EtcdEndpoints addresses
in /etcd/calico/felix.cfg at this point.

On all compute nodes:
Check the correct versions of downgraded packages with: