SlideShare a Scribd company logo
Deploy Elasticsearch Cluster on
Kubernetes
Presenter: Elastic Saudi Arabia - Meetup
Date: 23 June - 2021 - 09:00 PM
Chief Architect
Elastic Community Lead in the Middle East
Staff engineer | CKA and CKAD
Mohammad Abusaa
Ismail Anjrini
Elastic Community
https://www.meetup.com/Elastic-Saudi-Arabia/ 500+
Voucher (400$)
Kubernetes
What is Kubernetes ?
Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling,
and management of containerized applications.
It was originally designed by Google and is now maintained by the Cloud Native Computing
Foundation.
Kubernetes runs your workload by placing containers into Pods to run on Nodes.
Pods
Pods are the smallest deployable units of computing that you can create and manage
in Kubernetes.
A Pod is a group of one or more containers, with shared storage and
network resources.
Container vs initContainer
StatefulSets vs Deployment
Item Deployment Statefulset
Identity of pods Identical, it will get
random Id
Sticky unique Identifier for each
pod
Order of
creation/deletion
Random order Ordered, cannot be created or
deleted at the same time
Pods endpoints Random name, we
cannot rely on it.
Fixed per pod
Persistent storage By nature , it does not
need it, but you can use
it
By nature, a StatefulSet needs
persistent storage so that the
application saves its state and
does not lose data across restarts.
Persistent volume
A PersistentVolume (PV) is a piece of storage in the cluster that has been provisioned
by an administrator or dynamically provisioned using Storage Classes.
It have a lifecycle independent of any individual Pod that uses the PV.
Elasticsearch
Kibana
Service
StatefulSet
Pod
ConfigMap
Shards
PV
Settings

More Related Content

What's hot (20)

PPTX
AKS Azure Kubernetes Services - Azure Nights melbourne feb 2018
Jorge Arteiro
 
PDF
Container orchestration k8s azure kubernetes services
Rajesh Kolla
 
PPTX
Manage your kubernetes cluster with cluster api, azure and git ops
Jorge Arteiro
 
PPTX
Open service broker API with Azure Kubernetes Services
Jorge Arteiro
 
PDF
Getting Started with jClouds: Multi Cloud Framework
IndicThreads
 
PPTX
Why kubernetes
Jorge Arteiro
 
PDF
Apache jclouds and Docker
Andrea Turli
 
PPTX
Being Stateful In Kubernetes
Knoldus Inc.
 
PPTX
AKS - Azure Kubernetes Services - kubernetes meetup may 2018
Jorge Arteiro
 
PDF
Being Stateful in Kubernetes
Knoldus Inc.
 
PPTX
Kubernetes on OpenStack @eBay
Sriram Subramanian
 
PPTX
Azure Container Instance
Bishoy Demian
 
PPTX
Fundamentos do containerd docker con live 2021 jorge arteiro
Jorge Arteiro
 
PDF
Kubernetes Visualization-and-Monitoring-using-Weave-scope
OpenEBS
 
PDF
Cassandra Summit 2014: Highly Scalable Web Application in the Cloud with Cass...
DataStax Academy
 
PDF
How we manage thousands of clusters with minimal effort
LibbySchulze
 
PDF
Kubernetes security and you
Karthik Gaekwad
 
PPSX
Sharding MySQL with Vitess
Harun KÜÇÜK
 
PDF
Introduction to Virtual Kubelet
Mitchell Pronschinske
 
PDF
Cncf event driven autoscaling with keda
JurajHantk
 
AKS Azure Kubernetes Services - Azure Nights melbourne feb 2018
Jorge Arteiro
 
Container orchestration k8s azure kubernetes services
Rajesh Kolla
 
Manage your kubernetes cluster with cluster api, azure and git ops
Jorge Arteiro
 
Open service broker API with Azure Kubernetes Services
Jorge Arteiro
 
Getting Started with jClouds: Multi Cloud Framework
IndicThreads
 
Why kubernetes
Jorge Arteiro
 
Apache jclouds and Docker
Andrea Turli
 
Being Stateful In Kubernetes
Knoldus Inc.
 
AKS - Azure Kubernetes Services - kubernetes meetup may 2018
Jorge Arteiro
 
Being Stateful in Kubernetes
Knoldus Inc.
 
