Skip to content

Instantly share code, notes, and snippets.

@ShinJJang
Last active November 20, 2018 15:03
Show Gist options
  • Save ShinJJang/37f9a927d8eb84c65b9715a18efc20cf to your computer and use it in GitHub Desktop.
Save ShinJJang/37f9a927d8eb84c65b9715a18efc20cf to your computer and use it in GitHub Desktop.
Kubernetes in action 11.Understanding Kubernetes internals 정리

11. Understanding Kubernetes internals

11.1.6 컨트롤러 매니저에서 동작하는 컨트롤러 소개

  • (이전에도 언급했지만) API 서버는 etcd에 저장하거나, client 들에게 변화를 알리는 것 외에는 하지 않음!
  • 스케쥴러는 단지 Node를 Pod에 할당함
  • 컨트롤 매니저 안의 컨트롤러들이 배포된 리소스들의 적절한 상태로 유지함
  • 하나의 컨트롤 매니저 프로세스는 다양한 작업들을 조정하는 여러 컨트롤러들을 규합합니다.
  • 각 컨트롤러는 직접 구현한 컨트롤러로 대체될 수 있음

컨트롤러 매니저에 포함되는 컨트롤러들

- Replication Manager (a controller for ReplicationController resources)
- ReplicaSet, DaemonSet, and Job controllers
- Deployment controller
- StatefulSet controller
- Node controller
- Service controller
- Endpoints controller
- Namespace controller
- PersistentVolume controller
- Others
  • 리소스는 클러스터에서 실행하는 것
  • 컨트롤러는 배포된 리소스의 결과로 실제 작업을 수행하는 쿠버네티스 컴포넌트

컨트롤러가 무엇을 어떻게 하는지 이해하기

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment