diff --git a/.github/actions/e2e/install-karpenter/action.yaml b/.github/actions/e2e/install-karpenter/action.yaml index f30ca0aac823..b5dacaa33d23 100644 --- a/.github/actions/e2e/install-karpenter/action.yaml +++ b/.github/actions/e2e/install-karpenter/action.yaml @@ -21,7 +21,7 @@ inputs: required: true k8s_version: description: 'Version of Kubernetes to use for the launched cluster' - default: "1.30" + default: "1.31" git_ref: description: "The git commit, tag, or branch to check out. Requires a corresponding Karpenter snapshot release" private_cluster: diff --git a/.github/actions/e2e/run-tests-private-cluster/action.yaml b/.github/actions/e2e/run-tests-private-cluster/action.yaml index 2e7b7cc41746..e65fdc39d18e 100644 --- a/.github/actions/e2e/run-tests-private-cluster/action.yaml +++ b/.github/actions/e2e/run-tests-private-cluster/action.yaml @@ -33,7 +33,7 @@ inputs: required: true k8s_version: description: 'Version of Kubernetes to use for the launched cluster' - default: "1.30" + default: "1.31" private_cluster: description: "Whether to create a private cluster which does not add access to the public internet. Valid values are 'true' or 'false'" default: 'false' diff --git a/.github/actions/e2e/setup-cluster/action.yaml b/.github/actions/e2e/setup-cluster/action.yaml index e986c2c6e1da..5472dde38204 100644 --- a/.github/actions/e2e/setup-cluster/action.yaml +++ b/.github/actions/e2e/setup-cluster/action.yaml @@ -27,7 +27,7 @@ inputs: required: true k8s_version: description: 'Version of Kubernetes to use for the launched cluster' - default: "1.30" + default: "1.31" eksctl_version: description: "Version of eksctl to install" default: v0.180.0 diff --git a/.github/actions/install-deps/action.yaml b/.github/actions/install-deps/action.yaml index 3475f09efc49..d91cb465b3aa 100644 --- a/.github/actions/install-deps/action.yaml +++ b/.github/actions/install-deps/action.yaml @@ -3,7 +3,7 @@ description: 'Installs Go Downloads and installs Karpenter Dependencies' inputs: k8sVersion: description: Kubernetes version to use when installing the toolchain - default: "1.30.x" + default: "1.31.x" runs: using: "composite" steps: diff --git a/.github/workflows/ci-test.yaml b/.github/workflows/ci-test.yaml index 36fa38add4c0..be6d1de75919 100644 --- a/.github/workflows/ci-test.yaml +++ b/.github/workflows/ci-test.yaml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - k8sVersion: ["1.25.x", "1.26.x", "1.27.x", "1.28.x", "1.29.x", "1.30.x"] + k8sVersion: ["1.25.x", "1.26.x", "1.27.x", "1.28.x", "1.29.x", "1.30.x", "1.31.x"] steps: - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - uses: ./.github/actions/install-deps @@ -23,7 +23,7 @@ jobs: - run: K8S_VERSION=${{ matrix.k8sVersion }} make ci-test - name: Send coverage # should only send converage once https://docs.coveralls.io/parallel-builds - if: matrix.k8sVersion == '1.30.x' + if: matrix.k8sVersion == '1.31.x' env: COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: goveralls -coverprofile=coverage.out -service=github diff --git a/.github/workflows/e2e-matrix.yaml b/.github/workflows/e2e-matrix.yaml index c64a505c83f5..8e80a69c9ad9 100644 --- a/.github/workflows/e2e-matrix.yaml +++ b/.github/workflows/e2e-matrix.yaml @@ -7,7 +7,7 @@ on: default: "us-east-2" k8s_version: type: string - default: "1.30" + default: "1.31" cleanup: type: boolean required: true @@ -40,7 +40,8 @@ on: - "1.28" - "1.29" - "1.30" - default: "1.30" + - "1.31" + default: "1.31" cleanup: type: boolean required: true diff --git a/.github/workflows/e2e-upgrade.yaml b/.github/workflows/e2e-upgrade.yaml index f5751de20aac..f2657b9e8681 100644 --- a/.github/workflows/e2e-upgrade.yaml +++ b/.github/workflows/e2e-upgrade.yaml @@ -22,7 +22,8 @@ on: - "1.28" - "1.29" - "1.30" - default: "1.30" + - "1.31" + default: "1.31" cleanup: required: true default: true @@ -39,7 +40,7 @@ on: default: "us-east-2" k8s_version: type: string - default: "1.30" + default: "1.31" cleanup: required: true type: boolean diff --git a/.github/workflows/e2e-version-compatibility-trigger.yaml b/.github/workflows/e2e-version-compatibility-trigger.yaml index caa95f24509e..2feb902cd282 100644 --- a/.github/workflows/e2e-version-compatibility-trigger.yaml +++ b/.github/workflows/e2e-version-compatibility-trigger.yaml @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - k8s_version: ["1.25", "1.26", "1.27", "1.28", "1.29", "1.30"] + k8s_version: ["1.25", "1.26", "1.27", "1.28", "1.29", "1.30", "1.31"] uses: ./.github/workflows/e2e-matrix.yaml with: region: ${{ inputs.region || 'eu-west-1' }} diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 118f04e91ed3..f24d542e3adb 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -36,7 +36,8 @@ on: - "1.28" - "1.29" - "1.30" - default: "1.30" + - "1.31" + default: "1.31" cluster_name: type: string cleanup: @@ -60,7 +61,7 @@ on: required: true k8s_version: type: string - default: "1.30" + default: "1.31" enable_metrics: type: boolean default: false diff --git a/go.mod b/go.mod index c0a10b58a8f4..16e547cb94e8 100644 --- a/go.mod +++ b/go.mod @@ -31,7 +31,7 @@ require ( k8s.io/klog/v2 v2.130.1 k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 sigs.k8s.io/controller-runtime v0.19.0 - sigs.k8s.io/karpenter v1.0.1-0.20240921204958-04a921c00ad8 + sigs.k8s.io/karpenter v1.0.1-0.20240930201724-8101424eeecb sigs.k8s.io/yaml v1.4.0 ) diff --git a/go.sum b/go.sum index 7dcd2f4579e7..f25ee1ee00d6 100644 --- a/go.sum +++ b/go.sum @@ -276,8 +276,8 @@ sigs.k8s.io/controller-runtime v0.19.0 h1:nWVM7aq+Il2ABxwiCizrVDSlmDcshi9llbaFbC sigs.k8s.io/controller-runtime v0.19.0/go.mod h1:iRmWllt8IlaLjvTTDLhRBXIEtkCK6hwVBJJsYS9Ajf4= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= -sigs.k8s.io/karpenter v1.0.1-0.20240921204958-04a921c00ad8 h1:F0eGjPSRLd6emk614DNjxgNc97AkVqRSvpnSxxxm0hM= -sigs.k8s.io/karpenter v1.0.1-0.20240921204958-04a921c00ad8/go.mod h1:U70Yuu2wiH1nBC5/nDYYpqYNadYnMgetmVQ5s2NouyU= +sigs.k8s.io/karpenter v1.0.1-0.20240930201724-8101424eeecb h1:d2ovpH3qHO9LdegHGLgqYJ45V0lFLOrnicDngdM3dvQ= +sigs.k8s.io/karpenter v1.0.1-0.20240930201724-8101424eeecb/go.mod h1:odwr/cPdG0y6oTMHsItGMazdAMGUJzz8Kd1+SfrqjKs= sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4= sigs.k8s.io/structured-merge-diff/v4 v4.4.1/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08= sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E= diff --git a/pkg/providers/version/version.go b/pkg/providers/version/version.go index e021cd0615eb..98de1bc3a57e 100644 --- a/pkg/providers/version/version.go +++ b/pkg/providers/version/version.go @@ -35,7 +35,7 @@ const ( // If a user runs a karpenter image on a k8s version outside the min and max, // One error message will be fired to notify MinK8sVersion = "1.25" - MaxK8sVersion = "1.30" + MaxK8sVersion = "1.31" ) type Provider interface { diff --git a/website/hugo.yaml b/website/hugo.yaml index e79a6c3b7bba..00e3c87dc24a 100644 --- a/website/hugo.yaml +++ b/website/hugo.yaml @@ -77,7 +77,7 @@ params: icon: fab fa-slack desc: "Chat with us on Slack in the #aws-provider channel" latest_release_version: "1.0.2" - latest_k8s_version: "1.30" + latest_k8s_version: "1.31" versions: - v1.0 - v0.37