Setting up Kubernetes in a closed environment always brings up the same bootstrapping headache: how do you get your core images running when you can’t pull them from public registries? This "chicken-and-egg" problem—where foundational services like the registry or IdP can’t start because their images aren’t available yet—is surprisingly common but rarely documented.
The trick I’ve found useful is straightforward: build your images locally, save them as tarballs, then import them directly into containerd on each node. The catch? The image name you import has to exactly match what your Helm charts expect and what kubelet would later pull from the registry. If those align, your cluster treats side-loaded images and registry pulls identically.
Using immutable tags instead of “latest” avoids stale images during upgrades. It’s a small practice that smooths day-one setups and day-two updates without adding special bootstrap scripts or overlays.
Has anyone else wrestled with this? Curious how you handled image bootstrapping in private clusters.
#Kubernetes #Containerd #DevOps #K8sBootstrap #HelmCharts
