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

中国地区安装优化 #2242

Closed
LIANGQI0811 opened this issue May 13, 2024 · 6 comments
Closed

中国地区安装优化 #2242

LIANGQI0811 opened this issue May 13, 2024 · 6 comments

Comments

@LIANGQI0811
Copy link

Your current KubeKey version

centos 7

Describe this feature

我在本机安装体验了一下,感觉由于大部分软件包都是在国外的服务器上,整个安装时间约12个小时,导致安装体验非常差。
能否在kk的命令行添加一个参数,这样从头到尾我都能直接从中国拉包

Describe the solution you'd like

./kk --registry=https://registry.npmmirror.com
这样就可以指定仓库地址,可以体验快速的安装

Additional information

No response

@liangzai006
Copy link
Collaborator

国内地区安装,可以执行 export KKZONE=cn 在进行安装

@LIANGQI0811
Copy link
Author

已经用了这个命令,依旧装了12个小时,那天又死活配置不了vpn

@LinuxSuRen
Copy link
Member

./kk --registry=https://registry.npmmirror.com/

安装包不是 NPM 包,您提供的这种方式是没法解决的。如有更具体的错误信息,欢迎提供。

@LIANGQI0811
Copy link
Author

我知道不是npm的包,我只是给你举个例子。无论何种形式的包,它都有国内的镜像。你们能否把所有涉及到的包全部上传至国内镜像网站,另外给kk提供命令行切换镜像服务器地址的能力

@LinuxSuRen
Copy link
Member

安装过程涉及到不同操作系统,所有安装包全都放在国内,能想到的工作量还是非常庞大的。感兴趣的话,可以提交 PR 优化下。

@calvinyv
Copy link
Member

calvinyv commented Jun 3, 2024

我知道不是npm的包,我只是给你举个例子。无论何种形式的包,它都有国内的镜像。你们能否把所有涉及到的包全部上传至国内镜像网站,另外给kk提供命令行切换镜像服务器地址的能力
Here is the translation of the provided text:


Refer to these links:

Create your own installation package that meets your requirements. The goal of kk is to help users deploy diverse Kubernetes environments by enriching its flexibility. However, it does not intend to manage dependencies for multiple versions of various operating systems. Therefore, it offers the M2A (manifest to artifact) feature, allowing users to customize installation packages based on their environments.

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

4 participants