모래성 말고 철옹성

[1분 쿠버네티스] Kube Controller Manager란? Kubernetes 클러스터 제어 핵심 본문

DevOps/쿠버네티스

[1분 쿠버네티스] Kube Controller Manager란? Kubernetes 클러스터 제어 핵심

JDhyeok 2025. 8. 20. 00:21

Kube-Scheduler란?

Kube-Controller-Manager는 Kubernetes 클러스터의 상태를 원하는 목표 상태(Desired State)로 유지하도록 관리하는 핵심 컴포넌트이다. 쉽게 말해, “쿠버네티스의 자동화 관리자(Controller 집합체)”라고 할 수 있다.

 

Kube-Scheduler의 주요 역할과 기능

  1. ReplicaSet Controller
    • 지정된 수의 Pod가 항상 실행되도록 보장
  2. Node Controller
    • 노드의 상태(정상/비정상) 모니터링 및 조치
  3. Endpoint Controller
    • Service와 Pod를 연결 (네트워크 엔드포인트 관리)
  4. Service Account & Token Controller
    • Pod가 API Server와 안전하게 통신 가능하도록 인증자격 발급

이런 다양한 Controller를 하나의 프로세스로 통합하여 실행하는 것이 Kube Controller Manager이다.

 

Kubernetes 아키텍처에서의 위치

  • Kube-API Server에 명령 전달
  • Kube Controller Manager는 API Server를 통해 etcd에 기록된 클러스터 상태 확인
  • 실제 상태가 Desired 상태와 다르면, 새로운 Pod를 생성하거나, 노드를 교체, 엔드포인트 갱신 등의 조치를 자동으로 수행

장애 시 영향

  • 클러스터가 자동으로 복구/조정하는 기능을 잃게 됨

 

즉, Kube Controller Manager는 Kubernetes의 Self-Healing 능력을 가능하게 하는 핵심적인 컴포넌트이다.

 

참조.

https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/

 

kube-controller-manager

Synopsis The Kubernetes controller manager is a daemon that embeds the core control loops shipped with Kubernetes. In applications of robotics and automation, a control loop is a non-terminating loop that regulates the state of the system. In Kubernetes, a

kubernetes.io

 

반응형
Comments