SlideShare a Scribd company logo
Infrastructure design for Kubernetes
Infrastructure Design
for Kubernetes
Guillaume Morini
Senior Platform Architect - EMEA
@GuillaumeMorini
Credits to @cdavisafc and @pczarkowski and @FabioChiodini for a lot of EPIC contents ;)
© Copyright 2019 Dell Inc.3 @GuillaumeMorini
Agenda
■ Intro on Kubernetes
■ User Story
■ Pivotal Container Services
(PKS)
Kubernetes.. What?
© Copyright 2019 Dell Inc.5 @GuillaumeMorini
A Production-Grade Container Orchestration System
Portable and extensible open-source platform for managing
containerized workloads.
It aims to provide a platform for automating deployment, scaling, and
operations of application containers across clusters of hosts.
Principle: Manage your applications like Cattle instead of like Pets
© Copyright 2019 Dell Inc.6 @GuillaumeMorini
Kubernetes 101 - Containers, Runtime and Orchestrator
© Copyright 2019 Dell Inc.7 @GuillaumeMorini
In other words diagrams….
© Copyright 2019 Dell Inc.8 @GuillaumeMorini
Some Twitter wisdom…
© Copyright 2019 Dell Inc.9 @GuillaumeMorini
Kubernetes is a Container Orchestrator
© Copyright 2019 Dell Inc.10 @GuillaumeMorini
But we need a little bit more to RUN IT in production
User Story
© Copyright 2019 Dell Inc.12 @GuillaumeMorini
It all starts with the people...
© Copyright 2019 Dell Inc.13 @GuillaumeMorini
Alana, the IT Admin
Day-to-Day:
● Installs and manages
hardware
● Deploys and configures
virtual infrastructure
● Maintains Data Centers
Cares about:
● Storage & Compute
capacity management
● Security / patching
● Upgrades
● Costs and Chargeback
● Full stack stability
● Scalability of infrastructure
● Automation
© Copyright 2019 Dell Inc.14 @GuillaumeMorini
Cody, the Platform Team
Day-to-Day:
● Stable Platform
● Manage containers
● Execute pipelines
● Monitoring production
workloads
● Create/Manage Clusters
Cares about:
● Latest versions of tech
● Scalability of workloads
● Self-service
● Manage containers
● Speed & Agility
● High Availability
● Consistency
● CVE updates
● Releasing software
© Copyright 2019 Dell Inc.15 @GuillaumeMorini
Naomi, the App Dev
Day-to-Day:
● Write code/tests
● Build/manage containers
● Execute pipelines
Cares about:
● Latest versions of tech
● Scalability of workloads
● Self-service
● Writing code
● Building containers
● Speed & Agility
● Releasing software
● Access a Kubernetes API
© Copyright 2019 Dell Inc.16 @GuillaumeMorini
We told everyone how awesome Kubernetes is!
Dev Team NDev Team 1 Dev Team 2
...
Cody: “Can you provision a few clusters?”
© Copyright 2019 Dell Inc.17 @GuillaumeMorini
We didn’t realize the amount of traffic!
Small
Large
Medium
Cody: “Can you scale it for us?”
© Copyright 2019 Dell Inc.18 @GuillaumeMorini
Cody: “Can you patch the environment today?”
Heartbleed SpectreMeltdown
Just got the latest CVE report in!
© Copyright 2019 Dell Inc.19 @GuillaumeMorini
New Version of Kubernetes is out!
1.10.1
1.11
Cody: “I need this new feature...can you upgrade
our cluster today?”
© Copyright 2019 Dell Inc.20 @GuillaumeMorini
Launch date is next week!
Cody: “How can we expose our services?”
© Copyright 2019 Dell Inc.21 @GuillaumeMorini
Alana:
Time Out...
© Copyright 2019 Dell Inc.22 @GuillaumeMorini
How often do we need to update this thing?!?
Alana: How many k8s releases are there each year?
4 times a years for Major release.
50+ times a year for Minor releases!?!?
© Copyright 2019 Dell Inc.23 @GuillaumeMorini
How many of these things do we have to update?
Allana Cluster NAllana Cluster 1 Allana Cluster 2
...
Alana: How many clusters? How many hosts?
© Copyright 2019 Dell Inc.24 @GuillaumeMorini
Do we have the capacity for today? Next Month? Next year?
Alana: How much compute & storage will this require?
Alana: Wait, how do I keep this all up to date?
© Copyright 2019 Dell Inc.25 @GuillaumeMorini
Don’t forget about networking!
Alana: Is my network ready for this?
Alana: Container networking? Can I secure it?
© Copyright 2019 Dell Inc.26 @GuillaumeMorini
4 K8s updates x (30 clusters x 7 vms) = 840 upgrades
30 clusters x 30 pods = 900
workloads to segment and expose
30 clusters x 7 vms = 210 OS upgrades,
how many linux release this year?
Containers can run with privileged
permissions???!?
Alana: Let’s look at the low end...
© Copyright 2019 Dell Inc.27 @GuillaumeMorini
Alana:
© Copyright 2019 Dell Inc.28 @GuillaumeMorini
Calculated Response
Alana: “We need more people!”
© Copyright 2019 Dell Inc.29 @GuillaumeMorini
But what if...
© Copyright 2019 Dell Inc.30 @GuillaumeMorini
With Pivotal Container Service we got You covered!!
© Copyright 2019 Dell Inc.31 @GuillaumeMorini
Alana: “Sure thing!”
DEMO:
Creating Kubernetes Clusters
© Copyright 2019 Dell Inc.33 @GuillaumeMorini
DEMO:
Self Healing Kubernetes
© Copyright 2019 Dell Inc.35 @GuillaumeMorini
© Copyright 2019 Dell Inc.36 @GuillaumeMorini
NOW...
running
on
Pivotal Ready Architecture
© Copyright 2019 Dell Inc.37 @GuillaumeMorini
vCenter
Elastic
Cloud
Storage
vSAN
ESXi
Validated Design — Pivotal Container Service (PKS) tested
and validated on top of VxRail.
Full Stack Scale — Hyper-converged Infrastructure which
provides robustness, ability to scale out and ease of lifecycle
management
Reference Architectures — Documentation and tools enables
the design and deploy of the architecture in a resilient and
reliable way.
Full Stack Support — Product Support from the underlying
hardware to the physical infrastructure up to the K8s cluster and
containers running in them.
Managed Service — Optional service can be leveraged by
customers to deploy and manage the lifecycle of the Platform.
Scalable Object Storage — Option to utilize Elastic Cloud
Storage (ECS) for S3 compatible object storage that grows with
your workloads.
VxRailManager
Ready Architecture
VxRails
K8s Cluster
K8s ClusterRails
Cluster
© Copyright 2019 Dell Inc.38 @GuillaumeMorini
v1.9
v1.1
0
v1.1
1
v6.5
v6.5u1
v6.5u2
PKS+PRA: Full Stack Automation & Scale
Kubernetes Releases, OS Updates, CVE patches, Cluster Upgrades
Firmware Updates, Hypervisor Releases, CVE patches
Pivotal
Ready Architecture
OS OS OS OS OS OS OS OS OS OS OS OS OS OS OS OS OS OS
Pivotal
Network
LB LB LB LB LB LB LB LB LB LB LB LB
In Summary
© Copyright 2019 Dell Inc.40 @GuillaumeMorini
What PKS add to Kubernetes
© Copyright 2019 Dell Inc.41 @GuillaumeMorini
PKS does for your Kubernetes
what
Kubernetes does for your apps
© Copyright 2019 Dell Inc.42 @GuillaumeMorini
Call to action
● Come visit our booth at Dell Technologies Forum
● Watch the PKS Youtube videos
● Organize a workshop with dev and ops team
https://www.youtube.com/playlist?list=PLT1zSnR1i6dz9RVMfFUfhk6MtFPCuKuRs
Infrastructure design for Kubernetes

More Related Content

Infrastructure design for Kubernetes

  • 2. Infrastructure Design for Kubernetes Guillaume Morini Senior Platform Architect - EMEA @GuillaumeMorini Credits to @cdavisafc and @pczarkowski and @FabioChiodini for a lot of EPIC contents ;)
  • 3. © Copyright 2019 Dell Inc.3 @GuillaumeMorini Agenda ■ Intro on Kubernetes ■ User Story ■ Pivotal Container Services (PKS)
  • 5. © Copyright 2019 Dell Inc.5 @GuillaumeMorini A Production-Grade Container Orchestration System Portable and extensible open-source platform for managing containerized workloads. It aims to provide a platform for automating deployment, scaling, and operations of application containers across clusters of hosts. Principle: Manage your applications like Cattle instead of like Pets
  • 6. © Copyright 2019 Dell Inc.6 @GuillaumeMorini Kubernetes 101 - Containers, Runtime and Orchestrator
  • 7. © Copyright 2019 Dell Inc.7 @GuillaumeMorini In other words diagrams….
  • 8. © Copyright 2019 Dell Inc.8 @GuillaumeMorini Some Twitter wisdom…
  • 9. © Copyright 2019 Dell Inc.9 @GuillaumeMorini Kubernetes is a Container Orchestrator
  • 10. © Copyright 2019 Dell Inc.10 @GuillaumeMorini But we need a little bit more to RUN IT in production
  • 12. © Copyright 2019 Dell Inc.12 @GuillaumeMorini It all starts with the people...
  • 13. © Copyright 2019 Dell Inc.13 @GuillaumeMorini Alana, the IT Admin Day-to-Day: ● Installs and manages hardware ● Deploys and configures virtual infrastructure ● Maintains Data Centers Cares about: ● Storage & Compute capacity management ● Security / patching ● Upgrades ● Costs and Chargeback ● Full stack stability ● Scalability of infrastructure ● Automation
  • 14. © Copyright 2019 Dell Inc.14 @GuillaumeMorini Cody, the Platform Team Day-to-Day: ● Stable Platform ● Manage containers ● Execute pipelines ● Monitoring production workloads ● Create/Manage Clusters Cares about: ● Latest versions of tech ● Scalability of workloads ● Self-service ● Manage containers ● Speed & Agility ● High Availability ● Consistency ● CVE updates ● Releasing software
  • 15. © Copyright 2019 Dell Inc.15 @GuillaumeMorini Naomi, the App Dev Day-to-Day: ● Write code/tests ● Build/manage containers ● Execute pipelines Cares about: ● Latest versions of tech ● Scalability of workloads ● Self-service ● Writing code ● Building containers ● Speed & Agility ● Releasing software ● Access a Kubernetes API
  • 16. © Copyright 2019 Dell Inc.16 @GuillaumeMorini We told everyone how awesome Kubernetes is! Dev Team NDev Team 1 Dev Team 2 ... Cody: “Can you provision a few clusters?”
  • 17. © Copyright 2019 Dell Inc.17 @GuillaumeMorini We didn’t realize the amount of traffic! Small Large Medium Cody: “Can you scale it for us?”
  • 18. © Copyright 2019 Dell Inc.18 @GuillaumeMorini Cody: “Can you patch the environment today?” Heartbleed SpectreMeltdown Just got the latest CVE report in!
  • 19. © Copyright 2019 Dell Inc.19 @GuillaumeMorini New Version of Kubernetes is out! 1.10.1 1.11 Cody: “I need this new feature...can you upgrade our cluster today?”
  • 20. © Copyright 2019 Dell Inc.20 @GuillaumeMorini Launch date is next week! Cody: “How can we expose our services?”
  • 21. © Copyright 2019 Dell Inc.21 @GuillaumeMorini Alana: Time Out...
  • 22. © Copyright 2019 Dell Inc.22 @GuillaumeMorini How often do we need to update this thing?!? Alana: How many k8s releases are there each year? 4 times a years for Major release. 50+ times a year for Minor releases!?!?
  • 23. © Copyright 2019 Dell Inc.23 @GuillaumeMorini How many of these things do we have to update? Allana Cluster NAllana Cluster 1 Allana Cluster 2 ... Alana: How many clusters? How many hosts?
  • 24. © Copyright 2019 Dell Inc.24 @GuillaumeMorini Do we have the capacity for today? Next Month? Next year? Alana: How much compute & storage will this require? Alana: Wait, how do I keep this all up to date?
  • 25. © Copyright 2019 Dell Inc.25 @GuillaumeMorini Don’t forget about networking! Alana: Is my network ready for this? Alana: Container networking? Can I secure it?
  • 26. © Copyright 2019 Dell Inc.26 @GuillaumeMorini 4 K8s updates x (30 clusters x 7 vms) = 840 upgrades 30 clusters x 30 pods = 900 workloads to segment and expose 30 clusters x 7 vms = 210 OS upgrades, how many linux release this year? Containers can run with privileged permissions???!? Alana: Let’s look at the low end...
  • 27. © Copyright 2019 Dell Inc.27 @GuillaumeMorini Alana:
  • 28. © Copyright 2019 Dell Inc.28 @GuillaumeMorini Calculated Response Alana: “We need more people!”
  • 29. © Copyright 2019 Dell Inc.29 @GuillaumeMorini But what if...
  • 30. © Copyright 2019 Dell Inc.30 @GuillaumeMorini With Pivotal Container Service we got You covered!!
  • 31. © Copyright 2019 Dell Inc.31 @GuillaumeMorini Alana: “Sure thing!”
  • 33. © Copyright 2019 Dell Inc.33 @GuillaumeMorini
  • 35. © Copyright 2019 Dell Inc.35 @GuillaumeMorini
  • 36. © Copyright 2019 Dell Inc.36 @GuillaumeMorini NOW... running on Pivotal Ready Architecture
  • 37. © Copyright 2019 Dell Inc.37 @GuillaumeMorini vCenter Elastic Cloud Storage vSAN ESXi Validated Design — Pivotal Container Service (PKS) tested and validated on top of VxRail. Full Stack Scale — Hyper-converged Infrastructure which provides robustness, ability to scale out and ease of lifecycle management Reference Architectures — Documentation and tools enables the design and deploy of the architecture in a resilient and reliable way. Full Stack Support — Product Support from the underlying hardware to the physical infrastructure up to the K8s cluster and containers running in them. Managed Service — Optional service can be leveraged by customers to deploy and manage the lifecycle of the Platform. Scalable Object Storage — Option to utilize Elastic Cloud Storage (ECS) for S3 compatible object storage that grows with your workloads. VxRailManager Ready Architecture VxRails K8s Cluster K8s ClusterRails Cluster
  • 38. © Copyright 2019 Dell Inc.38 @GuillaumeMorini v1.9 v1.1 0 v1.1 1 v6.5 v6.5u1 v6.5u2 PKS+PRA: Full Stack Automation & Scale Kubernetes Releases, OS Updates, CVE patches, Cluster Upgrades Firmware Updates, Hypervisor Releases, CVE patches Pivotal Ready Architecture OS OS OS OS OS OS OS OS OS OS OS OS OS OS OS OS OS OS Pivotal Network LB LB LB LB LB LB LB LB LB LB LB LB
  • 40. © Copyright 2019 Dell Inc.40 @GuillaumeMorini What PKS add to Kubernetes
  • 41. © Copyright 2019 Dell Inc.41 @GuillaumeMorini PKS does for your Kubernetes what Kubernetes does for your apps
  • 42. © Copyright 2019 Dell Inc.42 @GuillaumeMorini Call to action ● Come visit our booth at Dell Technologies Forum ● Watch the PKS Youtube videos ● Organize a workshop with dev and ops team https://www.youtube.com/playlist?list=PLT1zSnR1i6dz9RVMfFUfhk6MtFPCuKuRs