SlideShare a Scribd company logo
How Operators with
Ansible make
Kubernetes Sing
Carol Chen
Senior Community Architect
Twitter/Github/freenode IRC:
@cybette
The Ansible Operator SDK makes it
easier to deploy and manage Kubernetes
applications with native Ansible support
What is Kubernetes?
An open source orchestration system for
implementing a microservices architecture
as containerized applications run and
coordinated across a cluster of nodes.
Red Hat® OpenShift® is a comprehensive enterprise-grade application platform
built for containers with Kubernetes at its core.
Kubernetes Operators with Ansible
Stateless is easy,
Stateful is hard
● Encode human operational knowledge
● Automatically patch, upgrade, recover, and tune
container-based apps and services
● Kubernetes-native
● Purpose-built for a specific application or service
● Enable “day 2” management
Kubernetes Operators with Ansible
Kubernetes Operators
Operators simplify management of complex applications
on Kubernetes
Encoding and automating Ops knowledge
WITH OPERATORS: PROACTIVE
Continually adjusts to optimal state
Automatically acts in milliseconds
WITHOUT OPERATORS: REACTIVE
Continually checks for anomalies
Alert humans for response
Requires manual change to fix
Kubernetes Operators with Ansible
Making it easier to deploy and manage Kubernetes apps in an Ansible-native way
Ansible Operator SDK
Kubernetes Operators with Ansible
Use the Operator SDK to
create a new skeleton
Operator.
operator-sdk new Add Ansible Content
Use Ansible Roles and
playbooks to manage
lifecycle events for your
containerized applications.
operator-sdk build
Use the Operator SDK to
build and deploy your
Operator to Kubernetes.
EXISTING SKILLS & ECOSYSTEM
Same tried & trusted Ansible tooling
Utilize existing skills
Supports cloud-native & traditional IT automation
with one simple language
Leverages vibrant existing ecosystem
Why build Operators with Ansible?
LOWER BARRIER OF ENTRY
No programming required
Faster iterations and easier maintenance
Declarative state definitions like K8s
Templating of resources
Abstraction layer & helpers that reduces
necessary K8s API experience
Kubernetes Operators with Ansible
Developing your first Operator with Ansible
● Initialize Your Operator With Ansible
○ $ operator-sdk new foo-operator
--api-version=cache.example.com/v1alpha1 --kind=Foo --type=ansible
● Automate With Ansible
○ Create new roles and playbooks or reuse an existing one
● Define a watches file
○ Map a Kubernetes object to your Ansible content
● Build Your Operator
○ $ operator-sdk build foo-operator:v0.0.1
● Deploy Your Operator to a Kubernetes Cluster
Kubernetes Operators with Ansible
Get started with Ansible: Get started with Operators:
ansible.com/get-started
ansible.com/community
github.com/operator-framework/getting-started
ansible.com/operators
Next steps
Deep Dive with Ansible Operators:
ansible.com/blog/kubernetes-operators-ansible-deep-dive-part-1
ansible.com/blog/kubernetes-operators-ansible-deep-dive-part-2
More resources
● Ansible Operator Interactive Learning: learn.openshift.com/ansibleop
● Operator Hub: operatorhub.io
● Submit Your Operator: github.com/operator-framework/community-operators
● Operator Framework Mailing List:
groups.google.com/forum/#!forum/operator-framework
etcd Operator
A great example of a sophisticated Kubernetes
Operator using Ansible:
github.com/water-hole/etcd-ansible-operator
Memcached Operator
Simple walkthrough for building an Operators using the
Ansible Operator SDK and Kubernetes CRDs
github.com/operator-framework/operator-sdk-sample
s/tree/master/memcached-operator
More resources
linkedin.com/company/red-hat
youtube.com/user/RedHatVideos
facebook.com/redhatinc
twitter.com/RedHat
Thank You
Ad

More Related Content

What's hot (20)

Going Serverless with Kubeless In Google Container Engine (GKE)
Going Serverless with Kubeless In Google Container Engine (GKE)Going Serverless with Kubeless In Google Container Engine (GKE)
Going Serverless with Kubeless In Google Container Engine (GKE)
Bitnami
 
