SlideShare a Scribd company logo
Being Stateful In Kubernetes
Presented By : Sahil Sawhney
Sr.
Software Consultant
@lihas5
Agenda
In this session we will explore how feasible it is to deploy
a stateful services over Kubernetes.
Introduction
Knowing Kubernetes
Types Of Services
Understanding stateful and stateless services
Stateful Sets And Operators
Knowing how to deploy a stateful Service
Case Study With Demo
Lets See Things Rolling
Kubernetes, The Buzz
Kubernetes is a production grade open source
orchestration system used to deploy, scale and
manage containerised applications. It is based on
the same principles that allow Google to run billions
of containers a week.
Container Platform
With Kubernetes you can
orchestrate your fleet of
containers with ease.
Microservices Platform
K8 could also be used as a
platform for deploying your
microservice architecture
Portable Cloud Platform
K8 as a platform makes it
easier to deploy, scale,
and manage apps
Service Types
Stateless Applications
Single-Instance Stateful Application
Replicated Stateful Application
Nginx, My Play/Akka-Http Application
or any other stateless Microservice.
My single node mysql with a
persistent volume.
Use a StatefulSet to create a
Cassandra ring.
Comparing Our Protagonists
services applies operations on the input
data and produces an output. Fos same
set of inputs, the output will always be
same.
Stateless
means the system can be in different
states ie. The same input can produce
different output based on other
information in the system
Stateful
Once Upon A Time ...
The classic containerized approach of deploying a
microservice architecture meant this :
Spark
I am a processing engine. My mistake is
that i sometimes I do stateful operations.
Kafka
I am a message queue. My mistake is that I
persist the inter service comm. messages.
Cassandra
I am a NOSQL Db. My mistake is that I can
scale easily on bare metals.
Elasticsearch
Hang me please …..
Kubernetes is not just a platform to run your containers. It provides various other rich
features like network management and persistent storage which could be exploited so
as to deploy your microservice architecture that follow Reactive Manifesto:
But Isn't Kubernetes All About Containers ?
The Saviour
StatefulSets are valuable for applications that
require one or more of the following.
Stable, unique network identifiers.
Graceful deployment and scaling.
automated rolling updates.
Stable, persistent storage.
Use Case
Used majorly to deploy stateful
services like
1). Databases (Mysql, MongoDB, ES)
2). Queues (Kafka)
Many more ...
Stateful Sets
Noida, NSEZ
+919871211045
sahil.sawhney.10
@lihas5
Thank You!
Stay in Touch

More Related Content

PDF
Being Stateful in Kubernetes
PPTX
Fleet and elastic agent
PPTX
Deploy Elasticsearch Cluster on Kubernetes
PPT
Sharad openstack slides
PDF
Deploying Elasticsearch and Kibana on Kubernetes with the Elastic Operator / ECK
PDF
The evolving container landscape
PDF
Micro service, Containers & Cluster Management
PDF
7 - Monitoring Kubernetes with Elastic
Being Stateful in Kubernetes
Fleet and elastic agent
Deploy Elasticsearch Cluster on Kubernetes
Sharad openstack slides
Deploying Elasticsearch and Kibana on Kubernetes with the Elastic Operator / ECK
The evolving container landscape
Micro service, Containers & Cluster Management
7 - Monitoring Kubernetes with Elastic

What's hot (20)

