SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
Better Code, Faster with
Kubernetes in Google Cloud
Workshop
Andrés L. Martínez a.k.a. almo
DevRel Regional Lead
Google Cloud Ecosystem EU
@davilagrau
Andrés L. Martínez a.k.a. almo
DevRel Regional Lead
Google Cloud Ecosystem EU
@davilagrau
Welcome!
1
2
3
Kubernetes
Qwiklabs
Hands-on
Goals for today!
1 Kubernetes
What is Kubernetes?
Kubernetes is an open
source platform for you to
build your own cloud
platform.
Where did the logo
come from? Kubernetes
manages and orchestrates
containers. You need a
helmsman for that.
Kubernetes was open
sourced in 2014
GitHub Rank:
#1 - Number of comments,
#2 - Pull requests and
#4 - Number of authors
Containers & Kubernetes
Master
VM VM VM
VM VM
Containers
Kubernetes
Containers
● Package Apps & Deps
● OS Primitives for
Isolation
● Portable Across Env
Kubernetes
● Orchestration at Scale
● Declarative Config
● Open Source
With Containers and
Kubernetes, developers can
write once, run anywhere.
VM
Nodes
Master
Kubernetes abstracts away infrastructure
Scheduling:
Decide where my containers should run
Lifecycle and health:
Keep my containers running despite failures
Scaling:
Make sets of containers bigger or smaller
Naming and discovery:
Find where my containers are now
Load balancing:
Distribute traffic across a set of containers
Kubernetes Handles...
Storage volumes:
Provide data to containers
Logging and monitoring:
Track what’s happening with my containers
Debugging and introspection:
Enter or attach to containers
Identity and authorization:
Control who can do things to my containers
Enter Google Kubernetes Engine
Kubernetes Master, Fully Managed by Google
NodesNodesNode Pool CNode Pool BNode Pool A
GKE is Google Cloud’s
Kubernetes Platform
Take advantage of the
deep integration with
Google Cloud Platform
features and services
Nodes with Automated Operations via GKE
GKE Cluster
Customize your infrastructure: On premise,
Public Cloud or even Hybrid Cloud
HypriotOS HypriotOS HypriotOS HypriotOS
Kubernetes
Cluster
Tensor Flow
Cluster
Raspberry Pi
Getting
Started
Build and
Deploy
Load
Balancing
Autoscaling High
Availability
Logging
and
Monitoring
2 Qwiklabs
1. Sign in with your Google
account or email
http://bit.ly/2IkZYQR
Orchestrating the
Cloud with
Kubernetes
1. Sign out of your Qwiklabs account
and sign back in.
2. Still having trouble? Reach out to
Support@Qwiklabs.com and we’ll be happy
to assist!
3 Hands-on
Let’s start
In this lab you will learn how to:
● Provision a complete Kubernetes cluster
using Kubernetes Engine.
● Deploy and manage Docker containers
using kubectl.
● Break an application into microservices
using Kubernetes' Deployments and
Services.
App is an example 12-Factor application.
You will be working with the following
Docker images:
● kelseyhightower/monolith - Monolith includes
auth and hello services.
● kelseyhightower/auth - Auth microservice.
Generates JWT tokens for authenticated users.
● kelseyhightower/hello - Hello microservice.
Greets authenticated users.
● ngnix - Frontend to the auth and hello services.
I. Codebase
One codebase tracked in revision control, many
deploys
II. Dependencies
Explicitly declare and isolate dependencies
III. Config
Store config in the environment
IV. Backing services
Treat backing services as attached resources
V. Build, release, run
Strictly separate build and run stages
VI. Processes
Execute the app as one or more stateless
processes
VII. Port binding
Export services via port binding
VIII. Concurrency
Scale out via the process model
IX. Disposability
Maximize robustness with fast startup and graceful
shutdown
X. Dev/prod parity
Keep development, staging, and production as similar
as possible
XI. Logs
Treat logs as event streams
XII. Admin processes
Run admin/management tasks as one-off processes
PODs
Pods represent and hold
a collection of one or
more containers.
Generally, if you have
multiple containers with a
hard dependency on each
other, you package the
containers inside a single
pod.
Services
Pods aren't meant to be
persistent. They can be
stopped or started for
many reasons.
Services use labels to
determine what Pods
they operate on. Labeled
Pods are automatically
picked up and exposed by
our services.
Deploying
Applications with
Kubernetes
Deployments are a
declarative way to ensure
that the number of Pods
running is equal to the
desired number of Pods,
specified by the user.
Wrap up!
and more…
Kubernetes in the
Google Cloud!
Visit Google’s booth
at TNC19
● GCP Credits for
Learning
● Research Credits
● Training Credits
● Career Readiness
● 300+ hands-on labs on
Qwiklabs
● 13 professional-level
online courses via
Coursera
● New introductory G Suite
and GCP learning
modules
● Career readiness paths
● Curated resources for
students, teaching
faculty, and researchers
● Communities and
discussion spaces
Credits Training Resources
Resources for Faculty and Students
Google Cloud Platform Credits for University
Students & Researchers
GCP Faculty Grants Program
Free credits for student learning & coursework
GCP Research Credits Program
Free credits for academic researchers and Phd
Candidates
Google Cloud
Platform
Certifications
Become a Google Certified
Professional:
● Cloud Architect
● Data Engineer
Learn more at
cloud.google.com/certification
http://bit.ly/2WOtZfW
http://bit.ly/2RiZm0E
Thank
you!
Questions?

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Docker Enterprise Workshop - Technical
Docker Enterprise Workshop - TechnicalDocker Enterprise Workshop - Technical
Docker Enterprise Workshop - Technical
 
