티스토리 뷰
이 글은 udemy의 <Certified Kubernetes Administrator (CKA) with Practice Tests > 강의를 들으며 자격증 공부 목적으로 내용을 정리한 글입니다.
https://www.udemy.com/course/certified-kubernetes-administrator-with-practice-tests
[Monitoring]
- what to monitoring?
- Node level metrics such as the number of nodes in the cluster
- how many of them are healthy
- performance metrics such as CPU, Memory, metwork, disk utilization
- POD level metrics such as the number of PODs,
- performance metrics of each POD
- 프로메테우스
- Elastic Stack
- Kubelet containes a subcomponent known as cAdvisor or Container Advisor
- cAdvisor is responsible for retrievinf performance metrics from pods and exposing them through the kubelet API to make the metrics available for the Metrics Server
minikube addons enable metrics-server
(for all other environments deploy the metrics server by cloning the metric server deployment from the github repository)
-once deployed, give the metric-server sometime to collect and process date
-onde processed, cluster performance can be viewd by running the command
kubectl top node
-this provices the CPU and Memory consumptions of each of the nodes
[Logging]
kubectl logs -f event-simulator-pod
#-f 옵션: 실시간
- if there are multiple containers in a pod, you must specify the name of the container explicitly in the comman
kubectl logs -f [pod name] [container name]
'Reflection' 카테고리의 다른 글
cka06 cluster maintenance 정리한 것 (0) | 2021.09.24 |
---|---|
cka05 lifecycle management 정리한 것 (0) | 2021.09.18 |
cka04 Networking 정리한 것 (0) | 2021.09.14 |
cka03 Networking 정리한 것 - Pre-Requisites (0) | 2021.09.13 |
cka02 Scheduling 정리한 것 (0) | 2021.09.11 |