Why kubernetes
Why kubernetesWhy kubernetes
Why kubernetes
Jorge Arteiro
 
Building and Running Workloads the Knative Way
Building and Running Workloads the Knative WayBuilding and Running Workloads the Knative Way
Building and Running Workloads the Knative Way
QAware GmbH
 
Knative And Pivotal Function As a Service
Knative And Pivotal Function As a ServiceKnative And Pivotal Function As a Service
Knative And Pivotal Function As a Service
Jay Lee
 
The what, why and how of knative
The what, why and how of knativeThe what, why and how of knative
The what, why and how of knative
Mofizur Rahman
 
Argo Workflows 3.0, a detailed look at what’s new from the Argo Team
Argo Workflows 3.0, a detailed look at what’s new from the Argo TeamArgo Workflows 3.0, a detailed look at what’s new from the Argo Team
Argo Workflows 3.0, a detailed look at what’s new from the Argo Team
LibbySchulze
 
Amazingly Simple Serverless Go
Amazingly Simple Serverless GoAmazingly Simple Serverless Go
Amazingly Simple Serverless Go
Yun Zhi Lin
 
How do we use Kubernetes
How do we use KubernetesHow do we use Kubernetes
How do we use Kubernetes
Uri Savelchev
 
Deploying containerized applications with Kubeapps
Deploying containerized applications with KubeappsDeploying containerized applications with Kubeapps
Deploying containerized applications with Kubeapps
Janakiram MSV
 
kubernates and micro-services
kubernates and micro-serviceskubernates and micro-services
kubernates and micro-services
Megha Sahu
 
Building Event-Driven Workflows with Knative and Tekton
Building Event-Driven Workflows with Knative and TektonBuilding Event-Driven Workflows with Knative and Tekton
Building Event-Driven Workflows with Knative and Tekton
Leon Stigter
 
Knative, Serverless on Kubernetes, and Openshift
Knative, Serverless on Kubernetes, and OpenshiftKnative, Serverless on Kubernetes, and Openshift
Knative, Serverless on Kubernetes, and Openshift
Chris Suszyński
 
AWS Meetup - Liquid Studio Helsinki
AWS Meetup - Liquid Studio HelsinkiAWS Meetup - Liquid Studio Helsinki
AWS Meetup - Liquid Studio Helsinki
Mahdi Azarboon
 
How to share a Kubernetes cluster securely through Lens spaces
How to share a Kubernetes cluster securely through Lens spacesHow to share a Kubernetes cluster securely through Lens spaces
How to share a Kubernetes cluster securely through Lens spaces
LibbySchulze
 
Building cloud native apps with .net core 3.0 and kubernetes
Building cloud native apps with .net core 3.0 and kubernetesBuilding cloud native apps with .net core 3.0 and kubernetes
Building cloud native apps with .net core 3.0 and kubernetes
Nilesh Gule
 
Serverless Reality
Serverless RealityServerless Reality
Serverless Reality
Lynn Langit
 
Continuous Delivery to Kubernetes Using Helm
Continuous Delivery to Kubernetes Using HelmContinuous Delivery to Kubernetes Using Helm
Continuous Delivery to Kubernetes Using Helm
Adnan Abdulhussein
 
Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...
Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...
Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...
DevOps.com
 
Tooling Matters - Development tools
Tooling Matters - Development toolsTooling Matters - Development tools
Tooling Matters - Development tools
Simon Dittlmann
 
Cluster api devopscon berlin
Cluster api devopscon berlinCluster api devopscon berlin
Cluster api devopscon berlin
Guus van Weelden
 
Going Serverless with Kubeless In Google Container Engine (GKE)
Going Serverless with Kubeless In Google Container Engine (GKE)Going Serverless with Kubeless In Google Container Engine (GKE)
Going Serverless with Kubeless In Google Container Engine (GKE)
Bitnami
 
