Skip to content

Commit

Permalink
Merge pull request #2700 from stmcginnis/remove-k8s-1.21
Browse files Browse the repository at this point in the history
Remove kubernetes 1.21 variants
  • Loading branch information
stmcginnis authored Feb 28, 2023
2 parents 9b3d9c9 + da5293e commit 9441548
Show file tree
Hide file tree
Showing 57 changed files with 56 additions and 1,252 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
continue-on-error: ${{ matrix.supported }}
strategy:
matrix:
variant: [aws-k8s-1.21, aws-k8s-1.22, aws-k8s-1.23, aws-k8s-1.24, aws-k8s-1.25, aws-ecs-1]
variant: [aws-k8s-1.22, aws-k8s-1.23, aws-k8s-1.24, aws-k8s-1.25, aws-ecs-1]
arch: [x86_64, aarch64]
supported: [true]
fetch-upstream: ["false"]
Expand All @@ -47,10 +47,6 @@ jobs:
arch: x86_64
supported: false
fetch-upstream: "false"
- variant: metal-k8s-1.21
arch: x86_64
supported: false
fetch-upstream: "false"
- variant: metal-k8s-1.22
arch: x86_64
supported: false
Expand All @@ -67,10 +63,6 @@ jobs:
arch: x86_64
supported: false
fetch-upstream: "false"
- variant: vmware-k8s-1.21
arch: x86_64
supported: true
fetch-upstream: "false"
- variant: vmware-k8s-1.22
arch: x86_64
supported: true
Expand All @@ -87,14 +79,6 @@ jobs:
arch: x86_64
supported: true
fetch-upstream: "false"
- variant: aws-k8s-1.21-nvidia
arch: x86_64
supported: true
fetch-upstream: "true"
- variant: aws-k8s-1.21-nvidia
arch: aarch64
supported: true
fetch-upstream: "true"
- variant: aws-k8s-1.22-nvidia
arch: x86_64
supported: true
Expand Down
6 changes: 3 additions & 3 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ The specifics of building an out-of-tree module will vary by project, but the fi
### Downloading the kmod kit

kmod kits are included in the official Bottlerocket repos starting with Bottlerocket v1.0.6.
Let's say you want to download the kit for building x86_64 modules for v1.7.0 and variant aws-k8s-1.21.
Let's say you want to download the kit for building x86_64 modules for v1.11.0 and variant aws-k8s-1.24.

First, you need tuftool:
```shell
Expand All @@ -220,8 +220,8 @@ sha512sum -c <<<"b81af4d8eb86743539fbc4709d33ada7b118d9f929f0c2f6c04e1d41f46241e
Next, set your desired parameters, and download the kmod kit:
```shell
ARCH=x86_64
VERSION=v1.7.0
VARIANT=aws-k8s-1.21
VERSION=v1.11.0
VARIANT=aws-k8s-1.24
OUTDIR="${VARIANT}-${VERSION}"

tuftool download "${OUTDIR}" --target-name ${VARIANT}-${ARCH}-kmod-kit-${VERSION}.tar.xz \
Expand Down
2 changes: 1 addition & 1 deletion QUICKSTART-VMWARE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Next, set your desired version and variant, and download the OVA:

```shell
VERSION="v1.6.1"
VARIANT="vmware-k8s-1.21"
VARIANT="vmware-k8s-1.24"
OVA="bottlerocket-${VARIANT}-x86_64-${VERSION}.ova"
OUTDIR="${VARIANT}-${VERSION}"

Expand Down
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,10 @@ For example, an `x86_64` build of the `aws-k8s-1.24` variant will produce an ima

The following variants support EKS, as described above:

* `aws-k8s-1.21`
* `aws-k8s-1.22`
* `aws-k8s-1.23`
* `aws-k8s-1.24`
* `aws-k8s-1.25`
* `aws-k8s-1.21-nvidia`
* `aws-k8s-1.22-nvidia`
* `aws-k8s-1.23-nvidia`
* `aws-k8s-1.24-nvidia`
Expand All @@ -78,29 +76,21 @@ The following variants support ECS:

We also have variants that are designed to be Kubernetes worker nodes in VMware:

* `vmware-k8s-1.21`
* `vmware-k8s-1.22`
* `vmware-k8s-1.23`
* `vmware-k8s-1.24`
* `vmware-k8s-1.25`

The following variants are designed to be Kubernetes worker nodes on bare metal:

* `metal-k8s-1.21`
* `metal-k8s-1.22`
* `metal-k8s-1.23`
* `metal-k8s-1.24`
* `metal-k8s-1.25`

The following variants are no longer supported:

* `aws-k8s-1.15`
* `aws-k8s-1.16`
* `aws-k8s-1.17`
* `aws-k8s-1.18`
* `aws-k8s-1.19`
* `aws-k8s-1.20`
* `vmware-k8s-1.20`
* All Kubernetes variants using Kubernetes 1.21 and earlier

We recommend users replace nodes running these variants with the [latest variant compatible with their cluster](variants/).

Expand Down
6 changes: 3 additions & 3 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,18 +198,18 @@ You will need to delete the EKS cluster manually when you are done using it.

```shell
cargo make \
-e BUILDSYS_VARIANT="aws-k8s-1.21" \
-e BUILDSYS_VARIANT="aws-k8s-1.24" \
-e BUILDSYS_ARCH="x86_64" \
build

cargo make \
-e BUILDSYS_VARIANT="aws-k8s-1.21" \
-e BUILDSYS_VARIANT="aws-k8s-1.24" \
-e BUILDSYS_ARCH="x86_64" \
-e PUBLISH_REGIONS="us-west-2"
ami

cargo make \
-e BUILDSYS_VARIANT="aws-k8s-1.21" \
-e BUILDSYS_VARIANT="aws-k8s-1.24" \
-e BUILDSYS_ARCH="x86_64" \
test
```
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9441548

Please sign in to comment.