Skip to content

Instantly share code, notes, and snippets.

@chadmcrowell
Created April 7, 2025 17:50
Show Gist options
  • Select an option

  • Save chadmcrowell/8c63ddb3747f2a69f16ec075c8bc1fe3 to your computer and use it in GitHub Desktop.

Select an option

Save chadmcrowell/8c63ddb3747f2a69f16ec075c8bc1fe3 to your computer and use it in GitHub Desktop.

Revisions

  1. chadmcrowell created this gist Apr 7, 2025.
    28 changes: 28 additions & 0 deletions 10-kindnet.conflist.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    {
    "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
    }
    }
    ]
    }