I’m new to rke, i want to deploy a kubernetes cluster in a air-gapped environment. For test ,i use rke 1.3.7 with rancher/hyperkube:v1.21.9-rancher1 to deploy a single node cluster, i have push all images listed in cluster.yml to private registry.
When i run rke up, everything is ok before [addons] stage, i have no custom addon settings in cluster.yml, just use default values. Such as ,i set network plugin(flannel, calico or any other), it will fail with:
Failed to get job complete status for job rke-network-plugin-deploy-job in namespace kube-system.
But, when i enable the target machine which will deploy k8s can connect to Internet, it can up k8s cluster success.
Any suggestions as to what is causing this and how to fix it?
Thanks !