Skip to content

Is it possible to share a single S3 bucket and folder for etcd backups across multiple different clusters?

Article Number: 000021930

Environment

Rancher-provisioned or standalone RKE, RKE2 or K3s clusters, with etcd backups configured to an S3 bucket

Situation

When configuring etcd backups to an S3 bucket for RKE, RKE2 or K3s clusters, can the same S3 bucket and folder be used?

Resolution

  • No, each cluster must use a different S3 bucket and folder combination.
  • Thus, whilst an S3 bucket can be shared between clusters, each cluster should be configured to use a unique folder within the bucket.
  • The same bucket and folder should not be used for different clusters, as this might lead to issues:

  • Mixed etcd snapshots from different clusters

  • Unavailability to recover a cluster by choosing the wrong etcd snapshot
  • Etcd snapshots pruned by another cluster