ystyle / ystyle.github.io

my blog
https://ystyle.top
3 stars 2 forks source link

k3s云上master+内网agent的部署方式 #89

Open ystyle opened 4 months ago

ystyle commented 4 months ago

https://ystyle.top/2023/03/11/k3s-master-in-cloud-agent-in-local-intranet/

公网master和内网agent使用wireguard-native通信, 只要在所有节点上安装了wireguard模块,k3s会自动处理所有通信流量 准备 在云端master开放 tcp 6443 端口, udp 51820 端口 先在所有机器上安装wireguard-native, 点击查看安装命令 如果内网有防火墙,需要开放master公网ip的6443和51820端口 在云上安装