KubeCon 2019 - Scaling your cluster (both ways)
KubeCon 2019 - Scaling your cluster (both ways)KubeCon 2019 - Scaling your cluster (both ways)
KubeCon 2019 - Scaling your cluster (both ways)
 
One cluster to serve them all
One cluster to serve them allOne cluster to serve them all
One cluster to serve them all
 
From development to production: Deploying Java and Scala apps to kubernetes
From development to production: Deploying Java and Scala apps to kubernetesFrom development to production: Deploying Java and Scala apps to kubernetes
From development to production: Deploying Java and Scala apps to kubernetes
 
Introduction to Kubernetes - Docker Global Mentor Week 2016
Introduction to Kubernetes - Docker Global Mentor Week 2016Introduction to Kubernetes - Docker Global Mentor Week 2016
Introduction to Kubernetes - Docker Global Mentor Week 2016
 
Moving from Monolith to Microservices
Moving from Monolith to MicroservicesMoving from Monolith to Microservices
Moving from Monolith to Microservices
 
Kubernetes - An introduction
Kubernetes - An introductionKubernetes - An introduction
Kubernetes - An introduction
 
Cloud Native CI/CD with GitOps
Cloud Native CI/CD with GitOpsCloud Native CI/CD with GitOps
Cloud Native CI/CD with GitOps
 
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Kubernetes: https://youtu.be/KnjnQj-FvfQKubernetes: https://youtu.be/KnjnQj-FvfQ
Kubernetes: https://youtu.be/KnjnQj-FvfQ
 
k8s NodeSet
k8s NodeSet k8s NodeSet
k8s NodeSet
 
[Konveyor] adding security to dev ops for your kubernetes native applications
[Konveyor] adding security to dev ops for your kubernetes native applications [Konveyor] adding security to dev ops for your kubernetes native applications
[Konveyor] adding security to dev ops for your kubernetes native applications
 
Beyond Ingresses - Better Traffic Management in Kubernetes
Beyond Ingresses - Better Traffic Management in KubernetesBeyond Ingresses - Better Traffic Management in Kubernetes
Beyond Ingresses - Better Traffic Management in Kubernetes
 
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
KubeCon CloudNativeCon 2016 Seattle - a report
KubeCon CloudNativeCon 2016 Seattle - a reportKubeCon CloudNativeCon 2016 Seattle - a report
KubeCon CloudNativeCon 2016 Seattle - a report
 