Building and Running Workloads the Knative Way
Building and Running Workloads the Knative WayBuilding and Running Workloads the Knative Way
Building and Running Workloads the Knative Way
QAware GmbH
 
Knative And Pivotal Function As a Service
Knative And Pivotal Function As a ServiceKnative And Pivotal Function As a Service
Knative And Pivotal Function As a Service
Jay Lee
 
The what, why and how of knative
The what, why and how of knativeThe what, why and how of knative
The what, why and how of knative
Mofizur Rahman
 
Argo Workflows 3.0, a detailed look at what’s new from the Argo Team
Argo Workflows 3.0, a detailed look at what’s new from the Argo TeamArgo Workflows 3.0, a detailed look at what’s new from the Argo Team
Argo Workflows 3.0, a detailed look at what’s new from the Argo Team
LibbySchulze
 
Amazingly Simple Serverless Go
Amazingly Simple Serverless GoAmazingly Simple Serverless Go
Amazingly Simple Serverless Go
Yun Zhi Lin
 
How do we use Kubernetes
How do we use KubernetesHow do we use Kubernetes
How do we use Kubernetes
Uri Savelchev
 
Deploying containerized applications with Kubeapps
Deploying containerized applications with KubeappsDeploying containerized applications with Kubeapps
Deploying containerized applications with Kubeapps
Janakiram MSV
 
kubernates and micro-services
kubernates and micro-serviceskubernates and micro-services
kubernates and micro-services
Megha Sahu
 
Building Event-Driven Workflows with Knative and Tekton
Building Event-Driven Workflows with Knative and TektonBuilding Event-Driven Workflows with Knative and Tekton
Building Event-Driven Workflows with Knative and Tekton
Leon Stigter
 
Knative, Serverless on Kubernetes, and Openshift
Knative, Serverless on Kubernetes, and OpenshiftKnative, Serverless on Kubernetes, and Openshift
Knative, Serverless on Kubernetes, and Openshift
Chris Suszyński
 
AWS Meetup - Liquid Studio Helsinki
AWS Meetup - Liquid Studio HelsinkiAWS Meetup - Liquid Studio Helsinki
AWS Meetup - Liquid Studio Helsinki
Mahdi Azarboon
 
How to share a Kubernetes cluster securely through Lens spaces
How to share a Kubernetes cluster securely through Lens spacesHow to share a Kubernetes cluster securely through Lens spaces
How to share a Kubernetes cluster securely through Lens spaces
LibbySchulze
 
Building cloud native apps with .net core 3.0 and kubernetes
Building cloud native apps with .net core 3.0 and kubernetesBuilding cloud native apps with .net core 3.0 and kubernetes
Building cloud native apps with .net core 3.0 and kubernetes
Nilesh Gule
 
Serverless Reality
Serverless RealityServerless Reality
Serverless Reality
Lynn Langit
 
Continuous Delivery to Kubernetes Using Helm
Continuous Delivery to Kubernetes Using HelmContinuous Delivery to Kubernetes Using Helm
Continuous Delivery to Kubernetes Using Helm
Adnan Abdulhussein
 
Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...
Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...
Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...
DevOps.com
 
Tooling Matters - Development tools
Tooling Matters - Development toolsTooling Matters - Development tools
Tooling Matters - Development tools
Simon Dittlmann
 
Cluster api devopscon berlin
Cluster api devopscon berlinCluster api devopscon berlin
Cluster api devopscon berlin
Guus van Weelden
 

Similar to Ansible Dresden meetup (Dec 2019) - How Operators with Ansible make Kubernetes Sing (20)

Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
VMUG IT
 
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
InfluxData
 
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Building Cloud-Native Applications with Kubernetes, Helm and KubelessBuilding Cloud-Native Applications with Kubernetes, Helm and Kubeless
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Bitnami
 
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James BroadheadMongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB
 
stackconf 2024 | Ignite: Is rust good for Kubernetes by Natalie Serebryakova ...
stackconf 2024 | Ignite: Is rust good for Kubernetes by Natalie Serebryakova ...stackconf 2024 | Ignite: Is rust good for Kubernetes by Natalie Serebryakova ...
stackconf 2024 | Ignite: Is rust good for Kubernetes by Natalie Serebryakova ...
NETWAYS
 
