SlideShare a Scribd company logo
@Copyright, Cloud Technology Experts Inc@Copyright, Cloud Technology Experts Inc
Managing your Kubernetes
Application Deployment
with Helm and Operator
@Copyright, Cloud Technology Experts Inc
Hello!
I am Damian Igbe, PhD
● Certified Kubernetes Administrator (CKA), AWS Certified Solutions Architect,
Developer and SysOps. CCNA, CCIE (Theory), Linux LPI-levels 1 and 2
● Several years as a Technical Trainer
● CTO of Cloud Technology Experts
● Loves Running, at least one Marathon every year (if no pandemic J)
● One of the organizers of this meetup https://www.meetup.com/Kubernetes-
and-Cloud-Native-North-Dallas/
● You can find me at damianigbe@cloudtechnologyexperts.com
@Copyright, Cloud Technology Experts Inc
Main Objective
• Get you to be aware of the K8S application
deployment tools: YAML, Helm, Operator
• Know their Capabilities
• Help clarify the differences between them
@Copyright, Cloud Technology Experts Inc
The Agenda
• Kubernetes Architecture Review
• Managing Kubernetes Applications
• Extending Kubernetes the Operator Way
• Custom Resource Definitions (CRD)
• Controllers
• Demo: Using the ETCD Operator
• Writing your Own Operators
• Conclusion
@Copyright, Cloud Technology Experts Inc
The K8S Architecture
• Ref: Kubernetes Docs
@Copyright, Cloud Technology Experts Inc
The Service Object
@Copyright, Cloud Technology Experts Inc
Demo: The K8S Cluster
• Show the Cluster
• The K8S control plane components
@Copyright, Cloud Technology Experts Inc
Managing Kubernetes
• Traditional Way
• Kubectl
• Kubernetes DashBoard
• Kubernetes the OS of the Cloud
• Helm - Stateless
• Operator - Stateful
@Copyright, Cloud Technology Experts Inc
Demo: Creating Objects in K8S
• Show the Creation of Pod (orphan Pod) using kubectl
and Kubernetes Dashboard
• Show using ReplicatSets and Deployment objects as
a controller
@Copyright, Cloud Technology Experts Inc
Extending Kubernetes With Operators
• Automation Automation Automation
• Operators are Robots
• They have to do specific jobs to every application e.g
Prometheus Operators, etcd operator, MongoDB operator
• They put the human knowledge into the Application:
In coreOs words
An operator is a controller that encodes human operational
knowledge: how do I run and manage a specific piece of
complex software.
@Copyright, Cloud Technology Experts Inc
Control Loop
@Copyright, Cloud Technology Experts Inc
Operator Definition
• An Operator is an application-specific controller that extends the
Kubernetes API to:
• create,
• configure,
• and manage instances of complex stateful applications on behalf of a Kubernetes
user.
• It builds upon the basic Kubernetes resource and controller concepts but
includes domain or application-specific knowledge to automate common
tasks.
Brandon Philips, Former CTO of CoreOS
@Copyright, Cloud Technology Experts Inc
Operator Cont.
• An Operator builds upon the basic Kubernetes resource and controller
concepts and adds a set of knowledge or configuration that allows the
Operator to execute common application tasks.
• For example, when scaling an etcd cluster manually:
• a user has to perform a number of steps:
• create a DNS name for the new etcd member,
• launch the new etcd instance,
• and then use the etcd administrative tools (etcdctl member add) to tell the existing
cluster about this new member.
• Instead with the etcd Operator a user can simply increase the etcd cluster size field
by 1.
Brandon Philips, former CTO of CoreOS
@Copyright, Cloud Technology Experts Inc
DBA Operational Knowledge
• Day-2 Operations
• Failures and healing
• Patches
• Upgrades
• Scaling
• Reconfigure
• Backups
@Copyright, Cloud Technology Experts Inc
Demo: ETCD Operator
• Before doing the exercises, first deploy ETCD Operator
using Helm
helm install stable/etcd-operator --generate-name
• Create and Destroy
• Resize
• Failover
• Rolling upgrade
• Backup and Restore
https://github.com/coreos/etcd-operator#create-and-
destroy-an-etcd-cluster
@Copyright, Cloud Technology Experts Inc
Deploying Applications on Kubernetes
Which one should I use?
• They complement each other
• Helm mostly for direct installation of stateless apps
• Operator mostly for automation of day-2 operations of stateful apps
• Helm for installing Operators
https://cloudblogs.microsoft.com/opensource/2020/04/02/when-to-
use-helm-operators-kubernetes-ops/
https://coreos.com/blog/introducing-operators.html
@Copyright, Cloud Technology Experts Inc
Writing an Operator
• You can write an Operator for your application
• You can use SDKS
1. Operator Framework
• https://github.com/operator-framework
• Operator SDK:
• https://github.com/operator-framework/operator-sdk
2. Kubebuilder
• https://github.com/kubernetes-sigs/kubebuilder
• https://book.kubebuilder.io/cronjob-tutorial/controller-
implementation.html
@Copyright, Cloud Technology Experts Inc@Copyright, Cloud Technology Experts Inc
The End

More Related Content

What's hot (20)

PDF
WTF Do We Need a Service Mesh?
Anton Weiss
 
PDF
Introduction to Kubernetes - Docker Global Mentor Week 2016
Opsta
 
PDF
Helm - Package Manager for Kubernetes
Knoldus Inc.
 
PPTX
Kubernetes in Highly Restrictive Environments
Kublr
 
PDF
Kubernetes stack reliability
Oleg Chunikhin
 
PDF
Setting up CI/CD pipeline with Kubernetes and Kublr step-by-step
Oleg Chunikhin
 
PPTX
Building Portable Applications with Kubernetes
Kublr
 
PDF
Kubernetes Networking 101
Kublr
 
PDF
Effective Building your Platform with Kubernetes == Keep it Simple
Wojciech Barczyński
 
PDF
Kubernetes as Infrastructure Abstraction
Kublr
 
PPTX
Why kubernetes matters
Platform9
 
PDF
Introduction to Kubernetes RBAC
Kublr
 
PDF
Multi-cloud Kubernetes BCDR with Velero
Kublr
 
PDF
Kubernetes persistence 101
Kublr
 
PPTX
OpenShift Application Development | DO288 | Red Hat OpenShift
Global Knowledge Technologies
 
PDF
FOSDEM 2019: A containerd Project Update
Phil Estes
 
PDF
OpenStack on Kubernetes (BOS Summit / May 2017 update)
rhirschfeld
 
PPTX
Continuous Delivery to Kubernetes Using Helm
Adnan Abdulhussein
 
PDF
Deploy prometheus on kubernetes
Cloud Technology Experts
 
PDF
GlueCon kubernetes & container engine
brendandburns
 
WTF Do We Need a Service Mesh?
Anton Weiss
 
Introduction to Kubernetes - Docker Global Mentor Week 2016
Opsta
 
Helm - Package Manager for Kubernetes
Knoldus Inc.
 
Kubernetes in Highly Restrictive Environments
Kublr
 
Kubernetes stack reliability
Oleg Chunikhin
 
Setting up CI/CD pipeline with Kubernetes and Kublr step-by-step
Oleg Chunikhin
 
Building Portable Applications with Kubernetes
Kublr
 
Kubernetes Networking 101
Kublr
 
Effective Building your Platform with Kubernetes == Keep it Simple
Wojciech Barczyński
 
Kubernetes as Infrastructure Abstraction
Kublr
 
Why kubernetes matters
Platform9
 
Introduction to Kubernetes RBAC
Kublr
 
Multi-cloud Kubernetes BCDR with Velero
Kublr
 
Kubernetes persistence 101
Kublr
 
OpenShift Application Development | DO288 | Red Hat OpenShift
Global Knowledge Technologies
 
FOSDEM 2019: A containerd Project Update
Phil Estes
 
OpenStack on Kubernetes (BOS Summit / May 2017 update)
rhirschfeld
 
Continuous Delivery to Kubernetes Using Helm
Adnan Abdulhussein
 
