Eksctl: Set kubernetes version on install

Created on 16 Mar 2020  路  2Comments  路  Source: weaveworks/eksctl

Hi, after updating to eksctl version 0.15.0, it is still installing kubernetes version 1.14.

re-create:

apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig

metadata:
  name: EKStestcluster1
  region: us-east-1

nodeGroups:
  - name: eksnodegroup
    instanceType: t3.medium
    desiredCapacity: 2
    ssh: # use existing EC2 key
      publicKeyName: eks-key

cloudWatch:
  clusterLogging:
    enableTypes: ["all"]

Running it results in:

[鈩筣 eksctl version 0.15.0
[鈩筣 using region us-east-1
[鈩筣 setting availability zones to [us-east-1e us-east-1b]
[鈩筣 subnets for us-east-1e - public:192.168.0.0/19 private:192.168.64.0/19
[鈩筣 subnets for us-east-1b - public:192.168.32.0/19 private:192.168.96.0/19
[鈩筣 nodegroup "eksnodegroup" will use "ami-08ac00d99a673bad0" [AmazonLinux2/1.14]
[鈩筣 using EC2 key pair "eks-key"
[鈩筣 using Kubernetes version 1.14
[鈩筣 creating EKS cluster "EKStestcluster1" in "us-east-1" region with un-managed nodes

kinhelp

Most helpful comment

EKS default kube version is still 1.14, hence eksctl will create 1.14 cluster.

If you want to provision 1.15, please specify version as per below

metadata:
  ...
  version: '1.15'
...

All 2 comments

EKS default kube version is still 1.14, hence eksctl will create 1.14 cluster.

If you want to provision 1.15, please specify version as per below

metadata:
  ...
  version: '1.15'
...

As clarified by @sayboras , 1.14 is the default EKS version for eksctl 0.15. eksctl 0.17 will make EKS 1.15 as the default version (the RC is out https://github.com/weaveworks/eksctl/releases/tag/0.17.0-rc.0).

Was this page helpful?
0 / 5 - 0 ratings