Does anyone know if kubernetes supports an offline installation such as a disconnected network? I downloaded all of the pieces, installed a two node cluster, and when I attempted to run an image from a private registry the "kubectl get events" command displayed that the container could not be started since it could not download gcr.io/google_containers/pause:0.8.0. This makes complete sense given the environment but is it possible to configure kubernetes to use a different pause container?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The kubelet has a --pod-infra-container-image=
flag that you can use to change which infra container is used. If you build your own pause container (starting from here, I'd guess), and upload to your private registry, it should work (although I've not tried it).
标签:
kubernetes