본문 바로가기
728x90
SMALL

쿠버네티스4

Prometheus 및 Grafana 설치 (feat. 쿠베네티스) 1. Helm 설치먼저 Helm이 설치되어 있지 않다면 Helm을 설치합니다.curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash2. Helm 리포지토리 추가Prometheus와 Grafana 설치를 위한 Helm 차트 리포지토리를 추가합니다. helm repo add prometheus-community https://prometheus-community.github.io/helm-chartshelm repo add grafana https://grafana.github.io/helm-chartshelm repo update3. 네임스페이스 생성Prometheus와 Grafana가 배포될 monitoring 네.. 2024. 10. 7.
쿠버네티스 GPU 연결 방법 (feat. gpu-operater) 1. 글을 작성하게 된 계기 Kubernetes(K8s) 환경에서 GPU 노드를 설정하고 연결하는 과정이 복잡하여, 이를 문서로 정리하려 합니다.가정:kubectl과 helm은 이미 설치되어 있음.GPU 서버에서 nvidia-smi 명령어가 정상적으로 작동함.더보기kubectl 설치 방법 최신 kubernetes(쿠버네티스) 설치 방법 (feat. Ubuntu)1. 글을 작성하게 된 계기 K8s (1.27.x )를 구축하고자 하는데 최근에 업데이트 된 내용에 대한 글이 없어 정리하고자 합니다.매일 까먹는 나를 위해서 그리고 어려움을 겪고 있는 다른 분들에게조jongsky.tistory.com helm 설치 방법curl -fsSL -o get_helm.sh https://raw.githubuserconte.. 2024. 10. 6.
쿠버네티스(K8s) 명령어 정리 1. 글을 작성하게 된 계기 K8s를 자주 사용하게 되면서자주 사용하는 명령어를 정리하고자 한다. 2. 명령어 정리 기본 명령어kubectl get: 리소스를 조회하는 명령어예시:kubectl get pods: 클러스터 내의 모든 Pod 목록을 조회kubectl get nodes: 클러스터 내의 모든 Node 목록을 조회kubectl get services: 모든 서비스 목록을 조회kubectl describe: 특정 리소스에 대한 상세 정보를 확인예시:kubectl describe pod : 특정 Pod의 상세 정보를 확인kubectl describe node : 특정 Node의 상세 정보를 확인kubectl apply: 리소스를 생성하거나 업데이트할 때 사용 (YAML 파일 적용)예시:kubectl .. 2024. 10. 1.
쿠버네티스(K8s) 대시보드 구축 방법 1. 글을 작성하게 된 계기 K8s를 구축하면서각각의 pod나 메모리 등을 확인할 수 있는 대시보드가 필요했습니다.그래서 이번 정리로는 K8s의 대시보드 구축 방법을 정리하려고 합니다. 2. 쿠버네티스 대시보드 설치 서비스 설치kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml  정상적으로 서비스가 만들어졌는지 확인 kubectl get svc -n kubernetes-dashboard 외부 접속을 위해 NodePort 설정 kubectl edit svc kubernetes-dashboard -n kubernetes-dashboard apiVersion: v1kind.. 2024. 9. 30.
728x90
LIST