Introduction to Kubernetes open source project, Google Kubernetes Engine (GKE), Qwiklab educational program and additional Google programs for Universities and other educational institutions.
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
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
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.
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