[+] 更新镜像源
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
|
||||
mirrors:
|
||||
docker.io:
|
||||
endpoint:
|
||||
- https://docker.martin98.com/docker
|
||||
registry-1.docker.io:
|
||||
endpoint:
|
||||
- https://docker.martin98.com/docker
|
||||
registry.k8s.io:
|
||||
endpoint:
|
||||
- https://docker.martin98.com/v2/docker
|
||||
https://registry.k8s.io:
|
||||
https://k8s.gcr.io:
|
||||
- https://docker.martin98.com/k8s
|
||||
k8s.gcr.io:
|
||||
endpoint:
|
||||
- https://docker.martin98.com/v2/k8s
|
||||
https://gcr.io:
|
||||
- https://docker.martin98.com/k8s
|
||||
gcr.io:
|
||||
endpoint:
|
||||
- https://docker.martin98.com/v2/gcr
|
||||
https://ghcr.io:
|
||||
- https://docker.martin98.com/gcr
|
||||
ghcr.io:
|
||||
endpoint:
|
||||
- https://docker.martin98.com/v2/ghcr
|
||||
https://quay.io:
|
||||
- https://docker.martin98.com/ghcr
|
||||
quay.io:
|
||||
endpoint:
|
||||
- https://docker.martin98.com/v2/quay
|
||||
- https://docker.martin98.com/quay
|
||||
EOF
|
||||
|
||||
# systemctl restart k3s
|
||||
|
||||
# 安装 keepalived
|
||||
apt install -y keepalived
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user