SlideShare a Scribd company logo
1
J O N G E A R
@ G e a r e d U p Te c h
@ J o n G e a r
j o n . g e a r @ j d k t e c h . c o m
K8s APIs
2
Agenda
G o S e r v e r l e s s M e e t u p
1. What is Kubernetes (K8s)
2. Who is using K8s
3. Building APIs with K8s
4. Pictures of containers
5. Next Steps
J u l y 1 7 t h 2 0 1 8
3
4
“Kubernetes is an open-
source system for
automating deployment,
scaling, and management
of containerize
applications”
What is
Kubernetes?
5
6
7
8
9
10
11
Who is using
Kubernetes?
G r e e k f o r “ h e l m s m a n ”
Helmsman
12 https://kubernetes.io/case-studies
13
https://stackshare.io/kubernetes
14
How does
Kubernetes work?
G r e e k f o r “ h e l m s m a n ”
15
01
M a s t e r
Responsible for managing the cluster
02
N o d e
Worker machine in cluster
03
P o d ( N o d e p r o c e s s )
Atomic unit of Kubernetes
16
The Master
M a n a g e s t h e
c l u s t e r01 E x p o s e s
K u b e r n e t e s
A P I
02 S c h e d u l e s ,
s c a l e s a n d
r o l l s o u t n e w
u p d a t e s
03
01
17
The Node
Wo r k e r
m a c h i n e01 K u b e l e t :
s c h e d u l e s
p o d s a c r o s s
t h e n o d e s i n
t h e c l u s t e r
02 P o d
b a l a n c i n g
h a n d l e d b y
m a s t e r
03
02
18
The Node02
Business Title Here
Containers should only be scheduled together
in a single Pod if they are tightly coupled and
need to share resources such as disk
19
The Pod
S h a r e d
s t o r a g e ,
a s Vo l u m e s
01 N e t w o r k i n g ,
a s a u n i q u e
c l u s t e r I P
a d d r e s s
02 C r e a t e d
t h r o u g h
d e p l o y m e n t s
03
03
20
How do I build
microservices with
Kubernetes?
21
22
23
24
Ambassador
A P I G a t e w a y f o r K 8 s b u i l t o n E n v o y
https://www.getambassador.io
25
01
R o u t i n g
Regex, method and header-based routing
02
U R L R e w r i t i n g
Replace the URL prefix
03
g R P C
04
C a n a r y R e l e a s e
Test updates against subset of production
traffic
05
Tr a f f i c S h a d o w i n g
Test services with production data, mirroring
live traffic
06
We b s o c k e t s
Ambassador
A P I G a t e w a y f o r K 8 s b u i l t o n E n v o y
26
27
Add support to
invoice_svc.yml
28
Helm
P a c k a g e m a n a g e r f o r K u b e r n e t e s
https://helm.sh
Packages of pre-configured k8s resources
https://github.com/kubernetes/helm
Charts
Two Parts
Helm client (helm)
Helm server (tiller)
https://docs.helm.sh/using_helm/#installing-helm
29
Virtual Kubelet
S e r v e r l e s s c o n t a i n e r e x t e n s i o n
Providers
• Azure Container Instances
• AWS Fargate
• Hyper.sh
• Roll your own provider
https://github.com/virtual-kubelet/virtual-kubelet
30
Cloud Support
31
Thanks for coming!
• Kubernetes interactive tutorial
https://kubernetes.io/docs/tutorials/kubernetes-basics
• Getting Stated with Microservies using Go, gRPC and Kubernetes
https://outcrawl.com/getting-started-microservices-go-grpc-kubernetes
• Sign up for Kubernetes slack
http://slack.k8s.io
• Kubernetes team office hours every third Wednesday of the month 1pm / 8pm UTC (that’s tomorrow!)
https://github.com/kubernetes/community/blob/master/events/office-hours.md
• Deploy a Go application to Kubernetes in 30 seconds
https://bit.ly/2uBGHT2
• Getting started with micro services and Kubernetes (Ambassador setup)
https://hackernoon.com/getting-started-with-microservices-and-kubernetes-76354312b556
J O N G E A R
@ G e a r e d U p Te c h
@ J o n G e a r
j o n . g e a r @ j d k t e c h . c o m
L i n k s f o r g e t t i n g s t a r t e d :

More Related Content

PDF
Kubernetes From Scratch .pdf
PDF
フルマネージドK8sで始めるコンテナークラスター
PDF
DevOps Fest 2020. Дмитрий Кудрявцев. Реализация GitOps на Kubernetes. ArgoCD
PDF
Quantum Teleportation with Qiskit
PPTX
Multi-node ZUUL OpenStack gate for bare metal and Docker
PDF
LISA2017 Kubernetes: Hit the Ground Running
PPTX
CloudAnts - Kubernetes
PDF
kubernetes.pdf
Kubernetes From Scratch .pdf
フルマネージドK8sで始めるコンテナークラスター
DevOps Fest 2020. Дмитрий Кудрявцев. Реализация GitOps на Kubernetes. ArgoCD
Quantum Teleportation with Qiskit
Multi-node ZUUL OpenStack gate for bare metal and Docker
LISA2017 Kubernetes: Hit the Ground Running
CloudAnts - Kubernetes
kubernetes.pdf

Similar to Building APIs with kubernetes (20)

PDF
Kubernetes for the PHP developer
PDF
Meetup 2023 - Gateway API.pdf
PPTX
Kubernetes
PDF
DevOps in AWS with Kubernetes
PPTX
Kubernetes Introduction
PPTX
Introduction to kubernetes
PDF
Kubernetes: Learning from Zero to Production
PPTX
Kubernetes 101
PPTX
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
PDF
Getting started with kubernetes
PPTX
Introduction kubernetes 2017_12_24
PPTX
DevOps with Kubernetes
PDF
Docker & kubernetes
PPTX
Kubernetes overview 101
PPTX
KubernetesPPT.pptx
PDF
Kubernetes Architecture with Components
PPTX
Kubernetes Presentation
PDF
Build Your Own CaaS (Container as a Service)
PDF
Getting Started with Kubernetes
PPTX
KuberNETes - meetup
Kubernetes for the PHP developer
Meetup 2023 - Gateway API.pdf
Kubernetes
DevOps in AWS with Kubernetes
Kubernetes Introduction
Introduction to kubernetes
Kubernetes: Learning from Zero to Production
Kubernetes 101
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
Getting started with kubernetes
Introduction kubernetes 2017_12_24
DevOps with Kubernetes
Docker & kubernetes
Kubernetes overview 101
KubernetesPPT.pptx
Kubernetes Architecture with Components
Kubernetes Presentation
Build Your Own CaaS (Container as a Service)
Getting Started with Kubernetes
KuberNETes - meetup
Ad

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
A Presentation on Artificial Intelligence
PPTX
Cloud computing and distributed systems.
PDF
Empathic Computing: Creating Shared Understanding
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
Teaching material agriculture food technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Programs and apps: productivity, graphics, security and other tools
The AUB Centre for AI in Media Proposal.docx
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Weekly Chronicles - August'25-Week II
A Presentation on Artificial Intelligence
Cloud computing and distributed systems.
Empathic Computing: Creating Shared Understanding
Building Integrated photovoltaic BIPV_UPV.pdf
Machine Learning_overview_presentation.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
sap open course for s4hana steps from ECC to s4
Dropbox Q2 2025 Financial Results & Investor Presentation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation theory and applications.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Teaching material agriculture food technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Ad

Building APIs with kubernetes

  • 1. 1 J O N G E A R @ G e a r e d U p Te c h @ J o n G e a r j o n . g e a r @ j d k t e c h . c o m K8s APIs
  • 2. 2 Agenda G o S e r v e r l e s s M e e t u p 1. What is Kubernetes (K8s) 2. Who is using K8s 3. Building APIs with K8s 4. Pictures of containers 5. Next Steps J u l y 1 7 t h 2 0 1 8
  • 3. 3
  • 4. 4 “Kubernetes is an open- source system for automating deployment, scaling, and management of containerize applications” What is Kubernetes?
  • 5. 5
  • 6. 6
  • 7. 7
  • 8. 8
  • 9. 9
  • 10. 10
  • 11. 11 Who is using Kubernetes? G r e e k f o r “ h e l m s m a n ” Helmsman
  • 14. 14 How does Kubernetes work? G r e e k f o r “ h e l m s m a n ”
  • 15. 15 01 M a s t e r Responsible for managing the cluster 02 N o d e Worker machine in cluster 03 P o d ( N o d e p r o c e s s ) Atomic unit of Kubernetes
  • 16. 16 The Master M a n a g e s t h e c l u s t e r01 E x p o s e s K u b e r n e t e s A P I 02 S c h e d u l e s , s c a l e s a n d r o l l s o u t n e w u p d a t e s 03 01
  • 17. 17 The Node Wo r k e r m a c h i n e01 K u b e l e t : s c h e d u l e s p o d s a c r o s s t h e n o d e s i n t h e c l u s t e r 02 P o d b a l a n c i n g h a n d l e d b y m a s t e r 03 02
  • 18. 18 The Node02 Business Title Here Containers should only be scheduled together in a single Pod if they are tightly coupled and need to share resources such as disk
  • 19. 19 The Pod S h a r e d s t o r a g e , a s Vo l u m e s 01 N e t w o r k i n g , a s a u n i q u e c l u s t e r I P a d d r e s s 02 C r e a t e d t h r o u g h d e p l o y m e n t s 03 03
  • 20. 20 How do I build microservices with Kubernetes?
  • 21. 21
  • 22. 22
  • 23. 23
  • 24. 24 Ambassador A P I G a t e w a y f o r K 8 s b u i l t o n E n v o y https://www.getambassador.io
  • 25. 25 01 R o u t i n g Regex, method and header-based routing 02 U R L R e w r i t i n g Replace the URL prefix 03 g R P C 04 C a n a r y R e l e a s e Test updates against subset of production traffic 05 Tr a f f i c S h a d o w i n g Test services with production data, mirroring live traffic 06 We b s o c k e t s Ambassador A P I G a t e w a y f o r K 8 s b u i l t o n E n v o y
  • 26. 26
  • 28. 28 Helm P a c k a g e m a n a g e r f o r K u b e r n e t e s https://helm.sh Packages of pre-configured k8s resources https://github.com/kubernetes/helm Charts Two Parts Helm client (helm) Helm server (tiller) https://docs.helm.sh/using_helm/#installing-helm
  • 29. 29 Virtual Kubelet S e r v e r l e s s c o n t a i n e r e x t e n s i o n Providers • Azure Container Instances • AWS Fargate • Hyper.sh • Roll your own provider https://github.com/virtual-kubelet/virtual-kubelet
  • 31. 31 Thanks for coming! • Kubernetes interactive tutorial https://kubernetes.io/docs/tutorials/kubernetes-basics • Getting Stated with Microservies using Go, gRPC and Kubernetes https://outcrawl.com/getting-started-microservices-go-grpc-kubernetes • Sign up for Kubernetes slack http://slack.k8s.io • Kubernetes team office hours every third Wednesday of the month 1pm / 8pm UTC (that’s tomorrow!) https://github.com/kubernetes/community/blob/master/events/office-hours.md • Deploy a Go application to Kubernetes in 30 seconds https://bit.ly/2uBGHT2 • Getting started with micro services and Kubernetes (Ambassador setup) https://hackernoon.com/getting-started-with-microservices-and-kubernetes-76354312b556 J O N G E A R @ G e a r e d U p Te c h @ J o n G e a r j o n . g e a r @ j d k t e c h . c o m L i n k s f o r g e t t i n g s t a r t e d :