Kubernetes on OpenStack @eBay
Sriram Subramanian
 
Azure Container Instance
Bishoy Demian
 
Fundamentos do containerd docker con live 2021 jorge arteiro
Jorge Arteiro
 
Kubernetes Visualization-and-Monitoring-using-Weave-scope
OpenEBS
 
Cassandra Summit 2014: Highly Scalable Web Application in the Cloud with Cass...
DataStax Academy
 
How we manage thousands of clusters with minimal effort
LibbySchulze
 
Kubernetes security and you
Karthik Gaekwad
 
Sharding MySQL with Vitess
Harun KÜÇÜK
 
Introduction to Virtual Kubelet
Mitchell Pronschinske
 
Cncf event driven autoscaling with keda
JurajHantk
 

Similar to Deploy Elasticsearch Cluster on Kubernetes (20)

PDF
Kubernetes 101
Crevise Technologies
 
PDF
Getting started with google kubernetes engine
Shreya Pohekar
 
PPTX
Kubernetes Basics
Rishabh Kumar
 
PPTX
Kubernetes Cluster vs Nodes vs Pods vs Containers Comparison
jeetendra mandal
 
PDF
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Rahul Malhotra
 
PDF
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...
NETWAYS
 
PDF
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...
NETWAYS
 
PPTX
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptx
HectorSebastianMendo
 
PDF
A quick introduction to AKS
Alessandro Melchiori
 
PDF
Google Cloud Platform and Kubernetes
Kasper Nissen
 
PDF
How to integrate Kubernetes in OpenStack: You need to know these project
inwin stack
 
PPTX
5 Painless Demos to Get You Started with Kubernetes
Amartus
 
PPTX
DevOps with Kubernetes and Helm - OSCON 2018
Jessica Deen
 
PDF
Kubernetes Basics - ICP Workshop Batch II
PT Datacomm Diangraha
 
PDF
Kubernetes From Scratch .pdf
ssuser9b44c7
 
PPTX
DevOps with Kubernetes and Helm - Jenkins World Edition
Jessica Deen
 
PPTX
Understanding the container landscape and it associated projects
Anthony Chow
 
PPTX
Oscon 2017: Build your own container-based system with the Moby project
Patrick Chanezon
 
PDF
Steering the Sea Monster - Integrating Scylla with Kubernetes
ScyllaDB
 
PDF
Understanding Kubernetes
Tu Pham
 
Kubernetes 101
Crevise Technologies
 
Getting started with google kubernetes engine
Shreya Pohekar
 
Kubernetes Basics
Rishabh Kumar
 
Kubernetes Cluster vs Nodes vs Pods vs Containers Comparison
jeetendra mandal
 
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Rahul Malhotra
 
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...
NETWAYS
 
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...
NETWAYS
 
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptx
HectorSebastianMendo
 
A quick introduction to AKS
Alessandro Melchiori
 
Google Cloud Platform and Kubernetes
Kasper Nissen
 
How to integrate Kubernetes in OpenStack: You need to know these project
inwin stack
 
5 Painless Demos to Get You Started with Kubernetes
Amartus
 
DevOps with Kubernetes and Helm - OSCON 2018
Jessica Deen
 
Kubernetes Basics - ICP Workshop Batch II
PT Datacomm Diangraha
 
Kubernetes From Scratch .pdf
ssuser9b44c7
 
DevOps with Kubernetes and Helm - Jenkins World Edition
Jessica Deen
 
Understanding the container landscape and it associated projects
Anthony Chow
 
Oscon 2017: Build your own container-based system with the Moby project
Patrick Chanezon
 
Steering the Sea Monster - Integrating Scylla with Kubernetes
ScyllaDB
 
Understanding Kubernetes
Tu Pham
 
Ad

More from Ismaeel Enjreny (20)

PPTX
Introduction to Elasticsearch
Ismaeel Enjreny
 
PPTX
Elastic 101 ingest manager
Ismaeel Enjreny
 
PPTX
Elastic 101 - API Logs
Ismaeel Enjreny
 
PPTX
WSO2 Identity Server - Getting Started
Ismaeel Enjreny
 
PPTX
Elasticsearch k8s
Ismaeel Enjreny
 
PPTX
ELK Observability 1
Ismaeel Enjreny
 
