Releases: gardener/etcd-druid
Releases Β· gardener/etcd-druid
v0.19.2
v0.19.1
[gardener/etcd-druid]
π Bug Fixes
[OPERATOR]
A bug causing incorrect volume mount path forEtcd
s andEtcdCopyBackupsTask
s usingLocal
snapshot storage provider while using distroless etcd-backup-restore imagev0.25.x
has been resolved. by @aaronfern [#662][OPERATOR]
A bug causingEtcdCopyBackupsTask
jobs to fail to create temp snapshot directory while using distroless etcd-backup-restore imagev0.25.x
has been resolved. by @aaronfern [#662]
v0.19.0
[gardener/etcd-backup-restore]
π° Noteworthy
[OPERATOR]
Etcd-backup-restore now uses the user home directory to create files. by @aaronfern [gardener/etcd-backup-restore#637][OPERATOR]
Etcd-backup-restore now uses a distroless image as its base image. It is no longer compatible with etcd-custom-image, and must be used with etcd-wrapper instead. by @aaronfern [gardener/etcd-backup-restore#637]
π Others
[DEVELOPER]
Add CVE categorization for etcd-backup-restore. by @shreyas-s-rao [gardener/etcd-backup-restore#644][OPERATOR]
While scaling up a non-HA etcd cluster to HA skipping the scale-up checks for first member of etcd cluster as first member can never be a part of scale-up scenarios. by @ishan16696 [gardener/etcd-backup-restore#649][OPERATOR]
Backup-restore waits for its etcd to be ready before attempting to update peerUrl by @aaronfern [gardener/etcd-backup-restore#628]
[gardener/etcd-druid]
β οΈ Breaking Changes
[OPERATOR]
β οΈ etcd.Status.ClusterSize
,etcd.Status.ServiceName
,etcd.Status.UpdatedReplicas
have been marked as deprecated and users should refrain from depending on these fields. by @unmarshall [#594][OPERATOR]
Etcd-related secrets will now be mounted onto the/var/
directory instead of/root/
. by @aaronfern [#620][OPERATOR]
File ownership forvar/etcd/data
will be changed to non-root user (65532). by @aaronfern [#620][OPERATOR]
Etcd-druid will now deploy distrolessetcd-wrapper
andetcd-backup-restore
images. Please refer to etcd-wrapper for more information. by @aaronfern [#620][DEVELOPER]
Developer Action Required: Themake deploy
command has been replaced withmake deploy-via-kustomize
. Please update your deployment workflows accordingly. by @seshachalam-yv [#599]
β¨ New Features
[DEVELOPER]
Makefile has been updated to useSkaffold
for deployingetcd-druid
with themake deploy
target, simplifying the deployment process and eliminating the need to push the image to the container registry for each local development testing. by @seshachalam-yv [#599][OPERATOR]
Feature gates have been introduced in etcd-druid, and can be specified using CLI flag--feature-gate
. by @aaronfern [#646][OPERATOR]
UseEtcdWrapper
feature gate has been introduced to allow users to opt for the new etcd-wrapper image. by @aaronfern [#646][OPERATOR]
Druid now exposes metrics related to snapshot compaction, on default port 8080. Please expose the desired metrics port via the etcd-druid service to allow metrics to be scraped by a Prometheus instance. by @abdasgupta [#569]
π Bug Fixes
[OPERATOR]
AllMembersReady
condition has now been fixed to eventually show the correct overall readiness of an etcd cluster. by @unmarshall [#594]
π Others
[DEVELOPER]
Add CVE categorization for etcd-druid. by @shreyas-s-rao [#634][DEVELOPER]
Refactoredstatefulset
,service
,poddisruptionbudget
,lease
, andconfigmap
components to use default labels and owner references frometcd
. by @seshachalam-yv [#559][OPERATOR]
Print build version and go runtime info. by @shreyas-s-rao [#636][OPERATOR]
Bumped up the custom image version to v3.4.13-bootstrap-11 by @abdasgupta [#623][OPERATOR]
When scaling from single-node to multi-node etcd cluster, Etcd Druid will now first ensure that any change to the peer URL (e.g TLS enablement) is seen by the existing etcd process running within the etcd member pod. Once that is confirmed then it will scale up the Etcd StatefulSet and add relevant annotations. by @unmarshall [#598]
v0.18.4
[gardener/etcd-druid]
β οΈ Breaking Changes
[OPERATOR]
β οΈ etcd.Status.ClusterSize
,etcd.Status.ServiceName
,etcd.Status.UpdatedReplicas
have been marked as deprecated and users should refrain from depending on these fields. by @shreyas-s-rao [#637]
π Bug Fixes
[OPERATOR]
AllMembersReady
condition has now been fixed to eventually show the correct overall readiness of an etcd cluster. by @shreyas-s-rao [#637]
π Others
[DEVELOPER]
Add CVE categorization for etcd-druid. by @shreyas-s-rao [#637][OPERATOR]
Print build version and go runtime info. by @shreyas-s-rao [#637]
[gardener/etcd-backup-restore]
π Others
[OPERATOR]
Bump alpine base version for Docker build to3.18.2
. by @shreyas-s-rao [gardener/etcd-backup-restore#638][DEVELOPER]
Add CVE categorization for etcd-backup-restore. by @shreyas-s-rao [gardener/etcd-backup-restore#644]
v0.18.3
[etcd-druid]
π Others
- [OPERATOR] Druid now exposes metrics related to snapshot compaction, on default port 8080. Please expose the desired metrics port via the etcd-druid service to allow metrics to be scraped by a Prometheus instance. (gardener/etcd-druid#625, @abdasgupta)
v0.18.2
[etcd-druid]
π Others
- [OPERATOR] Bumped up the custom image version to v3.4.13-bootstrap-11 (gardener/etcd-druid#624, @abdasgupta)
v0.18.1
[etcd-druid]
π Others
- [OPERATOR] Backup-restore waits for its etcd to be ready before attempting to update peerUrl (gardener/etcd-druid#602, @abdasgupta)
- [OPERATOR] When scaling from single-node to multi-node etcd cluster, Etcd Druid will now first ensure that any change to the peer URL (e.g TLS enablement) is seen by the existing etcd process running within the etcd member pod. Once that is confirmed then it will scale up the Etcd StatefulSet and add relevant annotations. (gardener/etcd-druid#602, @abdasgupta)
- [OPERATOR] When scaling from single-node to multi-node etcd cluster, Etcd Druid will now first ensure that any change to the peer URL (e.g TLS enablement) is seen by the existing etcd process running within the etcd member pod. Once that is confirmed then it will scale up the Etcd StatefulSet and add relevant annotations. (gardener/etcd-druid#598, @unmarshall)
v0.18.0
[etcd-druid]
β¨ New Features
- [DEVELOPER] Run
make ci-e2e-kind
to run the e2e tests on local machine (gardener/etcd-druid#547, @abdasgupta) - [DEVELOPER] Eliminated
Role
helm charts and converted into Golang component with added unit tests. (gardener/etcd-druid#538, @seshachalam-yv) - [DEVELOPER] Eliminated
RoleBinding
helm charts and converted into Golang component with added unit tests. (gardener/etcd-druid#539, @seshachalam-yv)
π Bug Fixes
- [OPERATOR] Added check to ensure that the scale up annotation is removed from the etcd statefulset only when scale-up succeeds (gardener/etcd-druid#587, @ishan16696)
π Others
- [OPERATOR] etcd-custom-image updates from
v3.4.13-bootstrap-9
tov3.4.13-bootstrap-10
(gardener/etcd-druid#575, @aaronfern) - [DEVELOPER] Upgrade to go 1.20.3. (gardener/etcd-druid#579, @shreyas-s-rao)
- [DEVELOPER] Block public access for S3 buckets created by e2e tests. (gardener/etcd-druid#581, @shreyas-s-rao)
[etcd-backup-restore]
π Bug Fixes
- [OPERATOR] Fixes a bug in backup-restore which falsely detects scale-up scenario incase of rolling update of statefulset. (gardener/etcd-backup-restore#614, @ishan16696)
π Others
- [OPERATOR] Base alpine image upgraded from
3.15.7
to3.15.8
(gardener/etcd-backup-restore#612, @aaronfern) - [OPERATOR] Add a learner with backoff in case of scale-up feature is triggered. (gardener/etcd-backup-restore#617, @ishan16696)
- [OPERATOR] Added a safety check before adding a learner(non-voting) member in etcd cluster. (gardener/etcd-backup-restore#605, @ishan16696)
- [DEVELOPER] Upgrade to go 1.20.3 (gardener/etcd-backup-restore#613, @shreyas-s-rao)
- [DEVELOPER] Block public access for S3 buckets created by integration tests. (gardener/etcd-backup-restore#615, @shreyas-s-rao)
[etcd-custom-image]
π Others
- [OPERATOR] Base alpine image for etcd-custom-image upgraded from
3.15.7
to3.15.8
(gardener/etcd-custom-image#32, @aaronfern)
v0.17.0
[etcd-druid]
β οΈ Breaking Changes
- [USER] The default value for druid CLI flag
ignore-operation-annotation
is now set tofalse
. This means druid will now respect thegardener.cloud/operation
annotation for reconciling theEtcd
resource by default. This change allows for developers to follow best practices during local development and testing. (gardener/etcd-druid#506, @shreyas-s-rao)
β¨ New Features
- [DEVELOPER] Introduce integration tests for testing the functionalities of each controller, which can be run using
make test-integration
. (gardener/etcd-druid#506, @shreyas-s-rao) - [DEVELOPER] Eliminated
ServiceAccount
helm charts and converted into Golang component with added unit tests. (gardener/etcd-druid#535, @seshachalam-yv)
π Bug Fixes
- [OPERATOR] Squash multiple bugs in controllers as part of the refactoring process. (gardener/etcd-druid#506, @shreyas-s-rao)
- [DEVELOPER] ETCD Statefulset and Services only use
instance:<ETCD Name>
as selector field. (gardener/etcd-druid#521, @abdasgupta)
π Others
- [OPERATOR] A bug that caused control plane migrations to fail for shoots with numeric names and a leading
0
has been fixed by eliminating theEtcdCopyBackupsTask
helm chart. (gardener/etcd-druid#553, @seshachalam-yv) - [OPERATOR] etcd-custom-image updated from
v3.4.13-bootstrap-8
tov3.4.13-bootstrap-9
(gardener/etcd-druid#555, @aaronfern) - [OPERATOR] Adapt
etcdbrctl
dir path flagsdata-dir
andrestoration-temp-snapshots-dir
based on etcd-backup-restore#609. (gardener/etcd-druid#570, @shreyas-s-rao) - [OPERATOR] Upgraded golang version to 1.20 (gardener/etcd-druid#542, @unmarshall)
- Upgraded dependencies including upstream gardener/gardener dependency to 1.65.0
- Upgrades client-go to v0.26.1
- Upgrades controller-runtime to 0.14.4
- [DEVELOPER] Remove helm charts for EtcdCopyBackupsTask controller in favour of go code (gardener/etcd-druid#553, @seshachalam-yv)
- [DEVELOPER] Refactor etcd-druid code: refactor CLI flags, restructure controllers, add controller configs, add controller-specific unit tests, restructure existing controller tests into controller-specific integration tests. This makes etcd-druid easier to maintain and contribute to. (gardener/etcd-druid#506, @shreyas-s-rao)
- [DEPENDENCY] Update HVPA dependency to
github.com/gardener/hvpa-controller/api:v0.5.0
. (gardener/etcd-druid#522, @Kostov6)
[etcd-backup-restore]
π Bug Fixes
- [OPERATOR] Fixes a bug in snapshotter loop when backup-restore fails to collect events or fails to apply watch if required etcd revision has been compacted. (gardener/etcd-backup-restore#602, @ishan16696)
- [OPERATOR] Fixes a bug in snapshotter loop when backup-restore fails to collect events or fails to apply watch if required etcd revision has been compacted. (gardener/etcd-backup-restore#600, @ishan16696)
π Others
- [USER] Introduce CLI flag
--restoration-temp-snapshots-dir
to configure directory used for temporarily persisting delta snapshots during restoration. (gardener/etcd-backup-restore#609, @shreyas-s-rao) - [USER] Fix behavior of
--data-dir
foretcdbrctl compact
command to be consistent with the flag's usage in otheretcdbrctl
commands. (gardener/etcd-backup-restore#609, @shreyas-s-rao) - [OPERATOR] Enhances the scale-up detection conditions to avoid potential failure while from migrating single node etcd to multi-node etcd cluster. (gardener/etcd-backup-restore#608, @ishan16696)
- [OPERATOR] Optimize disk usage during restoration of delta snapshots, and remove scope for errors in the process. (gardener/etcd-backup-restore#609, @shreyas-s-rao)
- [OPERATOR] Allow for flexible build opts for other CI tools. (gardener/etcd-backup-restore#610, @shreyas-s-rao)
- [OPERATOR] Etcd snapshots are copied in parallel instead of sequentially (10 in parallel by default, configurable via
--max-parallel-copy-operations
). (gardener/etcd-backup-restore#591, @timebertt) - [OPERATOR] Restrict the file permissions of
safe_guard
file from 644 to 600. (gardener/etcd-backup-restore#607, @AleksandarSavchev)
[etcd-custom-image]
π Others
- [OPERATOR] Base alpine image upgraded from
3.15.6
to3.15.7
(gardener/etcd-custom-image#31, @aaronfern)
v0.16.1
[etcd-backup-restore]
π Bug Fixes
- [OPERATOR] Fixes a bug in snapshotter loop when backup-restore fails to collect events or fails to apply watch if required etcd revision has been compacted. (gardener/etcd-backup-restore#602, @ishan16696)