1234567891011121314151617181920 |
- ---
- apiVersion: k8s.cni.cncf.io/v1
- kind: NetworkAttachmentDefinition
- metadata:
- name: public-net
- namespace: default
- labels:
- annotations:
- spec:
- config: '{ "cniVersion": "0.3.1", "type": "macvlan", "master": "eth0", "mode": "bridge", "ipam": { "type": "whereabouts", "range": "192.168.20.0/24" } }'
- ---
- apiVersion: k8s.cni.cncf.io/v1
- kind: NetworkAttachmentDefinition
- metadata:
- name: cluster-net
- namespace: default
- labels:
- annotations:
- spec:
- config: '{ "cniVersion": "0.3.1", "type": "macvlan", "master": "eth0", "mode": "bridge", "ipam": { "type": "whereabouts", "range": "192.168.30.0/24" } }'
|