PPTX
ELK observability 2
Ismaeel Enjreny
 
PPTX
Wso2 is integration with .net core
Ismaeel Enjreny
 
PPTX
Redis 101 Data Structure
Ismaeel Enjreny
 
PPTX
Redis 101 - INTRO
Ismaeel Enjreny
 
PPTX
Elastic 101 ingest manager
Ismaeel Enjreny
 
PPTX
Getting started with Elasticsearch in .net
Ismaeel Enjreny
 
PPTX
Elastic 101 log enrichment
Ismaeel Enjreny
 
PPTX
Elastic 101 index operations
Ismaeel Enjreny
 
PPTX
Elastic 101 - Get started
Ismaeel Enjreny
 
PDF
دليل البرمجة باستخدام Dynamo DB للمبتدئين
Ismaeel Enjreny
 
PPTX
Amazon services iam
Ismaeel Enjreny
 
PPTX
Amazon services ec2
Ismaeel Enjreny
 
PPTX
Redis - Partitioning
Ismaeel Enjreny
 
PPTX
Redis Clients Handling
Ismaeel Enjreny
 
Introduction to Elasticsearch
Ismaeel Enjreny
 
Elastic 101 ingest manager
Ismaeel Enjreny
 
Elastic 101 - API Logs
Ismaeel Enjreny
 
WSO2 Identity Server - Getting Started
Ismaeel Enjreny
 
Elasticsearch k8s
Ismaeel Enjreny
 
ELK Observability 1
Ismaeel Enjreny
 
ELK observability 2
Ismaeel Enjreny
 
Wso2 is integration with .net core
Ismaeel Enjreny
 
Redis 101 Data Structure
Ismaeel Enjreny
 
Redis 101 - INTRO
Ismaeel Enjreny
 
Elastic 101 ingest manager
Ismaeel Enjreny
 
Getting started with Elasticsearch in .net
Ismaeel Enjreny
 
Elastic 101 log enrichment
Ismaeel Enjreny
 
Elastic 101 index operations
Ismaeel Enjreny
 
Elastic 101 - Get started
Ismaeel Enjreny
 
دليل البرمجة باستخدام Dynamo DB للمبتدئين
Ismaeel Enjreny
 
Amazon services iam
Ismaeel Enjreny
 
Amazon services ec2
Ismaeel Enjreny
 
Redis - Partitioning
Ismaeel Enjreny
 
Redis Clients Handling
Ismaeel Enjreny
 
Ad

Recently uploaded (20)

PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PDF
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
PDF
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
PPTX
Revolutionizing Code Modernization with AI
KrzysztofKkol1
 
PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PPTX
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PPTX
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
PPTX
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
Mobile CMMS Solutions Empowering the Frontline Workforce
CryotosCMMSSoftware
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PPTX
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
Revolutionizing Code Modernization with AI
KrzysztofKkol1
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Mobile CMMS Solutions Empowering the Frontline Workforce
CryotosCMMSSoftware
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 

Deploy Elasticsearch Cluster on Kubernetes

Editor's Notes

  • #2: How To Set Up an Elasticsearch, Fluentd and Kibana (EFK) Logging Stack on Kubernetes: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-elasticsearch-fluentd-and-kibana-efk-logging-stack-on-kubernetes Persistent Volume Claim for StatefulSet: https://zhimin-wen.medium.com/persistent-volume-claim-for-statefulset-8050e396cc51 Install Elasticsearch with Docker: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html https://www.elastic.co/downloads/elastic-cloud-kubernetes
  • #5: https://kubernetes.io/ CNCF graduated project
  • #10: ELK Docker files https://github.com/elastic/dockerfiles For UserID: 1000 -> check the file https://github.com/elastic/elasticsearch/blob/master/distribution/docker/src/docker/Dockerfile -> adduser -D -u 1000 -G elasticsearch Based on the following file, you can pass elasticsearch.yml settings as Docker env variables, check after “if [[ "$ES_DISTRIBUTION_TYPE" == "docker" ]]; then” https://github.com/elastic/elasticsearch/blob/master/distribution/src/bin/elasticsearch-env
  • #11: Kibana Env. variables: https://github.com/elastic/dockerfiles/blob/7.13/kibana/bin/kibana-docker