Bridge attempt
this was my attempt to get bridge networking working. Couldn't figure out DNS
@@ -73,18 +73,24 @@ data:
"logLevel": "debug",
"delegates": [
{
- "name": "defaultnet",
+ "cniVersion": "0.3.0",
"type": "bridge",
- "plugin": "bridge",
+ "isDefaultGateway": true,
"bridge": "default-br0",
- "forceAddress": false,
- "hairpinMode": false,
- "delegate": {
- "hairpinMode": false
- },
"ipam": {
"type": "host-local",
- "subnet": 192.168.0.0/16
+ "subnet": "192.168.1.0/24",
+ "rangeStart": "192.168.1.200",
+ "rangeEnd": "192.168.1.216",
+ "routes": [
+ { "dst": "0.0.0.0/0" }
+ ],
+ "gateway": "192.168.1.1"
+ },
+ "dns": {
+ "nameservers": [
+ "10.96.0.10"
+ ]
}
}
],
@@ -119,8 +125,8 @@ spec:
# TODO(mierdin): Update to version after v3.0 when it comes out
# or use v3.0 once the commits have been updated to include that fix
# https://github.com/intel/multus-cni/issues/122
- # image: nfvpe/multus:v3.0
- image: nfvpe/multus:latest
+ image: nfvpe/multus:v3.1
+ # image: nfvpe/multus:latest
imagePullPolicy: Always
resources:
requests:
@@ -146,8 +152,7 @@ spec:
path: /etc/cni/net.d
- name: cnibin
hostPath:
- # path: /opt/cni/bin
- path: /home/kubernetes/bin # for GKE
+ path: /opt/cni/bin
- name: multus-cfg
configMap:
name: multus-cni-config
