easzlab / kubeasz

使用Ansible脚本安装K8S集群,介绍组件交互原理,方便直接,不受国内网络环境影响
https://github.com/easzlab/kubeasz
10.54k stars 3.53k forks source link

3.6.2版本,无法拉取私服镜像 #1333

Closed fengyonghui closed 10 months ago

fengyonghui commented 12 months ago

通过docker exec -it kubeasz ezctl start-aio创建 通过ezctl add-node default xxx 添加新节点,启动正常 拉取公共仓库镜像创建pod,正常; 拉取私服镜像,宿主机可以docker login 和docker pull,正常 通过私服创建deployment,但是无法进行拉取(secret已添加并使用),报错如下:

Failed to pull image "harbor-001.yh:5000/library/docker-demo:0.0.1-SNAPSHOT": failed to pull and unpack image "harbor-001.yh:5000/library/docker-demo:0.0.1-SNAPSHOT": failed to resolve reference "harbor-001.yh:5000/library/docker-demo:0.0.1-SNAPSHOT": failed to do request: Head "https://harbor-001.yh:5000/v2/library/docker-demo/manifests/0.0.1-SNAPSHOT": x509: certificate signed by unknown authority

请问,哪里还需要额外设置吗? 谢谢!

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.