PDF
Run the elastic stack on kubernetes with eck
PPTX
Key features of rails 5.2 (2)
PPTX
Donabe-essex-conference-readout
PDF
MicroService...Don't repeat SOA
ODP
Floss cloud
DOCX
cloudcomputing.docx
PPTX
Azure container instances
PDF
Run Containerized Database SQL Server 2017 Linux
PPTX
Uri budnik moving from virtualized infrastructure to open stack-4.17.13
PDF
Cncf event driven autoscaling with keda
PPTX
Turning Virtual Machines Cloud-Native using KubeVirt
PDF
4 - Customer story: Telenet
PPT
Cloud comptuting
PDF
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
PPTX
AWS UG #14
PDF
jclouds High Level Overview by Adrian Cole
PPTX
d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...
PPTX
How ddd, cqrs and event sourcing constitute the architecture of the future
PDF
K8s in 2hours
PPTX
Deploying a 3 tier application using docker
Run the elastic stack on kubernetes with eck
Key features of rails 5.2 (2)
Donabe-essex-conference-readout
MicroService...Don't repeat SOA
Floss cloud
cloudcomputing.docx
Azure container instances
Run Containerized Database SQL Server 2017 Linux
Uri budnik moving from virtualized infrastructure to open stack-4.17.13
Cncf event driven autoscaling with keda
Turning Virtual Machines Cloud-Native using KubeVirt
4 - Customer story: Telenet
Cloud comptuting
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
AWS UG #14
jclouds High Level Overview by Adrian Cole
d2iq, d2iq konvoy, day 2 operations, lifecycle management, mayadata, mayadata...
How ddd, cqrs and event sourcing constitute the architecture of the future
K8s in 2hours
Deploying a 3 tier application using docker
Ad

Similar to Being Stateful In Kubernetes (20)

PDF
The State of Stateful on Kubernetes
ODP
Stateful applications on kubernetes
PPTX
Stateful set in kubernetes implementation & usecases
PDF
The Highs and Lows of Stateful Containers
PDF
Designing Stateful Apps for Cloud and Kubernetes
PPTX
Running Stateful Apps on Kubernetes
PDF
Managing Stateful Applications in Kubernetes
PDF
Why kubernetes for Serverless (FaaS)
PDF
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
PPTX
Dok Talks #113 - Developing Stateful Application on Kubernetes
PDF
Kubernetes Cheatsheet
PDF
Running and Managing Kubernetes on OpenStack
PDF
Open Source Summit NorthAmerica 2017 Stateful Apps in Containers
PPTX
Run Stateful Apps on Kubernetes with VMware PKS - Highlight WebLogic Server
PPTX
Application portability with kubernetes
PPTX
Docker Kubernetes Training in Ameerpet - Docker Kubernetes Course.pptx
PDF
Containers and Kubernetes without limits
PDF
Kubernetes Basics - ICP Workshop Batch II
PDF
The future of serverless is STATE!
PPTX
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
The State of Stateful on Kubernetes
Stateful applications on kubernetes
Stateful set in kubernetes implementation & usecases
The Highs and Lows of Stateful Containers
Designing Stateful Apps for Cloud and Kubernetes
Running Stateful Apps on Kubernetes
Managing Stateful Applications in Kubernetes
Why kubernetes for Serverless (FaaS)
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
Dok Talks #113 - Developing Stateful Application on Kubernetes
Kubernetes Cheatsheet
Running and Managing Kubernetes on OpenStack
Open Source Summit NorthAmerica 2017 Stateful Apps in Containers
Run Stateful Apps on Kubernetes with VMware PKS - Highlight WebLogic Server
Application portability with kubernetes
Docker Kubernetes Training in Ameerpet - Docker Kubernetes Course.pptx
Containers and Kubernetes without limits
Kubernetes Basics - ICP Workshop Batch II
The future of serverless is STATE!
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
PPTX
Self-Healing Test Automation Framework - Healenium
PPTX
Kanban Metrics Presentation (Project Management)
PPTX
Java 17 features and implementation.pptx
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
PPTX
GraalVM - A Step Ahead of JVM Presentation
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
DAPR - Distributed Application Runtime Presentation
PPTX
Introduction to Azure Virtual WAN Presentation
PPTX
Introduction to Argo Rollouts Presentation
PPTX
Intro to Azure Container App Presentation
PPTX
Insights Unveiled Test Reporting and Observability Excellence
PPTX
Introduction to Splunk Presentation (DevOps)
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
PPTX
AWS: Messaging Services in AWS Presentation
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
PPTX
Managing State & HTTP Requests In Ionic.
Angular Hydration Presentation (FrontEnd)
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Self-Healing Test Automation Framework - Healenium
Kanban Metrics Presentation (Project Management)
Java 17 features and implementation.pptx
Chaos Mesh Introducing Chaos in Kubernetes
GraalVM - A Step Ahead of JVM Presentation
Nomad by HashiCorp Presentation (DevOps)
Nomad by HashiCorp Presentation (DevOps)
DAPR - Distributed Application Runtime Presentation
Introduction to Azure Virtual WAN Presentation
Introduction to Argo Rollouts Presentation
Intro to Azure Container App Presentation
Insights Unveiled Test Reporting and Observability Excellence
Introduction to Splunk Presentation (DevOps)
Code Camp - Data Profiling and Quality Analysis Framework
AWS: Messaging Services in AWS Presentation
Amazon Cognito: A Primer on Authentication and Authorization
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Managing State & HTTP Requests In Ionic.

