Kubernetes7 [k9s] character set not supported 🔹 환경 정보OS: RHEL8🔹 로그 내용k9s 설치 후 실행 시 에러 출력k9s version은 잘 되는데 k9s 명령어는 안되는 상황k9sError: character set not supportedUsage: k9s [flags] k9s [command]Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command info List K9s configurations info version Print version/build infoFlags: -A, --all-namespaces .. 2025. 3. 5. [prometheus&grafana] Memory limit이 설정보다 2배로 보여요 Monitoring을 위해서 kube-prometheus-stack을 배포해서 사용 중이었다.성능 테스트를 위해 Pod Memory 그래프를 살펴보니 분명 limit을 300Mi로 설정했는데 600Mi로 나왔다.Limit을 뚫고 Memory가 올라간다..? 뭔가 이상해서 알아보니 다음과 같은 문제가 있었다. [버그] kube-prometheus-stack helm uninstall 시 kubelet service 삭제되지 않음.kube-prometheus-stack을 배포하면 kube-system Namespace에 다음 Service가 생성된다.--coredns--kube-controller-manager--kube-etcd--kube-proxy--kube-scheduler--kubelet참고로 hel.. 2025. 2. 27. Kubernetes 관리 툴 K9S 설치 방법 및 사용 방법 k9s란?Kubernetes 관리 툴kubectl get pod -n my-ns -o yaml, kubectl describe pod my-pod -n my-ns 등 명령어를 한땀한땀 작성하지 않아도esc, 화살표 키, 엔터키 등으로 간단하게 리소스 현황을 살펴볼 수 있다.설치 방법# Releases 페이지에서 최신 버전 확인version='v0.40.1'curl -LO https://github.com/derailed/k9s/releases/download/$version/k9s_linux_amd64.rpmdnf localinstall -y k9s_linux_amd64.rpmrm k9s_linux_amd64.rpm사용 방법k9s 명령어를 실행하면 화면이 바뀌는데 아래 표에 있는 명령어를 실행하여 리소.. 2025. 2. 17. [k8s] NodeSelector, PodNodeSelector, NodeLabel 🔹 NodeLabelNode에 적용되는 Key-Value 쌍명령어# 모든 Node들의 라벨 조회kubectl get nodes --show-labels# 특정 Node의 라벨 조회kubectl get node --show-labels# 특정 라벨=값을 가진 Node 리스트 조회kubectl get node -l # 특정 라벨을 가진 Node 리스트 조회kubectl get node -l =# 특정 라벨 컬럼과 함께 모든 Node 리스트 출력kubectl get node -L # 특정 Node에 라벨 추가kubectl label nodes =# 특정 Node에 라벨 제거kubectl label nodes -# 특정 Node에 라벨 변경kubectl label nodes = --overwrite예시.. 2025. 2. 14. Onpremise에 Kubeflow 구축하기 Kubernetes 환경 구축은 다음과 같이 진행하였다.Kubernetes 구축 본 게시글에서는 kubeflow 1.9.1 Version으로 구축을 진행한다.구축 환경은 인터넷이 가능한 환경이며, 서버 간 적절한 방화벽이 오픈되어 있다고 가정한다.별도 Private Repository를 사용하지 않는다.공식 문서를 기반으로 구축을 진행한다.root 계정으로 명령어를 수행한다. Kubeflow 구축 전 준비 사항Kubeflow 구축에 NAS가 필요하다.NAS 서버가 없을 경우 다음과 같이 NAS 서버를 간단하게 구축한다.NAS 서버 구축# NFS 설치yum update -yyum install -y nfs-utils # NFS 서비스 기동systemctl start nfs-server.servicesyst.. 2024. 12. 3. 이전 1 2 다음 반응형