인프런 영문 브랜드 로고
인프런 영문 브랜드 로고
BEST
Programming

/

Devops & Infra

Kubernetes Another Class (Ground) - Sprint 1, 2

⚓ Kubernetes, are you still hesitant? 🙇‍♀️ Just trust and follow me! 🙋‍♂️ I will take your skills to ⭐another level.

(4.9) 412 reviews

1,408 students

Kubernetes
container
infrastructure
Thumbnail

[Notice] Error when installing Kubernetes (Intermittent 503 Response from registry.k8s.io)

Hello. This is Ilpro.

Currently, when installing Kubernetes, the image is not downloaded when kubectl init is run, and the following error occurs.

image.png

The reason seems to be that there is some problem with registry.k8s.io , and an issue is in progress on Github as shown below.

Link: https://github.com/kubernetes/registry.k8s.io/issues/294

There may have been some people who had trouble installing the app over the past few days, and we sincerely apologize for any inconvenience this may have caused.

I believe the issue will be resolved soon, but if you still want to try installing it quickly, please change the kubeadm init part of the downloaded script as follows.

 kubeadm init --pod-network-cidr=20.96.0.0/16 \ --apiserver-advertise-address 192.168.56.30 \ --image-repository registry.cn-hangzhou.aliyuncs.com/google_containers \ --kubernetes-version v1.27.2

This is a repository provided by Alibaba Cloud in China. This is my first time using it, but I have confirmed that it is installed well.

Also, after installation, metrics-server will not be downloaded as shown below. You can ignore this as it only means that metrics information will not appear on the Dashboard.

 kube-system metrics-server-7db4fb59f9-zhqhq 0/1 ErrImagePull 0 2m26s

We will notify you again as soon as the issue is resolved.

thank you

Comment