Specifying Kubernetes version for Azure Container Service

2/7/2017

Does anyone know if it is possible to specify the Kubernetes version when deploying ACS Kubernetes flavour?

If so how?

-- eggsy84
azure
azure-container-service
kubernetes

2 Answers

2/8/2017

Using the supported resource provider in ARM you cannot specify the version. However, if you use http://github.com/Azure/acs-engine you can do so. ACS Engine is the open source code we (I work for MS) use to drive Azure Container Service. Using this code you have much more flexibility than you do through the published resource provider, but it's a harder onramp. For instructions see https://github.com/Azure/acs-engine/blob/master/docs/kubernetes.md

See examples at https://github.com/Azure/acs-engine/tree/master/examples/kubernetes-releases

-- rgardler
Source: StackOverflow

10/10/2017

You should use acs-engine and follow the deploy guide in the repo (https://github.com/Azure/acs-engine/blob/master/docs/kubernetes/deploy.md).

In the deploy guide they use the file examples/kubernetes.json and in that file there's - "orchestratorProfile": { "orchestratorType": "Kubernetes" }

You can also add the field "orchestratorRelease": "1.7" for Kubernetes 1.7.

To view the whole list of releases available you can use the acs-engine executable and run acs-engine orchestrators that prints all of them.

Other examples can be found in https://github.com/Azure/acs-engine/tree/master/examples/kubernetes-releases

-- kfirstri
Source: StackOverflow