Skip to content

v0.6.0

Compare
Choose a tag to compare
@gardener-robot-ci-3 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 spec spec.backup.compactionSchedule (#197, @aaronfern)
  • [OPERATOR] Various condition and etcd member checks have been added to Etcd-Druid. The results of those checks will be reflected in the etcd.status sub-resource. (#188, @timuthy)
    • Conditions:
    • Ready check: Checks if resource has enough Ready members in status.members to fulfill the quorum.
    • AllMembersReady check: Checks if all members in status.members are Ready.
    • 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-enqueues etcd 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 and etcdDefragTimeout 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

📰 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 had v1 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 under v2 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