Skip to content

Commit

Permalink
per neolit123's comment: leave the ignore error remove to v1.32
Browse files Browse the repository at this point in the history
  • Loading branch information
pacoxu committed Nov 1, 2023
1 parent e7452d4 commit 2357afc
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 16 deletions.
9 changes: 4 additions & 5 deletions kinder/ci/kubeadm-periodic.tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,11 @@ Workflow file names: [`skew-[x]-on-[y]`](./workflows)
Kubelet X on Y tests are meant to verify the proper functioning of a version X kubelet against version Y (X+1 or X+2)
kubeadm and control plane. The coverage of X == Y is already covered by the `regular-*` tests.

Before v1.28, note that for the time being kubeadm version X does not support skew against a kubelet version X-2,
similarly to how kubeadm does not support X-2 skew with the control plane. This requires skipping
the `KubeletVersion` preflight check. In the future if these X-2 tests are no longer possible with kubeadm
they would have to be adapted on the kinder side or dropped.
Before kubeadm v1.29, the maximum kubelet skew from the kubeadm version was X-1. This required skipping
the KubeletVersion preflight check.

After v1.29, kubeadm version X does not support skew against a kubelet version X-4.
After kubeadm v1.29, the maximum kubelet skew from the kubeadm version has become X-3 and KubeletVersion
preflight check no longer has to be skipped.

Workflow file names: [`skew-kubelet-[x]-on-[y]`](./workflows)

Expand Down
3 changes: 0 additions & 3 deletions kinder/ci/tools/update-workflows/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,10 @@ jobGroups:
kubeadmVersion: latest
- kubernetesVersion: -1
kubeadmVersion: 0
ignorePreflightErrors: KubeletVersion
- kubernetesVersion: -2
kubeadmVersion: -1
ignorePreflightErrors: KubeletVersion
- kubernetesVersion: -3
kubeadmVersion: -2
ignorePreflightErrors: KubeletVersion

- name: upgrade
testInfraJobSpec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ vars:
kubeadmVersion: "\{\{ resolve `ci/{{ ciLabelFor .KubeadmVersion }}` \}\}"
kubeletVersion: "\{\{ resolve `ci/{{ ciLabelFor .KubeletVersion }}` \}\}"
kubernetesVersion: "\{\{ resolve `ci/{{ ciLabelFor .KubernetesVersion }}` \}\}"
ignorePreflightErrors: "{{.IgnorePreflightErrors}}"
ignorePreflightErrors: "KubeletVersion"
ginkgoSkip: "\\[MinimumKubeletVersion:({{ .SkipVersions }})\\]"
controlPlaneNodes: 3
tasks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ vars:
clusterName: kinder-xony
kubeadmVerbosity: 6
defaultIgnorePreflightErrors: Swap,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables,
ignorePreflightErrors: ""
ignorePreflightErrors: "KubeletVersion"
ginkgoSkip: ""
tasks:
- name: pull-base-image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ vars:
kubeadmVersion: "\{\{ resolve `ci/{{ ciLabelFor .KubeadmVersion }}` \}\}"
kubeletVersion: "\{\{ resolve `ci/{{ ciLabelFor .KubeletVersion }}` \}\}"
kubernetesVersion: "\{\{ resolve `ci/{{ ciLabelFor .KubernetesVersion }}` \}\}"
ignorePreflightErrors: "{{.IgnorePreflightErrors}}"
ignorePreflightErrors: "KubeletVersion"
controlPlaneNodes: 3
tasks:
- import: skew-x-on-y-tasks.yaml
2 changes: 1 addition & 1 deletion kinder/ci/workflows/skew-kubelet-1.26-on-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vars:
kubeadmVersion: "{{ resolve `ci/latest` }}"
kubeletVersion: "{{ resolve `ci/latest-1.26` }}"
kubernetesVersion: "{{ resolve `ci/latest` }}"
ignorePreflightErrors: ""
ignorePreflightErrors: "KubeletVersion"
ginkgoSkip: "\\[MinimumKubeletVersion:(1.28|1.29|1.30)\\]"
controlPlaneNodes: 3
tasks:
Expand Down
2 changes: 1 addition & 1 deletion kinder/ci/workflows/skew-kubelet-1.27-on-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vars:
kubeadmVersion: "{{ resolve `ci/latest` }}"
kubeletVersion: "{{ resolve `ci/latest-1.27` }}"
kubernetesVersion: "{{ resolve `ci/latest` }}"
ignorePreflightErrors: ""
ignorePreflightErrors: "KubeletVersion"
ginkgoSkip: "\\[MinimumKubeletVersion:(1.28|1.29)\\]"
controlPlaneNodes: 3
tasks:
Expand Down
2 changes: 1 addition & 1 deletion kinder/ci/workflows/skew-kubelet-1.28-on-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vars:
kubeadmVersion: "{{ resolve `ci/latest` }}"
kubeletVersion: "{{ resolve `ci/latest-1.28` }}"
kubernetesVersion: "{{ resolve `ci/latest` }}"
ignorePreflightErrors: ""
ignorePreflightErrors: "KubeletVersion"
ginkgoSkip: "\\[MinimumKubeletVersion:(1.29)\\]"
controlPlaneNodes: 3
tasks:
Expand Down
2 changes: 1 addition & 1 deletion kinder/ci/workflows/skew-latest-on-1.28.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vars:
kubeadmVersion: "{{ resolve `ci/latest` }}"
kubeletVersion: "{{ resolve `ci/latest-1.28` }}"
kubernetesVersion: "{{ resolve `ci/latest-1.28` }}"
ignorePreflightErrors: ""
ignorePreflightErrors: "KubeletVersion"
controlPlaneNodes: 3
tasks:
- import: skew-x-on-y-tasks.yaml
2 changes: 1 addition & 1 deletion kinder/ci/workflows/skew-x-on-y-tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ vars:
clusterName: kinder-xony
kubeadmVerbosity: 6
defaultIgnorePreflightErrors: Swap,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables,
ignorePreflightErrors: ""
ignorePreflightErrors: "KubeletVersion"
ginkgoSkip: ""
tasks:
- name: pull-base-image
Expand Down

0 comments on commit 2357afc

Please sign in to comment.