티스토리 뷰

이 글은 udemy의 <Certified Kubernetes Administrator (CKA) with Practice Tests > 강의를 들으며 자격증 공부 목적으로 내용을 정리한 글입니다. 

https://www.udemy.com/course/certified-kubernetes-administrator-with-practice-tests

 

Certified Kubernetes Administrator (CKA) Practice Exam Tests

Prepare for the Certified Kubernetes Administrators Certification with live practice tests right in your browser - CKA

www.udemy.com

 

[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]
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/07   »
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
글 보관함