Last active
February 3, 2017 22:34
-
-
Save danehans/27d738133bbe11333b85b3cfc9ae0dd3 to your computer and use it in GitHub Desktop.
k8s cni ipvlan
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat /etc/kubernetes/cni/net.d/10-ipvlan.conf | |
| { | |
| "cniVersion": "0.2.0", | |
| "name": "ipvlan-net", | |
| "type": "ipvlan", | |
| "master": "mgt", | |
| "ipam": { | |
| "type": "host-local", | |
| "subnet": "10.30.118.136/29", | |
| "rangeStart": "10.30.118.141", | |
| "rangeEnd": "10.30.118.142", | |
| "gateway": "10.30.118.137" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat /etc/kubernetes/cni/net.d/99-loopback.conf | |
| { | |
| "cniVersion": "0.2.0", | |
| "type": "loopback" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| error generating hw addr (mac) for the pod/container: | |
| 11s 2s 6 {kubelet master1.localdomain} Warning FailedSync Error syncing pod, skipping: failed to "SetupNetwork" for "web-dd46r_default" with SetupNetworkError: "Failed to setup network for pod \"web-dd46r_default(e60ed2b2-ea5f-11e6-a681-525400225b53)\" using network plugins \"cni\": failed to generate hardware addr: GenerateHardwareAddr4 only supports valid IPv4 address as input; Skipping pod" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment