SlideShare a Scribd company logo
1 of 31
Download to read offline
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

Similar to Building APIs with kubernetes

Nodeless and serverless kubernetes
Nodeless and serverless kubernetesNodeless and serverless kubernetes
Nodeless and serverless kubernetesNills Franssens
 
PuppetConf 2017: Zero to Kubernetes -Scott Coulton, Puppet
PuppetConf 2017: Zero to Kubernetes -Scott Coulton, PuppetPuppetConf 2017: Zero to Kubernetes -Scott Coulton, Puppet
PuppetConf 2017: Zero to Kubernetes -Scott Coulton, PuppetPuppet
 
Cloud, Containers, Kubernetes (YOW Sydney 2018)
Cloud, Containers, Kubernetes (YOW Sydney 2018)Cloud, Containers, Kubernetes (YOW Sydney 2018)
Cloud, Containers, Kubernetes (YOW Sydney 2018)bridgetkromhout
 
Cloud, Containers, Kubernetes (YOW Brisbane 2018)
Cloud, Containers, Kubernetes (YOW Brisbane 2018)Cloud, Containers, Kubernetes (YOW Brisbane 2018)
Cloud, Containers, Kubernetes (YOW Brisbane 2018)bridgetkromhout
 
Kubernetes and CNCF Landscape 101
Kubernetes and CNCF Landscape 101Kubernetes and CNCF Landscape 101
Kubernetes and CNCF Landscape 101Giulio Roggero
 
Deploying Splunk on OpenShift – Part2 : Getting Data In
Deploying Splunk on OpenShift – Part2 : Getting Data InDeploying Splunk on OpenShift – Part2 : Getting Data In
Deploying Splunk on OpenShift – Part2 : Getting Data InEric Gardner
 
Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021Nelson Calero
 
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
DevOps Days Boston 2017: Real-world Kubernetes for DevOpsDevOps Days Boston 2017: Real-world Kubernetes for DevOps
DevOps Days Boston 2017: Real-world Kubernetes for DevOpsAmbassador Labs
 
Kubernetes: Managed or Not Managed?
Kubernetes: Managed or Not Managed?Kubernetes: Managed or Not Managed?
Kubernetes: Managed or Not Managed?Mathieu Herbert
 
Deep Dive into Amazon EKS - CON409 - re:Invent 2017
Deep Dive into Amazon EKS - CON409 - re:Invent 2017Deep Dive into Amazon EKS - CON409 - re:Invent 2017
Deep Dive into Amazon EKS - CON409 - re:Invent 2017Amazon Web Services
 
PySpark on Kubernetes @ Python Barcelona March Meetup
PySpark on Kubernetes @ Python Barcelona March MeetupPySpark on Kubernetes @ Python Barcelona March Meetup
PySpark on Kubernetes @ Python Barcelona March MeetupHolden Karau
 
Getting Started with Apache Spark on Kubernetes
Getting Started with Apache Spark on KubernetesGetting Started with Apache Spark on Kubernetes
Getting Started with Apache Spark on KubernetesDatabricks
 
Kubernetes & Cloud Native Indonesia X BukaMeetup - Feb 2023
Kubernetes & Cloud Native Indonesia X BukaMeetup - Feb 2023Kubernetes & Cloud Native Indonesia X BukaMeetup - Feb 2023
Kubernetes & Cloud Native Indonesia X BukaMeetup - Feb 2023Prasta Maha
 
CloudStack Container Service
CloudStack Container ServiceCloudStack Container Service
CloudStack Container ServiceShapeBlue
 
stackconf 2020 | The blinking cursor or kubernetes for people who aren´t supp...
stackconf 2020 | The blinking cursor or kubernetes for people who aren´t supp...stackconf 2020 | The blinking cursor or kubernetes for people who aren´t supp...
stackconf 2020 | The blinking cursor or kubernetes for people who aren´t supp...NETWAYS
 
So Your OpenStack Cloud is Built... Now What's Next - Walter Bentley - OpenSt...
So Your OpenStack Cloud is Built... Now What's Next - Walter Bentley - OpenSt...So Your OpenStack Cloud is Built... Now What's Next - Walter Bentley - OpenSt...
So Your OpenStack Cloud is Built... Now What's Next - Walter Bentley - OpenSt...Cloud Native Day Tel Aviv
 
So Your OpenStack Cloud is Built...Now What?
So Your OpenStack Cloud is Built...Now What? So Your OpenStack Cloud is Built...Now What?
So Your OpenStack Cloud is Built...Now What? Tesora
 
5_Analy gf gafg f ad a ffg fa sis_for_LXS2C.docx
5_Analy  gf gafg f ad   a  ffg fa sis_for_LXS2C.docx5_Analy  gf gafg f ad   a  ffg fa sis_for_LXS2C.docx
5_Analy gf gafg f ad a ffg fa sis_for_LXS2C.docxMisael Rodriguez
 
【IVS CTO Night & Day】Amazon Container Services
【IVS CTO Night & Day】Amazon Container Services【IVS CTO Night & Day】Amazon Container Services
【IVS CTO Night & Day】Amazon Container ServicesAmazon Web Services Japan
 

Similar to Building APIs with kubernetes (20)

Nodeless and serverless kubernetes
Nodeless and serverless kubernetesNodeless and serverless kubernetes
Nodeless and serverless kubernetes
 
PuppetConf 2017: Zero to Kubernetes -Scott Coulton, Puppet
PuppetConf 2017: Zero to Kubernetes -Scott Coulton, PuppetPuppetConf 2017: Zero to Kubernetes -Scott Coulton, Puppet
PuppetConf 2017: Zero to Kubernetes -Scott Coulton, Puppet
 
Cloud, Containers, Kubernetes (YOW Sydney 2018)
Cloud, Containers, Kubernetes (YOW Sydney 2018)Cloud, Containers, Kubernetes (YOW Sydney 2018)
Cloud, Containers, Kubernetes (YOW Sydney 2018)
 
Cloud, Containers, Kubernetes (YOW Brisbane 2018)
Cloud, Containers, Kubernetes (YOW Brisbane 2018)Cloud, Containers, Kubernetes (YOW Brisbane 2018)
Cloud, Containers, Kubernetes (YOW Brisbane 2018)
 
Kubernetes and CNCF Landscape 101
Kubernetes and CNCF Landscape 101Kubernetes and CNCF Landscape 101
Kubernetes and CNCF Landscape 101
 
Deploying Splunk on OpenShift – Part2 : Getting Data In
Deploying Splunk on OpenShift – Part2 : Getting Data InDeploying Splunk on OpenShift – Part2 : Getting Data In
Deploying Splunk on OpenShift – Part2 : Getting Data In
 
Do we need a JHipster Kubernetes Operator?
Do we need a JHipster Kubernetes Operator?Do we need a JHipster Kubernetes Operator?
Do we need a JHipster Kubernetes Operator?
 
Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021Oracle on kubernetes 101 - Dec/2021
Oracle on kubernetes 101 - Dec/2021
 
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
DevOps Days Boston 2017: Real-world Kubernetes for DevOpsDevOps Days Boston 2017: Real-world Kubernetes for DevOps
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
 
Kubernetes: Managed or Not Managed?
Kubernetes: Managed or Not Managed?Kubernetes: Managed or Not Managed?
Kubernetes: Managed or Not Managed?
 
Deep Dive into Amazon EKS - CON409 - re:Invent 2017
Deep Dive into Amazon EKS - CON409 - re:Invent 2017Deep Dive into Amazon EKS - CON409 - re:Invent 2017
Deep Dive into Amazon EKS - CON409 - re:Invent 2017
 
PySpark on Kubernetes @ Python Barcelona March Meetup
PySpark on Kubernetes @ Python Barcelona March MeetupPySpark on Kubernetes @ Python Barcelona March Meetup
PySpark on Kubernetes @ Python Barcelona March Meetup
 
Getting Started with Apache Spark on Kubernetes
Getting Started with Apache Spark on KubernetesGetting Started with Apache Spark on Kubernetes
Getting Started with Apache Spark on Kubernetes
 
Kubernetes & Cloud Native Indonesia X BukaMeetup - Feb 2023
Kubernetes & Cloud Native Indonesia X BukaMeetup - Feb 2023Kubernetes & Cloud Native Indonesia X BukaMeetup - Feb 2023
Kubernetes & Cloud Native Indonesia X BukaMeetup - Feb 2023
 
CloudStack Container Service
CloudStack Container ServiceCloudStack Container Service
CloudStack Container Service
 
stackconf 2020 | The blinking cursor or kubernetes for people who aren´t supp...
stackconf 2020 | The blinking cursor or kubernetes for people who aren´t supp...stackconf 2020 | The blinking cursor or kubernetes for people who aren´t supp...
stackconf 2020 | The blinking cursor or kubernetes for people who aren´t supp...
 
So Your OpenStack Cloud is Built... Now What's Next - Walter Bentley - OpenSt...
So Your OpenStack Cloud is Built... Now What's Next - Walter Bentley - OpenSt...So Your OpenStack Cloud is Built... Now What's Next - Walter Bentley - OpenSt...
So Your OpenStack Cloud is Built... Now What's Next - Walter Bentley - OpenSt...
 
So Your OpenStack Cloud is Built...Now What?
So Your OpenStack Cloud is Built...Now What? So Your OpenStack Cloud is Built...Now What?
So Your OpenStack Cloud is Built...Now What?
 
5_Analy gf gafg f ad a ffg fa sis_for_LXS2C.docx
5_Analy  gf gafg f ad   a  ffg fa sis_for_LXS2C.docx5_Analy  gf gafg f ad   a  ffg fa sis_for_LXS2C.docx
5_Analy gf gafg f ad a ffg fa sis_for_LXS2C.docx
 
【IVS CTO Night & Day】Amazon Container Services
【IVS CTO Night & Day】Amazon Container Services【IVS CTO Night & Day】Amazon Container Services
【IVS CTO Night & Day】Amazon Container Services
 

Recently uploaded

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
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 Servicegiselly40
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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 textsMaria Levchenko
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
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...Neo4j
 
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 WorkerThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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 productivityPrincipled Technologies
 

Recently uploaded (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
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...
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 

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 :