且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Kubernetes离线安装-暂停容器

更新时间:2022-11-30 16:00:55

kubelet 具有--pod-infra-container-image=标志,可用于更改使用哪个基础容器.如果您构建自己的暂停容器(从此处开始,我会猜),然后将其上传到您的私人注册表中(尽管我没有尝试过).

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