Andrew Pruski
Adjusting Pod Eviction Timings in Kubernetes
#1about 3 minutes
A DBA's journey to running SQL Server on Kubernetes
The speaker shares his background as a SQL Server DBA and the efficiency gains that led him to explore running stateful workloads in Kubernetes.
#2about 2 minutes
Why the default five-minute failover is unacceptable
When a node fails, Kubernetes waits five minutes by default before rescheduling pods, which is too long for stateful applications like SQL Server.
#3about 5 minutes
Demonstrating the default pod eviction delay in action
A live demo shows an nginx pod taking five minutes to be rescheduled to a healthy node after its original node is shut down in AKS.
#4about 2 minutes
How to configure faster pod eviction with tolerations
Pod eviction time can be reduced from five minutes to seconds by setting tolerations for not-ready and unreachable nodes in the deployment YAML.
#5about 3 minutes
Demo of a ten-second failover using tolerations
By adding tolerations to the nginx deployment, a new pod is spun up on a healthy node just ten seconds after the original node fails.
#6about 7 minutes
Why fast pod eviction fails for stateful apps
A demo with SQL Server shows that even with tolerations, the new pod gets stuck in a "ContainerCreating" state due to a multi-attach error on the persistent volume.
#7about 7 minutes
Achieving high availability with Portworx storage
A third-party tool called Portworx provides a storage class that correctly detaches and reattaches storage, enabling a SQL Server pod to fail over successfully in seconds.
#8about 1 minute
Key considerations for stateful app high availability
Achieving high availability for stateful apps in Kubernetes requires adjusting pod tolerations and using a storage solution that can handle volume reattachment across nodes.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
11:47 MIN
Understanding stateful application failures in Kubernetes
Databases on Kubernetes: Why you should care
07:14 MIN
Addressing unique data protection challenges in Kubernetes
It's all about the Data
20:28 MIN
Adopting Kubernetes for multi-datacenter redundancy
Scaling: from 0 to 20 million users
44:40 MIN
Key takeaways for running databases on Kubernetes
Databases on Kubernetes: Why you should care
15:53 MIN
How Kubernetes handles persistent application storage
It's all about the Data
28:38 MIN
Choosing the right storage for databases on Kubernetes
Databases on Kubernetes
10:51 MIN
Migrating a stateful application between Kubernetes clusters
It's all about the Data
32:12 MIN
Providing persistent storage for stateful applications
Mastering Kubernetes – Beginner Edition
Featured Partners
Related Videos
Databases on Kubernetes
Denis Souza Rosa
It's all about the Data
Michael Cade
Fifty Shades of Kubernetes Autoscaling
Mario-Leander Reimer
Databases on Kubernetes: Why you should care
Denis Wilson Souza Rosa & Steffen Schneider
Azure-Well Architected Framework - designing mission critical workloads in practice
Paweł Siwek
Mastering Kubernetes – Beginner Edition
Hannes Norbert Göring
Winning the Hybrid Cloud
Alex Soto
Operating etcd for Managed Kubernetes
Mario Valderrama
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.




DevOps Specialist (Azure & Kubernetes)
M & GT Consulting
Intermediate
DevOps
Openshift
Kubernetes
Continuous Integration

Linux-Systemadministrator - Kubernetes / OpenShift
Dataport
Remote
Intermediate
Linux
Docker
Ansible
Grafana
+6



