Skip to content

Instantly share code, notes, and snippets.

@chadmcrowell
Created April 7, 2025 17:50
Show Gist options
  • Save chadmcrowell/8c63ddb3747f2a69f16ec075c8bc1fe3 to your computer and use it in GitHub Desktop.
Save chadmcrowell/8c63ddb3747f2a69f16ec075c8bc1fe3 to your computer and use it in GitHub Desktop.
kindnet CNI configuration
{
"cniVersion": "0.3.1",
"name": "kindnet",
"plugins": [
{
"type": "ptp",
"ipMasq": false,
"ipam": {
"type": "host-local",
"dataDir": "/run/cni-ipam-state",
"routes": [
{ "dst": "0.0.0.0/0" }
],
"ranges": [
[ { "subnet": "10.244.0.0/24" } ]
]
}
,
"mtu": 65535
},
{
"type": "portmap",
"capabilities": {
"portMappings": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment