I am try to create jx cluster locally with minikube. I have install minikube successfully, but i always failure by helm repo connection or some unclear reason.
by the way, I am in China
jx install --provider='minikube'
jx create cluster successfully
The output of jx version is:
NAME VERSION
jx 2.0.324
Kubernetes cluster v1.12.6-aliyun.1
kubectl v1.15.0
helm client v2.14.1+g5270352
helm server v2.11.0+g2e55dbe
git git version 2.21.0.windows.1
Operating System Windows 10 Pro 1903 build 18362
>
FATAL: helm init failed: after 3 attempts, last error: failed to run 'helm repo add jenkins-x https://storage.googleapis.com/chartmuseum.jenkins-x.io' command in directory '', output: 'Error: Looks like "https://storage.googleapis.com/chartmuseum.jenkins-x.io" is not a valid chart repository or cannot be reached: Get https://storage.googleapis.com/chartmuseum.jenkins-x.io/index.yaml: dial tcp 172.217.24.16:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.'
Create with command minikube start
Operating System Windows 10 Pro 1903 build 18362
can you run this command on your laptop:
https://storage.googleapis.com/chartmuseum.jenkins-x.io/index.yaml
might also be worth trying inside your minikube VM. Might be firewall / network issues?
@jstrachan You are right!! It's real cause by network mistake. By the way ,is there any helm repo for china? Or, how can i customize one repo?
I meet this problem , too.
How to resolve it.
@cheerego
这个问题的原因是因为有些镜像在海外服务器上,所以国内如果不借助工具的话,就无法下载所需镜像。
解决办法有两种思路
我用的是第二种方式:
因为每个人的网络情况可能不一样,如果你发现某个pod 的状态是镜像获取失败 。查看这个pod所需镜像,然后在海外服务器上下载并传输到国内,再重新tag即可
我所知道就这么多。 期待有一天有个代理地址可以让我们跳过GFW
@Booooooger
嗯,镜像问题我是用 gcr.azk8s.cn 解决的。
但是helm的jenkins-x源是有问题的,这个不知道怎么解决,服务器翻墙很难受
@cheerego 可以分享下 gcr.azk8s.cn解决步骤嘛
@Booooooger
docker pull gcr.azk8s.cn/jenkinsxio/prow/crier:v20190510-3f2c8d788
然后打tag
@cheerego tag 怎么打 😂
gcr.io/jenkinsxio/prow/crier:v20190510-3f2c8d788 这个镜像我们是下载不下来的。
然后gcr.azk8s.cn这个源是gcr.io 的镜像。
docker pull gcr.azk8s.cn/jenkinsxio/prow/crier:v20190510-3f2c8d788
docker tag gcr.azk8s.cn/jenkinsxio/prow/crier:v20190510-3f2c8d788 gcr.io/jenkinsxio/prow/crier:v20190510-3f2c8d788
/area jenkins
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://jenkins-x.io/community.
/close
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://jenkins-x.io/community.
/close
@jenkins-x-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue with/reopen.
Mark the issue as fresh with/remove-lifecycle rotten.
Provide feedback via https://jenkins-x.io/community.
/close
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 jenkins-x/lighthouse repository.
Most helpful comment
gcr.io/jenkinsxio/prow/crier:v20190510-3f2c8d788这个镜像我们是下载不下来的。然后
gcr.azk8s.cn这个源是gcr.io 的镜像。