dj-twenty-six / 101

DJ26 Basic Introduction
GNU General Public License v3.0
3 stars 0 forks source link

Kubenetes 설치 시 apt-get update 에러 #25

Open Felicette1963 opened 1 year ago

Felicette1963 commented 1 year ago

kubeadm 설치 과정: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/

$ sudo apt-get install -y apt-transport-https ca-certificates curl gpg
$ curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
$ echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list

image

※ 요약 에러지점: NO_PUBKEY B53DC80D13EDEF05 https://eehoeskrap.tistory.com/454

[해결 시도 실패장면] image

하지만 sudo apt-get update를 무시한채 진행하면 설치되는 Kubectl 패키지가 설치가 됩니다. image