TIL Kubectl needs Local Network Permission on Mac

If you’re on a mac, and you start seeing no route to host when using certain CLI applications (e.g. kubectl), try giving your terminal local network access.

Local Network Access

Note: This also applies to Iterm, Ghostty, and I’m sure other terminals that aren’t Terminal.app.