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