rancher / rke2

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

[Release-1.28] - Bump multus, cilium and flannel charts #7198

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.28 branch with commit e0119c8fd26396e74f2da72d3c9836e8ae8278de

Cilium,CNI plugins

[2024-11-06T20:39:40.923Z] rke2 version v1.28.15+dev.e0119c8f (e0119c8fd26396e74f2da72d3c9836e8ae8278de)
[2024-11-06T20:39:40.923Z] go version go1.22.8 X:boringcrypto 
[2024-11-06T20:39:44.210Z] 
[2024-11-06T20:39:44.210Z] Command:
[2024-11-06T20:39:44.210Z] kubectl get node -o yaml  --kubeconfig=/tmp/mdrke2128cilvb_kubeconfig  | grep mirrored-cilium  -A1
[2024-11-06T20:39:44.210Z] ---------------------
[2024-11-06T20:39:44.210Z] Assertion:
[2024-11-06T20:39:44.210Z] v1.16.3
[2024-11-06T20:39:44.210Z] ----------------------
[2024-11-06T20:39:44.210Z] Matched with result:
[2024-11-06T20:39:44.210Z] - docker.io/rancher/mirrored-cilium-cilium@sha256:62d2a09bbef840a46099ac4c69421c90f84f28d018d479749049011329aa7f28
[2024-11-06T20:39:44.210Z]       - docker.io/rancher/mirrored-cilium-cilium:v1.16.3
[2024-11-06T20:39:44.210Z]       sizeBytes: 223180987
[2024-11-06T20:39:44.210Z] --
[2024-11-06T20:39:44.210Z]       - docker.io/rancher/mirrored-cilium-operator-generic@sha256:6e2925ef47a1c76e183c48f95d4ce0d34a1e5e848252f910476c3e11ce1ec94b
[2024-11-06T20:39:44.210Z]       - docker.io/rancher/mirrored-cilium-operator-generic:v1.16.3
[2024-11-06T20:39:44.210Z]       sizeBytes: 31096970
[2024-11-06T20:39:47.491Z] 
[2024-11-06T20:39:47.491Z] Command:
[2024-11-06T20:39:47.491Z] kubectl get node -o yaml  --kubeconfig=/tmp/mdrke2128cilvb_kubeconfig  | grep hardened-cni-plugins -A1
[2024-11-06T20:39:47.491Z] ---------------------
[2024-11-06T20:39:47.491Z] Assertion:
[2024-11-06T20:39:47.491Z] v1.6.0-build20241022
[2024-11-06T20:39:47.491Z] ----------------------
[2024-11-06T20:39:47.491Z] Matched with result:
[2024-11-06T20:39:47.492Z] - docker.io/rancher/hardened-cni-plugins@sha256:900cfe5a70ca5749220c7a1363bf3e563ea48764b83b2fc9d078b9a0f8226ab0
[2024-11-06T20:39:47.492Z]       - docker.io/rancher/hardened-cni-plugins:v1.6.0-build20241022
[2024-11-06T20:39:47.492Z]       sizeBytes: 45549776
[2024-11-06T20:39:47.492Z] 

Flannel

[2024-11-06T20:26:07.083Z] rke2 version v1.28.15+dev.e0119c8f (e0119c8fd26396e74f2da72d3c9836e8ae8278de)
[2024-11-06T20:26:07.083Z] go version go1.22.8 X:boringcrypto 
[2024-11-06T20:26:07.083Z] 
[2024-11-06T20:26:07.083Z] Command:
[2024-11-06T20:26:07.083Z] kubectl get node -o yaml  --kubeconfig=/tmp/mdrke2128flvb_kubeconfig  | grep 'hardened-flannel' -A1
[2024-11-06T20:26:07.084Z] ---------------------
[2024-11-06T20:26:07.084Z] Assertion:
[2024-11-06T20:26:07.084Z] v0.26.0-build20241024
[2024-11-06T20:26:07.084Z] ----------------------
[2024-11-06T20:26:07.084Z] Matched with result:
[2024-11-06T20:26:07.084Z] - docker.io/rancher/hardened-flannel@sha256:148a728346d3e40305482cafc77de6f7de0837c8ad7db572793b4745b3368ecc
[2024-11-06T20:26:07.084Z]       - docker.io/rancher/hardened-flannel:v0.26.0-build20241024
[2024-11-06T20:26:07.084Z]       sizeBytes: 81092782
[2024-11-06T20:26:07.084Z] 
[2024-11-06T20:26:07.084Z] PASSED! Flannel Version bump: Test flannel version bump

Multus,Canal

[2024-11-06T20:27:11.868Z] rke2 version v1.28.15+dev.e0119c8f (e0119c8fd26396e74f2da72d3c9836e8ae8278de)
[2024-11-06T20:27:11.868Z] go version go1.22.8 X:boringcrypto 
[2024-11-06T20:27:11.868Z] 
[2024-11-06T20:27:11.868Z] Command:
[2024-11-06T20:27:11.868Z] kubectl get node -o yaml  --kubeconfig=/tmp/mdrke2128mulvb_kubeconfig  | grep multus-cni -A1
[2024-11-06T20:27:11.868Z] ---------------------
[2024-11-06T20:27:11.868Z] Assertion:
[2024-11-06T20:27:11.869Z] v4.1.3-build20241028
[2024-11-06T20:27:11.869Z] ----------------------
[2024-11-06T20:27:11.869Z] Matched with result:
[2024-11-06T20:27:11.869Z] - docker.io/rancher/hardened-multus-cni@sha256:6db1b3738ccce29caffc1e916591dc7efd455d1f4337272bed097d1f9ae3bb1f
[2024-11-06T20:27:11.869Z]       - docker.io/rancher/hardened-multus-cni:v4.1.3-build20241028
[2024-11-06T20:27:11.869Z]       sizeBytes: 37030706
mdrahman-suse commented 6 days ago

Also validated rke2-charts with commit a04ed642

$ rke2 -v
rke2 version v1.28.15+dev.a04ed642 (a04ed6420a4eddcb705e779194fd10e45f4c802b)
go version go1.22.8 X:boringcrypto

$ sudo cat /var/lib/rancher/rke2/data/v1.28.15-dev.a04ed642-94eca964fc65/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.28.15-dev.a04ed642-94eca964fc65/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.28.15-dev.a04ed642-94eca964fc65/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"