K8s Controllers

1. Overview

1.1. Core Functionality

  • State Reconciliation: Compare current state to desired state.
  • Actions:
    • Deploy
    • Mount volumes
    • Manage scaling
    • Handle failures

1.2. Mechanism

  • Control Loop: Continuously monitors and updates cluster state.
  • Work Queue: Stores observations/changes for processing.
  • Reconcile Loop: Processes items from Work Queue to align with desired state.

1.3. Epistemological Correlations

  • Control Theory: Similar to control systems in engineering.
  • Homeostasis in Biology: Maintains stable internal environment despite external changes.
Tags::cs: