[+] 更新镜像源
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 13s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 13s
This commit is contained in:
parent
3c6ce06ce6
commit
2cdf1bf16d
26
init-k3s.sh
26
init-k3s.sh
@ -10,24 +10,30 @@ mkdir /etc/rancher/k3s -p
|
|||||||
cat <<EOF > /etc/rancher/k3s/registries.yaml
|
cat <<EOF > /etc/rancher/k3s/registries.yaml
|
||||||
mirrors:
|
mirrors:
|
||||||
docker.io:
|
docker.io:
|
||||||
|
endpoint:
|
||||||
|
- https://docker.martin98.com/docker
|
||||||
|
registry-1.docker.io:
|
||||||
|
endpoint:
|
||||||
|
- https://docker.martin98.com/docker
|
||||||
registry.k8s.io:
|
registry.k8s.io:
|
||||||
endpoint:
|
endpoint:
|
||||||
- https://docker.martin98.com/v2/docker
|
- https://docker.martin98.com/k8s
|
||||||
https://registry.k8s.io:
|
k8s.gcr.io:
|
||||||
https://k8s.gcr.io:
|
|
||||||
endpoint:
|
endpoint:
|
||||||
- https://docker.martin98.com/v2/k8s
|
- https://docker.martin98.com/k8s
|
||||||
https://gcr.io:
|
gcr.io:
|
||||||
endpoint:
|
endpoint:
|
||||||
- https://docker.martin98.com/v2/gcr
|
- https://docker.martin98.com/gcr
|
||||||
https://ghcr.io:
|
ghcr.io:
|
||||||
endpoint:
|
endpoint:
|
||||||
- https://docker.martin98.com/v2/ghcr
|
- https://docker.martin98.com/ghcr
|
||||||
https://quay.io:
|
quay.io:
|
||||||
endpoint:
|
endpoint:
|
||||||
- https://docker.martin98.com/v2/quay
|
- https://docker.martin98.com/quay
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# systemctl restart k3s
|
||||||
|
|
||||||
# 安装 keepalived
|
# 安装 keepalived
|
||||||
apt install -y keepalived
|
apt install -y keepalived
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user