Skip to content

Commit

Permalink
feat: Add Kubernetes 1.31 version
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Paskal <[email protected]>
  • Loading branch information
maksim-paskal committed Dec 22, 2024
1 parent 9e9bf2d commit c3199a6
Show file tree
Hide file tree
Showing 16 changed files with 143 additions and 139 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
e2e_file_name:
description: 'Name of the e2e tests'
required: false
default: 'v1.30*'
default: 'v1.31*'
debug:
type: choice
description: 'Debug mode'
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ fullConfig=./e2e/configs/full.yaml
args=""
branch=`git rev-parse --abbrev-ref HEAD`

prepare-release:
make save-full-config
make update-readme
@echo "\n"
@echo "WARNING: Please check expiry of apt keys"
@echo "\n"
test:
./scripts/validate-license.sh
go fmt ./cmd/... ./pkg/...
Expand Down
137 changes: 71 additions & 66 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ for other OS download binnary from [release pages](https://github.com/maksim-pas

This will create kubernetes cluster in Hetzner Cloud Europe region with 3 instances, 1 load balancer for the kubernetes control plane and 1 kubernetes worker node, after successful installation the cluster will have:

- [Kubernetes v1.30](https://github.com/kubernetes/kubernetes)
- [Kubernetes v1.31](https://github.com/kubernetes/kubernetes)
- [Kubernetes Autoscaler](https://github.com/kubernetes/autoscaler)
- [Flannel](https://github.com/flannel-io/flannel)
- [Kubernetes Cloud Controller Manager for Hetzner Cloud](https://github.com/hetznercloud/hcloud-cloud-controller-manager)
Expand Down Expand Up @@ -98,7 +98,7 @@ preStartScript: |
```
<!--- move_e2e_details_start -->
<details><summary>Kubernetes: v1.28, Arch: amd64, Ubuntu: 20.04, Region: eu</summary>
<details><summary>Kubernetes: v1.29, Arch: amd64, Ubuntu: 20.04, Region: eu</summary>
```yaml
masterCount: 3
Expand All @@ -107,15 +107,15 @@ serverComponents:
version: ubuntu-20.04
architecture: x86
kubernetes:
version: 1.28.2-1.1
version: 1.29.3-1.1
docker:
version: 5:24.0.6-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.6.24-1

```
</details>
<details><summary>Kubernetes: v1.28, Arch: amd64, Ubuntu: 22.04, Region: eu</summary>
<details><summary>Kubernetes: v1.29, Arch: amd64, Ubuntu: 22.04, Region: eu</summary>

```yaml
masterCount: 3
Expand All @@ -124,15 +124,15 @@ serverComponents:
version: ubuntu-22.04
architecture: x86
kubernetes:
version: 1.28.2-1.1
version: 1.29.3-1.1
docker:
version: 5:24.0.6-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.6.24-1

```
</details>
<details><summary>Kubernetes: v1.28, Arch: amd64, Ubuntu: 22.04, Region: us</summary>
<details><summary>Kubernetes: v1.29, Arch: amd64, Ubuntu: 22.04, Region: us</summary>

```yaml
masterCount: 3
Expand All @@ -146,7 +146,7 @@ serverComponents:
version: ubuntu-22.04
architecture: x86
kubernetes:
version: 1.28.2-1.1
version: 1.29.3-1.1
docker:
version: 5:24.0.6-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
Expand All @@ -160,7 +160,7 @@ cluster-autoscaler:
region: ash
```
</details>
<details><summary>Kubernetes: v1.28, Arch: arm64, Ubuntu: 20.04, Region: eu</summary>
<details><summary>Kubernetes: v1.29, Arch: arm64, Ubuntu: 20.04, Region: eu</summary>
```yaml
masterCount: 3
Expand All @@ -169,7 +169,7 @@ serverComponents:
version: ubuntu-20.04
architecture: arm
kubernetes:
version: 1.28.2-1.1
version: 1.29.3-1.1
docker:
version: 5:24.0.6-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
Expand All @@ -186,7 +186,7 @@ cluster-autoscaler:

```
</details>
<details><summary>Kubernetes: v1.28, Arch: arm64, Ubuntu: 22.04, Region: eu</summary>
<details><summary>Kubernetes: v1.29, Arch: arm64, Ubuntu: 22.04, Region: eu</summary>

```yaml
masterCount: 3
Expand All @@ -195,7 +195,7 @@ serverComponents:
version: ubuntu-22.04
architecture: arm
kubernetes:
version: 1.28.2-1.1
version: 1.29.3-1.1
docker:
version: 5:24.0.6-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
Expand All @@ -211,43 +211,28 @@ cluster-autoscaler:
region: fsn1
```
</details>
<details><summary>Kubernetes: v1.29, Arch: amd64, Ubuntu: 20.04, Region: eu</summary>
<details><summary>Kubernetes: v1.30, Arch: amd64, Ubuntu: 20.04, Region: eu</summary>
```yaml
ipRange: "10.0.0.0/16"
masterCount: 3
serverComponents:
ubuntu:
version: ubuntu-20.04
architecture: x86
kubernetes:
version: 1.29.3-1.1
docker:
version: 5:24.0.6-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.6.24-1

```
</details>
<details><summary>Kubernetes: v1.29, Arch: amd64, Ubuntu: 22.04, Region: eu</summary>

```yaml
masterCount: 3
serverComponents:
ubuntu:
version: ubuntu-22.04
architecture: x86
kubernetes:
version: 1.29.3-1.1
version: 1.30.5-1.1
docker:
version: 5:24.0.6-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.6.24-1
version: 1.7.22-1

```
</details>
<details><summary>Kubernetes: v1.29, Arch: amd64, Ubuntu: 22.04, Region: us</summary>
<details><summary>Kubernetes: v1.30, Arch: amd64, Ubuntu: 20.04, Region: us</summary>

```yaml
ipRange: "10.0.0.0/16"
masterCount: 3
networkZone: us-east
location: ash
Expand All @@ -256,14 +241,14 @@ masterServers:
servertype: cpx21
serverComponents:
ubuntu:
version: ubuntu-22.04
version: ubuntu-20.04
architecture: x86
kubernetes:
version: 1.29.3-1.1
version: 1.30.5-1.1
docker:
version: 5:24.0.6-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.6.24-1
version: 1.7.22-1
cluster-autoscaler:
autoscalingGroups:
- name: cpx51-ash
Expand All @@ -273,20 +258,39 @@ cluster-autoscaler:
region: ash
```
</details>
<details><summary>Kubernetes: v1.29, Arch: arm64, Ubuntu: 20.04, Region: eu</summary>
<details><summary>Kubernetes: v1.30, Arch: amd64, Ubuntu: 22.04, Region: eu</summary>
```yaml
ipRange: "10.0.0.0/16"
masterCount: 3
serverComponents:
ubuntu:
version: ubuntu-22.04
architecture: x86
kubernetes:
version: 1.30.5-1.1
docker:
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.7.22-1

```
</details>
<details><summary>Kubernetes: v1.30, Arch: arm64, Ubuntu: 20.04, Region: eu</summary>

```yaml
ipRange: "10.0.0.0/16"
masterCount: 3
serverComponents:
ubuntu:
version: ubuntu-20.04
architecture: arm
kubernetes:
version: 1.29.3-1.1
version: 1.30.5-1.1
docker:
version: 5:24.0.6-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.6.24-1
version: 1.7.22-1
masterServers:
servertype: cax11
cluster-autoscaler:
Expand All @@ -296,23 +300,23 @@ cluster-autoscaler:
maxSize: 20
instanceType: cax41
region: fsn1

```
</details>
<details><summary>Kubernetes: v1.29, Arch: arm64, Ubuntu: 22.04, Region: eu</summary>
<details><summary>Kubernetes: v1.30, Arch: arm64, Ubuntu: 22.04, Region: eu</summary>
```yaml
ipRange: "10.0.0.0/16"
masterCount: 3
serverComponents:
ubuntu:
version: ubuntu-22.04
architecture: arm
kubernetes:
version: 1.29.3-1.1
version: 1.30.5-1.1
docker:
version: 5:24.0.6-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.6.24-1
version: 1.7.22-1
masterServers:
servertype: cax11
cluster-autoscaler:
Expand All @@ -322,9 +326,10 @@ cluster-autoscaler:
maxSize: 20
instanceType: cax41
region: fsn1

```
</details>
<details><summary>Kubernetes: v1.30, Arch: amd64, Ubuntu: 20.04, Region: eu</summary>
<details><summary>Kubernetes: v1.31, Arch: amd64, Ubuntu: 20.04, Region: eu</summary>

```yaml
ipRange: "10.0.0.0/16"
Expand All @@ -334,15 +339,15 @@ serverComponents:
version: ubuntu-20.04
architecture: x86
kubernetes:
version: 1.30.5-1.1
version: 1.31.4-1.1
docker:
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
version: 5:27.4.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.7.22-1
version: 1.7.24-1

```
</details>
<details><summary>Kubernetes: v1.30, Arch: amd64, Ubuntu: 20.04, Region: us</summary>
<details><summary>Kubernetes: v1.31, Arch: amd64, Ubuntu: 20.04, Region: us</summary>

```yaml
ipRange: "10.0.0.0/16"
Expand All @@ -357,11 +362,11 @@ serverComponents:
version: ubuntu-20.04
architecture: x86
kubernetes:
version: 1.30.5-1.1
version: 1.31.4-1.1
docker:
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
version: 5:27.4.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.7.22-1
version: 1.7.24-1
cluster-autoscaler:
autoscalingGroups:
- name: cpx51-ash
Expand All @@ -371,7 +376,7 @@ cluster-autoscaler:
region: ash
```
</details>
<details><summary>Kubernetes: v1.30, Arch: amd64, Ubuntu: 22.04, Region: eu</summary>
<details><summary>Kubernetes: v1.31, Arch: amd64, Ubuntu: 22.04, Region: eu</summary>
```yaml
ipRange: "10.0.0.0/16"
Expand All @@ -381,15 +386,15 @@ serverComponents:
version: ubuntu-22.04
architecture: x86
kubernetes:
version: 1.30.5-1.1
version: 1.31.4-1.1
docker:
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
version: 5:27.4.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.7.22-1
version: 1.7.24-1

```
</details>
<details><summary>Kubernetes: v1.30, Arch: arm64, Ubuntu: 20.04, Region: eu</summary>
<details><summary>Kubernetes: v1.31, Arch: arm64, Ubuntu: 20.04, Region: eu</summary>

```yaml
ipRange: "10.0.0.0/16"
Expand All @@ -399,11 +404,11 @@ serverComponents:
version: ubuntu-20.04
architecture: arm
kubernetes:
version: 1.30.5-1.1
version: 1.31.4-1.1
docker:
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
version: 5:27.4.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.7.22-1
version: 1.7.24-1
masterServers:
servertype: cax11
cluster-autoscaler:
Expand All @@ -415,7 +420,7 @@ cluster-autoscaler:
region: fsn1
```
</details>
<details><summary>Kubernetes: v1.30, Arch: arm64, Ubuntu: 22.04, Region: eu</summary>
<details><summary>Kubernetes: v1.31, Arch: arm64, Ubuntu: 22.04, Region: eu</summary>
```yaml
ipRange: "10.0.0.0/16"
Expand All @@ -425,11 +430,11 @@ serverComponents:
version: ubuntu-22.04
architecture: arm
kubernetes:
version: 1.30.5-1.1
version: 1.31.4-1.1
docker:
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
version: 5:27.4.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.7.22-1
version: 1.7.24-1
masterServers:
servertype: cax11
cluster-autoscaler:
Expand Down
6 changes: 3 additions & 3 deletions e2e/configs/full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ serverComponents:
username: hcloud-user
architecture: x86
kubernetes:
version: 1.30.5-1.1
version: 1.31.4-1.1
docker:
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
version: 5:27.4.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.7.22-1
version: 1.7.24-1
pausecontainer: registry.k8s.io/pause:3.2
ipRange: 10.0.0.0/16
ipRangeSubnet: 10.0.0.0/16
Expand Down
Loading

0 comments on commit c3199a6

Please sign in to comment.