Support for VM ScaleSet automatic upgrade at AKS creation/update #2726
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any updates on above? |
Hi @baboune, is this a request for additional AKS functionality, or for Kubernetes clusters created by AKS Engine? |
Hi, It is a request for having additional control on the VM Scale Set automatically created by AKS Engine. AKS already support VM Scale Sets. The challenge is that there is no control from a provisioning perspective for setting how the VMs in the VM Scale Set that is automatically provisioned by AKS Engine will update themselves. Does that make sense? |
@baboune it doesn't really make sense. To be clear, this is not for AKS clusters, right? |
Yes this request is for AKS as in Azure Kubernetes Engine. Azure support asked me to open this feature request under AKS engine.
As shown above, AKS uses a VM Scale set When looking at VM scale sets, they have an upgrade policy ("manual", "automatic", "batch"). See https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set. This #2726 request is for allowing to set/provision the upgrade policy at AKS creation time. |
@baboune the AKS project is where we can discuss AKS features. For automatic pull of OS updates, we have this feature in-flight to do it manually: We have this feature to enable the automation of it. Feel free to comment on those. |
Ok both of those would be applicable. |
Thanks @jluk! |
Describe the request
We are looking for solutions for keep linux nodes in the VMSS up to date with security patches.
Explain why AKS Engine needs it
Security.
Describe the solution you'd like
An additional flag at AKS provisioning time that would allow to enable this feature.
allowVMScaleSetAutoUpgrade: true
Maybe in the LinuxProfile section?
aks-engine/pkg/api/vlabs/types.go
Line 132 in 623e9ae
Describe alternatives you've considered
Doing it manually after the VMScaleSet has been provisioned.
Add a terraform script that would look for VMScaleSets and for each update it to the "update policy: automatic upgrade).
Additional context
The VMScaleSet is provisioned by AKS and there are only a few parameters that can be controlled.
The text was updated successfully, but these errors were encountered: