Closed BUPT-wxq closed 11 months ago
Failed to pull image "registry.k8s.io/etcd:3.5.3-0": rpc error: code = Unknown desc = failed to pull and unpack image "registry.k8s.io/etcd:3.5.3-0": failed to resolve reference "registry.k8s.io/etcd:3.5.3-0": failed to do request: Head "https://asia-east1-docker.pkg.dev/v2/k8s-artifacts-prod/images/etcd/manifests/3.5.3-0": net/http: TLS handshake timeou
you may need provide more information about wait the etcd ready.about the pull image problem, try more times or use a proxy for that
It's because your host can't pull image from registry.k8s.io. This document is helpful. @BUPT-wxq
sed -i'' -e "s#registry.k8s.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/karmada-etcd.yaml
sed -i'' -e "s#registry.k8s.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/karmada-apiserver.yaml
sed -i'' -e "s#registry.k8s.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/kube-controller-manager.yaml
It's because your host can't pull image from registry.k8s.io. This document is helpful. @BUPT-wxq
sed -i'' -e "s#registry.k8s.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/karmada-etcd.yaml sed -i'' -e "s#registry.k8s.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/karmada-apiserver.yaml sed -i'' -e "s#registry.k8s.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/kube-controller-manager.yaml
thanks,it works out.
Thanks @Vacant2333 @yike21 for your help. /remove-kind bug /kind question /close
@RainbowMango: Closing this issue.
What happened: I use local-up-karmada.sh to create mutil clusters. I get this error. wait the etcd ready... error: no matching resources found kubectl --context=karmada-host wait --for=condition=Ready --timeout=30s pods -l app=etcd -n karmada-system failed, retrying(1 times) What you expected to happen what should i do to slove this problem How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment: mac os m2
kubectl-karmada version
orkarmadactl version
):