diff --git a/pkg/apis/eksctl.io/v1alpha5/assets/schema.json b/pkg/apis/eksctl.io/v1alpha5/assets/schema.json index 352eb0593e..5e3c9e1850 100755 --- a/pkg/apis/eksctl.io/v1alpha5/assets/schema.json +++ b/pkg/apis/eksctl.io/v1alpha5/assets/schema.json @@ -487,9 +487,9 @@ }, "version": { "type": "string", - "description": "Valid variants are: `\"1.19\"`, `\"1.20\"`, `\"1.21\"` (default), `\"1.22\"`.", - "x-intellij-html-description": "Valid variants are: "1.19", "1.20", "1.21" (default), "1.22".", - "default": "1.21", + "description": "Valid variants are: `\"1.19\"`, `\"1.20\"`, `\"1.21\"`, `\"1.22\"` (default).", + "x-intellij-html-description": "Valid variants are: "1.19", "1.20", "1.21", "1.22" (default).", + "default": "1.22", "enum": [ "1.19", "1.20", diff --git a/pkg/apis/eksctl.io/v1alpha5/types.go b/pkg/apis/eksctl.io/v1alpha5/types.go index 8b34d06bab..922e98a1c5 100644 --- a/pkg/apis/eksctl.io/v1alpha5/types.go +++ b/pkg/apis/eksctl.io/v1alpha5/types.go @@ -39,7 +39,7 @@ const ( Version1_22 = "1.22" // DefaultVersion (default) - DefaultVersion = Version1_21 + DefaultVersion = Version1_22 LatestVersion = Version1_22 ) diff --git a/pkg/ctl/cmdutils/filter/nodegroup_filter_test.go b/pkg/ctl/cmdutils/filter/nodegroup_filter_test.go index c718cfb6ca..4a430a26c5 100644 --- a/pkg/ctl/cmdutils/filter/nodegroup_filter_test.go +++ b/pkg/ctl/cmdutils/filter/nodegroup_filter_test.go @@ -339,7 +339,7 @@ const expected = ` "metadata": { "name": "test-3x3-ngs", "region": "eu-central-1", - "version": "1.21" + "version": "1.22" }, "kubernetesNetworkConfig": { "ipFamily": "IPv4" diff --git a/userdocs/src/introduction.md b/userdocs/src/introduction.md index b07d7c5b0f..0f9e58b615 100644 --- a/userdocs/src/introduction.md +++ b/userdocs/src/introduction.md @@ -23,7 +23,7 @@ eksctl create cluster --name=cluster-1 --nodes=4 ``` -EKS supports versions `1.19`, `1.20`, `1.21` (default) and `1.22`. +EKS supports versions `1.19`, `1.20`, `1.21` and `1.22` (default). With `eksctl` you can deploy any of the supported versions by passing `--version`. ```