update component

pull/1226/head
gjmzj 2022-12-20 09:23:15 +08:00
parent 93baa7cfaf
commit ab5cb97412
1 changed files with 10 additions and 10 deletions

20
ezdown
View File

@ -14,21 +14,21 @@ set -o pipefail
# default settings, can be overridden by cmd line options, see usage
DOCKER_VER=20.10.18
KUBEASZ_VER=3.4.2
K8S_BIN_VER=v1.25.4
EXT_BIN_VER=1.6.2
KUBEASZ_VER=3.5.0
K8S_BIN_VER=v1.26.0
EXT_BIN_VER=1.6.3
SYS_PKG_VER=0.5.2
HARBOR_VER=v2.1.3
REGISTRY_MIRROR=CN
# images downloaded by default(with '-D')
calicoVer=v3.23.3
dnsNodeCacheVer=1.22.8
calicoVer=v3.23.5
dnsNodeCacheVer=1.22.13
corednsVer=1.9.3
dashboardVer=v2.6.1
dashboardVer=v2.7.0
dashboardMetricsScraperVer=v1.0.8
metricsVer=v0.5.2
pauseVer=3.8
pauseVer=3.9
# images not downloaded by default(only download with '-X')
ciliumVer=1.12.2
@ -501,8 +501,8 @@ function download_all() {
}
function start_local_registry() {
docker ps -a --format="{{ .Names }}"|grep registry > /dev/null 2>&1 && \
{ logger warn "registry is already running"; return 0; }
docker ps -a --format="{{ .Names }}"|grep local_registry > /dev/null 2>&1 && \
{ logger warn "local_registry is already running"; return 0; }
if [[ ! -f "$imageDir/registry-2.tar" ]];then
docker pull "registry:2" && \
@ -513,7 +513,7 @@ function start_local_registry() {
docker load -i "$imageDir/registry-2.tar" > /dev/null
mkdir -p /opt/kube/registry
docker run -d \
--name registry \
--name local_registry \
--network host \
--restart always \
--volume /opt/kube/registry:/var/lib/registry \