Kubernetes offline installation - pause container

2019-08-31 10:52发布

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?

标签: kubernetes
1条回答
爷的心禁止访问
2楼-- · 2019-08-31 11:34

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).

查看更多
登录 后发表回答