Skip to content

Commit

Permalink
feat: Update EKS version to 1.31 (#1225)
Browse files Browse the repository at this point in the history
  • Loading branch information
ROunofF authored Jan 16, 2025
1 parent 03a2034 commit 4145576
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
6 changes: 3 additions & 3 deletions cluster/eksctl/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ availabilityZones:
metadata:
name: ${EKS_CLUSTER_NAME}
region: ${AWS_REGION}
version: "1.30"
version: "1.31"
tags:
karpenter.sh/discovery: ${EKS_CLUSTER_NAME}
created-by: eks-workshop-v2
Expand All @@ -21,7 +21,7 @@ vpc:
publicAccess: true
addons:
- name: vpc-cni
version: 1.16.0
version: 1.19.2
configurationValues: '{"env":{"ENABLE_PREFIX_DELEGATION":"true", "ENABLE_POD_ENI":"true", "POD_SECURITY_GROUP_ENFORCING_MODE":"standard"},"enableNetworkPolicy": "true", "nodeAgent": {"enablePolicyEventLogs": "true"}}'
resolveConflicts: overwrite
managedNodeGroups:
Expand All @@ -31,7 +31,7 @@ managedNodeGroups:
maxSize: 6
instanceType: m5.large
privateNetworking: true
releaseVersion: "1.30.0-20240625"
releaseVersion: "1.31.3-20250103"
updateConfig:
maxUnavailablePercentage: 50
labels:
Expand Down
4 changes: 2 additions & 2 deletions cluster/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ variable "cluster_name" {
variable "cluster_version" {
description = "EKS cluster version."
type = string
default = "1.30"
default = "1.31"
}

variable "ami_release_version" {
description = "Default EKS AMI release version for node groups"
type = string
default = "1.30.0-20240625"
default = "1.31.3-20250103"
}

variable "vpc_cidr" {
Expand Down
2 changes: 1 addition & 1 deletion hack/lib/kubectl-version.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export KUBECTL_VERSION='v1.30.2'
export KUBECTL_VERSION='v1.31.3'
2 changes: 1 addition & 1 deletion lab/scripts/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

# renovate: depName=kubernetes/kubernetes
kubectl_version='1.30.8'
kubectl_version='1.31.3'

# renovate: depName=helm/helm
helm_version='3.16.4'
Expand Down
1 change: 1 addition & 0 deletions lab/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function prepare-environment() {
}
function use-cluster() { bash /usr/local/bin/use-cluster \$1; source ~/.bashrc.d/env.bash; }
function create-cluster() { URL=https://raw.githubusercontent.com/${REPOSITORY_OWNER}/${REPOSITORY_NAME}/refs/heads/${REPOSITORY_REF}/cluster/eksctl/cluster.yaml; echo "Creating cluster with eksctl from $URL"; curl -fsSL $URL | envsubst | eksctl create cluster -f -; }
EOT

REPOSITORY_OWNER=${REPOSITORY_OWNER:-"aws-samples"}
Expand Down
4 changes: 2 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
},
{
"matchDepNames": ["kubernetes/kubernetes"],
"allowedVersions": "/^v1.30.[0-9]+$/"
"allowedVersions": "/^v1.31.[0-9]+$/"
},
{
"matchDepNames": ["kubernetes/autoscaler"],
"extractVersion": "^cluster-autoscaler-(?<version>.*)$",
"allowedVersions": "/^1.30.[0-9]+$/"
"allowedVersions": "/^1.31.[0-9]+$/"
},
{
"automerge": true,
Expand Down
4 changes: 2 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ const config = {
MANIFESTS_REF: manifestsRef,
MANIFESTS_OWNER: manifestsOwner,
MANIFESTS_REPOSITORY: manifestsRepository,
KUBERNETES_VERSION: "1.30",
KUBERNETES_NODE_VERSION: "1.30-eks-036c24b",
KUBERNETES_VERSION: "1.31",
KUBERNETES_NODE_VERSION: "1.31-eks-036c24b",
},
},
],
Expand Down

0 comments on commit 4145576

Please sign in to comment.