Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

of

DevOps Open House III - Kubernetes using YAML Slide 1 DevOps Open House III - Kubernetes using YAML Slide 2 DevOps Open House III - Kubernetes using YAML Slide 3 DevOps Open House III - Kubernetes using YAML Slide 4 DevOps Open House III - Kubernetes using YAML Slide 5 DevOps Open House III - Kubernetes using YAML Slide 6 DevOps Open House III - Kubernetes using YAML Slide 7 DevOps Open House III - Kubernetes using YAML Slide 8 DevOps Open House III - Kubernetes using YAML Slide 9 DevOps Open House III - Kubernetes using YAML Slide 10 DevOps Open House III - Kubernetes using YAML Slide 11 DevOps Open House III - Kubernetes using YAML Slide 12 DevOps Open House III - Kubernetes using YAML Slide 13 DevOps Open House III - Kubernetes using YAML Slide 14 DevOps Open House III - Kubernetes using YAML Slide 15 DevOps Open House III - Kubernetes using YAML Slide 16 DevOps Open House III - Kubernetes using YAML Slide 17 DevOps Open House III - Kubernetes using YAML Slide 18 DevOps Open House III - Kubernetes using YAML Slide 19 DevOps Open House III - Kubernetes using YAML Slide 20 DevOps Open House III - Kubernetes using YAML Slide 21 DevOps Open House III - Kubernetes using YAML Slide 22 DevOps Open House III - Kubernetes using YAML Slide 23 DevOps Open House III - Kubernetes using YAML Slide 24 DevOps Open House III - Kubernetes using YAML Slide 25 DevOps Open House III - Kubernetes using YAML Slide 26
Upcoming SlideShare
What to Upload to SlideShare
Next

0 Likes

Share

DevOps Open House III - Kubernetes using YAML

DevOps Openhouse III slides. Kubernetes using YAML
Slides from the event
22 October 2020
Mentor Prashant Beniwal
Brought to you by Agile Testing Alliance and DevOps++ Alliance
#CPDOF - #1 Global Practical DevOps Certification Program

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to like this

DevOps Open House III - Kubernetes using YAML

  1. 1. DevOps Open House III Thursday 22nd October 7-8 pm
  2. 2. Agenda •Introductions •Overview of DevOps •Kubernetes (YAML) •Questions
  3. 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. 4. Last Open house we saw the DevOps Pipeline in action. Lets quickly see it running once again..
  5. 5. CPDOF CI-CD Pipeline
  6. 6. Running your application on GKE
  7. 7. 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/
  8. 8. 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:
  9. 9. Flow of Demo on GKE: Load BalancerChrome External Load balancer Service Deployment Replica Set POD Container Control Node Worker Node
  10. 10. Imperative vs Declarative
  11. 11. 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
  12. 12. YAML Basics
  13. 13. 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
  14. 14. 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
  15. 15. kubectl create deploy helloworld --image=pbeniwal/helloworld:v1 --port=8080 –replicas=2 Create Deployment Imperative Declarative
  16. 16. kubectl expose deployment helloworld --type LoadBalancer --port 80 --target-port 8080 Create Service Imperative Declarative
  17. 17. Access Application
  18. 18. 5. Deploy a new version of your app
  19. 19. New changes deployment flow Webhook Deployment Replica Set POD Container Worker Node External Load balancer Service Control Node
  20. 20. About CP-DOF (Certified Professional-DevOps Foundation) https://cpdof.devopsppalliance.org/
  21. 21. https://cpdof.devopsppalliance.org/
  22. 22. CP-DOF Testimonials https://cpdof.dev opsppalliance.org /testimonials
  23. 23. Upcoming CP-DOF program You are all entitled for a special 10% off on the early bird price
  24. 24. Questions ?
  25. 25. Thanks for being a part of DevOps Open house III

DevOps Openhouse III slides. Kubernetes using YAML Slides from the event 22 October 2020 Mentor Prashant Beniwal Brought to you by Agile Testing Alliance and DevOps++ Alliance #CPDOF - #1 Global Practical DevOps Certification Program

Views

Total views

232

On Slideshare

0

From embeds

0

Number of embeds

39

Actions

Downloads

0

Shares

0

Comments

0

Likes

0

×