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: config/crd/bases/controlplane.cluster.x-k8s.io_awsmanagedcontrolplanes.yaml
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3243,6 +3243,17 @@ spec:
3243
3243
- iam-authenticator
3244
3244
- aws-cli
3245
3245
type: string
3246
+
upgradePolicy:
3247
+
description: |-
3248
+
The cluster upgrade policy to use for the cluster.
3249
+
(Official AWS docs for this policy: https://docs.aws.amazon.com/eks/latest/userguide/view-upgrade-policy.html)
3250
+
`extended` upgrade policy indicates that the cluster will enter into extended support once the Kubernetes version reaches end of standard support. You will incur extended support charges with this setting. You can upgrade your cluster to a standard supported Kubernetes version to stop incurring extended support charges.
3251
+
`standard` upgrade policy indicates that the cluster is eligible for automatic upgrade at the end of standard support. You will not incur extended support charges with this setting but your EKS cluster will automatically upgrade to the next supported Kubernetes version in standard support.
3252
+
If omitted, new clusters will use the AWS default upgrade policy (which at the time of writing is "extended") and existing clusters will have their upgrade policy unchanged.
3253
+
enum:
3254
+
- extended
3255
+
- standard
3256
+
type: string
3246
3257
version:
3247
3258
description: |-
3248
3259
Version defines the desired Kubernetes version. If no version number
Copy file name to clipboardExpand all lines: config/crd/bases/controlplane.cluster.x-k8s.io_awsmanagedcontrolplanetemplates.yaml
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1044,6 +1044,17 @@ spec:
1044
1044
- iam-authenticator
1045
1045
- aws-cli
1046
1046
type: string
1047
+
upgradePolicy:
1048
+
description: |-
1049
+
The cluster upgrade policy to use for the cluster.
1050
+
(Official AWS docs for this policy: https://docs.aws.amazon.com/eks/latest/userguide/view-upgrade-policy.html)
1051
+
`extended` upgrade policy indicates that the cluster will enter into extended support once the Kubernetes version reaches end of standard support. You will incur extended support charges with this setting. You can upgrade your cluster to a standard supported Kubernetes version to stop incurring extended support charges.
1052
+
`standard` upgrade policy indicates that the cluster is eligible for automatic upgrade at the end of standard support. You will not incur extended support charges with this setting but your EKS cluster will automatically upgrade to the next supported Kubernetes version in standard support.
1053
+
If omitted, new clusters will use the AWS default upgrade policy (which at the time of writing is "extended") and existing clusters will have their upgrade policy unchanged.
1054
+
enum:
1055
+
- extended
1056
+
- standard
1057
+
type: string
1047
1058
version:
1048
1059
description: |-
1049
1060
Version defines the desired Kubernetes version. If no version number
Copy file name to clipboardExpand all lines: controlplane/eks/api/v1beta2/awsmanagedcontrolplane_types.go
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -212,6 +212,15 @@ type AWSManagedControlPlaneSpec struct { //nolint: maligned
212
212
213
213
// KubeProxy defines managed attributes of the kube-proxy daemonset
214
214
KubeProxyKubeProxy`json:"kubeProxy,omitempty"`
215
+
216
+
// The cluster upgrade policy to use for the cluster.
217
+
// (Official AWS docs for this policy: https://docs.aws.amazon.com/eks/latest/userguide/view-upgrade-policy.html)
218
+
// `extended` upgrade policy indicates that the cluster will enter into extended support once the Kubernetes version reaches end of standard support. You will incur extended support charges with this setting. You can upgrade your cluster to a standard supported Kubernetes version to stop incurring extended support charges.
219
+
// `standard` upgrade policy indicates that the cluster is eligible for automatic upgrade at the end of standard support. You will not incur extended support charges with this setting but your EKS cluster will automatically upgrade to the next supported Kubernetes version in standard support.
220
+
// If omitted, new clusters will use the AWS default upgrade policy (which at the time of writing is "extended") and existing clusters will have their upgrade policy unchanged.
// UpgradePolicy defines the support policy to use for the cluster.
245
+
typeUpgradePolicystring
246
+
247
+
var (
248
+
// UpgradePolicyExtended indicates that the cluster will enter into extended support once the Kubernetes version reaches end of standard support.
249
+
// You will incur extended support charges with this setting.
250
+
// You can upgrade your cluster to a standard supported Kubernetes version to stop incurring extended support charges.
251
+
UpgradePolicyExtended=UpgradePolicy("extended")
252
+
253
+
// UpgradePolicyStandard indicates that the cluster is eligible for automatic upgrade at the end of standard support.
254
+
// You will not incur extended support charges with this setting but your EKS cluster will automatically upgrade to the next supported Kubernetes version in standard support.
255
+
UpgradePolicyStandard=UpgradePolicy("standard")
256
+
)
257
+
258
+
func (eUpgradePolicy) String() string {
259
+
returnstring(e)
260
+
}
261
+
244
262
const (
245
263
// SecurityGroupCluster is the security group for communication between EKS
NOTE: When creating an EKS cluster only the **MAJOR.MINOR** of the `-kubernetes-version` is taken into consideration.
16
16
17
+
By default CAPA relies on the default EKS cluster upgrade policy, which at the moment of writing is EXTENDED support.
18
+
See more info about [cluster upgrade policy](https://docs.aws.amazon.com/eks/latest/userguide/view-upgrade-policy.html)
19
+
17
20
## Kubeconfig
18
21
19
22
When creating an EKS cluster 2 kubeconfigs are generated and stored as secrets in the management cluster. This is different to when you create a non-managed cluster using the AWS provider.
0 commit comments