Skip to content

Commit

Permalink
add: support for EKS v1.29 (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroniscode authored Jan 31, 2024
1 parent 774747f commit e51b10a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ To validate the AWS region is set, you can run **`eksdemo get cluster`** which w
| Age | Status | Cluster | Version | Platform | Endpoint |
+------------+--------+---------+---------+----------+----------+
| 3 weeks | ACTIVE | green | 1.26 | eks.5 | Public |
| 20 minutes | ACTIVE | *blue | 1.28 | eks.1 | Public |
| 20 minutes | ACTIVE | *blue | 1.29 | eks.1 | Public |
+------------+--------+---------+---------+----------+----------+
* Indicates current context in local kubeconfig
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
// GitHub: https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/aws
// Helm: https://github.com/kubernetes/autoscaler/tree/master/charts/cluster-autoscaler
// Repo: registry.k8s.io/autoscaling/cluster-autoscaler
// Version: Latest for k8s 1.28 is v1.28.0 (as of 10/1/23)
// Version: Latest for k8s 1.29 is v1.29.0 (as of 1/31/24)

func NewApp() *application.Application {
app := &application.Application{
Expand All @@ -40,19 +40,21 @@ func NewApp() *application.Application {
Namespace: "kube-system",
ServiceAccount: "cluster-autoscaler",
DefaultVersion: &application.KubernetesVersionDependent{
LatestChart: "9.29.3",
LatestChart: "9.34.1",
Latest: map[string]string{
"1.28": "v1.28.0",
"1.27": "v1.27.3",
"1.26": "v1.26.4",
"1.29": "v1.29.0",
"1.28": "v1.28.2",
"1.27": "v1.27.5",
"1.26": "v1.26.6",
"1.25": "v1.25.3",
"1.24": "v1.24.3",
},
PreviousChart: "9.29.1",
PreviousChart: "9.29.3",
Previous: map[string]string{
"1.29": "v1.29.0",
"1.28": "v1.28.0",
"1.27": "v1.27.1",
"1.26": "v1.26.2",
"1.27": "v1.27.3",
"1.26": "v1.26.4",
"1.25": "v1.25.1",
"1.24": "v1.24.1",
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/eksctl/eksctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/go-version"
)

const minVersion = "0.160.0"
const minVersion = "0.169.0"

func GetClusterName(cluster string) string {
return fmt.Sprintf("%s.%s.eksctl.io", cluster, aws.Region())
Expand Down
4 changes: 2 additions & 2 deletions pkg/resource/cluster/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func addOptions(res *resource.Resource) *resource.Resource {
options := &ClusterOptions{
CommonOptions: resource.CommonOptions{
ClusterFlagDisabled: true,
KubernetesVersion: "1.28",
KubernetesVersion: "1.29",
},

HostnameType: string(types.HostnameTypeResourceName),
Expand Down Expand Up @@ -88,7 +88,7 @@ func addOptions(res *resource.Resource) *resource.Resource {
Description: "Kubernetes version",
Shorthand: "v",
},
Choices: []string{"1.28", "1.27", "1.26", "1.25", "1.24"},
Choices: []string{"1.29", "1.28", "1.27", "1.26", "1.25", "1.24"},
Option: &options.KubernetesVersion,
},
&cmd.BoolFlag{
Expand Down

0 comments on commit e51b10a

Please sign in to comment.