Deploy prometheus on kubernetes
Cloud Technology Experts
 
GlueCon kubernetes & container engine
brendandburns
 

Similar to Managing kubernetes deployment with operators (20)

PPTX
Kubernetes @ meetic
Sébastien Le Gall
 
PPTX
Adf with docker
Eugene Fedorenko
 
PPTX
Containers, Serverless and Functions in a nutshell
Eugene Fedorenko
 
PPTX
Which PostgreSQL is right for your multi cloud strategy? P2
Ashnikbiz
 
PDF
introduction to kubernetes slide deck by Roach
ZiyanMaraikar1
 
PDF
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
Ambassador Labs
 
PPTX
10 tips for Cloud Native Security
Karthik Gaekwad
 
PPTX
DockerCon 15 Keynote - Day 2
Docker, Inc.
 
PPTX
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB
 
PDF
Docker Birthday #5 Meetup Cluj - Presentation
Alex Vranceanu
 
PPTX
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Patrick Chanezon
 
PDF
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
QAware GmbH
 
PPTX
How kubernetes operators can rescue dev secops in midst of a pandemic updated
Shikha Srivastava
 
PPTX
Kubecon 2019 - Promoting Kubernetes CI/CD to the Next Level
Tim Pouyer
 
PDF
Kubernetes Java Operator
Anthony Dahanne
 
PDF
Implementing-SaaS-on-Kubernetes-Michael-Knapp-Andrew-Gao-Capital-One.pdf
ssuserf4844f
 
PDF
Containers, microservices and serverless for realists
Karthik Gaekwad
 
PDF
An intro to Kubernetes operators
J On The Beach
 
PPTX
Containerization using docker and its applications
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
Kubernetes @ meetic
Sébastien Le Gall
 
Adf with docker
Eugene Fedorenko
 
Containers, Serverless and Functions in a nutshell
Eugene Fedorenko
 
Which PostgreSQL is right for your multi cloud strategy? P2
Ashnikbiz
 
introduction to kubernetes slide deck by Roach
ZiyanMaraikar1
 
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
Ambassador Labs
 
10 tips for Cloud Native Security
Karthik Gaekwad
 
DockerCon 15 Keynote - Day 2
Docker, Inc.
 
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB
 
Docker Birthday #5 Meetup Cluj - Presentation
Alex Vranceanu
 
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Patrick Chanezon
 
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
QAware GmbH
 
How kubernetes operators can rescue dev secops in midst of a pandemic updated
Shikha Srivastava
 
Kubecon 2019 - Promoting Kubernetes CI/CD to the Next Level
Tim Pouyer
 
Kubernetes Java Operator
Anthony Dahanne
 
Implementing-SaaS-on-Kubernetes-Michael-Knapp-Andrew-Gao-Capital-One.pdf
ssuserf4844f
 
Containers, microservices and serverless for realists
Karthik Gaekwad
 
An intro to Kubernetes operators
J On The Beach
 
Containerization using docker and its applications
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
Ad

Recently uploaded (20)

PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Ad

Managing kubernetes deployment with operators

  • 1. @Copyright, Cloud Technology Experts Inc@Copyright, Cloud Technology Experts Inc Managing your Kubernetes Application Deployment with Helm and Operator
  • 2. @Copyright, Cloud Technology Experts Inc Hello! I am Damian Igbe, PhD ● Certified Kubernetes Administrator (CKA), AWS Certified Solutions Architect, Developer and SysOps. CCNA, CCIE (Theory), Linux LPI-levels 1 and 2 ● Several years as a Technical Trainer ● CTO of Cloud Technology Experts ● Loves Running, at least one Marathon every year (if no pandemic J) ● One of the organizers of this meetup https://www.meetup.com/Kubernetes- and-Cloud-Native-North-Dallas/ ● You can find me at [email protected]
  • 3. @Copyright, Cloud Technology Experts Inc Main Objective • Get you to be aware of the K8S application deployment tools: YAML, Helm, Operator • Know their Capabilities • Help clarify the differences between them
  • 4. @Copyright, Cloud Technology Experts Inc The Agenda • Kubernetes Architecture Review • Managing Kubernetes Applications • Extending Kubernetes the Operator Way • Custom Resource Definitions (CRD) • Controllers • Demo: Using the ETCD Operator • Writing your Own Operators • Conclusion
  • 5. @Copyright, Cloud Technology Experts Inc The K8S Architecture • Ref: Kubernetes Docs
  • 6. @Copyright, Cloud Technology Experts Inc The Service Object
  • 7. @Copyright, Cloud Technology Experts Inc Demo: The K8S Cluster • Show the Cluster • The K8S control plane components
  • 8. @Copyright, Cloud Technology Experts Inc Managing Kubernetes • Traditional Way • Kubectl • Kubernetes DashBoard • Kubernetes the OS of the Cloud • Helm - Stateless • Operator - Stateful
  • 9. @Copyright, Cloud Technology Experts Inc Demo: Creating Objects in K8S • Show the Creation of Pod (orphan Pod) using kubectl and Kubernetes Dashboard • Show using ReplicatSets and Deployment objects as a controller
  • 10. @Copyright, Cloud Technology Experts Inc Extending Kubernetes With Operators • Automation Automation Automation • Operators are Robots • They have to do specific jobs to every application e.g Prometheus Operators, etcd operator, MongoDB operator • They put the human knowledge into the Application: In coreOs words An operator is a controller that encodes human operational knowledge: how do I run and manage a specific piece of complex software.
  • 11. @Copyright, Cloud Technology Experts Inc Control Loop
  • 12. @Copyright, Cloud Technology Experts Inc Operator Definition • An Operator is an application-specific controller that extends the Kubernetes API to: • create, • configure, • and manage instances of complex stateful applications on behalf of a Kubernetes user. • It builds upon the basic Kubernetes resource and controller concepts but includes domain or application-specific knowledge to automate common tasks. Brandon Philips, Former CTO of CoreOS
  • 13. @Copyright, Cloud Technology Experts Inc Operator Cont. • An Operator builds upon the basic Kubernetes resource and controller concepts and adds a set of knowledge or configuration that allows the Operator to execute common application tasks. • For example, when scaling an etcd cluster manually: • a user has to perform a number of steps: • create a DNS name for the new etcd member, • launch the new etcd instance, • and then use the etcd administrative tools (etcdctl member add) to tell the existing cluster about this new member. • Instead with the etcd Operator a user can simply increase the etcd cluster size field by 1. Brandon Philips, former CTO of CoreOS
  • 14. @Copyright, Cloud Technology Experts Inc DBA Operational Knowledge • Day-2 Operations • Failures and healing • Patches • Upgrades • Scaling • Reconfigure • Backups
  • 15. @Copyright, Cloud Technology Experts Inc Demo: ETCD Operator • Before doing the exercises, first deploy ETCD Operator using Helm helm install stable/etcd-operator --generate-name • Create and Destroy • Resize • Failover • Rolling upgrade • Backup and Restore https://github.com/coreos/etcd-operator#create-and- destroy-an-etcd-cluster
  • 16. @Copyright, Cloud Technology Experts Inc Deploying Applications on Kubernetes Which one should I use? • They complement each other • Helm mostly for direct installation of stateless apps • Operator mostly for automation of day-2 operations of stateful apps • Helm for installing Operators https://cloudblogs.microsoft.com/opensource/2020/04/02/when-to- use-helm-operators-kubernetes-ops/ https://coreos.com/blog/introducing-operators.html
  • 17. @Copyright, Cloud Technology Experts Inc Writing an Operator • You can write an Operator for your application • You can use SDKS 1. Operator Framework • https://github.com/operator-framework • Operator SDK: • https://github.com/operator-framework/operator-sdk 2. Kubebuilder • https://github.com/kubernetes-sigs/kubebuilder • https://book.kubebuilder.io/cronjob-tutorial/controller- implementation.html
  • 18. @Copyright, Cloud Technology Experts Inc@Copyright, Cloud Technology Experts Inc The End