2. 모니터링 설치 ※ 해당 설치는 Storage 연동을 따로 할당하지 않았기 때문에 VM이 재기동 될때, 기존 저장된 로그 데이터는 사라집니다.[1] Github(k8s-1pro)에서 Prometheus(with Grafana), Loki-Stack yaml 다운로드▶ [k8s-master] Console 접속 후 아래 명령 실행 [root@k8s-master ~]# yum -y install git# 로컬 저장소 생성git init monitoringgit config --global init.defaultBranch maincd monitoring# remote 추가 ([root@k8s-master monitoring]#)git remote add -f origin https://github.com/k8s-1pro/.. 2025. 4. 18. 1. 쿠버네티스 쉽고 빠르게 설치하는 방법 - Mac 버전용 (m시리즈) 쿠버네티스 모든 노드 [1] rocky linux 기본 설정 : 패키지 업데이트, 타임존 설정 [2] kubeadm 설치 전 사전작업 : 방화벽 해제, 스왑 비활성화 [3] 컨테이너 런타임 설치 [3-1] 컨테이너 런타임 설치 전 사전작업 : iptables 세팅 [3-2] 컨테이너 런타임 (containerd 설치) [3-2-1] containerd 패키지 설치 (option2) [3-2-1-1] docker engine 설치 : repo 설정, containerd 설치 [3-3] 컨테이너 런타임 : cri 활성화 [4] kubeadm 설치 : repo 설정, SELinux 설정 .. 2025. 4. 18. 0. install for mac 보호되어 있는 글 입니다. 2025. 4. 18. etcd 상태 확인 etcdctl 설치ETCD_VER=v3.5.9 # 최신 버전 확인 후 필요 시 변경# 다운로드 및 압축 해제wget https://github.com/etcd-io/etcd/releases/download/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gztar xvf etcd-${ETCD_VER}-linux-amd64.tar.gz# 실행 파일을 /usr/local/bin으로 이동sudo mv etcd-${ETCD_VER}-linux-amd64/etcdctl /usr/local/bin/# 설치 확인etcdctl version v3.5.20 amd64 패키지 https://github.com/etcd-io/etcd/releases/download/v3.5.20/etcd.. 2025. 3. 26. [etcd] 백업 etcd 백업wget https://github.com/etcd-io/etcd/releases/download/v3.5.19/etcd-v3.5.19-linux-arm64.tar.gz sudo etcdctl snapshot save etcd-snapshot.db --endpoints=https://127.0.0.1:2379 --cacert=./ca.crt --cert=./healthcheck-client.crt --key=./healthcheck-client.key{"level":"info","ts":"2025-03-17T15:16:59.834146+0900","caller":"snapshot/v3_snapshot.go:65","msg":"created temporary db file","path":"et.. 2025. 3. 17. install kubenetes 보호되어 있는 글 입니다. 2025. 3. 4. 이전 1 2 3 4 5 6 7 ··· 10 다음