Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 코인
- 바이낸스
- 알위브
- 코로나
- 스토리지코인
- FILECOIN
- 이더리움
- Q-code
- Arweave
- datacap
- 채산성
- Mining
- 레이어2
- 가상자산
- 채굴
- 파일코인
- nft
- nft민팅
- 데이터캡
- filfox
- MATIC
- 투자
- BTC
- 민팅
- 공증인
- 스토리지
- FIL
- 암호화폐
- 비트코인
- 파일코인플러스
- Today
- 96
- Total
- 125,460
Blockchain & Devops, bitetiger
Kubernetes App, Control Plane, Worker Node의 Failure 대처 명령어 본문
DevOps/Kubernetes
Kubernetes App, Control Plane, Worker Node의 Failure 대처 명령어
호랑이한테물릴래 2023. 1. 1. 21:39반응형
Application
## 먼저 엔드포인트 확인
$ curl endpoint
## 서비스 상태 확인 (Selector와 Endpoint 체크)
$ kubectl describe service web-service
## 파드 확인
$ kubectl get pod
$ kubectl describe pod web
$ kubectl logs web -f --previous
Control Plane
## Node & Pod 확인
$ kubectl get nodes
$ kubectl get pods
## Controlplane Pod & Service 확인
$ kubectl get pods -n kube-system
## Controlplane Service 확인
$ service kube-apiserver status
$ service kube-controller-manager status
$ service kube-scheduler status
$ service kubelet status
$ service kube-proxy status
## Service log 확인
$ kubectl logs kube-apiserver-master -n kube-system
$ sudo journalctl -u kube-apiserver
Worker Node
## 노드 리스트
$ kubectl get nodes
## 지정 노드 세부 사항 확인
$ kubectl describe node worker-1
## 노드에서 Memory, CPU 확인
$ htop
## 디스크 확인
$ df -h
## Certificates 확인
$ openssl x509 -in /var/lib/kubelet/worker-1.crt -text
반응형
'DevOps > Kubernetes' 카테고리의 다른 글
EKS Kubeconfig 다중 클러스터 적용하기 (0) | 2023.03.07 |
---|---|
파드의 멀티 컨테이너, 디자인 패턴(Design Pattern) 정리 (0) | 2022.12.18 |
Kubernetes Application Commands & args & Configmap (0) | 2022.12.18 |
쿠버네티스의 Helm 간단 정리 (0) | 2022.09.14 |
쿠버네티스 서비스와 인그레스 (0) | 2022.09.12 |
0 Comments