-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
it's really really really hard run kubespray in china! #6207
Comments
and the offline docs not clearly, i can't get any help from it i want a step by step offline docs. |
@EppO Maybe can give you some hint on a full offline installation |
you're mixing 2 kubernetes versions so checksums don't match:
I guess you're setting the version in the kubeadm_download_url. In order to avoid that checksum mismatch, you should set it that way:
and use the kube_version of your inventory. |
@floryut I pretty much followed all the 12 steps mentioned in the guide, i hope it helps you. |
You mean @willzhang |
This guide is very detailed but it's not intended to be used for an offline installation:
For now the instructions for offline instructions are pretty succinct: https://github.com/kubernetes-sigs/kubespray/blob/master/docs/downloads.md#offline-environment If you're struggling with these instructions, let us know we'll improve the docs. |
you are right, the version is wrong, i have change it and it download success. and there have no kubeadm kubelet kubectl binary mirror in china, i must download and upload it to some place like https://kube-binary.oss-cn-shenzhen.aliyuncs.com/V1.18.3/kubeadm, a object storage of aliyun.it's so troublesome i can install them with yum install , there have yum repo mirror in china ,so can kubespray support yum install kubelet kubeadm kubectl ?
|
other problems:
can kubespray support a comand like
long long ago ,in china ,we can use gcr.azk8s.cn as replice of gcr.io and k8s.gcr.io ,But now it's not available. Microsoft has canceled it。 so it's really hard to find a suitable registry mirror. so tell me what image i need , i can pull them use other way, and save them to my local harbor registry first. 2.github files
|
No currently kubespray doesn't support this mode of installation for kubelet/kubeadm/kubectl
First, the complete list of container images you need depends on your setup (network plugin, addons, ...), so look at https://github.com/kubernetes-sigs/kubespray/blob/master/roles/download/defaults/main.yml and try to determine which one you'll use.
I would suggest to put them at a similar spot than kubeadm/kubectl/kubelet if that's faster for you |
https://github.com/DancingFFFire/kubespray-offline-china I write it today。maybe can help you。 |
thanks, But it's still not easy,hope some day kubespray have a solution。 |
We improved the docs regarding offline environments: https://github.com/kubernetes-sigs/kubespray/blob/master/docs/offline-environment.md, please have a look and let us know if that helps. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
i have change many things ,but i still failed when change the kubelet kubectl kubeadm url, it need check sum, i really have no idea ,so i must give up, it's too hard !
修改k8s版本及镜像仓库,使用阿里云镜像仓库
修改docker镜像加速,使用阿里云镜像加速
修改docker-ce yum源,使用阿里云yum源安装docker-ce
修改kube download url
The text was updated successfully, but these errors were encountered: