Skip to content

Commit 2777e94

Browse files
committed
update cni:cilium/flannel
1 parent e4e8f18 commit 2777e94

File tree

4 files changed

+26
-14
lines changed

4 files changed

+26
-14
lines changed

ezdown

+25-13
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,41 @@ set -o pipefail
1313
#set -o xtrace
1414

1515
# default settings, can be overridden by cmd line options, see usage
16-
DOCKER_VER=20.10.24
16+
DOCKER_VER=24.0.5
1717
KUBEASZ_VER=3.6.1
18-
K8S_BIN_VER=v1.27.2
19-
EXT_BIN_VER=1.7.1
18+
K8S_BIN_VER=v1.28.1
19+
# https://github.com/easzlab/dockerfile-kubeasz-ext-bin
20+
EXT_BIN_VER=1.8.0
21+
# https://github.com/easzlab/dockerfile-kubeasz-sys-pkg
2022
SYS_PKG_VER=1.0.0
2123
HARBOR_VER=v2.6.4
2224
REGISTRY_MIRROR=CN
2325

2426
# images downloaded by default(with '-D')
27+
# https://github.com/projectcalico/calico
2528
calicoVer=v3.24.6
26-
corednsVer=1.9.3
27-
dnsNodeCacheVer=1.22.20
29+
# https://github.com/coredns/coredns
30+
corednsVer=1.11.1
31+
# https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/
32+
dnsNodeCacheVer=1.22.23
2833
dashboardVer=v2.7.0
2934
dashboardMetricsScraperVer=v1.0.8
30-
metricsVer=v0.6.3
35+
# https://github.com/kubernetes-sigs/metrics-server
36+
metricsVer=v0.6.4
3137
pauseVer=3.9
3238

3339
# images not downloaded by default(only download with '-X')
34-
ciliumVer=1.13.2
35-
flannelVer=v0.21.4
40+
# https://github.com/cilium/cilium
41+
ciliumVer=1.13.6
42+
# https://github.com/flannel-io/flannel
43+
flannelVer=v0.22.2
44+
# https://github.com/cloudnativelabs/kube-router
3645
kubeRouterVer=v1.5.4
46+
# https://github.com/kubeovn/kube-ovn
3747
kubeOvnVer=v1.11.5
48+
# https://github.com/rancher/local-path-provisioner
3849
localpathProvisionerVer=v0.0.24
50+
# https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
3951
nfsProvisionerVer=v4.0.2
4052
promChartVer=45.23.0
4153
kubeappsVer=12.4.3
@@ -241,7 +253,7 @@ EOF
241253
fi
242254

243255
if [[ -f /etc/selinux/config ]]; then
244-
logger debug "turn off selinux on host"
256+
logger debug "turn off selinux"
245257
getenforce|grep Disabled || setenforce 0
246258
sed -i 's/^SELINUX=.*$/SELINUX=disabled/g' /etc/selinux/config
247259
fi
@@ -460,15 +472,15 @@ function get_extra_images() {
460472
flannel)
461473
if [[ ! -f "$imageDir/flannel_$flannelVer.tar" ]];then
462474
docker pull "flannel/flannel:$flannelVer" && \
463-
docker pull "flannel/flannel-cni-plugin:v1.1.2" && \
464-
docker save -o "$imageDir/flannel_$flannelVer.tar" "flannel/flannel:$flannelVer" "flannel/flannel-cni-plugin:v1.1.2"
475+
docker pull "flannel/flannel-cni-plugin:v1.2.0" && \
476+
docker save -o "$imageDir/flannel_$flannelVer.tar" "flannel/flannel:$flannelVer" "flannel/flannel-cni-plugin:v1.2.0"
465477
else
466478
docker load -i "$imageDir/flannel_$flannelVer.tar"
467479
fi
468480
docker tag "flannel/flannel:$flannelVer" "easzlab.io.local:5000/flannel/flannel:$flannelVer"
469481
docker push "easzlab.io.local:5000/flannel/flannel:$flannelVer"
470-
docker tag "flannel/flannel-cni-plugin:v1.1.2" "easzlab.io.local:5000/flannel/flannel-cni-plugin:v1.1.2"
471-
docker push "easzlab.io.local:5000/flannel/flannel-cni-plugin:v1.1.2"
482+
docker tag "flannel/flannel-cni-plugin:v1.2.0" "easzlab.io.local:5000/flannel/flannel-cni-plugin:v1.2.0"
483+
docker push "easzlab.io.local:5000/flannel/flannel-cni-plugin:v1.2.0"
472484
;;
473485

474486
# kubeapps images

roles/cilium/files/cilium-1.13.2.tgz

-116 KB
Binary file not shown.

roles/cilium/files/cilium-1.13.6.tgz

118 KB
Binary file not shown.

roles/flannel/templates/kube-flannel.yaml.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ spec:
172172
- /opt/cni/bin/flannel
173173
command:
174174
- cp
175-
image: easzlab.io.local:5000/flannel/flannel-cni-plugin:v1.1.2
175+
image: easzlab.io.local:5000/flannel/flannel-cni-plugin:v1.2.0
176176
name: install-cni-plugin
177177
volumeMounts:
178178
- mountPath: /opt/cni/bin

0 commit comments

Comments
 (0)