SlideShare una empresa de Scribd logo
1 de 26
DevOps
Open House III
Thursday 22nd
October 7-8 pm
Agenda
•Introductions
•Overview of DevOps
•Kubernetes (YAML)
•Questions
Prashant Beniwal
• 20 Years experience in IT Telecom Industry in variety of roles including
Development, Support and Quality Assurance.
• Extremely conversant with Telecom Domain and keen interest in multiple tools
technologies
• Certified DevOps Trainer and Coach.
• AI and Machine Learning Enthusiast
• Micro Services using Cloud, Docker and Kubernetes
• Training Assignments: India – Amdocs, Cyprus –Amdocs, Ireland – BriteBill,
Spain – BriteBill, India – Qualitest, Edureka – Devops, StarAgile, Vinsys, Excendo
• Avid Public Speaker at multiple conferences
• Visiting faculty at various universities
www.linkedin.com/in/prashant-beniwal+91-9850979757
pbeniwal@yahoo.com
Last Open house we saw the
DevOps Pipeline in action.
Lets quickly see it running once
again..
CPDOF CI-CD Pipeline
Running your application
on GKE
About GKE
• Google Kubernetes Engine is a managed, production-ready environment for
deploying containerized applications
• Kubernetes Engine allows you to get up and running with Kubernetes in no
time, by completely eliminating the need to install, manage, and operate
your own Kubernetes clusters.
• Managed Kubernetes Engine feature allows you to handle increased user
demand for your services, keeping them available when it matters most
Ref:
https://cloud.google.co
m/kubernetes-engine/
1. Package your app into a Docker image
2. Upload the image to a registry
3. Deploy your app to the cluster
4. Expose your app to the Internet
5. Deploy a new version of your app
To package and deploy your application on GKE:
Flow of Demo on GKE:
Load BalancerChrome
External Load balancer Service
Deployment
Replica Set
POD
Container
Control Node
Worker Node
Imperative vs Declarative
Imperative vs Declarative
Declarative
• Describe what you want to have
• e.g. I would like a cup of coffee
• Writing Manifest file for performing operation in Kubernetes
• Follows principle of Infrastructure as Code (IaC)
Imperative
• Tell me what to do
• e.g. Boil water, Pour it in a pot, Put coffee powder ...
• In Kubernetest giving kubectl command from Command line
YAML Basics
Basics of YAML
• YAML is serialization language
• Human readable and intuitive
• Key Value Pair using syntax:
• <key>: <value>
• Indentation and line seperation denotes
the structure
• Members of List begin with –
• Used by popular tools like:
• Docker
• Kubernetes
• Ansible
• Prometheus
Service:
- app: my-web
port: 9090
version: 1.0 <Services>
<Service>
<app>my-web</app>
<port> 9090</port>
<version>1.0 </version>
</Service>
</Services>
YAML
XML
{
Services: [
{
app: “my-web”
port: 9090
version: “1.0”
}
]
}
JSON
Sample POD YAML Manifest file
• Main four sections
• apiVersion
• kind
• metadata
• spec
• apiVersion is as per Kubernetes API
version
• Kind could have values like Pod,
Deployment, Services etc. which are
Kubernetes Objects
• Metadata is informaiton about the
Kubernetes objects
• Spec is all details about specification of
Kubernetes object
apiVersion:
kind:
metadata:
spec:
YAML
apiVersion: v1
kind:
metadata:
spec:
apiVersion: v1
kind: Pod
metadata:
spec:
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
containers:
- name: web
image: tomcat
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
kubectl run my-pod --image=tomcat
Imperative
kubectl create deploy helloworld --image=pbeniwal/helloworld:v1 --port=8080 –replicas=2
Create Deployment
Imperative
Declarative
kubectl expose deployment helloworld --type LoadBalancer --port 80 --target-port 8080
Create Service
Imperative
Declarative
Access Application
5. Deploy a new version of your app
New changes deployment flow
Webhook
Deployment
Replica Set
POD
Container
Worker Node
External Load balancer Service
Control Node
About CP-DOF
(Certified Professional-DevOps Foundation)
https://cpdof.devopsppalliance.org/
https://cpdof.devopsppalliance.org/
CP-DOF Testimonials
https://cpdof.dev
opsppalliance.org
/testimonials
Upcoming CP-DOF program
You are all entitled for a special 10% off on the early bird price
Questions ?
Thanks for being a part of
DevOps Open house III

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
Kubernetes Architecture and Introduction
Kubernetes Architecture and IntroductionKubernetes Architecture and Introduction
Kubernetes Architecture and Introduction
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
 
Introduction to Kubernetes Workshop
Introduction to Kubernetes WorkshopIntroduction to Kubernetes Workshop
Introduction to Kubernetes Workshop
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
 
