<p>I'm writing a program that can deploy to Kubernetes.
The main problem that I'm facing is &quot;Offline mode&quot; when I disconnect the computer from the router Kubernetes stops working because it needs the default route in the network interfaces.</p>
<p>Does anyone know how to set up Kubernetes so it will work without the default network interface?</p>
<p>I tried Minikube and MicroK8S without success.</p>

Nejc
<p>Few Kubernetes installers support air-gapped installation and doing it yourself is way out of scope for a new user. If this is for work, you'll want to talk to some of the major commercial distros (OpenShift I'm pretty sure has an air-gap installer, probably also Tanzu) but for new-user home use you should consider this not an option.</p>
