Skip to content

Commit

Permalink
kubernetes 1.30
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Paskal <[email protected]>
  • Loading branch information
maksim-paskal committed Oct 3, 2024
1 parent 922d375 commit 74d4115
Show file tree
Hide file tree
Showing 10 changed files with 231 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
on:
workflow_dispatch:
inputs:
token:
hcloud_token:
description: 'Hetzner Cloud API token'
required: true
e2e_file_name:
description: 'Name of the e2e tests'
required: false
default: 'v1.30*'
debug:
type: choice
description: 'Debug mode'
required: false
options: ['true', 'false']
default: 'false'

jobs:
e2e:
Expand All @@ -17,4 +27,6 @@ jobs:
- run: ssh-keygen -t rsa -q -f "$HOME/.ssh/id_rsa" -N ""
- run: make e2e branch=${{ github.base_ref || github.ref_name }}
env:
HCLOUD_TOKEN: ${{ github.event.inputs.token }}
HCLOUD_TOKEN: ${{ github.event.inputs.hcloud_token }}
E2E_FILE_NAME: ${{ github.event.inputs.e2e_file_name }}
DEBUG: ${{ github.event.inputs.debug }}
112 changes: 112 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,118 @@ cluster-autoscaler:
maxSize: 20
```
</details>
<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.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: amd64, Ubuntu: 20.04, Region: us</summary>

```yaml
ipRange: "10.0.0.0/16"
masterCount: 3
networkZone: us-east
location: ash
datacenter: ash-dc1
masterServers:
servertype: cpx21
serverComponents:
ubuntu:
version: ubuntu-20.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
cluster-autoscaler:
autoscalingGroups:
- name: CPX51:ASH:cpx51-ash
minSize: 1
maxSize: 20
```
</details>
<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.30.5-1.1
docker:
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.7.22-1
masterServers:
servertype: cax11
cluster-autoscaler:
autoscalingGroups:
- name: CAX41:FSN1:cax-fsn1
minSize: 1
maxSize: 20
```
</details>
<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.30.5-1.1
docker:
version: 5:27.3.1-1~ubuntu.$(lsb_release -rs)~$(lsb_release -cs)
containerd:
version: 1.7.22-1
masterServers:
servertype: cax11
cluster-autoscaler:
autoscalingGroups:
- name: CAX41:FSN1:cax-fsn1
minSize: 1
maxSize: 20

```
</details>

<!--- move_e2e_details_end -->

Expand Down
13 changes: 13 additions & 0 deletions e2e/configs/v1.30-amd64-ubuntu-20.04-eu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Kubernetes v1.30 in Europe
ipRange: "10.0.0.0/16"
masterCount: 3
serverComponents:
ubuntu:
version: ubuntu-20.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
23 changes: 23 additions & 0 deletions e2e/configs/v1.30-amd64-ubuntu-20.04-us.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Kubernetes v1.30 in US East
ipRange: "10.0.0.0/16"
masterCount: 3
networkZone: us-east
location: ash
datacenter: ash-dc1
masterServers:
servertype: cpx21
serverComponents:
ubuntu:
version: ubuntu-20.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
cluster-autoscaler:
autoscalingGroups:
- name: CPX51:ASH:cpx51-ash
minSize: 1
maxSize: 20
13 changes: 13 additions & 0 deletions e2e/configs/v1.30-amd64-ubuntu-22.04-eu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Kubernetes v1.30 in Europe (ARM64 architecture)
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
20 changes: 20 additions & 0 deletions e2e/configs/v1.30-arm64-ubuntu-20.04-eu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Kubernetes v1.30 in Europe (ARM64 architecture)
ipRange: "10.0.0.0/16"
masterCount: 3
serverComponents:
ubuntu:
version: ubuntu-20.04
architecture: arm
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
masterServers:
servertype: cax11
cluster-autoscaler:
autoscalingGroups:
- name: CAX41:FSN1:cax-fsn1
minSize: 1
maxSize: 20
20 changes: 20 additions & 0 deletions e2e/configs/v1.30-arm64-ubuntu-22.04-eu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Kubernetes v1.30 in Europe (ARM64 architecture)
ipRange: "10.0.0.0/16"
masterCount: 3
serverComponents:
ubuntu:
version: ubuntu-22.04
architecture: arm
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
masterServers:
servertype: cax11
cluster-autoscaler:
autoscalingGroups:
- name: CAX41:FSN1:cax-fsn1
minSize: 1
maxSize: 20
11 changes: 10 additions & 1 deletion e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,16 @@ func Test(t *testing.T) { //nolint:funlen,paralleltest,cyclop

log.SetLevel(log.WarnLevel)

tests, err := filepath.Glob("./configs/*.yaml")
if os.Getenv("DEBUG") == "true" {
log.SetLevel(log.DebugLevel)
}

nameGlob := os.Getenv("E2E_FILE_NAME")
if nameGlob == "" {
nameGlob = "*"
}

tests, err := filepath.Glob("./configs/" + nameGlob + ".yaml")
if err != nil {
t.Fatal(err)
}
Expand Down
3 changes: 3 additions & 0 deletions scripts/common-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ EOF
cat <<EOF >/etc/apt/sources.list.d/kubernetes-v1.29.list
deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /
EOF
cat <<EOF >/etc/apt/sources.list.d/kubernetes-v1.30.list
deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /
EOF
cat <<EOF >/etc/apt/sources.list.d/docker.list
deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable
EOF
Expand Down
3 changes: 3 additions & 0 deletions scripts/ubuntu-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ EOF
cat <<EOF >/etc/apt/sources.list.d/kubernetes-v1.29.list
deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /
EOF
cat <<EOF >/etc/apt/sources.list.d/kubernetes-v1.30.list
deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /
EOF
cat <<EOF >/etc/apt/sources.list.d/docker.list
deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable
EOF
Expand Down

0 comments on commit 74d4115

Please sign in to comment.