Releases: gardener/dependency-watchdog
Releases · gardener/dependency-watchdog
v1.3.0
[gardener/dependency-watchdog]
✨ New Features
[OPERATOR]
DWD prober no longer considersUnhealthy
Nodes in scaling decisions for the dependent resources. by @rishabh-11 [#124][OPERATOR]
DWD prober no longer considersFailed
orTerminating
Machines in scaling decisions for the dependent resources. by @rishabh-11 [#124][OPERATOR]
DWD prober no longer performs scaling operations for clusters with only one candidate lease. by @rishabh-11 [#124]
🏃 Others
[OPERATOR]
Replaced mocks with fake clients for unit tests by @rishabh-11 [#124][OPERATOR]
Updated the go version to 1.23. by @rishabh-11 [#127]
Docker Images
- dependency-watchdog:
europe-docker.pkg.dev/gardener-project/releases/gardener/dependency-watchdog:v1.3.0
v1.2.3
[gardener/dependency-watchdog]
🏃 Others
[OPERATOR]
Perform scale up if no candidate leases are present by @rishabh-11 [#113][OPERATOR]
Removed vendor directory by @rishabh-11 [#115]
Docker Images
- dependency-watchdog:
europe-docker.pkg.dev/gardener-project/releases/gardener/dependency-watchdog:v1.2.3
v1.2.2
[gardener/dependency-watchdog]
🏃 Others
[OPERATOR]
dependency-watchdog-prober
now skipsLease
s in thekube-node-lease
namespace in case the correspondingNode
does not exist (anymore). by @rfranzke [#108]
Docker Images
- dependency-watchdog:
europe-docker.pkg.dev/gardener-project/releases/gardener/dependency-watchdog:v1.2.2
v1.2.1
[gardener/dependency-watchdog]
🏃 Others
[OPERATOR]
MakekcmNodeMonitorGraceDuration
optional in the prober config and use a default value of40s
if not specified in the shoot and the config. by @rishabh-11 [#101]
Docker Images
- dependency-watchdog:
europe-docker.pkg.dev/gardener-project/releases/gardener/dependency-watchdog:v1.2.1
v1.2.0
[gardener/dependency-watchdog]
⚠️ Breaking Changes
[OPERATOR]
DWD no longer depends on checking the reachability of Kube-API server via external load-balancer as kube-proxy path optimizations makes that impossible on infrastructures which have a static IP for the LB. Instead it now depends on node leases that are periodically renewed by each node running in the shoot cluster to determine its scaling action (scale-down/up). by @rishabh-11 [#94][OPERATOR]
Change OCI Image Registry from GCR (eu.gcr.io/gardener-project
) to Artifact-Registry (europe-docker.pkg.dev/gardener-project/releases
). Users should update their references.
by @ccwienk [#93]
🏃 Others
[DEVELOPER]
Useginkgolinter
instead of self bakedgomegacheck
by @himanshu-kun [#95]
Docker Images
- dependency-watchdog:
europe-docker.pkg.dev/gardener-project/releases/gardener/dependency-watchdog:v1.2.0
v1.1.2
[gardener/dependency-watchdog]
🏃 Others
[OPERATOR]
Bump g/g version to remove stale client-go dependency by @rishabh-11 [#92]
v1.1.1
v1.1.0
[dependency-watchdog]
🏃 Others
- [OPERATOR] More categories are added to label a release note for a PR on DWD. (gardener/dependency-watchdog#75, @himanshu-kun)
- Release notifications would now be sent to
gardener-dwd
channel (private) on releases.
- Release notifications would now be sent to
- [OPERATOR] Probes will not be created for shoots with no workers. (gardener/dependency-watchdog#82, @unmarshall)
- [OPERATOR] Fixes for
make check
target (gardener/dependency-watchdog#87, @unmarshall) - [DEPENDENCY] Following dependencies are updated: (gardener/dependency-watchdog#84, @unmarshall)
- Go - 1.20.3
- client-go - v0.26.2
- controller-runtime - v0.14.5
- gomega - v1.27.1
- zap - v1.24.0
- gardener/gardener v1.69.0
- k8s (api and apimachinery) - v0.26.2
v1.0.0
[dependency-watchdog]
This is a major version release and has breaking API changes.
⚠️ Breaking Changes
- [OPERATOR] Introduces backward incompatible changes to the API/Config. Consumers should adapt to the new changes. (gardener/dependency-watchdog#67, @unmarshall) Please refer the docs for details.
- [OPERATOR] Command name for
dependency-watchdog
has been changed toweeder
andprobe
has been changed toprober
. Command line options have also changed. Please refer the docs for details.
✨ New Features
- [OPERATOR] In prober, support for multiple replicas for the dependent resources has been added. Previously this was hard coded to 1 making it difficult for dependency-watchdog to operate on resource which have a HA setup. Dependency-Watchdog will not interfere with HPA or any other entity which has been setup to scale out/in resources in a k8s cluster.
- [OPERATOR] [Gardener]: It has been ensured that during hibernation (either when hibernating or waking up from hibernation) and during control-plane-migration, dependency-watchdog acts responsibly and prevents scale out/in operations which could interfere with these operations.
- [DEVELOPER] This new version now uses controller-runtime. Usage of
client-go
is limited to:- Create a watch
- Create a discovery client
- Use scale sub-resource
The above are currently not supported by the controller-runtime.
- [USER] Previously prober only supported
Deployment
resources. This version onwards any k8s resource that has a scale sub-resource is supported.
🏃 Others
- [DEVELOPER] Added envtest and KIND based tests for prober and weeder.
- [DEVELOPER] Extensive documentation added for concepts, usage and contributions.
- [OPERATOR] Build and tests are now run using
prow
- [OPERATOR] Gardener version used has been bumped to v1.59.0
- [OPERATOR] fixed RetryUntilPredicate tests. (gardener/dependency-watchdog#73, @rishabh-11)
- [OPERATOR] updated golang version to v1.19.4. (gardener/dependency-watchdog#73, @rishabh-11)
- [DEVELOPER] Many makefile targets have been added including
format
,check-vulnerabilites
etc (gardener/dependency-watchdog#65, @himanshu-kun)
v0.8.0
[dependency-watchdog]
🐛 Bug Fixes
- [OPERATOR] A bug is fixed which allowed dependency-watchdog to not ignore scaling operations on deployment which are not enabled/deployed in a given cluster (gardener/dependency-watchdog#41, @ashwani2k)
- A bug with uploading of a rotated dependency-watchdog-probe secrets is now fixed by refreshing the clients with updated secrets.
🏃 Others
- [OPERATOR] Switch default leader election resource lock for
dependency-watchdog
fromendpointsleases
toleases
. (gardener/dependency-watchdog#44, @ary1992) - [OPERATOR] Published docker images for Dependency-Watchdog are now multi-arch ready. They support
linux/amd64
andlinux/arm64
. (gardener/dependency-watchdog#57, @timuthy) - [OPERATOR] DWD client shall no longer use long running TCP connections when attempting to probe Kube ApiServer via internal endpoint. (gardener/dependency-watchdog#62, @unmarshall)
📰 Noteworthy
- [OPERATOR] A dependent's scaling up/down can be ignored by DWD now by adding the annotation
dependency-watchdog.gardener.cloud/ignore-scaling
to the deployment (gardener/dependency-watchdog#48, @himanshu-kun) - [OPERATOR] The
dependency-watchdog
now usesdistroless
instead ofalpine
as a base image. (gardener/dependency-watchdog#59, @dimityrmirchev)