add flannel conf and better drain command
This commit is contained in:
14
README.md
14
README.md
@@ -1,6 +1,12 @@
|
||||
# Configuration Settings
|
||||
|
||||
## Upgrade
|
||||
## Draining
|
||||
|
||||
```bash
|
||||
kubectl --context mainframe-admin drain mainframe --force --ignore-daemonsets --delete-local-data
|
||||
```
|
||||
|
||||
## Upgrading
|
||||
|
||||
```bash
|
||||
kubectl label node mainframe plan.upgrade.cattle.io/k3os-latest=enabled --overwrite
|
||||
@@ -12,12 +18,6 @@ kubectl label node mainframe plan.upgrade.cattle.io/k3os-latest=enabled --overwr
|
||||
mount UUID='62A28E6D-EDC1-4825-BCD9-1F58601B5E36' /local
|
||||
```
|
||||
|
||||
## Draining
|
||||
|
||||
```bash
|
||||
kubectl drain mainframe --force --ignore-daemonsets --delete-local-data
|
||||
```
|
||||
|
||||
## Network
|
||||
|
||||
https://help.ui.com/hc/en-us/articles/115013212107-UFiber-Enabling-Ubiquiti-SFP-and-SFP-Modules-on-Third-Party-Devices
|
||||
|
||||
@@ -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
|
||||
@@ -19,3 +19,13 @@ k3os:
|
||||
ntp_servers:
|
||||
- 0.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