Skip to content

Instantly share code, notes, and snippets.

@darkedges
Last active April 22, 2025 12:37
Show Gist options
  • Select an option

  • Save darkedges/90a5590a34e37dfb8745e733b5817fa0 to your computer and use it in GitHub Desktop.

Select an option

Save darkedges/90a5590a34e37dfb8745e733b5817fa0 to your computer and use it in GitHub Desktop.
WSL2, Kind and Multus
apiVersion: kind.x-k8s.io/v1alpha4
kind: Cluster
nodes:
- role: control-plane
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: ipvlan-def
spec:
config: '{
"cniVersion": "0.3.1",
"type": "ipvlan",
"master": "eth0",
"mode": "l2",
"ipam": {
"type": "host-local",
"subnet": "192.168.200.0/24",
"rangeStart": "192.168.200.201",
"rangeEnd": "192.168.200.205",
"gateway": "192.168.200.1"
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment