AKS icon indicating copy to clipboard operation
AKS copied to clipboard

Support for Kubernetes 1.9

Open pjbgf opened this issue 8 years ago • 60 comments

Is there any ETA for when support for Kubernetes 1.9 will be added?

pjbgf avatar Dec 27 '17 14:12 pjbgf

The sooner the better :) Would love to see windows VMs come along with that too!!

AceHack avatar Dec 27 '17 22:12 AceHack

Very much looking forward to this. Especially the storage improvements for me personally.

Sleepy-GH avatar Jan 09 '18 09:01 Sleepy-GH

Any update? Thanks.

AceHack avatar Jan 11 '18 17:01 AceHack

AKS supports Kubernetes v1.9.0 and v1.9.1 with Linux nodes now, with v1.9.2 coming any day.

mboersma avatar Jan 25 '18 23:01 mboersma

Is there no upgrade path? I get the following

Name ResourceGroup MasterVersion MasterUpgrades NodePoolVersion NodePoolUpgrades


default rgp-use-arch-aks 1.8.6 None available 1.8.6 None available

AceHack avatar Jan 26 '18 07:01 AceHack

Same here. My cluster is in centralus

derekperkins avatar Jan 26 '18 07:01 derekperkins

@derekperkins I just executed

az aks upgrade --name aks-use-arch-dev --resource-group rgp-use-arch-aks --kubernetes-version 1.9.1 --yes

and it worked and upgraded even though

az aks get-versions --name aks-use-arch-dev --resource-group rgp-use-arch-aks --output table

said there were no upgrades

AceHack avatar Jan 26 '18 07:01 AceHack

Is it possible to subscribe to an RSS feed or something that announces when new Kubernetes versions are supported in AKS?

vyadh avatar Jan 26 '18 09:01 vyadh

@derekperkins FYI, I'm getting the following error with any az aks command now after upgrading.

No Kubernetes access profiles found. Cluster provisioning state is "Succeeded".

AceHack avatar Jan 27 '18 02:01 AceHack

@mboersma I don't see 1.9.x in the Azure Portal UI, not sure why this was closed before it was there. I'll try from the command line, but I agree with @vyadh how do I know what's available?

AceHack avatar Jan 27 '18 02:01 AceHack

I tried running

az aks create --name aks-use-arch-dev --resource-group rgp-use-arch-aks --location eastus --kubernetes-version 1.9.1 --node-vm-size Standard_DS12_v2_Promo --node-osdisk-size 300 --node-count 5 --service-principal {GUID} --client-secret {GUID} --admin-username {user} --ssh-key-value "ssh-key"

It failed with

ERROR: Operation failed with status: 'Bad Request'. Details: The value of parameter orchestratorProfile.OrchestratorVersion is invalid.

I'm really not sure why this is closed, it seems in no way is 1.9 supported currently. Thanks.

AceHack avatar Jan 27 '18 03:01 AceHack

@AceHack I forced the upgrade the same time as you, and though it didn't report a success originally, when I check my versions now with az aks get-versions, it shows me on 1.9.1.

Name     ResourceGroup    MasterVersion    MasterUpgrades    NodePoolVersion    NodePoolUpgrades
-------  ---------------  ---------------  ----------------  -----------------  ------------------
default  nozzle           1.9.1            None available    1.9.1              None available

derekperkins avatar Jan 27 '18 07:01 derekperkins

@AceHack it worked for me by creating a cluster with the default 1.7.7. Once it was up and running, I executed the upgrade command to move it to 1.9.1:

az aks upgrade -n CLUSTER-NAME -g RESOURCE-GROUP -k 1.9.1 -y

pjbgf avatar Jan 28 '18 11:01 pjbgf

Yes, I did the same starting with 1.8.6 and it failed twice during the upgrade but then finally worked. I did notice the dashboard is still 1.8.x though. This seems a bit odd.

AceHack avatar Jan 28 '18 16:01 AceHack

@AceHack The dashboard is on a separate release schedule from the main project. The current dashboard version is 1.8.2, and AKS is on 1.8.1. https://github.com/kubernetes/dashboard/releases

derekperkins avatar Jan 28 '18 17:01 derekperkins

Is this only working in specific locations? I just tried creating a new cluster with az aks create snip --kubernetes-version 1.9.0 --location westeurope and I get the following error: "Operation failed with status: 'Bad Request'. Details: The value of parameter orchestratorProfile.OrchestratorVersion is invalid."

Sleepy-GH avatar Jan 29 '18 10:01 Sleepy-GH

FYI,

I also had success updating to v1.9.1 using the command below as well in the East-US region

az aks upgrade --name myK8sCluster --resource-group myResourceGroup --kubernetes-version 1.9.1 --yes

seneccamiller avatar Feb 01 '18 19:02 seneccamiller

I tried upgrade from version 1.8.1 to 1.9.1 and it failed. In portal It shows version 1.9.1 and "deployment status failed" (under resource group). Cluster still works and I can add nodes, services, deployments etc...

-Jouni

on win10 CLI (and on web portal bash cli as well) I have: C:>az aks show -g DemoGroup -n DemoCluster { "agentPoolProfiles": [ { "count": 2, "name": "nodepool1", "osType": "Linux", "storageProfile": "ManagedDisks", "vmSize": "Standard_D1_v2" } ], "dnsPrefix": "XXX", "fqdn": "XXX.hcp.eastus.azmk8s.io", "id": "/subscriptions/X/X/providers/Microsoft.ContainerService/managedClusters/AKSDemoCluster", "kubernetesVersion": "1.9.1", "linuxProfile": { "adminUsername": "XXX", "ssh": { "publicKeys": [ { "keyData": "ssh-rsa " } ] } }, "location": "eastus", "name": "DemoCluster", "provisioningState": "Failed", "resourceGroup": "DemoGroup", "servicePrincipalProfile": { "clientId": "XXX" }, "type": "Microsoft.ContainerService/ManagedClusters" }

jounili avatar Feb 01 '18 22:02 jounili

I was able to upgrade my AKS cluster in westeurope using:

az aks upgrade -n $CLUSTER_NAME -g $RESOURCE_GROUP -k 1.9.1 -y

chribsen avatar Feb 06 '18 22:02 chribsen

I have executed the various above upgrade commands to no avail. Every time I receive this message -

Operation failed with status: 'Bad Request'. Details: The selected orchestrator version is not supported

I have checked the version with: az aks get-versions --name $ClusterName --resource-group $ResourceGroup --output table

but the version remains the same.

I have tested with 'East US' and 'West Europe' regions, created a 1.7 and 1.8 cluster and created a cluster via the GUI/console - none of these work!

Is there something I'm missing or have they put a stop to this in the last 48 hours?

liambarnett avatar Feb 08 '18 15:02 liambarnett