v0.6.0
gardener-robot-ci-3
released this
25 Aug 07:25
·
468 commits
to master
since this release
[etcd-druid]
⚠️ Breaking Changes
- [DEVELOPER] Switch to
github.com/gardener/etcd-druid-api
if you vendor only the API of etcd-druid. (#169, @amshuman-kr)
✨ New Features
- [OPERATOR] Added support for
etcd druid
to regularly schedule backup compactions via configurable etcd specspec.backup.compactionSchedule
(#197, @aaronfern) - [OPERATOR] Various
condition
and etcdmember
checks have been added to Etcd-Druid. The results of those checks will be reflected in theetcd.status
sub-resource. (#188, @timuthy)- Conditions:
- Ready check: Checks if resource has enough
Ready
members instatus.members
to fulfill the quorum. - AllMembersReady check: Checks if all members in
status.members
areReady
. - Members:
- Ready check: Treats the
LastUpdateTime
as a heartbeat and checks if it is within the expected time range (configurable via--etcd-member-threshold
).
- [OPERATOR] A re-sync mechanism has been added for the Custodian controller. The new flag
--custodian-sync-period (default 30s)
controls the duration after which the Custodian controller re-enqueuesetcd
resources for reconciliation. This can be considered as a health check interval. (#188, @timuthy) - [OPERATOR] It is now possible to configure the count of custodian controller workers by
--custodian-workers
. (#180, @timuthy)
🐛 Bug Fixes
- [OPERATOR] The operation annotation is now removed before reconciling the
Etcd
resource. (#205, @shreyas-s-rao) - [OPERATOR] If operation annotation is to be honoured, the reconciliation predicates now match only if either operation annotation is present, or last operation didn't succeed or if the resource is undergoing deletion. No other change (if not accompanied by any of these conditions) will trigger reconciliation. (#202, @amshuman-kr)
🏃 Others
- [OPERATOR] Remove finalizers from
Etcd
resources after waiting for statefulset. (#222, @amshuman-kr) - [OPERATOR] Added a new CLI flag
--enable-compaction-tempfs
to etcd druid to enable tempfs in the compaction job volumeMount (defaults to false) (#220, @aaronfern) - [OPERATOR] Two new fields added to etcd spec,
etcdSnapshotTimeout
andetcdDefragTimeout
which configure the snapshotter timeout and defragmentation timeout respectively of etcd-backup-restore (#216, @aaronfern) - [OPERATOR] Druid now fetches
Lease
resources in order to derive the readiness state of an etcd cluster member. This serves as a preparation for the etcd multi-node feature. (#214, @timuthy) - [OPERATOR] Updated number of chunks while uploading to never exceed the cloud provider limits. (#182, @amshuman-kr)
- [OPERATOR] The reconciliation loop count of the custodian controller has been improved. Now, reconciliation only happens at relevant
create/update/delete
events. (#180, @timuthy) - [OPERATOR] Removed synchronisation before updating ETCD status. (#174, @abdasgupta)
- [OPERATOR] NONE. (#173, @timuthy)
- [DEVELOPER] A new Make target
check-generate
has been added to check if generated code and the vendor dir are up-to-date. (#177, @timuthy)
📰 Noteworthy
- [OPERATOR] A new module
github.com/gardener/etcd-druid/api
can be used to get the API definitions. (#169, @amshuman-kr)
[etcd-backup-restore]
🏃 Others
- [USER] Compaction job will now throw warning instead of error if revisions are already compacted (gardener/etcd-backup-restore#358, @shreyas-s-rao)
- [OPERATOR] Added '--etcd-snapshot-timeout' and '--etcd-defrag-timeout' CLI flags in 'server' and 'compact' subcommands (gardener/etcd-backup-restore#361, @ishan16696)
- [OPERATOR] Updated number of chunks while uploading to never exceed the cloud provider limits. (gardener/etcd-backup-restore#334, @abdasgupta)
📰 Noteworthy
- [OPERATOR] Added compaction command support to ETCD Backup Restore. Users can now use compaction sub command with
etcdbrctl
tool to compact basesnapshot and all it's subsequent deltasnapshot to one single compacted snapshot. (gardener/etcd-backup-restore#301, @abdasgupta) - [OPERATOR] Snapshots are not stored under separate prefix (Backup-XXX) in backup storage. Instead, all of the snapshots are stored under
v2
backup version prefix in a flat structure. (gardener/etcd-backup-restore#301, @abdasgupta) - [OPERATOR] Support for
v1
backup version is still there but only for restoration and snapshot garbage collection. So backup storages that hadv1
backup version and where snapshots were stored under separate prefix (Backup-XXX), can still be used with compaction sub command (as well as for restoration). However, the new snapshots will be stored underv2
backup version prefix. (gardener/etcd-backup-restore#301, @abdasgupta) - [OPERATOR] The support for the
v1
backup structure with separate prefix (Backup-XXX) will be dropped in a subsequent release. (gardener/etcd-backup-restore#301, @abdasgupta)
[etcd-custom-image]
📰 Noteworthy
- [OPERATOR] Update etcd version from v3.4.13-bootstrap to v3.4.13-bootstrap-1.
⚠️ This will cause a restart of the etcd. (gardener/etcd-custom-image@10c534e)