Deep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingDeep dive into Kubernetes Networking
Deep dive into Kubernetes Networking
 
K8s in 3h - Kubernetes Fundamentals Training
K8s in 3h - Kubernetes Fundamentals TrainingK8s in 3h - Kubernetes Fundamentals Training
K8s in 3h - Kubernetes Fundamentals Training
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetes
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep Dive
 
Devops - Microservice and Kubernetes
Devops - Microservice and KubernetesDevops - Microservice and Kubernetes
Devops - Microservice and Kubernetes
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016
 
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
Docker intro
Docker introDocker intro
Docker intro
 
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
 
OpenShift-Technical-Overview.pdf
OpenShift-Technical-Overview.pdfOpenShift-Technical-Overview.pdf
OpenShift-Technical-Overview.pdf
 
Kubernetes for Beginners: An Introductory Guide
Kubernetes for Beginners: An Introductory GuideKubernetes for Beginners: An Introductory Guide
Kubernetes for Beginners: An Introductory Guide
 
Google Kubernetes Engine (GKE) deep dive
Google Kubernetes Engine (GKE) deep diveGoogle Kubernetes Engine (GKE) deep dive
Google Kubernetes Engine (GKE) deep dive
 

Similar a DevOps Open House III - Kubernetes using YAML

Similar a DevOps Open House III - Kubernetes using YAML (20)

DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2
 
Containers, Serverless and Functions in a nutshell
Containers, Serverless and Functions in a nutshellContainers, Serverless and Functions in a nutshell
Containers, Serverless and Functions in a nutshell
 
Serverless brewbox
Serverless   brewboxServerless   brewbox
Serverless brewbox
 
2019-06 - Goto Amsterdam - Microservices
2019-06 - Goto Amsterdam - Microservices2019-06 - Goto Amsterdam - Microservices
2019-06 - Goto Amsterdam - Microservices
 
Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
 
Adf with docker
Adf with dockerAdf with docker
Adf with docker
 
Dockerizing OpenStack for High Availability
Dockerizing OpenStack for High AvailabilityDockerizing OpenStack for High Availability
Dockerizing OpenStack for High Availability
 
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
 
DevOps Openhouse II - Kubernetes in Action part 1
DevOps Openhouse II - Kubernetes in Action part 1DevOps Openhouse II - Kubernetes in Action part 1
DevOps Openhouse II - Kubernetes in Action part 1
 
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
 
Ansible Tower | Docker | Cisco ACI
Ansible Tower | Docker | Cisco ACIAnsible Tower | Docker | Cisco ACI
Ansible Tower | Docker | Cisco ACI
 
PaaSVSContainerization
PaaSVSContainerizationPaaSVSContainerization
PaaSVSContainerization
 
IBM Open Cloud Update XCITE Fall 2014
IBM Open Cloud Update   XCITE Fall 2014IBM Open Cloud Update   XCITE Fall 2014
IBM Open Cloud Update XCITE Fall 2014
 
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
OSDC 2018 | Three years running containers with Kubernetes in Production by T...OSDC 2018 | Three years running containers with Kubernetes in Production by T...
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
 
Creating a Kubernetes Operator in Java
Creating a Kubernetes Operator in JavaCreating a Kubernetes Operator in Java
Creating a Kubernetes Operator in Java
 
Containerized architectures for deep learning
Containerized architectures for deep learningContainerized architectures for deep learning
Containerized architectures for deep learning
 
Containers and Microservices for Realists
Containers and Microservices for RealistsContainers and Microservices for Realists
Containers and Microservices for Realists
 
Containers and microservices for realists
Containers and microservices for realistsContainers and microservices for realists
Containers and microservices for realists
 
Why kubernetes matters
Why kubernetes mattersWhy kubernetes matters
Why kubernetes matters
 
AWS ECS Copilot DevOps Presentation
AWS ECS Copilot DevOps PresentationAWS ECS Copilot DevOps Presentation
AWS ECS Copilot DevOps Presentation
 

Más de Agile Testing Alliance

Más de Agile Testing Alliance (20)

#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
 
#Interactive Session by Ajay Balamurugadas, "Where Are The Real Testers In T...
#Interactive Session by  Ajay Balamurugadas, "Where Are The Real Testers In T...#Interactive Session by  Ajay Balamurugadas, "Where Are The Real Testers In T...
#Interactive Session by Ajay Balamurugadas, "Where Are The Real Testers In T...
 
#Interactive Session by Jishnu Nambiar and Mayur Ovhal, "Monitoring Web Per...
#Interactive Session by  Jishnu Nambiar and  Mayur Ovhal, "Monitoring Web Per...#Interactive Session by  Jishnu Nambiar and  Mayur Ovhal, "Monitoring Web Per...
#Interactive Session by Jishnu Nambiar and Mayur Ovhal, "Monitoring Web Per...
 
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
 
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
 
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
 
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
 
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
 
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
 
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
 
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
 
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
 
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
 
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
 