GlueCon kubernetes & container engine
GlueCon kubernetes & container engineGlueCon kubernetes & container engine
GlueCon kubernetes & container engine
 
OW2con'16 Keynote address: Kubernetes, the rising tide of systems administrat...
OW2con'16 Keynote address: Kubernetes, the rising tide of systems administrat...OW2con'16 Keynote address: Kubernetes, the rising tide of systems administrat...
OW2con'16 Keynote address: Kubernetes, the rising tide of systems administrat...
 
VM vs Docker-Based Pipelines
VM vs Docker-Based PipelinesVM vs Docker-Based Pipelines
VM vs Docker-Based Pipelines
 
Canary Releases on Kubernetes with Spinnaker, Istio, & Prometheus (2020)
Canary Releases on Kubernetes with Spinnaker, Istio, & Prometheus (2020)Canary Releases on Kubernetes with Spinnaker, Istio, & Prometheus (2020)
Canary Releases on Kubernetes with Spinnaker, Istio, & Prometheus (2020)
 
How we can do Multi-Tenancy on Kubernetes
How we can do Multi-Tenancy on KubernetesHow we can do Multi-Tenancy on Kubernetes
How we can do Multi-Tenancy on Kubernetes
 

Similar a Better code, faster with kubernetes in google cloud

Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Chris Jang
 

Similar a Better code, faster with kubernetes in google cloud (20)

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
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Kubernetes is all you need
Kubernetes is all you needKubernetes is all you need
Kubernetes is all you need
 
Kubexperience intro session
Kubexperience intro sessionKubexperience intro session
Kubexperience intro session
 
GCCP JSCOE Session 2
GCCP JSCOE Session 2GCCP JSCOE Session 2
GCCP JSCOE Session 2
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021
 
Kubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containersKubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containers
 
K8s in 3h - Kubernetes Fundamentals Training
K8s in 3h - Kubernetes Fundamentals TrainingK8s in 3h - Kubernetes Fundamentals Training
K8s in 3h - Kubernetes Fundamentals Training
 
Kubernetes and CoreOS @ Athens Docker meetup
Kubernetes and CoreOS @ Athens Docker meetupKubernetes and CoreOS @ Athens Docker meetup
Kubernetes and CoreOS @ Athens Docker meetup
 
My kubernetes toolkit
My kubernetes toolkitMy kubernetes toolkit
My kubernetes toolkit
 
CI/CD on Google Cloud Platform
CI/CD on Google Cloud PlatformCI/CD on Google Cloud Platform
CI/CD on Google Cloud Platform
 
Mattia Gandolfi - Improving utilization and portability with Containers and C...
Mattia Gandolfi - Improving utilization and portability with Containers and C...Mattia Gandolfi - Improving utilization and portability with Containers and C...
Mattia Gandolfi - Improving utilization and portability with Containers and C...
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetes
 
Mete Atamel "Resilient microservices with kubernetes"
Mete Atamel "Resilient microservices with kubernetes"Mete Atamel "Resilient microservices with kubernetes"
Mete Atamel "Resilient microservices with kubernetes"
 
Pydata 2020 containers meetup
Pydata  2020 containers meetup Pydata  2020 containers meetup
Pydata 2020 containers meetup
 
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
 
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
 
Deploying WSO2 API Manager in Production-Grade Kubernetes
Deploying WSO2 API Manager in Production-Grade KubernetesDeploying WSO2 API Manager in Production-Grade Kubernetes
Deploying WSO2 API Manager in Production-Grade Kubernetes
 
Docker Madison, Introduction to Kubernetes
Docker Madison, Introduction to KubernetesDocker Madison, Introduction to Kubernetes
Docker Madison, Introduction to Kubernetes
 
Modern big data and machine learning in the era of cloud, docker and kubernetes
Modern big data and machine learning in the era of cloud, docker and kubernetesModern big data and machine learning in the era of cloud, docker and kubernetes
Modern big data and machine learning in the era of cloud, docker and kubernetes
 

Más de Andrés Leonardo Martinez Ortiz

Más de Andrés Leonardo Martinez Ortiz (20)

