Kubernetes offline installation - pause container

2019-08-31 11:00发布

问题:

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