Ch.1

  • class property, inherence, encapsulated and multitype

Ch.2, Ch.3

pass


Ch.4

  • Process health probe
  • Liveness probe
  • Readiness probe.

Ch.5

Life cycle

  • Post start:
    • parallel running with Entrypoint.
    • no-retry
  • Pre stop:
    • SIGTERM and SIGKILL

CH.14-Init container v.s Ch.5-Lifecycle hooks


Ch.6

automated placement-> scheduler

-> Depend on resource requirements, runtime dependency and HA schedule Policies.

  • Priorities
    • LeastRequest
    • BalancedResource
    • ServiceSpreading
    • EqualPriority

Node affinity and anti-affinity -> topology

Filtered -> Prioritied -> Pick up

Taint on Node + Tolerations on Pod

  • Hard taint: effect=Noschedule
  • Soft taint: effect=PreferNoSchedule
  • taint: effect=NoExecute

Descheduler

  • RemoveDuplicates
  • LowNodeUtiliztion
  • RemovePodsViolatingInterPodAntiAffinity
  • RemovePodsViolatingNodeAffinity

Customer scheduler

  • Provide HTTP API for filter and prioritize nodes base on HW cost, network letency.