How to plan work for your team
How to plan work for your teamHow to plan work for your team
How to plan work for your team
 
Tensorflow 2.0 and Coral Edge TPU
Tensorflow 2.0 and Coral Edge TPU Tensorflow 2.0 and Coral Edge TPU
Tensorflow 2.0 and Coral Edge TPU
 
Developer journey with classroom
Developer journey with classroomDeveloper journey with classroom
Developer journey with classroom
 
Fostering Google Software Technologies in Open Digital Ecosystems
Fostering Google Software Technologies in Open Digital EcosystemsFostering Google Software Technologies in Open Digital Ecosystems
Fostering Google Software Technologies in Open Digital Ecosystems
 
Engineering Machine Learning technologies
Engineering Machine Learning technologiesEngineering Machine Learning technologies
Engineering Machine Learning technologies
 
Google Cloud Online training resources and certification
Google Cloud Online training resources and certificationGoogle Cloud Online training resources and certification
Google Cloud Online training resources and certification
 
The future of conversation ui
The future of conversation uiThe future of conversation ui
The future of conversation ui
 
Clustering tensor flow con kubernetes y raspberry pi
Clustering tensor flow con kubernetes y raspberry piClustering tensor flow con kubernetes y raspberry pi
Clustering tensor flow con kubernetes y raspberry pi
 
Google Cloud: Data Analysis and Machine Learningn Technologies
Google Cloud: Data Analysis and Machine Learningn Technologies Google Cloud: Data Analysis and Machine Learningn Technologies
Google Cloud: Data Analysis and Machine Learningn Technologies
 
Artificial learning machine intelligence
Artificial learning   machine intelligenceArtificial learning   machine intelligence
Artificial learning machine intelligence
 
Curating online content with Google ML API
Curating online content with Google ML API Curating online content with Google ML API
Curating online content with Google ML API
 
Understanding the apps developer environment
Understanding the apps developer environmentUnderstanding the apps developer environment
Understanding the apps developer environment
 
Collaboration! Ramping up the future!
Collaboration! Ramping up the future!Collaboration! Ramping up the future!
Collaboration! Ramping up the future!
 
Firefox OS Innovating Mobile Platforms
Firefox OS Innovating Mobile PlatformsFirefox OS Innovating Mobile Platforms
Firefox OS Innovating Mobile Platforms
 
Wellsprings of innovation
Wellsprings of innovationWellsprings of innovation
Wellsprings of innovation
 
App Circus Developers Economic 2012
App Circus Developers Economic 2012App Circus Developers Economic 2012
App Circus Developers Economic 2012
 
Blue Via Plataforma De Pagos MóViles Y Ap Is De Red
Blue Via   Plataforma De Pagos MóViles Y Ap Is De RedBlue Via   Plataforma De Pagos MóViles Y Ap Is De Red
Blue Via Plataforma De Pagos MóViles Y Ap Is De Red
 
BlueVia 2012
BlueVia 2012BlueVia 2012
BlueVia 2012
 
BlueVia Developer Economics 2011
BlueVia Developer Economics 2011BlueVia Developer Economics 2011
BlueVia Developer Economics 2011
 
