CKA

Deployments

백셀건전지 2021. 8. 31. 23:49
  • ReplicaSet의 상위 components
  • 배포된 instance들을 rolling update로 seamless하게 upgrade하거나, change를 되돌리고, 일시정지했다가 재개하는 등의 작업을 가능하게 해줌
  • deployment 생성하면 RS 생성하고 RS는 Pod 생성함.
  • Deployment에 resources requests 설정하지 않으면 기본으로 cpu, memory 설정되도록 LimitRange 라는 리소스 생성해서 관리가 가능함. 
  • Memory 선언 시에 1G(Gigabyte)와 1Gi(Gibibyte)의 단위는 다르다!
  • CPU Limit이 설정되어 있으면 kubernetes는 그 이상의 CPU 사용하면 throttle 걺. but Memory는 limit보다 더 쓸 수 있음. 하지만 계속 더 쓰려고 하면 pod는 terminated 됨

'CKA' 카테고리의 다른 글

Services  (0) 2021.09.02
Namespace  (0) 2021.09.01
Kube-proxy  (0) 2021.08.30
Kubelet  (0) 2021.08.30
Kube-Scheduler  (0) 2021.08.30