add flannel conf and better drain command
This commit is contained in:
@@ -8,7 +8,7 @@ boot_cmd:
|
||||
run_cmd:
|
||||
- "ip addr add 6.0.22.1/24 dev eth0"
|
||||
- "ip link set dev eth0 up"
|
||||
- "ip link set dev eth0 mtu 9000"
|
||||
- "ip link set dev eth0 mtu 9014"
|
||||
k3os:
|
||||
k3s_args:
|
||||
- server
|
||||
@@ -18,4 +18,14 @@ k3os:
|
||||
- "local-storage"
|
||||
ntp_servers:
|
||||
- 0.us.pool.ntp.org
|
||||
- 1.us.pool.ntp.org
|
||||
- 1.us.pool.ntp.org
|
||||
write_files:
|
||||
- encoding: ""
|
||||
content: |-
|
||||
FLANNEL_NETWORK=10.42.0.0/16
|
||||
FLANNEL_SUBNET=10.42.0.1/24
|
||||
FLANNEL_MTU=9014
|
||||
FLANNEL_IPMASQ=true
|
||||
owner: root
|
||||
path: /var/run/flannel/subnet.env
|
||||
permissions: '0655'
|
||||
|
||||
Reference in New Issue
Block a user