feat(k3s): 版本升级&国内加速镜像优化
这个提交包含在:
@@ -6,8 +6,7 @@ spec:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: node-role.kubernetes.io/master
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: In
|
||||
values:
|
||||
- "true"
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ mkdir -p /etc/rancher/k3s && vim /etc/rancher/k3s/config.yaml
|
||||
### 安装k3s 此处注意安装类型 是server 还是 agent
|
||||
```shell
|
||||
curl -sfL https://get.k3s.io | \
|
||||
INSTALL_K3S_VERSION=v1.32.1+k3s1 \
|
||||
INSTALL_K3S_VERSION=v1.32.2+k3s1 \
|
||||
INSTALL_K3S_MIRROR=cn \
|
||||
sh -s - agent
|
||||
```
|
||||
|
||||
+2
-1
@@ -1,7 +1,8 @@
|
||||
mirrors:
|
||||
"docker.io":
|
||||
endpoint:
|
||||
- "proxy.1panel.live"
|
||||
- "docker.m.daocloud.io"
|
||||
- "ccr.ccs.tencentyun.com"
|
||||
"ghcr.io":
|
||||
endpoint:
|
||||
- "ghcr.m.daocloud.io"
|
||||
|
||||
在新议题中引用
屏蔽一个用户