参考链接
https://www.jianshu.com/p/703c3ad4991f
cat /data/rke/rke.yaml
nodes:
- address: 192.1.3.107
user: root
role: [controlplane, worker, etcd]
port: 22
- address: 192.1.3.108
user: root
role: [controlplane, worker, etcd]
port: 22
- address: 192.1.3.109
user: root
role: [controlplane, worker, etcd]
port: 22
services:
etcd:
snapshot: true
creation: 6h
retention: 72h
kubelet:
extra_args:
enforce-node-allocatable: 'pods'
system-reserved: 'cpu=4,memory=2Gi'
ingress:
provider: nginx
options:
use-forwarded-headers: “true”
ded-headers: “true”