SlideShare a Scribd company logo
1 of 13
Download to read offline
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

More Related Content

What's hot

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 WayQAware 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 ServiceJay 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 knativeMofizur 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 TeamLibbySchulze
 
Amazingly Simple Serverless Go
Amazingly Simple Serverless GoAmazingly Simple Serverless Go
Amazingly Simple Serverless GoYun Zhi Lin
 
How do we use Kubernetes
How do we use KubernetesHow do we use Kubernetes
How do we use KubernetesUri Savelchev
 
Deploying containerized applications with Kubeapps
Deploying containerized applications with KubeappsDeploying containerized applications with Kubeapps
Deploying containerized applications with KubeappsJanakiram MSV
 
kubernates and micro-services
kubernates and micro-serviceskubernates and micro-services
kubernates and micro-servicesMegha 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 TektonLeon Stigter
 
Knative, Serverless on Kubernetes, and Openshift
Knative, Serverless on Kubernetes, and OpenshiftKnative, Serverless on Kubernetes, and Openshift
Knative, Serverless on Kubernetes, and OpenshiftChris Suszyński
 
AWS Meetup - Liquid Studio Helsinki
AWS Meetup - Liquid Studio HelsinkiAWS Meetup - Liquid Studio Helsinki
AWS Meetup - Liquid Studio HelsinkiMahdi 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 spacesLibbySchulze
 
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 kubernetesNilesh Gule
 
Serverless Reality
Serverless RealityServerless Reality
Serverless RealityLynn Langit
 
Continuous Delivery to Kubernetes Using Helm
Continuous Delivery to Kubernetes Using HelmContinuous Delivery to Kubernetes Using Helm
Continuous Delivery to Kubernetes Using HelmAdnan 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 toolsSimon Dittlmann
 
Cluster api devopscon berlin
Cluster api devopscon berlinCluster api devopscon berlin
Cluster api devopscon berlinGuus van Weelden
 

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)
 
Why kubernetes
Why kubernetesWhy kubernetes
Why kubernetes
 
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
 
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
 
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
 
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
 
Amazingly Simple Serverless Go
Amazingly Simple Serverless GoAmazingly Simple Serverless Go
Amazingly Simple Serverless Go
 
How do we use Kubernetes
How do we use KubernetesHow do we use Kubernetes
How do we use Kubernetes
 
Deploying containerized applications with Kubeapps
Deploying containerized applications with KubeappsDeploying containerized applications with Kubeapps
Deploying containerized applications with Kubeapps
 
kubernates and micro-services
kubernates and micro-serviceskubernates and micro-services
kubernates and micro-services
 
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
 
Knative, Serverless on Kubernetes, and Openshift
Knative, Serverless on Kubernetes, and OpenshiftKnative, Serverless on Kubernetes, and Openshift
Knative, Serverless on Kubernetes, and Openshift
 
AWS Meetup - Liquid Studio Helsinki
AWS Meetup - Liquid Studio HelsinkiAWS Meetup - Liquid Studio Helsinki
AWS Meetup - Liquid Studio Helsinki
 
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
 
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
 
Serverless Reality
Serverless RealityServerless Reality
Serverless Reality
 
Continuous Delivery to Kubernetes Using Helm
Continuous Delivery to Kubernetes Using HelmContinuous Delivery to Kubernetes Using Helm
Continuous Delivery to Kubernetes Using Helm
 
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...
 
Tooling Matters - Development tools
Tooling Matters - Development toolsTooling Matters - Development tools
Tooling Matters - Development tools
 
Cluster api devopscon berlin
Cluster api devopscon berlinCluster api devopscon berlin
Cluster api devopscon berlin
 

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

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, VMwareVMUG 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 KubelessBitnami
 
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 BroadheadMongoDB
 
Ansible vs Kubernetes.pdf
Ansible vs Kubernetes.pdfAnsible vs Kubernetes.pdf
Ansible vs Kubernetes.pdfVishnuGone
 
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.pdfabhayah2k
 
DevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesDevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesRonny Trommer
 
Kubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CDKubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CDStfalcon Meetups
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Avanti 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 Kubernetessparkfabrik
 
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 EKSamanmakwana3
 
[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 GervaisAmbassador Labs
 
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 KubernetesAmbassador Labs
 
Containers and Kubernetes
Containers and KubernetesContainers and Kubernetes
Containers and KubernetesNills Franssens
 
Jenkins_K8s (2).pptx
Jenkins_K8s (2).pptxJenkins_K8s (2).pptx
Jenkins_K8s (2).pptxkhalil Ismail
 
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdfCloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdfNilesh Gule
 
FIWARE Global Summit - Leveraging Kubernetes for FIWARE Components Automations
FIWARE Global Summit - Leveraging Kubernetes for FIWARE Components AutomationsFIWARE Global Summit - Leveraging Kubernetes for FIWARE Components Automations
FIWARE Global Summit - Leveraging Kubernetes for FIWARE Components AutomationsFIWARE
 
Running Kubernetes on OpenStack
Running Kubernetes on OpenStackRunning Kubernetes on OpenStack
Running Kubernetes on OpenStackLiz Warner
 

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

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
 
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 ...
 
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
 
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
 
Ansible vs Kubernetes.pdf
Ansible vs Kubernetes.pdfAnsible vs Kubernetes.pdf
Ansible vs Kubernetes.pdf
 
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
 
DevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesDevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to Kubernetes
 
Kubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CDKubernetes: від знайомства до використання у CI/CD
Kubernetes: від знайомства до використання у CI/CD
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021
 
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
 
Significance Of Kubernetes In DevOps
Significance Of Kubernetes In DevOps Significance Of Kubernetes In DevOps
Significance Of Kubernetes In DevOps
 
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
 
[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
 
Kubernetes intro
Kubernetes introKubernetes intro
Kubernetes intro
 
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
 
Containers and Kubernetes
Containers and KubernetesContainers and Kubernetes
Containers and Kubernetes
 
Jenkins_K8s (2).pptx
Jenkins_K8s (2).pptxJenkins_K8s (2).pptx
Jenkins_K8s (2).pptx
 
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdfCloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
 
FIWARE Global Summit - Leveraging Kubernetes for FIWARE Components Automations
FIWARE Global Summit - Leveraging Kubernetes for FIWARE Components AutomationsFIWARE Global Summit - Leveraging Kubernetes for FIWARE Components Automations
FIWARE Global Summit - Leveraging Kubernetes for FIWARE Components Automations
 
Running Kubernetes on OpenStack
Running Kubernetes on OpenStackRunning Kubernetes on OpenStack
Running Kubernetes on OpenStack
 

More from Carol Chen

Ansible Meetup - 2023-01 Stockholm
Ansible Meetup - 2023-01 StockholmAnsible Meetup - 2023-01 Stockholm
Ansible Meetup - 2023-01 StockholmCarol 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 moreCarol 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 OrchestraCarol 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 updateCarol 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 updateCarol 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 OpennessCarol Chen
 
Fossasia 2017 - ManageIQ presentation
Fossasia 2017 - ManageIQ presentationFossasia 2017 - ManageIQ presentation
Fossasia 2017 - ManageIQ presentationCarol 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 2016Carol Chen
 

More from Carol Chen (13)

Ansible Meetup - 2023-01 Stockholm
Ansible Meetup - 2023-01 StockholmAnsible Meetup - 2023-01 Stockholm
Ansible Meetup - 2023-01 Stockholm
 
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...
 
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
 
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...
 
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
 
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
 
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
 
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
 
Fossasia 2017 - ManageIQ presentation
Fossasia 2017 - ManageIQ presentationFossasia 2017 - ManageIQ presentation
Fossasia 2017 - ManageIQ presentation
 
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)
 
Nice Tuesday (20 May 2014)
Nice Tuesday (20 May 2014)Nice Tuesday (20 May 2014)
Nice Tuesday (20 May 2014)
 
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)
 
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
 

Recently uploaded

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

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