Discussion 23 More Information 24 3. Declarative Deployment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Problem 25 Solution Rolling Deployment 27 Fixed Deployment 29 Blue-Green Release 30 Canary Release Discussion 31 More Information 33 4. Health Probe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Problem Solution 35 Process Health Checks 36 Liveness Probes Readiness Probes 37 Discussion 38 More Information 40 5. Managed Lifecycle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Problem 41 Solution SIGTERM Signal 42 SIGKILL Signal Poststart Hook 43 Prestop Hook 44 Other Lifecycle Controls 45 Discussion 46 More Information 6. Automated Placement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Problem Solution 47 Available Node Resources 48 Container Resource Demands 49 Placement Policies Scheduling Process 50 Node Affinity 51 iv  |  Table of Contents