From 7c2e6b7c73a6065f02b427df91c41662c3c37918 Mon Sep 17 00:00:00 2001 From: Sergiusz Urbaniak Date: Thu, 8 Sep 2016 13:34:41 +0200 Subject: [PATCH] cni: configure default network --- .../rootfs-overlay/etc/cni/net.d/k8s.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 board/coreos/minikube/rootfs-overlay/etc/cni/net.d/k8s.conf diff --git a/board/coreos/minikube/rootfs-overlay/etc/cni/net.d/k8s.conf b/board/coreos/minikube/rootfs-overlay/etc/cni/net.d/k8s.conf new file mode 100644 index 000000000000..7b5404e53bf2 --- /dev/null +++ b/board/coreos/minikube/rootfs-overlay/etc/cni/net.d/k8s.conf @@ -0,0 +1,19 @@ +{ + "name": "rkt.kubernetes.io", + "type": "bridge", + "bridge": "mybridge", + "mtu": 1460, + "addIf": "true", + "isGateway": true, + "ipMasq": true, + "ipam": { + "type": "host-local", + "subnet": "10.1.0.0/16", + "gateway": "10.1.0.1", + "routes": [ + { + "dst": "0.0.0.0/0" + } + ] + } +}