Releases: gardener/machine-controller-manager-provider-gcp
Releases · gardener/machine-controller-manager-provider-gcp
v0.21.0
[gardener/machine-controller-manager-provider-gcp]
🏃 Others
[DEVELOPER]
Addedgosec
for Static Application Security Testing (SAST). by @thiyyakat [#134][DEVELOPER]
Thegardener/machine-controller-manager
dependency has been updated tov0.55.1
. Release Notes by @thiyyakat [#134][DEVELOPER]
Updated go lang version to1.23.3
by @thiyyakat [#134][USER]
MCM provider GCP is able to provide the values for ashieldedInstanceConfiguration
from a machineClass to the GCP API. by @MrBatschner [#135]
Docker Images
- machine-controller-manager-provider-gcp:
europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-gcp:v0.21.0
v0.20.0
[gardener/machine-controller-manager]
✨ New Features
[DEVELOPER]
MCM adds the name of the machine tonode.gardener.cloud/machine-name
label of the corresponding node. by @oliver-goetz [gardener/machine-controller-manager#919][DEVELOPER]
MCM replaces the magic string<<MACHINE_NAME>>
in user data with the name of the machine when it is bootstrapped. by @oliver-goetz [gardener/machine-controller-manager#919]
🐛 Bug Fixes
[OPERATOR]
Fixed a bug where theUnitialised
error code was blocking machine deletion by @rishabh-11 [gardener/machine-controller-manager#928][OPERATOR]
Fixed a bug where failure of machine initialization caused label updates to not happen. by @thiyyakat [gardener/machine-controller-manager#940][DEVELOPER]
Fixed bug that removed the shoot-- prefix from control cluster namespace for integration tests using the gardener local setup case by @thiyyakat [gardener/machine-controller-manager#935]
🏃 Others
[OPERATOR]
Golang version used is now upgraded to1.22.5
by @aaronfern [gardener/machine-controller-manager#929][OPERATOR]
Drain timeout is now correctly honored for Pod eviction during Machine Drain by @sssash18 [gardener/machine-controller-manager#920][OPERATOR]
getVMStatus
always redirects toInitiateDrain
. It also populates the node label on the machine object by checkingnode.gardener.cloud/machine-name
label on the nodes. by @thiyyakat [gardener/machine-controller-manager#940][OPERATOR]
golangci-lint will now be used as the linter instead of the older golint by @aaronfern [gardener/machine-controller-manager#929][DEVELOPER]
The following dependencies are updated:k8s.io/*
:v0.29.3
->v0.31.0
by @ary1992 [gardener/machine-controller-manager#938]
📖 Documentation
[OPERATOR]
Broken API doc links are now fixed by @rishabh-11 [gardener/machine-controller-manager#927]
[gardener/machine-controller-manager-provider-gcp]
🏃 Others
[USER]
Golang version updated to1.22.5
by @rishabh-11 [#126][DEVELOPER]
MCM can now retrieve the project ID from a "projectID" data key, allowing support for credential configurations that do not directly contain the project ID. One such case is a workload identity credential configuration. by @dimityrmirchev [#130][OPERATOR]
golangci-lint will now be used as the linter instead of the older golint by @aaronfern [#127]
Docker Images
- machine-controller-manager-provider-gcp:
europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-gcp:v0.20.0
v0.19.0
[gardener/machine-controller-manager-provider-gcp]
🏃 Others
[DEVELOPER]
Removed vendor directory by @rishabh-11 [#112][DEVELOPER]
Support for passing disk params provisioned-iops and provisioned-throughput by @hebelsan [#122][USER]
The providerSpec validation has changed for the following driver calls:-- DeleteMachine, ListMachines, and GetMachineStatus validate only the zone field in the providerSpec. by @rishabh-11 [#123]
[USER]
Remove strict validation about disk types by @kon-angelo [#108]
[gardener/machine-controller-manager]
⚠️ Breaking Changes
[DEVELOPER]
New provider method Driver.InitializeMachine added for Post-Creation VM Instance Initialization steps. by @elankath [gardener/machine-controller-manager#898]
🏃 Others
[OPERATOR]
Removed vendor directory by @rishabh-11 [gardener/machine-controller-manager#903][OPERATOR]
Updated k8s dependencies tov0.29.3
by @rishabh-11 [gardener/machine-controller-manager#907]
Docker Images
- machine-controller-manager-provider-gcp:
europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-gcp:v0.19.0
v0.18.0
[gardener/machine-controller-manager]
⚠️ Breaking Changes
[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 [gardener/machine-controller-manager#878]
🐛 Bug Fixes
[DEVELOPER]
MCM restart happens properly in integration tests now. This fix will get activated, once this version is vendored in your mcm-provider by @sssash18 [gardener/machine-controller-manager#879][DEVELOPER]
A bug inUpdateNodeToMachine
which cause the IT to fail is fixed. by @elankath [gardener/machine-controller-manager#893][OPERATOR]
Fix for edge case of Node object deletion missed during machine termination. by @elankath [gardener/machine-controller-manager#887]
🏃 Others
[OPERATOR]
fixed IT for seed with k8s >= 1.27 as control cluster by @piyuagr [gardener/machine-controller-manager#869][OPERATOR]
Architecture field added in the nodetemplate. This will allow CA to pickup architecture from machine class and schedule pods on relevant arch nodes. by @sssash18 [gardener/machine-controller-manager#894][OPERATOR]
machine controller won't reconcile machine on non-spec update events by @himanshu-kun [gardener/machine-controller-manager#877][DEVELOPER]
go-git now removed from dependencies due to CVE's. by @elankath [gardener/machine-controller-manager#896][DEVELOPER]
Bumpk8s.io/*
deps tov0.28.2
by @afritzler [gardener/machine-controller-manager#858]
📖 Documentation
[DEVELOPER]
Phase transition diagram for a machine object is added to FAQs by @himanshu-kun [gardener/machine-controller-manager#886]
[gardener/machine-controller-manager-provider-gcp]
📰 Noteworthy
[DEVELOPER]
The GCPProviderSpec now supports settingminCpuPlatform
to configure the minimum CPU platform requested for the VM. by @AndreasBurger [#98]
Docker Images
- machine-controller-manager-provider-gcp:
europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-gcp:v0.18.0
v0.17.1
[gardener/machine-controller-manager]
🐛 Bug Fixes
[OPERATOR]
Removesnode.machine.sapcloud.io/not-managed-by-mcm
annotation from nodes managed by the MCM. by @gardener-robot-ci-3 [gardener/machine-controller-manager#866]
🏃 Others
[OPERATOR]
The defaultmachine-safety-orphan-vms-period
has been reduced from 30m to 15m. by @gardener-robot-ci-3 [gardener/machine-controller-manager#866]
Docker Images
machine-controller-manager-provider-gcp: eu.gcr.io/gardener-project/gardener/machine-controller-manager-provider-gcp:v0.17.1
v0.17.0
[gardener/machine-controller-manager]
🐛 Bug Fixes
[USER]
An edge case where outdated DesiredReplicas annotation blocked a rolling update is fixed. by @rishabh-11 [gardener/machine-controller-manager#821][OPERATOR]
IncludedUnavailableReplicas
in determining if a machine deployment status update is needed by @rishabh-11 [gardener/machine-controller-manager#833][OPERATOR]
An issue causing nil pointer panic on scaleup of the machinedeployment along with trigger of rolling update, is fixed by @acumino [gardener/machine-controller-manager#814][OPERATOR]
Force drain and delete volume attachments for nodes un-healthy due toReadOnlyFileSystem
andNotReady
for too long by @elankath [gardener/machine-controller-manager#839]
🏃 Others
[DEVELOPER]
Removed dead metrics code and refactored the remaining metrics code by @himanshu-kun [gardener/machine-controller-manager#823][DEVELOPER]
status.Status now captures underline cause, allowing consumers to introspect the error returned by the provider. WrapError() function could be used to wrap the provider error by @unmarshall [gardener/machine-controller-manager#842][DEVELOPER]
Bumpk8s.io/*
deps to v0.27.2 by @afritzler [gardener/machine-controller-manager#820][DEVELOPER]
A new make target is introduced to add license headers. by @unmarshall [gardener/machine-controller-manager#845][OPERATOR]
Updated to go v1.20.5 by @rishabh-11 [gardener/machine-controller-manager#827][OPERATOR]
Makefile targets have changed: Introduced gardener-setup, gardener-restore, gardener-local-mcm-up, non-gardener-setup, non-gardener-restore, non-gardener-local-mcm-up. Users can also directly use the scripts which are used by these makefile targets. by @unmarshall [gardener/machine-controller-manager#852][OPERATOR]
AddederrorCode
field in theLastOperation
struct. This should be implemented only for theCreateMachine
call in thetriggerCreationFlow
. This field will be utilized by Cluster autoscaler to do early backoff by @rishabh-11 [gardener/machine-controller-manager#851][OPERATOR]
Added a new metric that will allow to get the number of stale (due to unhealthiness) machines that are getting terminated by @jguipi [gardener/machine-controller-manager#808][OPERATOR]
New metrics introduced:- api_request_duration_seconds -> tracks time taken for successful invocation of provider APIs. This metric can be filtered by provider and service.
- driver_request_duration_seconds -> tracks total time taken to successfully complete driver method invocation. This metric can be filtered by provider and operation.
- driver_requests_failed_total -> records total number of failed driver API requests. This metric can be filtered by provider, operations and error_code. by @unmarshall [gardener/machine-controller-manager#842]
[gardener/machine-controller-manager-provider-gcp]
🏃 Others
[USER]
MCM status codeResourceExhausted
is now utilized in mcm-provider-gcp. Currently thecompute API
errors covered are:- quota exceeded in zone
- insufficient resource in zone
- unavailable machinetype in zone by @himanshu-kun [#92]
v0.16.0
[machine-controller-manager-provider-gcp]
🏃 Others
- [USER] CMEK disk encryption is now supported for disks attached to VM. Refer https://github.com/gardener/machine-controller-manager-provider-gcp/blob/master/kubernetes/machine-class.yaml for example (gardener/machine-controller-manager-provider-gcp#84, @elankath)
- [USER] Updated golang version to 1.20.5 (gardener/machine-controller-manager-provider-gcp#87, @rishabh-11)
- [DEVELOPER] Enhanced Dev Testing Doc for CMEK (gardener/machine-controller-manager-provider-gcp#85, @elankath)
v0.15.0
[machine-controller-manager-provider-gcp]
⚠️ Breaking Changes
- [OPERATOR] Support for migration of machineClass is dropped by the mcm-provider (gardener/machine-controller-manager-provider-gcp#80, @himanshu-kun)
🏃 Others
- [USER] Updated golang version to 1.20.4 (gardener/machine-controller-manager-provider-gcp#83, @rishabh-11)
- [OPERATOR] CVE categorization for mcm-provider-gcp has been added. (gardener/machine-controller-manager-provider-gcp#72, @dkistner)
- [DEPENDENCY] upgraded dependency: (gardener/machine-controller-manager-provider-gcp#80, @himanshu-kun)
- github.com/gardener/machine-controller-manager -> v0.49.1
[machine-controller-manager]
🐛 Bug Fixes
- [USER] An edge case where all the machineSets were scaled down to zero has been dealt with. (gardener/machine-controller-manager#804, @himanshu-kun)
v0.14.0
[machine-controller-manager-provider-gcp]
🏃 Others
- [USER] Updated golang version to 1.19 (gardener/machine-controller-manager-provider-gcp#56, @rishabh-11)
- [USER] Updated golang version to 1.19.4 (gardener/machine-controller-manager-provider-gcp#57, @rishabh-11)
- [DEVELOPER] Enhance error message when decoding serviceAccountJSON fails. (gardener/machine-controller-manager-provider-gcp#67, @AhmedMozaly)
[machine-controller-manager]
⚠️ Breaking Changes
- [USER]
node
field is removed from machine status. controller will now depend on the node label which already was present in the machine object's metadata. If you(or your controller) are dependent on thestatus.node
field of the machine object, then kindly usenode
label under.metadata.labels
(gardener/machine-controller-manager#745, @rishabh-11)
✨ New Features
- [USER] MachineDeployment would now have
Progressing
condition even when no progress Deadline is specified. This condition would never go to the reasonProgressDeadlineExceeded
in that case. (gardener/machine-controller-manager#762, @himanshu-kun) - [OPERATOR] Using
kubectl get machines
will displayNode
of the corresponding machine as a column. If-owide
flag is used then the correspondingProviderID
will also be displayed. (gardener/machine-controller-manager#746, @rishabh-11) - [OPERATOR] Added new short names for machine(mc), machineClass(mcc), machineDeployment(mcd), and machineSet(mcs) resources. (gardener/machine-controller-manager#749, @rishabh-11)
🐛 Bug Fixes
- [USER] Fix a bug in the bootstrap token creation that caused node to not be able to join the cluster due to an expired bootstrap token. (gardener/machine-controller-manager#777, @himanshu-kun)
🏃 Others
- [USER] Updated golang version to v1.19.2 (gardener/machine-controller-manager#753, @rishabh-11)
- [USER] If during a rolling update scale-up is done, MCM scales up only the new machineSet, while in case of scale-down the scale-down amount is split among old machineSets, in proportion to their sizes. (gardener/machine-controller-manager#765, @himanshu-kun)
- [DEVELOPER] go version updated to 1.19.4 in pipeline and Dockerfile (gardener/machine-controller-manager#766, @himanshu-kun)
v0.13.0
- Migrated clients to use
policy/v1
PodDisruptionBudget
for kubernetes versions >= 1.21.policy/v1beta1
PDB is also supported but for k8s < 1.21 - Updated mcm-dependency to v0.47.0