Ansible vs Kubernetes.pdf
Ansible vs Kubernetes.pdfAnsible vs Kubernetes.pdf
Ansible vs Kubernetes.pdf
VishnuGone
 
Best online kubernetes course in H2KInfosys.pdf
Best online kubernetes course in H2KInfosys.pdfBest online kubernetes course in H2KInfosys.pdf
Best online kubernetes course in H2KInfosys.pdf
abhayah2k
 
DevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesDevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to Kubernetes
Ronny Trommer
 
Docker and Kubernetes Training | Kubernetes Online Training
Docker and Kubernetes Training | Kubernetes Online TrainingDocker and Kubernetes Training | Kubernetes Online Training
Docker and Kubernetes Training | Kubernetes Online Training
navyatejavisualpath
 
Kubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CDKubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CD
Stfalcon Meetups
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021
Avanti Patil
 
The path to a serverless-native era with Kubernetes
The path to a serverless-native era with KubernetesThe path to a serverless-native era with Kubernetes
The path to a serverless-native era with Kubernetes
sparkfabrik
 
Significance Of Kubernetes In DevOps
Significance Of Kubernetes In DevOps Significance Of Kubernetes In DevOps
Significance Of Kubernetes In DevOps
Urolime Technologies
 
CNCF Rajkot group- Know the magic of kubernetes with AWS EKS
CNCF Rajkot group- Know the magic of kubernetes with AWS EKSCNCF Rajkot group- Know the magic of kubernetes with AWS EKS
CNCF Rajkot group- Know the magic of kubernetes with AWS EKS
amanmakwana3
 
