Releases: gardener/machine-controller-manager-provider-azure
Releases · gardener/machine-controller-manager-provider-azure
v0.15.0
[gardener/machine-controller-manager-provider-azure]
🏃 Others
[DEVELOPER]
Addedgosec
for Static Application Security Testing (SAST). by @thiyyakat [#169][DEVELOPER]
Thegardener/machine-controller-manager
dependency has been updated tov0.55.1
. Release Notes by @thiyyakat [#169][DEVELOPER]
Updated go lang version to 1.23 by @thiyyakat [#169][USER]
It is now possible to use a workload identity token instead of a client secret when authenticating to Azure. The path to the file containing the federated token can be configured via the "workloadIdentityTokenFile" field in the secret config. by @dimityrmirchev [#167]
Docker Images
- machine-controller-manager-provider-azure:
europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-azure:v0.15.0
v0.14.0
[gardener/machine-controller-manager]
✨ New Features
[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][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]
🐛 Bug Fixes
[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][OPERATOR]
Fixed a bug where failure of machine initialization caused label updates to not happen. by @thiyyakat [gardener/machine-controller-manager#940][OPERATOR]
Fixed a bug where theUnitialised
error code was blocking machine deletion by @rishabh-11 [gardener/machine-controller-manager#928]
🏃 Others
[OPERATOR]
Golang version used is now upgraded to1.22.5
by @aaronfern [gardener/machine-controller-manager#929][OPERATOR]
golangci-lint will now be used as the linter instead of the older golint by @aaronfern [gardener/machine-controller-manager#929][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]
Drain timeout is now correctly honored for Pod eviction during Machine Drain by @sssash18 [gardener/machine-controller-manager#920][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-azure]
🏃 Others
[USER]
Golang version upgraded to1.22.5
by @rishabh-11 [#159][USER]
golangci-lint will now be used as the linter instead of the older golint by @hebelsan [#139][USER]
Adds the ability to attach dataDisks with image references by @hebelsan [#165]
Docker Images
- machine-controller-manager-provider-azure:
europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-azure:v0.14.0
v0.13.1
[gardener/machine-controller-manager-provider-azure]
📰 Noteworthy
[USER]
Fixed a bug that prevented everything but authentication from connecting to non-public Azure Cloud instances. by @AndreasBurger [#157]
Docker Images
- machine-controller-manager-provider-azure:
europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-azure:v0.13.1
v0.13.0
[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]
Updated k8s dependencies tov0.29.3
by @rishabh-11 [gardener/machine-controller-manager#907][OPERATOR]
Removed vendor directory by @rishabh-11 [gardener/machine-controller-manager#903]
[gardener/machine-controller-manager-provider-azure]
📰 Noteworthy
[USER]
The cloud instance to connect to can now be configured via the provider spec by @AndreasBurger [#148]
🏃 Others
[USER]
Error Code is now extracted from azcore.ResponseError.ErrorCode by @rishabh-11 [#153][USER]
Machine-Controller-Manager Provider-Azure now supports enabling of vm boot diagnostics. by @hebelsan [#136][USER]
Add support forConfidentialVM
types in Azure. by @kon-angelo [#146][USER]
Fix passing data disk caching method by @hebelsan [#149][DEVELOPER]
Switch AzureDataDisk.Lun from pointer to value by @hebelsan [#150][DEVELOPER]
Removed vendor directory by @rishabh-11 [#140]
Docker Images
- machine-controller-manager-provider-azure:
europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-azure:v0.13.0
v0.12.1
[gardener/machine-controller-manager-provider-azure]
🏃 Others
[USER]
Bugfix:- During VM deletion, the cascade delete option is set only for the resources part of VM creation. by @rishabh-11 [#143]
Docker Images
- machine-controller-manager-provider-azure:
europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-azure:v0.12.1
v0.12.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
[OPERATOR]
Fix for edge case of Node object deletion missed during machine termination. by @elankath [gardener/machine-controller-manager#887][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]
🏃 Others
[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]
fixed IT for seed with k8s >= 1.27 as control cluster by @piyuagr [gardener/machine-controller-manager#869][OPERATOR]
machine controller won't reconcile machine on non-spec update events by @himanshu-kun [gardener/machine-controller-manager#877][DEVELOPER]
Bumpk8s.io/*
deps tov0.28.2
by @afritzler [gardener/machine-controller-manager#858][DEVELOPER]
go-git now removed from dependencies due to CVE's. by @elankath [gardener/machine-controller-manager#896]
📖 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-azure]
🏃 Others
-
[USER]
Updated the following dependencies:- github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 [v5.3.0-beta.2 to v5.3.0]
- github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/marketplaceordering/armmarketplaceordering [v1.2.0-beta.3 to v1.2.0]
- github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v4 [v4.3.0-beta.1 to v4.3.0]
- github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources [v1.2.0-beta.3 to v1.2.0] by @unmarshall [#117]
[USER]
Fixed recording of erroneous metrics for driver and API requests by @unmarshall [#130][USER]
Uses new Azure SDK as the older go-autorest is out of support.
Adds 2 new metrics which compute driver API call duration and Azure API call duration for all successful API calls.
Recently introduced Azure fakes are used extensively for unit tests.
Driver.GetMachineStatus now only gets the status from the Machine and not from associated NIC(s).
Deletion of a machine now cascade deletes NIC(s) and Disk(s) (OSDisk and DataDisk(s)) as well. Previously it was a 2 step process of detatch followed by a delete.
In the API following have been marked as deprecated:- Constants: [api.AzureClientID, api.AzureClientSecret, api.AzureSubscriptionID, api.AzureTenantID, api.AzureAlternativeClientID, api.AzureAlternativeClientSecret, api.AzureAlternativeSubscriptionID, api.AzureAlternativeTenantID, api.MachineSetKindVMO and api.MachineSetKindAvailabilitySet]
- AzureVirtualMachineProperties.MachineSet has been marked as deprecated by @unmarshall [#105]
[OPERATOR]
Fixed the gap where VM marketplace images with no plans were not handled properly. Now one can start VMs having marketplace image with no plan. by @unmarshall [#134][OPERATOR]
Fixed handling for data disk in ToBeDetached=true state during vm deletion by @unmarshall [#132]
Docker Images
- machine-controller-manager-provider-azure:
europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-azure:v0.12.0
v0.11.2
[gardener/machine-controller-manager-provider-azure]
🐛 Bug Fixes
[OPERATOR]
Disk detachment step is skipped while terminating terminal state vms. Terminal state vms haveprovisioningState
asFailed
by @himanshu-kun [#120]
Docker Images
- machine-controller-manager-provider-azure:
eu.gcr.io/gardener-project/gardener/machine-controller-manager-provider-azure:v0.11.2
v0.11.1
[gardener/machine-controller-manager]
🐛 Bug Fixes
[OPERATOR]
Force drain and delete volume attachments for nodes un-healthy due toReadOnlyFileSystem
andNotReady
for too long by @elankath [gardener/machine-controller-manager#839][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]
IncludedUnavailableReplicas
in determining if a machine deployment status update is needed by @rishabh-11 [gardener/machine-controller-manager#833][OPERATOR]
Removesnode.machine.sapcloud.io/not-managed-by-mcm
annotation from nodes managed by the MCM. by @gardener-robot-ci-2 [gardener/machine-controller-manager#866][USER]
An edge case where outdated DesiredReplicas annotation blocked a rolling update is fixed. by @rishabh-11 [gardener/machine-controller-manager#821]
🏃 Others
[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]
A new make target is introduced to add license headers. by @unmarshall [gardener/machine-controller-manager#845][DEVELOPER]
Removed dead metrics code and refactored the remaining metrics code by @himanshu-kun [gardener/machine-controller-manager#823][DEVELOPER]
Bumpk8s.io/*
deps to v0.27.2 by @afritzler [gardener/machine-controller-manager#820][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]
The defaultmachine-safety-orphan-vms-period
has been reduced from 30m to 15m. by @gardener-robot-ci-2 [gardener/machine-controller-manager#866][OPERATOR]
Updated to go v1.20.5 by @rishabh-11 [gardener/machine-controller-manager#827][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]
Docker Images
machine-controller-manager-provider-azure: eu.gcr.io/gardener-project/gardener/machine-controller-manager-provider-azure:v0.11.1
v0.11.0
[machine-controller-manager-provider-azure]
⚠️ Breaking Changes
- [OPERATOR] Support for migration of machineClass is dropped by the mcm-provider (gardener/machine-controller-manager-provider-azure#96, @himanshu-kun)
🏃 Others
- [USER] Updated golang version to 1.20.4 (gardener/machine-controller-manager-provider-azure#99, @rishabh-11)
- [OPERATOR] CVE categorization for mcm-provider-azure has been added. (gardener/machine-controller-manager-provider-azure#82, @dkistner)
- [OPERATOR] removed the use of
defer
in printing logs for resource creation methods (gardener/machine-controller-manager-provider-azure#87, @rishabh-11) - [DEPENDENCY] upgraded dependency: (gardener/machine-controller-manager-provider-azure#96, @himanshu-kun)
- github.com/gardener/machine-controller-manager -> v0.49.1
📰 Noteworthy
- [USER] Fixed VM creation and update when
sshAccess
is disabled. (gardener/machine-controller-manager-provider-azure#80, @AleksandarSavchev)
[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.10.0
[machine-controller-manager-provider-azure]
🏃 Others
- [USER] Updated golang version to v1.19 (gardener/machine-controller-manager-provider-azure#75, @rishabh-11)
- [USER] error handling is done for data disk detachment failure. (gardener/machine-controller-manager-provider-azure#76, @rishabh-11)
- [USER] Updated golang version to 1.19.4 (gardener/machine-controller-manager-provider-azure#77, @rishabh-11)
[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)