Install a cluster k8s without internet access¶
1. Cluster setup¶
2. Cluster Network config¶
3. Diable swap¶
4. Configure Firewall Rules¶
Step 1. to 4. do not require internet connection, so follow the doc of 01.Install_with_internet.md
5. Install Containerd run times on all nodes¶
The containerd.io deb package should be in the local deb repo (deb.casd.local). So follow the doc of 01.Install_with_internet.md.
6. Setup k8s apt repository¶
SKIP, no need
7. Install kubelet, kubectl and kubeadm on all nodes¶
The kubelet kubeadm kubectl deb package should be in the local deb repo (deb.casd.local). So follow the doc of 01.Install_with_internet.md.
8. Create Kubernetes Cluster with Kubeadm¶
For running kubeadm without an Internet connection you have to pre-pull the required control-plane images.
You can list and pull the images using the kubeadm config images sub-command:
kubeadm config images list
kubeadm config images pull
All default registry.k8s.io images that kubeadm requires support multiple architectures.