kind (Kubernetes in Docker) is great for local dev and CI. The chart’stest-chart.sh script in this repo uses kind.
Cluster
The repo ships a kind-config.yaml:
1 | kind create cluster --config kind-config.yaml --name npa-test |
That mounts /dev/net/tun into the kind node container so the
Publisher can reach the host’s tun device. Without this mount, the
Publisher fails on startup.
Recommended values
1 | workload: |
Quirks
- The host Docker daemon must have
/dev/net/tunaccessible — on
Docker Desktop (Mac/Windows) this is not guaranteed; prefer Linux. - Resource limits in the default
values.yamlare sized for production.
For kind on a laptop, halve them. - kind nodes are ephemeral —
kind delete clusterwipes the Publisher.
Pair withpersistence.enabled: falsefor clean teardown.