https://rancher.com/ logo
Title
e

echoing-city-69785

05/24/2023, 6:14 PM
Hi All, Getting this error after creating cluster. Please help KUBECONFIG=~/.kube/config kubectl cluster-info E0524 20:51:06.452182 29254 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request E0524 20:51:06.455395 29254 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request E0524 20:51:06.457168 29254 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request E0524 20:51:06.458029 29254 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request Kubernetes control plane is running at https://127.0.0.1:6443 :~/charts/tinkerbell$ trusted_proxies=$(kubectl get nodes -o jsonpath='{.items[*].spec.podCIDR}' | tr ' ' ',') E0524 23:41:02.295917 40788 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request E0524 23:41:02.302173 40788 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request E0524 23:41:02.303085 40788 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request E0524 23:41:02.305462 40788 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
c

creamy-pencil-82913

05/24/2023, 6:45 PM
thats normal until metrics-server starts. are you seeing any actual problems?
e

echoing-city-69785

05/24/2023, 7:09 PM
Tried this command helm install stack-release stack/ --create-namespace --namespace tink-system --wait --set "boots.trustedProxies=${trusted_proxies}" --set "hegel.trustedProxies=${trusted_proxies}" E0525 00:33:52.718648 44473 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request E0525 00:33:52.719422 44473 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request Error: INSTALLATION FAILED: context deadline exceeded
Failed to create pod sandbox: rpc error: code = DeadlineExceeded desc = failed to get sandbox image "rancher/mirrored-pause:3.6": failed to pull image "rancher/mirrored-pause:3.6": failed to pull and unpack image "docker.io/rancher/mirrored-pause:3.6": failed to resolve reference "docker.io/rancher/mirrored-pause:3.6": failed to do request: Head "https://registry-1.docker.io/v2/rancher/mirrored-pause/manifests/3.6": dial tcp 3.213.34.171:443: i/o timeout
c

creamy-pencil-82913

05/24/2023, 8:32 PM
are you blocked from accessing docker hub?
e

echoing-city-69785

05/25/2023, 4:02 AM
On host I am able to pull rancher/mirrored-pause:3.6. but it is giving error in k3d
@creamy-pencil-82913 Issue is resolved. As I am running behind corporate proxy, i have added proxy while creating cluster k3d cluster create tkcluster --network host --no-lb --k3s-arg "--disable=traefik,servicelb" --k3s-arg "--kube-apiserver-arg=feature-gates=MixedProtocolLBService=true" --host-pid-mode --kubeconfig-update-default --env "HTTP_PROXY=http://proxy-zzz.xxx.com:911" --env "HTTPS_PROXY=http://proxy-zzz.xxx.com:922" --env "NO_PROXY=localhost,.xxx.com,xxx.com,*.xxx.com,192.168.0.0/16,172.16.0.0/12,127.0.0.0/8,10.0.0.0/8,/var/run/docker.sock" but wget not working inside the container wget -O /tmp/hook1.tar.gz https://github.com/tinkerbell/hook/releases/download/v0.7.0/hook_aarch64.tar.gz in values.yaml I have the download link but it is not downloading tink ssystem is up and running but