Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harbor 项目支持多级目录,离线安装为什么还要创建项目呢,希望优化 #2272

Open
ygqygq2 opened this issue Jun 5, 2024 · 2 comments

Comments

@ygqygq2
Copy link

ygqygq2 commented Jun 5, 2024

Your current KubeKey version

v3.1.1

Describe this feature

希望后面 kk 离线安装时使用一个 harbor 项目,而不是像现在这样创建一堆项目。

Describe the solution you'd like

比如希望像这样 : dockerhub.kubekey.local/public/kubesphere/kube-apiserver:v1.29.2
使用一个 public 项目即可,后面保留目录,既清晰又方便。

很多情况是已有 harbor,但是创建非常多的项目肯定不利于管理。希望更好的支持这种情况。

Additional information

No response

@pixiake
Copy link
Collaborator

pixiake commented Jun 5, 2024

It's now supported, you just need to set the privateRegistry to dockerhub.kubekey.local/public.

@ygqygq2
Copy link
Author

ygqygq2 commented Jun 5, 2024

离线安装容易报这种多架构镜像 push 问题,本身我看都没有 openebs/provisioner-localpv/manifests/3.3.0-amd64 这些镜像,当然无法推送了。离线真难啊,还是在线爽。

/openebs/provisioner-localpv:3.3.0 multi-arch manifest failed: all entries were skipped due to missing source image references; no manifest list to push
15:13:34 HKT failed: [LocalHost]
error: Pipeline[CreateClusterPipeline] execute failed: Module[CopyImagesToRegistryModule] exec failed: 
failed: [LocalHost] [PushManifest] exec failed after 1 retries: push image dockerhub.kubekey.local/public/openebs/provisioner-localpv:3.3.0 multi-arch manifest failed: all entries were skipped due to missing source image references; no manifest list to push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants