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
00:25 MIN
Understanding the challenges of scaling Kubernetes with confidence
5 steps for running a Kubernetes environment at scale
Featured Partners
Related Videos
Databases on Kubernetes
Denis Souza Rosa
It's all about the Data
Michael Cade
Databases on Kubernetes: Why you should care
Denis Wilson Souza Rosa & Steffen Schneider
Fifty Shades of Kubernetes Autoscaling
Mario-Leander Reimer
Azure-Well Architected Framework - designing mission critical workloads in practice
Paweł Siwek
Winning the Hybrid Cloud
Alex Soto
Mastering Kubernetes – Beginner Edition
Hannes Norbert Göring
Kubernetes Security Best Practices
Rico Komenda
Related Articles
View all articles



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

DevOps Engineer – Kubernetes & Cloud (m/w/d)
epostbox epb GmbH
Berlin, Germany
Intermediate
Senior
DevOps
Kubernetes
Cloud (AWS/Google/Azure)

DevOPS SRE AWS + Kubernetes
Plexus Tech
Municipality of Madrid, Spain
Go
DevOps
Python
Kubernetes
Amazon Web Services (AWS)

Lead Platform Engineer Azure AKS
Client Server
Charing Cross, United Kingdom
Remote
£120-140K
Senior
Go
Azure
Linux
+5



Kubernetes Security Architect
SVA System Vertrieb Alexander GmbH
Azure
Openshift
Kubernetes
Google Cloud Platform
Amazon Web Services (AWS)

DevSecOps Engineer (Kubernetes / GCP)
Rt Consulting
Tidworth, United Kingdom
£117-130K
Bash
Python
Gitlab
Ansible
+6

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

Kubernetes DevOps Engineer
ITERGO Informationstechnologie GmbH
Wels, Austria
€44K
GIT
DevOps
Grafana
Prometheus
+3