Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Flannel config:
- cni-conf.json: |
- {
- "name": "cbr0",
- "plugins": [
- {
- "type": "flannel",
- "delegate": {
- "hairpinMode": true,
- "isDefaultGateway": true
- }
- },
- {
- "type": "portmap",
- "capabilities": {
- "portMappings": true
- }
- }
- ]
- }
- net-conf.json: |
- {
- "Network": "10.244.0.0/16",
- "Backend": {
- "Type": "vxlan"
- }
- }
- Flannel log:
- 15:35:59 main.go:475] Determining IP address of default interface
- 15:35:59 main.go:488] Using interface with name eth0 and address 206.189.96.121
- 15:35:59 main.go:505] Defaulting external address to interface address (206.189.96.121)
- 15:35:59 kube.go:131] Waiting 10m0s for node controller to sync
- 15:35:59 kube.go:294] Starting kube subnet manager
- 15:36:00 kube.go:138] Node controller sync successful
- 15:36:00 main.go:235] Created subnet manager: Kubernetes Subnet Manager - worker3
- 15:36:00 main.go:238] Installing signal handlers
- 15:36:00 main.go:353] Found network config - Backend type: vxlan
- 15:36:00 vxlan.go:120] VXLAN config: VNI=1 Port=0 GBP=false DirectRouting=false
- 15:36:00 main.go:300] Wrote subnet file to /run/flannel/subnet.env
- 15:36:00 main.go:304] Running backend.
- 15:36:00 main.go:322] Waiting for all goroutines to exit
- 15:36:00 vxlan_network.go:60] watching for new subnet leases
- 15:36:00 iptables.go:115] Some iptables rules are missing; deleting and recreating rules
- 15:36:00 iptables.go:137] Deleting iptables rule: -s 10.244.0.0/16 -d 10.244.0.0/16 -j RETURN
- 15:36:00 iptables.go:115] Some iptables rules are missing; deleting and recreating rules
- 15:36:00 iptables.go:137] Deleting iptables rule: -s 10.244.0.0/16 -j ACCEPT
- 15:36:00 iptables.go:137] Deleting iptables rule: -s 10.244.0.0/16 ! -d 224.0.0.0/4 -j MASQUERADE
- 15:36:00 iptables.go:137] Deleting iptables rule: ! -s 10.244.0.0/16 -d 10.244.2.0/24 -j RETURN
- 15:36:00 iptables.go:137] Deleting iptables rule: ! -s 10.244.0.0/16 -d 10.244.0.0/16 -j MASQUERADE
- 15:36:00 iptables.go:125] Adding iptables rule: -s 10.244.0.0/16 -d 10.244.0.0/16 -j RETURN
- 15:36:00 iptables.go:125] Adding iptables rule: -s 10.244.0.0/16 ! -d 224.0.0.0/4 -j MASQUERADE
- 15:36:00 iptables.go:125] Adding iptables rule: ! -s 10.244.0.0/16 -d 10.244.2.0/24 -j RETURN
- 15:36:00 iptables.go:125] Adding iptables rule: ! -s 10.244.0.0/16 -d 10.244.0.0/16 -j MASQUERADE
- 15:36:01 iptables.go:137] Deleting iptables rule: -d 10.244.0.0/16 -j ACCEPT
- 15:36:01 iptables.go:125] Adding iptables rule: -s 10.244.0.0/16 -j ACCEPT
- 15:36:01 iptables.go:125] Adding iptables rule: -d 10.244.0.0/16 -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement