File tree 1 file changed +19
-0
lines changed
ping-tai-gong-cheng-xun-lian-ying-yi-qi/k3s
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -29,3 +29,22 @@ curl -sfL https://get.k3s.io | K3S_URL=https://myserver:6443 K3S_TOKEN=mynodetok
29
29
30
30
<figure ><img src =" ../../.gitbook/assets/1735978172814.png " alt =" " ><figcaption ></figcaption ></figure >
31
31
32
+ 安装 k3s 的最低硬件要求如下:
33
+
34
+ | Node 节点 | CPU | RAM |
35
+ | ----------- | --- | ------- |
36
+ | Server 服务器 | 2核 | 2 GB |
37
+ | Agent 代理 | 1 核 | 512 MB |
38
+
39
+ K3s 服务器需要端口 6443 才能被所有节点访问。安装不同的网络插件会要求某些端口开放,如下:
40
+
41
+ | Protocol | Port | Source | Destination | 描述 |
42
+ | ---------- | --------- | ----------- | ------------ | ----------------------------------------------------------------------- |
43
+ | TCP | 2379-2380 | Servers 服 | Servers | <p >Required only for HA with embedded etcd<br >仅对于具有嵌入式 etcd 的 HA 需要</p > |
44
+ | TCP | 6443 | Agents | Servers | <p ><br >K3s Supervisor 和 Kubernetes API Server</p > |
45
+ | UDP | 8472 | All nodes | All nodes | <p ><br >仅 Flannel VXLAN 需要</p > |
46
+ | TCP | 10250 | All nodes | All nodes | Kubelet metrics |
47
+ | UDP | 51820 | All nodes | All nodes | <p ><br >仅适用于具有 IPv4 的 Flannel Wireguard</p > |
48
+ | UDP | 51821 | All nodes | All nodes | <p ><br >仅适用于具有 IPv6 的 Flannel Wireguard</p > |
49
+ | TCP | 5001 | All nodes | All nodes | <p ><br >仅嵌入式分布式注册表 (Spegel) 需要</p > |
50
+ | TCP | 6443 | All nodes | All nodes | <p ><br >仅嵌入式分布式注册表 (Spegel) 需要</p > |
You can’t perform that action at this time.
0 commit comments