AKS icon indicating copy to clipboard operation
AKS copied to clipboard

[Feature] AKS Support for Ubuntu 18.04

Open palma21 opened this issue 6 years ago • 37 comments

New AKS base imaged based on Ubuntu 18.04

palma21 avatar Mar 11 '20 09:03 palma21

when will be GA version available for production workload

mangesh-silicus avatar Mar 23 '20 12:03 mangesh-silicus

How does one enable it?

ams0 avatar Mar 27 '20 09:03 ams0

Docs here: https://docs.microsoft.com/en-us/azure/aks/cluster-configuration#os-configuration-preview

or

https://github.com/Azure/AKS/releases/tag/2020-03-09

palma21 avatar Mar 31 '20 04:03 palma21

@mangesh-silicus we're trying to have a good signal as well as providing a bit more flexibility for the upgrade. We're preliminary targeting end of H1 if all continues to go well.

palma21 avatar Mar 31 '20 04:03 palma21

Not sure if this is a bug or not (kinda suspect it is...) When I create a nodepool and my AKS Cluster was created with the 18.04 preview should the nodepool also be created with 18.04?

Right now the az aks nodepool add command has no argument for selecting 18.04 as the preview image of the node pool either (unless it's some bleeding edge preview I have to select or install to get it to show up on the help page)

annerajb avatar May 15 '20 17:05 annerajb

There is one on the latest preview CLI. Let me add that to the docs. Thanks for the callout.

it's the same syntax as cluster create

palma21 avatar May 19 '20 00:05 palma21

Thanks a update did it I was able to create the nodpool using az aks nodepool add

annerajb avatar May 20 '20 02:05 annerajb

@palma21 Will this update be a single global rollout or a phased one? Could you shed some light on how the older clusters will receive this update to 18.04?

mayank-saggar avatar Jul 22 '20 09:07 mayank-saggar

https://github.com/Azure/AKS/releases

AKS will default to AKS ubuntu 18.04 in upcoming GA of kubernetes 1.18 and after AKS Ubuntu 18.04 is GA as well. We recommend testing existing workloads on AKS Ubuntu 18.04 nodepools prior to GA. See how here: https://aka.ms/aks/Ubuntu1804

This means that only clusters with kubernetes v1.18+ will receive AKS Ubuntu 18.04 by default. Older clusters will receive 18.04 as they upgrade from their version to a 1.18 version.

palma21 avatar Jul 22 '20 09:07 palma21

Is there a way to update nodes to Ubuntu 18.04 for clusters that do not support multiple node pools?

paolopiaggio avatar Aug 07 '20 18:08 paolopiaggio

Yes, when this feature is GA, every cluster that upgrades to 1.18+ will get this node version too.

palma21 avatar Aug 11 '20 20:08 palma21

Thanks @palma21! So I guess that's the only option, isn't it? From what I understood from here, you can now test Ubuntu 18.04 nodes on existing AKS cluster, regardless of the kubernetes version.

But that's not possible with existing clusters that do not support multiple node pools and therefore the only chance, in that case, is to update to kubernetes 1.18+ (GA or enable Ubuntu 18.04 preview)...am I right?

paolopiaggio avatar Aug 11 '20 22:08 paolopiaggio

That's correct. Most infra features to be enabled on an running cluster can only be done safely either with another nodepool or upgrade.

palma21 avatar Aug 11 '20 22:08 palma21

From Release Notes it looks like Ubuntu 18.04 should be used by default with AKS 1.18.8, but it isn't. I have created cluster several times in last week (West Europe), but it still uses old version: microsoft-aks / aks / aks-ubuntu-1604-2020-q3 / 2020.09.03 How to get cluster with Ubuntu 18.04, other than using Preview feature ?

mrowken avatar Sep 24 '20 17:09 mrowken

Unfortunately the release hasn't finished yet, so you can't create 18.04 in another way right now. I'll update this issue as soon as it finishes and all 1.18 clusters start receiving it by default.

palma21 avatar Sep 25 '20 16:09 palma21

Release arrived to: australia east, canada central and west central us regions.

will continue to update until it's worldwide.

palma21 avatar Oct 01 '20 22:10 palma21

Is the release available in North Europe as I have tried setting up cluster in NE and still showing old Ubuntu version

nidiculageorge avatar Oct 02 '20 07:10 nidiculageorge

@palma21 Is there any expected dates the releases will be rolled out in rest of the regions (Noorth Europe and South East Asia).

nidiculageorge avatar Oct 05 '20 06:10 nidiculageorge

In the post before yours it's stated that the post will be updated until it's released worldwide. EDIT: In a different issue (#1625 (comment)) @palma21 predicted that they would conclude rollout previous week or start of this week.

aristosvo avatar Oct 05 '20 11:10 aristosvo

As we have deployed clusters in all NE and SEA regions and our application need to be tested based on the update that is Node Image version. So our testing is on hold, so just wanted to communicate the same to our stakeholders. That's why I asked for an ETA.

thankyou

nidiculageorge avatar Oct 05 '20 12:10 nidiculageorge