쿠버네티스관련 오류 모음(k3s따라하기)

문학적인유사성·2022년 11월 14일
0

뎁옵깃옵쿠베

목록 보기
2/46

[참고 0] https://swedu.lge.com/qna/1503

ubuntu-22.04버전은 설치가 안됨...
아직 버전 업데이트하기전이라고 해서 안되는 거였음.
나중에 업데이트하면 된다고 한다.~


[참고 1] dns 내부 에서 찾지 못하는 오류
이럴때 오류 해결하는 순서
1. 공식문서 가지고 먼저 확인 => 이상 없는 것 확인
쿠베공식문서-dns-debugging-resolution
2. 보안그룹 때문인가 싶어서 모든 트래픽 허용 하니까 갑자기 된다...! 왜지...?

root@ip-10-0-0-149:/home/ubuntu# kubectl exec client -- sh -c "apt update && apt install -y dnsutils"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Err:1 http://deb.debian.org/debian bullseye InRelease
  Temporary failure resolving 'deb.debian.org'
Err:2 http://deb.debian.org/debian-security bullseye-security InRelease
  Temporary failure resolving 'deb.debian.org'
Err:3 http://deb.debian.org/debian bullseye-updates InRelease
  Temporary failure resolving 'deb.debian.org'
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian-security/dists/bullseye-security/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-updates/InRelease  Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package dnsutils
command terminated with exit code 100

3.helm 리포 url 변경됨
https://charts.helm.sh/stable 여기로 바뀜


4.Error: Kubernetes cluster unreachable
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml <- 나는 이거 하니까 해결 됨
kubectl config view --raw >~/.kube/config


  1. 로깅부터 자꾸 서버가 죽어버리는데
    efk 설치만 하면 죽어버리네, 어딜 잘못한건지 찾는중...
    => 설정 잘 못한거였다 ㅠㅠ
    Expose 어떻게 하는거지 ...

일단 efk, argocd, 프로메테우스 그라파나가 어떤 역할을 하는지 이해하고 알았으니, 진짜 실제로 구축해봐야겠다.!
좋은 책이였다. 전체적인 개념잡기에 좋았음..
완전 쿠버네티스를 하나도 몰랐는데, 어떤 그림이 그려지는지 이해할수있었다.

profile
유사 IT 항해

0개의 댓글