Recently uploaded (20)

PDF
AI in Product Development-omnex systems
PDF
Nekopoi APK 2025 free lastest update
PPTX
Essential Infomation Tech presentation.pptx
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
ai tools demonstartion for schools and inter college
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Transform Your Business with a Software ERP System
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
L1 - Introduction to python Backend.pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
AI in Product Development-omnex systems
Nekopoi APK 2025 free lastest update
Essential Infomation Tech presentation.pptx
How to Migrate SBCGlobal Email to Yahoo Easily
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
ai tools demonstartion for schools and inter college
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
CHAPTER 2 - PM Management and IT Context
Transform Your Business with a Software ERP System
Odoo POS Development Services by CandidRoot Solutions
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
L1 - Introduction to python Backend.pptx
How Creative Agencies Leverage Project Management Software.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
Upgrade and Innovation Strategies for SAP ERP Customers
Design an Analysis of Algorithms II-SECS-1021-03
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
2025 Textile ERP Trends: SAP, Odoo & Oracle

Being Stateful In Kubernetes

  • 1. Being Stateful In Kubernetes Presented By : Sahil Sawhney Sr. Software Consultant @lihas5
  • 2. Agenda In this session we will explore how feasible it is to deploy a stateful services over Kubernetes. Introduction Knowing Kubernetes Types Of Services Understanding stateful and stateless services Stateful Sets And Operators Knowing how to deploy a stateful Service Case Study With Demo Lets See Things Rolling
  • 3. Kubernetes, The Buzz Kubernetes is a production grade open source orchestration system used to deploy, scale and manage containerised applications. It is based on the same principles that allow Google to run billions of containers a week. Container Platform With Kubernetes you can orchestrate your fleet of containers with ease. Microservices Platform K8 could also be used as a platform for deploying your microservice architecture Portable Cloud Platform K8 as a platform makes it easier to deploy, scale, and manage apps
  • 4. Service Types Stateless Applications Single-Instance Stateful Application Replicated Stateful Application Nginx, My Play/Akka-Http Application or any other stateless Microservice. My single node mysql with a persistent volume. Use a StatefulSet to create a Cassandra ring.
  • 5. Comparing Our Protagonists services applies operations on the input data and produces an output. Fos same set of inputs, the output will always be same. Stateless means the system can be in different states ie. The same input can produce different output based on other information in the system Stateful
  • 6. Once Upon A Time ... The classic containerized approach of deploying a microservice architecture meant this : Spark I am a processing engine. My mistake is that i sometimes I do stateful operations. Kafka I am a message queue. My mistake is that I persist the inter service comm. messages. Cassandra I am a NOSQL Db. My mistake is that I can scale easily on bare metals. Elasticsearch Hang me please …..
  • 7. Kubernetes is not just a platform to run your containers. It provides various other rich features like network management and persistent storage which could be exploited so as to deploy your microservice architecture that follow Reactive Manifesto: But Isn't Kubernetes All About Containers ?
  • 8. The Saviour StatefulSets are valuable for applications that require one or more of the following. Stable, unique network identifiers. Graceful deployment and scaling. automated rolling updates. Stable, persistent storage. Use Case Used majorly to deploy stateful services like 1). Databases (Mysql, MongoDB, ES) 2). Queues (Kafka) Many more ... Stateful Sets