This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.8.3.7.6. 修改 install-config.yaml 文件,使用断开连接的 registry(可选)
在 provisioner 节点上,install-config.yaml
文件应该使用从 pull-secret-update.txt
文件中新创建的 pull-secret。install-config.yaml
文件还必须包含断开连接的 registry 节点的证书和 registry 信息。
流程
将断开连接的 registry 节点的证书添加到
install-config.yaml
文件中。证书应该跟着"additionalTrustBundle: |"
行,并带有正确的缩进(通常是两个空格)。echo "additionalTrustBundle: |" >> install-config.yaml sed -e 's/^/ /' /opt/registry/certs/domain.crt >> install-config.yaml
$ echo "additionalTrustBundle: |" >> install-config.yaml $ sed -e 's/^/ /' /opt/registry/certs/domain.crt >> install-config.yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 将 registry 的镜像信息添加到
install-config.yaml
文件中。Copy to Clipboard Copied! Toggle word wrap Toggle overflow 注意将
registry.example.com
替换为 registry 的完全限定域名。