Skip to content

Lab 12 — Advanced Kubernetes Resilience#85

Open
foidkiller wants to merge 13 commits into
inno-devops-labs:mainfrom
foidkiller:feature/lab12
Open

Lab 12 — Advanced Kubernetes Resilience#85
foidkiller wants to merge 13 commits into
inno-devops-labs:mainfrom
foidkiller:feature/lab12

Conversation

@foidkiller

@foidkiller foidkiller commented Jun 17, 2026

Copy link
Copy Markdown

Lab 12 — Advanced Kubernetes Resilience

  • Task 1 done — multi-replica deployment, failover testing and PodDisruptionBudgets
  • Task 2 done — graceful shutdown and zero-downtime migration
  • Bonus Task done — expand-and-contract migration strategy

What's included

  • k8s/gateway.yaml — Rollout with 5 replicas, readinessProbe, preStop hook and topologySpreadConstraints
  • k8s/events.yaml — 2 replicas + PodDisruptionBudget
  • k8s/payments.yaml — 2 replicas + PodDisruptionBudget
  • k8s/notifications.yaml — 2 replicas + PodDisruptionBudget
  • PDB manifests — protection against unwanted pod evictions
  • Zero-downtime migration using CREATE INDEX CONCURRENTLY
  • Expand-and-contract plan for safe column rename
  • submissions/lab12.md — failover tests, eviction test, rolling restart results and migration notes

Results

  • Services continue working during pod failures
  • PodDisruptionBudgets prevent unsafe evictions
  • Rolling restart completed with 0 increase in 5xx errors
  • Database migration completed without downtime
  • System is more resilient during node maintenance and updates

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants