rancher / rke2

https://docs.rke2.io/
Apache License 2.0
1.57k stars 268 forks source link

[Release-1.30] - Bump multus, cilium and flannel charts #7196

Closed manuelbuil closed 1 week ago

manuelbuil commented 1 week ago

Backport fix for Use the newest cni plugins version 1.6.0

mdrahman-suse commented 1 week ago

Validation on release-1.30 with commit 227700f7

Cilium, CNI Plugins

[2024-11-06T22:00:18.501Z] rke2 version v1.30.6+dev.227700f7 (227700f720776c52282ad2dd63b71cfd2ec2fcbe)
[2024-11-06T22:00:18.501Z] go version go1.22.8 X:boringcrypto 
[2024-11-06T22:00:18.501Z] 
[2024-11-06T22:00:18.501Z] Command:
[2024-11-06T22:00:18.501Z] kubectl get node -o yaml  --kubeconfig=/tmp/mdrke2130cilvb_kubeconfig  | grep mirrored-cilium  -A1
[2024-11-06T22:00:18.501Z] ---------------------
[2024-11-06T22:00:18.501Z] Assertion:
[2024-11-06T22:00:18.501Z] v1.16.3
[2024-11-06T22:00:18.501Z] ----------------------
[2024-11-06T22:00:18.501Z] Matched with result:
[2024-11-06T22:00:18.502Z] - docker.io/rancher/mirrored-cilium-cilium@sha256:62d2a09bbef840a46099ac4c69421c90f84f28d018d479749049011329aa7f28
[2024-11-06T22:00:18.502Z]       - docker.io/rancher/mirrored-cilium-cilium:v1.16.3
[2024-11-06T22:00:18.502Z]       sizeBytes: 223180987
[2024-11-06T22:00:18.502Z] --
[2024-11-06T22:00:18.502Z]       - docker.io/rancher/mirrored-cilium-operator-generic@sha256:6e2925ef47a1c76e183c48f95d4ce0d34a1e5e848252f910476c3e11ce1ec94b
[2024-11-06T22:00:18.502Z]       - docker.io/rancher/mirrored-cilium-operator-generic:v1.16.3
[2024-11-06T22:00:18.502Z]       sizeBytes: 31096970
[2024-11-06T22:00:21.777Z] 
[2024-11-06T22:00:21.777Z] Command:
[2024-11-06T22:00:21.777Z] kubectl get node -o yaml  --kubeconfig=/tmp/mdrke2130cilvb_kubeconfig  | grep hardened-cni-plugins -A1
[2024-11-06T22:00:21.777Z] ---------------------
[2024-11-06T22:00:21.777Z] Assertion:
[2024-11-06T22:00:21.777Z] v1.6.0-build20241022
[2024-11-06T22:00:21.777Z] ----------------------
[2024-11-06T22:00:21.777Z] Matched with result:
[2024-11-06T22:00:21.777Z] - docker.io/rancher/hardened-cni-plugins@sha256:900cfe5a70ca5749220c7a1363bf3e563ea48764b83b2fc9d078b9a0f8226ab0
[2024-11-06T22:00:21.777Z]       - docker.io/rancher/hardened-cni-plugins:v1.6.0-build20241022
[2024-11-06T22:00:21.777Z]       sizeBytes: 45549776

Flannel

[2024-11-06T21:59:59.633Z] rke2 version v1.30.6+dev.227700f7 (227700f720776c52282ad2dd63b71cfd2ec2fcbe)
[2024-11-06T21:59:59.633Z] go version go1.22.8 X:boringcrypto 
[2024-11-06T21:59:59.633Z] 
[2024-11-06T21:59:59.633Z] Command:
[2024-11-06T21:59:59.633Z] kubectl get node -o yaml  --kubeconfig=/tmp/mdrke2130flvb_kubeconfig  | grep 'hardened-flannel' -A1
[2024-11-06T21:59:59.633Z] ---------------------
[2024-11-06T21:59:59.633Z] Assertion:
[2024-11-06T21:59:59.633Z] v0.26.0-build20241024
[2024-11-06T21:59:59.633Z] ----------------------
[2024-11-06T21:59:59.633Z] Matched with result:
[2024-11-06T21:59:59.633Z] - docker.io/rancher/hardened-flannel@sha256:148a728346d3e40305482cafc77de6f7de0837c8ad7db572793b4745b3368ecc
[2024-11-06T21:59:59.633Z]       - docker.io/rancher/hardened-flannel:v0.26.0-build20241024
[2024-11-06T21:59:59.633Z]       sizeBytes: 81092782

Multus (with Canal)

[2024-11-06T22:20:44.108Z] rke2 version v1.30.6+dev.227700f7 (227700f720776c52282ad2dd63b71cfd2ec2fcbe)
[2024-11-06T22:20:44.108Z] go version go1.22.8 X:boringcrypto 
[2024-11-06T22:20:46.979Z] 
[2024-11-06T22:20:46.979Z] Command:
[2024-11-06T22:20:46.979Z] kubectl get node -o yaml  --kubeconfig=/tmp/mdrke2130mulvb_kubeconfig  | grep multus-cni -A1
[2024-11-06T22:20:46.979Z] ---------------------
[2024-11-06T22:20:46.979Z] Assertion:
[2024-11-06T22:20:46.979Z] v4.1.3-build20241028
[2024-11-06T22:20:46.979Z] ----------------------
[2024-11-06T22:20:46.979Z] Matched with result:
[2024-11-06T22:20:46.979Z] - docker.io/rancher/hardened-multus-cni@sha256:6db1b3738ccce29caffc1e916591dc7efd455d1f4337272bed097d1f9ae3bb1f
[2024-11-06T22:20:46.979Z]       - docker.io/rancher/hardened-multus-cni:v4.1.3-build20241028
[2024-11-06T22:20:46.980Z]       sizeBytes: 37030706
mdrahman-suse commented 6 days ago

Also validated rke2-charts on commit 8353a650 NOTE: Updated flannel charts for bug fix

$ rke2 -v
rke2 version v1.30.6+dev.8353a650 (8353a650a984d57ddb197cf49411326d526cf196)
go version go1.22.8 X:boringcrypto

$ sudo cat /var/lib/rancher/rke2/data/v1.30.6-dev.8353a650-70dde56051d3/charts/rke2-cilium.yaml | grep rke2-cilium
  name: "rke2-cilium"
    helm.cattle.io/chart-url: "https://rke2-charts.rancher.io/assets/rke2-cilium/rke2-cilium-1.16.303.tgz"

$ sudo cat /var/lib/rancher/rke2/data/v1.30.6-dev.8353a650-70dde56051d3/charts/rke2-multus.yaml | grep rke2-multus
  name: "rke2-multus"
    helm.cattle.io/chart-url: "https://rke2-charts.rancher.io/assets/rke2-multus/rke2-multus-v4.1.301.tgz"

$ sudo cat /var/lib/rancher/rke2/data/v1.30.6-dev.8353a650-70dde56051d3/charts/rke2-flannel.yaml | grep rke2-flannel
  name: "rke2-flannel"
    helm.cattle.io/chart-url: "https://rke2-charts.rancher.io/assets/rke2-flannel/rke2-flannel-v0.26.100.tgz"