Economic Impact For Sm Es Of Cloud Technologies
Economic Impact For Sm Es Of Cloud TechnologiesEconomic Impact For Sm Es Of Cloud Technologies
Economic Impact For Sm Es Of Cloud Technologies
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
[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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Better code, faster with kubernetes in google cloud

  • 1. Better Code, Faster with Kubernetes in Google Cloud Workshop Andrés L. Martínez a.k.a. almo DevRel Regional Lead Google Cloud Ecosystem EU @davilagrau
  • 2. Andrés L. Martínez a.k.a. almo DevRel Regional Lead Google Cloud Ecosystem EU @davilagrau Welcome!
  • 5. What is Kubernetes? Kubernetes is an open source platform for you to build your own cloud platform. Where did the logo come from? Kubernetes manages and orchestrates containers. You need a helmsman for that. Kubernetes was open sourced in 2014 GitHub Rank: #1 - Number of comments, #2 - Pull requests and #4 - Number of authors
  • 6. Containers & Kubernetes Master VM VM VM VM VM Containers Kubernetes Containers ● Package Apps & Deps ● OS Primitives for Isolation ● Portable Across Env Kubernetes ● Orchestration at Scale ● Declarative Config ● Open Source With Containers and Kubernetes, developers can write once, run anywhere. VM
  • 8. Scheduling: Decide where my containers should run Lifecycle and health: Keep my containers running despite failures Scaling: Make sets of containers bigger or smaller Naming and discovery: Find where my containers are now Load balancing: Distribute traffic across a set of containers Kubernetes Handles... Storage volumes: Provide data to containers Logging and monitoring: Track what’s happening with my containers Debugging and introspection: Enter or attach to containers Identity and authorization: Control who can do things to my containers
  • 9. Enter Google Kubernetes Engine Kubernetes Master, Fully Managed by Google NodesNodesNode Pool CNode Pool BNode Pool A GKE is Google Cloud’s Kubernetes Platform Take advantage of the deep integration with Google Cloud Platform features and services Nodes with Automated Operations via GKE GKE Cluster
  • 10. Customize your infrastructure: On premise, Public Cloud or even Hybrid Cloud HypriotOS HypriotOS HypriotOS HypriotOS Kubernetes Cluster Tensor Flow Cluster Raspberry Pi
  • 13.
  • 14.
  • 15. 1. Sign in with your Google account or email
  • 17. 1. Sign out of your Qwiklabs account and sign back in. 2. Still having trouble? Reach out to Support@Qwiklabs.com and we’ll be happy to assist!
  • 19. Let’s start In this lab you will learn how to: ● Provision a complete Kubernetes cluster using Kubernetes Engine. ● Deploy and manage Docker containers using kubectl. ● Break an application into microservices using Kubernetes' Deployments and Services. App is an example 12-Factor application. You will be working with the following Docker images: ● kelseyhightower/monolith - Monolith includes auth and hello services. ● kelseyhightower/auth - Auth microservice. Generates JWT tokens for authenticated users. ● kelseyhightower/hello - Hello microservice. Greets authenticated users. ● ngnix - Frontend to the auth and hello services.
  • 20. I. Codebase One codebase tracked in revision control, many deploys II. Dependencies Explicitly declare and isolate dependencies III. Config Store config in the environment IV. Backing services Treat backing services as attached resources V. Build, release, run Strictly separate build and run stages VI. Processes Execute the app as one or more stateless processes VII. Port binding Export services via port binding VIII. Concurrency Scale out via the process model IX. Disposability Maximize robustness with fast startup and graceful shutdown X. Dev/prod parity Keep development, staging, and production as similar as possible XI. Logs Treat logs as event streams XII. Admin processes Run admin/management tasks as one-off processes
  • 21. PODs Pods represent and hold a collection of one or more containers. Generally, if you have multiple containers with a hard dependency on each other, you package the containers inside a single pod.
  • 22. Services Pods aren't meant to be persistent. They can be stopped or started for many reasons. Services use labels to determine what Pods they operate on. Labeled Pods are automatically picked up and exposed by our services.
  • 23. Deploying Applications with Kubernetes Deployments are a declarative way to ensure that the number of Pods running is equal to the desired number of Pods, specified by the user.
  • 25. Kubernetes in the Google Cloud! Visit Google’s booth at TNC19
  • 26. ● GCP Credits for Learning ● Research Credits ● Training Credits ● Career Readiness ● 300+ hands-on labs on Qwiklabs ● 13 professional-level online courses via Coursera ● New introductory G Suite and GCP learning modules ● Career readiness paths ● Curated resources for students, teaching faculty, and researchers ● Communities and discussion spaces Credits Training Resources Resources for Faculty and Students
  • 27. Google Cloud Platform Credits for University Students & Researchers GCP Faculty Grants Program Free credits for student learning & coursework GCP Research Credits Program Free credits for academic researchers and Phd Candidates
  • 28. Google Cloud Platform Certifications Become a Google Certified Professional: ● Cloud Architect ● Data Engineer Learn more at cloud.google.com/certification