#Interactive Session by Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
#Interactive Session by  Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...#Interactive Session by  Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
#Interactive Session by Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
 
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
 
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
 
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
 
#Interactive Session by Aniket Diwakar Kadukar and Padimiti Vaidik Eswar Dat...
#Interactive Session by Aniket Diwakar Kadukar and  Padimiti Vaidik Eswar Dat...#Interactive Session by Aniket Diwakar Kadukar and  Padimiti Vaidik Eswar Dat...
#Interactive Session by Aniket Diwakar Kadukar and Padimiti Vaidik Eswar Dat...
 
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 

DevOps Open House III - Kubernetes using YAML

  • 1. DevOps Open House III Thursday 22nd October 7-8 pm
  • 3. Prashant Beniwal • 20 Years experience in IT Telecom Industry in variety of roles including Development, Support and Quality Assurance. • Extremely conversant with Telecom Domain and keen interest in multiple tools technologies • Certified DevOps Trainer and Coach. • AI and Machine Learning Enthusiast • Micro Services using Cloud, Docker and Kubernetes • Training Assignments: India – Amdocs, Cyprus –Amdocs, Ireland – BriteBill, Spain – BriteBill, India – Qualitest, Edureka – Devops, StarAgile, Vinsys, Excendo • Avid Public Speaker at multiple conferences • Visiting faculty at various universities www.linkedin.com/in/prashant-beniwal+91-9850979757 pbeniwal@yahoo.com
  • 4. Last Open house we saw the DevOps Pipeline in action. Lets quickly see it running once again..
  • 5.
  • 8. About GKE • Google Kubernetes Engine is a managed, production-ready environment for deploying containerized applications • Kubernetes Engine allows you to get up and running with Kubernetes in no time, by completely eliminating the need to install, manage, and operate your own Kubernetes clusters. • Managed Kubernetes Engine feature allows you to handle increased user demand for your services, keeping them available when it matters most Ref: https://cloud.google.co m/kubernetes-engine/
  • 9. 1. Package your app into a Docker image 2. Upload the image to a registry 3. Deploy your app to the cluster 4. Expose your app to the Internet 5. Deploy a new version of your app To package and deploy your application on GKE:
  • 10. Flow of Demo on GKE: Load BalancerChrome External Load balancer Service Deployment Replica Set POD Container Control Node Worker Node
  • 12. Imperative vs Declarative Declarative • Describe what you want to have • e.g. I would like a cup of coffee • Writing Manifest file for performing operation in Kubernetes • Follows principle of Infrastructure as Code (IaC) Imperative • Tell me what to do • e.g. Boil water, Pour it in a pot, Put coffee powder ... • In Kubernetest giving kubectl command from Command line
  • 14. Basics of YAML • YAML is serialization language • Human readable and intuitive • Key Value Pair using syntax: • <key>: <value> • Indentation and line seperation denotes the structure • Members of List begin with – • Used by popular tools like: • Docker • Kubernetes • Ansible • Prometheus Service: - app: my-web port: 9090 version: 1.0 <Services> <Service> <app>my-web</app> <port> 9090</port> <version>1.0 </version> </Service> </Services> YAML XML { Services: [ { app: “my-web” port: 9090 version: “1.0” } ] } JSON
  • 15. Sample POD YAML Manifest file • Main four sections • apiVersion • kind • metadata • spec • apiVersion is as per Kubernetes API version • Kind could have values like Pod, Deployment, Services etc. which are Kubernetes Objects • Metadata is informaiton about the Kubernetes objects • Spec is all details about specification of Kubernetes object apiVersion: kind: metadata: spec: YAML apiVersion: v1 kind: metadata: spec: apiVersion: v1 kind: Pod metadata: spec: apiVersion: v1 kind: Pod metadata: name: my-pod spec: containers: - name: web image: tomcat apiVersion: v1 kind: Pod metadata: name: my-pod spec: kubectl run my-pod --image=tomcat Imperative
  • 16. kubectl create deploy helloworld --image=pbeniwal/helloworld:v1 --port=8080 –replicas=2 Create Deployment Imperative Declarative
  • 17. kubectl expose deployment helloworld --type LoadBalancer --port 80 --target-port 8080 Create Service Imperative Declarative
  • 19. 5. Deploy a new version of your app
  • 20. New changes deployment flow Webhook Deployment Replica Set POD Container Worker Node External Load balancer Service Control Node
  • 21. About CP-DOF (Certified Professional-DevOps Foundation) https://cpdof.devopsppalliance.org/
  • 24. Upcoming CP-DOF program You are all entitled for a special 10% off on the early bird price
  • 26. Thanks for being a part of DevOps Open house III