Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EliFuzz/8988a48d183a116b50e8b00518f29c9b to your computer and use it in GitHub Desktop.
Save EliFuzz/8988a48d183a116b50e8b00518f29c9b to your computer and use it in GitHub Desktop.
Comparison Table: HPA vs VPA for Autoscaling Stateful Applications
Category HPA (Horizontal Pod Autoscaling) VPA (Vertical Pod Autoscaling)
Data Consistency Can cause data inconsistency if it scales down a pod that is still processing requests or updating data Can cause data inconsistency if it restarts a pod that is still processing requests or updating data
Data Availability Can cause data unavailability if it scales down a pod that is holding a lock or a leader role Can cause data unavailability if it restarts a pod that is holding a lock or a leader role
Data Migration Can cause data migration if it scales up a pod that needs to copy data from other pods Can cause data migration if it changes the resource requests or limits of a pod that affects its placement on nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment