KEMBAR78
Kubernetes: A Short Introduction (2019) | PDF
Kubernetes:
A Short Introduction
Megan O'Keefe 1 March 2019
Hi!
I'm a Developer Programs Engineer.
I work with users and our engineering teams
to make our products better.
I work on Cloud platform infrastructure!
source: kubernetes.io
Virtual Machines Containers
source: kubernetes.io
Google runs on
containers
In any given week, we
launch over two billion
containers.
Gmail, Search, Maps,
Docs...
source: Google
source: Github
source: Wikimedia Commons
Kubernetes runs
Applications in a
Cluster.
Applications = Pods
master
node
node
node
Cluster
master
Pods in a Cluster
master
Pods in a Cluster
you!
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: hello-world
spec:
replicas: 1
template:
metadata:
labels:
app: hello-world
spec:
containers:
- name: hello-world-server
image: gcr.io/megangcp/helloworld:v0.0.1
ports:
- containerPort: 8080
Pod
Docker
Image
apiVersion: v1
kind: Service
metadata:
name: helloworld
spec:
selector:
app: hello-world
ports:
- name: http
protocol: TCP
port: 80
targetPort: 8080
type: LoadBalancer
Allow
traffic in
➜ kubectl apply -f deployment.yaml
deployment.extensions/hello-world created
➜ kubectl get pods
NAME READY STATUS RESTARTS
hello-world-84c646556b-kn59b 1/1 Running 0
➜ kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP
helloworld LoadBalancer 10.51.246.3 35.188.110.209
➜ curl http://35.188.110.209
Hello world!
source: GCP Blog
Uses Kubernetes to
process archived images
(front and back!)
source: CERN / slides
Runs Kubernetes at the
Large Hadron Collider to
analyze 40M particle
interactions per second.
source: GCP Blog
2016: Pokémon Go was the
largest deployment on
Google Kubernetes Engine
ever.
Kubernetes is portable...
source: landscape.cncf.io
... and growing every day.
Serverless Computing
Stateless functions,
on Kubernetes.
Hybrid Cloud
Many clusters,
working together.
Beyond Containers
Orchestrate VMs with
Kubernetes
Thank you!
Learn more:
kubernetes.io
source: Google

Kubernetes: A Short Introduction (2019)