[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais
[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais
[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais
Ambassador Labs
 
Kubernetes intro
Kubernetes introKubernetes intro
Kubernetes intro
Pravin Magdum
 
Introduction+to+Kubernetes-Details-D.pptx
Introduction+to+Kubernetes-Details-D.pptxIntroduction+to+Kubernetes-Details-D.pptx
Introduction+to+Kubernetes-Details-D.pptx
SantoshPandey160
 
Your Developers Can Be Heroes on Kubernetes
Your Developers Can Be Heroes on KubernetesYour Developers Can Be Heroes on Kubernetes
Your Developers Can Be Heroes on Kubernetes
Ambassador Labs
 
Containers and Kubernetes
Containers and KubernetesContainers and Kubernetes
Containers and Kubernetes
Nills Franssens
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
VMUG IT
 
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
InfluxData
 
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Building Cloud-Native Applications with Kubernetes, Helm and KubelessBuilding Cloud-Native Applications with Kubernetes, Helm and Kubeless
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Bitnami
 
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James BroadheadMongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB
 
stackconf 2024 | Ignite: Is rust good for Kubernetes by Natalie Serebryakova ...
stackconf 2024 | Ignite: Is rust good for Kubernetes by Natalie Serebryakova ...stackconf 2024 | Ignite: Is rust good for Kubernetes by Natalie Serebryakova ...
stackconf 2024 | Ignite: Is rust good for Kubernetes by Natalie Serebryakova ...
NETWAYS
 
Ansible vs Kubernetes.pdf
Ansible vs Kubernetes.pdfAnsible vs Kubernetes.pdf
Ansible vs Kubernetes.pdf
VishnuGone
 
Best online kubernetes course in H2KInfosys.pdf
Best online kubernetes course in H2KInfosys.pdfBest online kubernetes course in H2KInfosys.pdf
Best online kubernetes course in H2KInfosys.pdf
abhayah2k
 
DevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesDevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to Kubernetes
Ronny Trommer
 
Docker and Kubernetes Training | Kubernetes Online Training
Docker and Kubernetes Training | Kubernetes Online TrainingDocker and Kubernetes Training | Kubernetes Online Training
Docker and Kubernetes Training | Kubernetes Online Training
navyatejavisualpath
 
Kubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CDKubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CD
Stfalcon Meetups
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021
Avanti Patil
 
The path to a serverless-native era with Kubernetes
The path to a serverless-native era with KubernetesThe path to a serverless-native era with Kubernetes
The path to a serverless-native era with Kubernetes
sparkfabrik
 
Significance Of Kubernetes In DevOps
Significance Of Kubernetes In DevOps Significance Of Kubernetes In DevOps
Significance Of Kubernetes In DevOps
Urolime Technologies
 
CNCF Rajkot group- Know the magic of kubernetes with AWS EKS
CNCF Rajkot group- Know the magic of kubernetes with AWS EKSCNCF Rajkot group- Know the magic of kubernetes with AWS EKS
CNCF Rajkot group- Know the magic of kubernetes with AWS EKS
amanmakwana3
 
[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais
[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais
[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais
Ambassador Labs
 
Introduction+to+Kubernetes-Details-D.pptx
Introduction+to+Kubernetes-Details-D.pptxIntroduction+to+Kubernetes-Details-D.pptx
Introduction+to+Kubernetes-Details-D.pptx
SantoshPandey160
 
Your Developers Can Be Heroes on Kubernetes
Your Developers Can Be Heroes on KubernetesYour Developers Can Be Heroes on Kubernetes
Your Developers Can Be Heroes on Kubernetes
Ambassador Labs
 
Containers and Kubernetes
Containers and KubernetesContainers and Kubernetes
Containers and Kubernetes
Nills Franssens
 
Ad

More from Carol Chen (13)

Ansible Meetup - 2023-01 Stockholm
Ansible Meetup - 2023-01 StockholmAnsible Meetup - 2023-01 Stockholm
Ansible Meetup - 2023-01 Stockholm
Carol Chen
 
Ansible in DevOps Torun-Bydgoszcz (Jan 2020) - Ansible Community in Europe an...
Ansible in DevOps Torun-Bydgoszcz (Jan 2020) - Ansible Community in Europe an...Ansible in DevOps Torun-Bydgoszcz (Jan 2020) - Ansible Community in Europe an...
Ansible in DevOps Torun-Bydgoszcz (Jan 2020) - Ansible Community in Europe an...
Carol Chen
 
Kubernetes Tampere Meetup (June 2019) - community, operators and more
Kubernetes Tampere Meetup (June 2019) - community, operators and moreKubernetes Tampere Meetup (June 2019) - community, operators and more
Kubernetes Tampere Meetup (June 2019) - community, operators and more
Carol Chen
 
Ansible Munich meetup (Feb 2019) - Automate Kubernetes with Ansible Operators...
Ansible Munich meetup (Feb 2019) - Automate Kubernetes with Ansible Operators...Ansible Munich meetup (Feb 2019) - Automate Kubernetes with Ansible Operators...
Ansible Munich meetup (Feb 2019) - Automate Kubernetes with Ansible Operators...
Carol Chen
 
foss-north 2019 - Managing a Community like Conducting an Orchestra
foss-north 2019 - Managing a Community like Conducting an Orchestrafoss-north 2019 - Managing a Community like Conducting an Orchestra
foss-north 2019 - Managing a Community like Conducting an Orchestra
Carol Chen
 
Ansible Helsinki meetup (April 2019) - Community update
Ansible Helsinki meetup (April 2019) - Community updateAnsible Helsinki meetup (April 2019) - Community update
Ansible Helsinki meetup (April 2019) - Community update
Carol Chen
 
Ansible Munich meetup (Feb 2019) - Community update
Ansible Munich meetup (Feb 2019) - Community updateAnsible Munich meetup (Feb 2019) - Community update
Ansible Munich meetup (Feb 2019) - Community update
Carol Chen
 
FOSDEM 2018 Cultural Interpretations of Design and Openness
FOSDEM 2018 Cultural Interpretations of Design and OpennessFOSDEM 2018 Cultural Interpretations of Design and Openness
FOSDEM 2018 Cultural Interpretations of Design and Openness
Carol Chen
 
Fossasia 2017 - ManageIQ presentation
Fossasia 2017 - ManageIQ presentationFossasia 2017 - ManageIQ presentation
Fossasia 2017 - ManageIQ presentation
Carol Chen
 
City of Salo - Open Source Communities (Nov 2014)
City of Salo - Open Source Communities (Nov 2014)City of Salo - Open Source Communities (Nov 2014)
City of Salo - Open Source Communities (Nov 2014)
Carol Chen
 
Nice Tuesday (20 May 2014)
Nice Tuesday (20 May 2014)Nice Tuesday (20 May 2014)
Nice Tuesday (20 May 2014)
Carol Chen
 
Jolla hackday - Intro to Devaamo (Sept 2012)
Jolla hackday - Intro to Devaamo (Sept 2012)Jolla hackday - Intro to Devaamo (Sept 2012)
Jolla hackday - Intro to Devaamo (Sept 2012)
Carol Chen
 
Community Discussion - Carol Chen, Sergio Ocón - ManageIQ Design Summit 2016
Community Discussion - Carol Chen, Sergio Ocón - ManageIQ Design Summit 2016Community Discussion - Carol Chen, Sergio Ocón - ManageIQ Design Summit 2016
Community Discussion - Carol Chen, Sergio Ocón - ManageIQ Design Summit 2016
Carol Chen
 
Ansible Meetup - 2023-01 Stockholm
Ansible Meetup - 2023-01 StockholmAnsible Meetup - 2023-01 Stockholm
Ansible Meetup - 2023-01 Stockholm
Carol Chen
 
Ansible in DevOps Torun-Bydgoszcz (Jan 2020) - Ansible Community in Europe an...
Ansible in DevOps Torun-Bydgoszcz (Jan 2020) - Ansible Community in Europe an...Ansible in DevOps Torun-Bydgoszcz (Jan 2020) - Ansible Community in Europe an...
Ansible in DevOps Torun-Bydgoszcz (Jan 2020) - Ansible Community in Europe an...
Carol Chen
 
Kubernetes Tampere Meetup (June 2019) - community, operators and more
Kubernetes Tampere Meetup (June 2019) - community, operators and moreKubernetes Tampere Meetup (June 2019) - community, operators and more
Kubernetes Tampere Meetup (June 2019) - community, operators and more
Carol Chen
 
Ansible Munich meetup (Feb 2019) - Automate Kubernetes with Ansible Operators...
Ansible Munich meetup (Feb 2019) - Automate Kubernetes with Ansible Operators...Ansible Munich meetup (Feb 2019) - Automate Kubernetes with Ansible Operators...
Ansible Munich meetup (Feb 2019) - Automate Kubernetes with Ansible Operators...
Carol Chen
 
foss-north 2019 - Managing a Community like Conducting an Orchestra
foss-north 2019 - Managing a Community like Conducting an Orchestrafoss-north 2019 - Managing a Community like Conducting an Orchestra
foss-north 2019 - Managing a Community like Conducting an Orchestra
Carol Chen
 
Ansible Helsinki meetup (April 2019) - Community update
Ansible Helsinki meetup (April 2019) - Community updateAnsible Helsinki meetup (April 2019) - Community update
Ansible Helsinki meetup (April 2019) - Community update
Carol Chen
 
Ansible Munich meetup (Feb 2019) - Community update
Ansible Munich meetup (Feb 2019) - Community updateAnsible Munich meetup (Feb 2019) - Community update
Ansible Munich meetup (Feb 2019) - Community update
Carol Chen
 
FOSDEM 2018 Cultural Interpretations of Design and Openness
FOSDEM 2018 Cultural Interpretations of Design and OpennessFOSDEM 2018 Cultural Interpretations of Design and Openness
FOSDEM 2018 Cultural Interpretations of Design and Openness
Carol Chen
 
Fossasia 2017 - ManageIQ presentation
Fossasia 2017 - ManageIQ presentationFossasia 2017 - ManageIQ presentation
Fossasia 2017 - ManageIQ presentation
Carol Chen
 
City of Salo - Open Source Communities (Nov 2014)
City of Salo - Open Source Communities (Nov 2014)City of Salo - Open Source Communities (Nov 2014)
City of Salo - Open Source Communities (Nov 2014)
Carol Chen
 
Nice Tuesday (20 May 2014)
Nice Tuesday (20 May 2014)Nice Tuesday (20 May 2014)
Nice Tuesday (20 May 2014)
Carol Chen
 
Jolla hackday - Intro to Devaamo (Sept 2012)
Jolla hackday - Intro to Devaamo (Sept 2012)Jolla hackday - Intro to Devaamo (Sept 2012)
Jolla hackday - Intro to Devaamo (Sept 2012)
Carol Chen
 
Community Discussion - Carol Chen, Sergio Ocón - ManageIQ Design Summit 2016
Community Discussion - Carol Chen, Sergio Ocón - ManageIQ Design Summit 2016Community Discussion - Carol Chen, Sergio Ocón - ManageIQ Design Summit 2016
Community Discussion - Carol Chen, Sergio Ocón - ManageIQ Design Summit 2016
Carol Chen
 
Ad

Recently uploaded (20)

Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
Building the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdfBuilding the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdf
Cheryl Hung
 
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptxUiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
anabulhac
 
MEMS IC Substrate Technologies Guide 2025.pptx
MEMS IC Substrate Technologies Guide 2025.pptxMEMS IC Substrate Technologies Guide 2025.pptx
MEMS IC Substrate Technologies Guide 2025.pptx
IC substrate Shawn Wang
 
Dark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanizationDark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanization
Jakub Šimek
 
Why Slack Should Be Your Next Business Tool? (Tips to Make Most out of Slack)
Why Slack Should Be Your Next Business Tool? (Tips to Make Most out of Slack)Why Slack Should Be Your Next Business Tool? (Tips to Make Most out of Slack)
Why Slack Should Be Your Next Business Tool? (Tips to Make Most out of Slack)
Cyntexa
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
IT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information TechnologyIT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information Technology
SHEHABALYAMANI
 
Understanding SEO in the Age of AI.pdf
Understanding SEO in the Age of AI.pdfUnderstanding SEO in the Age of AI.pdf
Understanding SEO in the Age of AI.pdf
Fulcrum Concepts, LLC
 
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Alan Dix
 
Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025
Damco Salesforce Services
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Developing System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptxDeveloping System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptx
wondimagegndesta
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Build With AI - In Person Session Slides.pdf
Build With AI - In Person Session Slides.pdfBuild With AI - In Person Session Slides.pdf
Build With AI - In Person Session Slides.pdf
Google Developer Group - Harare
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
DNF 2.0 Implementations Challenges in Nepal
DNF 2.0 Implementations Challenges in NepalDNF 2.0 Implementations Challenges in Nepal
DNF 2.0 Implementations Challenges in Nepal
ICT Frame Magazine Pvt. Ltd.
 
React Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for SuccessReact Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for Success
Amelia Swank
 
AI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamsonAI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamson
UXPA Boston
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
Building the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdfBuilding the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdf
Cheryl Hung
 
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptxUiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
anabulhac
 
MEMS IC Substrate Technologies Guide 2025.pptx
MEMS IC Substrate Technologies Guide 2025.pptxMEMS IC Substrate Technologies Guide 2025.pptx
MEMS IC Substrate Technologies Guide 2025.pptx
IC substrate Shawn Wang
 
Dark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanizationDark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanization
Jakub Šimek
 
Why Slack Should Be Your Next Business Tool? (Tips to Make Most out of Slack)
Why Slack Should Be Your Next Business Tool? (Tips to Make Most out of Slack)Why Slack Should Be Your Next Business Tool? (Tips to Make Most out of Slack)
Why Slack Should Be Your Next Business Tool? (Tips to Make Most out of Slack)
Cyntexa
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
IT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information TechnologyIT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information Technology
SHEHABALYAMANI
 
Understanding SEO in the Age of AI.pdf
Understanding SEO in the Age of AI.pdfUnderstanding SEO in the Age of AI.pdf
Understanding SEO in the Age of AI.pdf
Fulcrum Concepts, LLC
 
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Alan Dix
 
Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025
Damco Salesforce Services
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Developing System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptxDeveloping System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptx
wondimagegndesta
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
React Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for SuccessReact Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for Success
Amelia Swank
 
AI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamsonAI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamson
UXPA Boston
 

Ansible Dresden meetup (Dec 2019) - How Operators with Ansible make Kubernetes Sing

  • 1. How Operators with Ansible make Kubernetes Sing Carol Chen Senior Community Architect Twitter/Github/freenode IRC: @cybette
  • 2. The Ansible Operator SDK makes it easier to deploy and manage Kubernetes applications with native Ansible support
  • 3. What is Kubernetes? An open source orchestration system for implementing a microservices architecture as containerized applications run and coordinated across a cluster of nodes. Red Hat® OpenShift® is a comprehensive enterprise-grade application platform built for containers with Kubernetes at its core. Kubernetes Operators with Ansible
  • 5. ● Encode human operational knowledge ● Automatically patch, upgrade, recover, and tune container-based apps and services ● Kubernetes-native ● Purpose-built for a specific application or service ● Enable “day 2” management Kubernetes Operators with Ansible Kubernetes Operators Operators simplify management of complex applications on Kubernetes
  • 6. Encoding and automating Ops knowledge WITH OPERATORS: PROACTIVE Continually adjusts to optimal state Automatically acts in milliseconds WITHOUT OPERATORS: REACTIVE Continually checks for anomalies Alert humans for response Requires manual change to fix Kubernetes Operators with Ansible
  • 7. Making it easier to deploy and manage Kubernetes apps in an Ansible-native way Ansible Operator SDK Kubernetes Operators with Ansible Use the Operator SDK to create a new skeleton Operator. operator-sdk new Add Ansible Content Use Ansible Roles and playbooks to manage lifecycle events for your containerized applications. operator-sdk build Use the Operator SDK to build and deploy your Operator to Kubernetes.
  • 8. EXISTING SKILLS & ECOSYSTEM Same tried & trusted Ansible tooling Utilize existing skills Supports cloud-native & traditional IT automation with one simple language Leverages vibrant existing ecosystem Why build Operators with Ansible? LOWER BARRIER OF ENTRY No programming required Faster iterations and easier maintenance Declarative state definitions like K8s Templating of resources Abstraction layer & helpers that reduces necessary K8s API experience Kubernetes Operators with Ansible
  • 9. Developing your first Operator with Ansible ● Initialize Your Operator With Ansible ○ $ operator-sdk new foo-operator --api-version=cache.example.com/v1alpha1 --kind=Foo --type=ansible ● Automate With Ansible ○ Create new roles and playbooks or reuse an existing one ● Define a watches file ○ Map a Kubernetes object to your Ansible content ● Build Your Operator ○ $ operator-sdk build foo-operator:v0.0.1 ● Deploy Your Operator to a Kubernetes Cluster Kubernetes Operators with Ansible
  • 10. Get started with Ansible: Get started with Operators: ansible.com/get-started ansible.com/community github.com/operator-framework/getting-started ansible.com/operators Next steps Deep Dive with Ansible Operators: ansible.com/blog/kubernetes-operators-ansible-deep-dive-part-1 ansible.com/blog/kubernetes-operators-ansible-deep-dive-part-2
  • 11. More resources ● Ansible Operator Interactive Learning: learn.openshift.com/ansibleop ● Operator Hub: operatorhub.io ● Submit Your Operator: github.com/operator-framework/community-operators ● Operator Framework Mailing List: groups.google.com/forum/#!forum/operator-framework
  • 12. etcd Operator A great example of a sophisticated Kubernetes Operator using Ansible: github.com/water-hole/etcd-ansible-operator Memcached Operator Simple walkthrough for building an Operators using the Ansible Operator SDK and Kubernetes CRDs github.com/operator-framework/operator-sdk-sample s/tree/master/memcached-operator More resources
  翻译: