You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/apis/eksctl.io/v1alpha5/assets/schema.json
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -850,6 +850,11 @@
850
850
"x-intellij-html-description": "used to tag AWS resources created by eksctl",
851
851
"default": "{}"
852
852
},
853
+
"upgradePolicy": {
854
+
"$ref": "#/definitions/UpgradePolicy",
855
+
"description": "specifies the upgrade policy for the cluster",
856
+
"x-intellij-html-description": "specifies the upgrade policy for the cluster"
857
+
},
853
858
"version": {
854
859
"type": "string",
855
860
"description": "use `./eksctl utils describe-cluster-versions` to get the list of supported versions",
@@ -861,6 +866,7 @@
861
866
"region",
862
867
"version",
863
868
"forceUpdateVersion",
869
+
"upgradePolicy",
864
870
"tags",
865
871
"annotations"
866
872
],
@@ -2719,6 +2725,26 @@
2719
2725
"description": "defines the configuration for KMS encryption provider",
2720
2726
"x-intellij-html-description": "defines the configuration for KMS encryption provider"
2721
2727
},
2728
+
"UpgradePolicy": {
2729
+
"properties": {
2730
+
"supportType": {
2731
+
"type": "string",
2732
+
"description": "specifies the support type for the cluster. Valid variants are: `\"STANDARD\"` standard support for the cluster, `\"EXTENDED\"` extended support for the cluster (default) defines the default support type.",
2733
+
"x-intellij-html-description": "specifies the support type for the cluster. Valid variants are: <code>"STANDARD"</code> standard support for the cluster, <code>"EXTENDED"</code> extended support for the cluster (default) defines the default support type.",
2734
+
"default": "EXTENDED",
2735
+
"enum": [
2736
+
"STANDARD",
2737
+
"EXTENDED"
2738
+
]
2739
+
}
2740
+
},
2741
+
"preferredOrder": [
2742
+
"supportType"
2743
+
],
2744
+
"additionalProperties": false,
2745
+
"description": "holds the upgrade policy configuration for the cluster",
2746
+
"x-intellij-html-description": "holds the upgrade policy configuration for the cluster"
2747
+
},
2722
2748
"VPCGateway": {
2723
2749
"type": "string",
2724
2750
"description": "VPCGatewayID the ID of the gateway that facilitates external connectivity from customer's VPC to their remote network(s). Valid options are Transit Gateway and Virtual Private Gateway.",
This document describes how to configure the upgrade policy for your EKS cluster using eksctl.
4
+
5
+
## Overview
6
+
7
+
The `upgradePolicy` field allows you to specify the support type for your EKS cluster. This determines the level of support AWS provides for your cluster version.
8
+
9
+
## Support Types
10
+
11
+
-**STANDARD**: The default support type that provides standard AWS support for the cluster
12
+
-**EXTENDED**: Provides extended support for older Kubernetes versions beyond the standard support period
13
+
14
+
## Configuration
15
+
16
+
You can specify the upgrade policy in your cluster configuration file:
17
+
18
+
```yaml
19
+
apiVersion: eksctl.io/v1alpha5
20
+
kind: ClusterConfig
21
+
22
+
metadata:
23
+
name: my-cluster
24
+
region: us-west-2
25
+
version: "1.34"
26
+
upgradePolicy:
27
+
supportType: "EXTENDED"# or "STANDARD"
28
+
29
+
managedNodeGroups:
30
+
- name: mng-1
31
+
instanceType: m5.large
32
+
desiredCapacity: 1
33
+
```
34
+
35
+
## Command Line Usage
36
+
37
+
When creating a cluster with a specific upgrade policy:
0 commit comments