Skip to content

Commit 6e350f3

Browse files
committed
get k8s manifest from ghcr.io [sync git]
Signed-off-by: Kang Huaishuai <[email protected]>
1 parent 558b8ee commit 6e350f3

File tree

5 files changed

+1
-13
lines changed

5 files changed

+1
-13
lines changed

docs/mirror.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
> 有时部分镜像可能不可用,请尝试另一个即可。
66
77
* `https://registry-1.docker.io`
8-
* `https://mirror.baidubce.com`
98

109
## k8s.gcr.io
1110

kubernetes/.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ RUNC_VERSION=1.3.0
3939
# => docker.cnb.cool/khs1994-docker/lwpm/kubernetes-{server,node}
4040

4141
# registry-1.docker.io
42-
# mirror.baidubce.com
4342
# gcr.mirror/google-containers | k8s.gcr.io
4443
# gcr.mirror/khs1994 | k8s.gcr.io
4544
# registry.cn-hangzhou.aliyuncs.com/google_containers | k8s.gcr.io

kubernetes/coreos/etc/containers/registries.conf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ prefix = "docker.io"
122122
# blocked = false
123123
location = "docker.io"
124124

125-
[[registry.mirror]]
126-
location = "mirror.baidubce.com"
127-
128125
[[registry.mirror]]
129126
location = "registry-1.docker.io"
130127

@@ -145,9 +142,6 @@ location = "registry-1.docker.io/library"
145142
[[registry.mirror]]
146143
location = "ccr.ccs.tencentyun.com/library-mirror"
147144

148-
[[registry.mirror]]
149-
location = "mirror.baidubce.com/library"
150-
151145
[[registry.mirror]]
152146
location = "registry-1.docker.io/library"
153147

@@ -168,9 +162,6 @@ location = "registry-1.docker.io/khs1994"
168162
[[registry.mirror]]
169163
location = "ccr.ccs.tencentyun.com/khs1994"
170164

171-
[[registry.mirror]]
172-
location = "mirror.baidubce.com/khs1994"
173-
174165
[[registry.mirror]]
175166
location = "registry-1.docker.io/khs1994"
176167

kubernetes/lnmp-k8s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ _containerd_cri_config(){
10651065
fi
10661066

10671067
if [ -n "$GITHUB_ACTIONS" ];then
1068-
$(_sudo) mkdir $CONTAINERD_CONF_ROOT/certs.d/docker.io
1068+
$(_sudo) mkdir -p $CONTAINERD_CONF_ROOT/certs.d/docker.io
10691069

10701070
cat <<EOF | $(_sudo) tee $CONTAINERD_CONF_ROOT/certs.d/docker.io/hosts.toml
10711071
server = "https://docker.io"

windows/sdk/dockerhub/rootfs.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ rootfs(){
1111
local dest=$5 # dest 下载到哪里
1212
local layersIndex=${6:-0}
1313

14-
registry="registry-1.docker.io"
1514
registry="registry-1.docker.io"
1615
# registry="mirror.baidubce.com"
1716

0 commit comments

Comments
 (0)