blob: b5a549f19d93d1cc8b9d1f38147040ee364618cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
---
apiVersion: "kubernetes.com/v1"
kind: Network
metadata:
name: macvlan-networkobj
plugin: macvlan
args: '[
{
"master": "{{ macvlan_master }}",
"mode": "vepa",
"ipam": {
"type": "host-local",
"subnet": "{{ macvlan_subnet }}",
"rangeStart": "{{ macvlan_range_start }}",
"rangeEnd": "{{ macvlan_range_end }}",
"routes": [
{ "dst": "0.0.0.0/0" }
],
"gateway": "{{ macvlan_gateway }}"
}
}
]'
|