nforgeio / neonKUBE

Public NeonKUBE Kubernetes distribution related projects
https://neonkube.io
Apache License 2.0
76 stars 13 forks source link

Air-gapped clusters and Kubernetes container images #1881

Open jefflill opened 4 months ago

jefflill commented 4 months ago

I just noticed that we host all of the cluster container images except for Kubernetes images in Harbor. We use kubeadm init to install the Kubernetes images into podman/CRI-O while building the node images, so air-gapped clusters will deploy and start. There are some problems with this though:

  1. These images aren't included in the cluster manifest, so it's possible for these images to be evicted from nodes.
  2. If one of these images does get evicted future pulls will fail for air-gapped clusters.

This will requires some work:

  1. Add the Kubernetes image SHA256 hashes to the cluster manifest
  2. Rename the Kubernetes images in podman.
  3. Modify the image references in the static pod manifests deployed by kubeadm.
  4. Modify the code syncing images to Harbor?

Not a high priority right now.