Persistent Disk or StatefulSet? The right way and the wrong way to make apps persist state inside a K8s cluster- Neil Cresswell Interviewed on the CNCF 'Data for Kubernetes

by Andrew Thomas, on Nov 2, 2021 11:04:07 AM

Portainer CEO Neil Cresswell joined the Data for Kubernetes Livestream and Podcast last week to discuss working with persistent states inside of Kubernetes.

Watch the full interview here or listen via Anchor podcasts. While you're here check out this incredible drawing/note taking from a member of the DOK community below.

Kubernetes-NeilCresswell 2

ABSTRACT OF THE TALK

There is confusion amongst Kubernetes users as to when you should make a Deployment with a PVC and when you should use a StatefulSet with a PVC. There is also a general lack of understanding when it comes to disk access policies, what RWO/RWX mean and what they allow you to do. These concepts are complicated and require a deep level of understanding in order to avoid users making bad decisions that they come to regret later.

In this talk we will explore when you should use each type and what things you need to think about before making a decision. We'll also explore in detail how to safely deploy a multi-replica application with persistence using Portainer.

As part of the talk we will explore disk access policy, understand what RWO really is and how RWX disk access changes the equation in regards to persistence.

TAKE-AWAYS

From this talk delegates will learn the difference between persistent disk and StatefulSet. They will learn when to use each (and when not to) and what are the pitfalls they should be aware of when deploying multi replica apps. They will also learn what is disk access policy, what is RWO and how RWX disk access changes the equation in regards to persistence

 

 

See for yourself with a live online Portainer Business demo

Let us introduce you to a world of fast and easy app deployment, governance, and management in Docker/Swarm and Kubernetes. Schedule a demo with our tech team and see how Portainer's container service delivery platform can make everyone's life easier.

REQUEST A PORTAINER BUSINESS DEMO

Topics:kubernetes management

Comments