Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
Paul Czarkowski
@pczarkowski
pczarkowski@pivotal.io
Cloud Nat...
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
Paul Czarkowski
@pczarkowski
pczarkowski@pivotal.io
Cloud Nat...
Operations is the Secret sauce
Operations as a Competitive Advantage
Just not Traditional Operations.
https://go.forrester.com/blogs/ceos-and-software/
The Agile/DevOps Journey
BUSINESS DEVELOPMENT TEST / QA Operations
Months Months Months
BUSINESS DEVELOPMENT TEST / QA Operations
Weeks Months Months
BUSINESS DEVELOPMENT
TEST / QA
Operations
Weeks Months
BUSINESS DEVELOPMENT
TEST / QA
Operations
Weeks Months
BUSINESS DEVELOPMENT
TEST / QA
Operations
Weeks
https://www.sketchplanations.com/post/175174474143/conways-law-im-paraphrasing-here-but-the-gist
Hack Conway’s Law
CHANGE
API
Users
Systems
Admin
Network
Engineer
SecurityDBA QA
Storage
Admin
API
Users
Storage Compute NetworkDatabase AccessArtifacts
Creative Commons
[1] Jon Trillana
[2] Simon Child
1 2
Operations as a Platform
Platform as a Product
Infra
Services
App
Platform
Platform
Team
Application
Team
Build common services
for App Teams
Take business
requirements ...
Observability
Orchestration
and scheduling
CI / CD
Access
Control
APP
APP
APP
APP
Production
This is Cloud Native Operations
Pivotal is a Platform Company
Embedded OS
(Windows & Linux)
NSX-T
CPI (15 methods)
v1
v2
v3
...
CVEs
Product Updates
Java | .NET | NodeJS
Pivotal Applic...
> kubectl
Storage NetworkingCompute
Kubernetes Dashboard
Dev / Apps IT / Ops
App User
Kubernetes is a Runtime for Containe...
Storage NetworkingCompute
Dev / Apps
App User
IT / Ops
> kubectl
Kubernetes Dashboard
Load Balancing / Routing
Container I...
Storage NetworkingCompute
Pivotal Container Service (PKS) provides what’s missing
Dev / Apps
App User
IT / Ops
> kubectl
K...
Storage NetworkingCompute
Dev / Apps
App User
IT / Ops
> kubectl
Kubernetes Dashboard
Load Balancing / Routing
Container I...
What PKS adds to Kubernetes
PKS
value-added
features
Built into
Kubernetes
Multi-container pods
Stateful Sets of pods
Pers...
PKS Vision
To provide enterprise customers with the ability to
safely and efficiently deliver container services
on their p...
PKS does for your Kubernetes
what
Kubernetes does for your apps
BOSH
Reliable and consistent operational experience for any cloud.
BOSH
Harbor
NSX-T
Kubernetes
K8s Cluster
K8s Cluster
K8...
Kubernetes
Controllers
Controllers make Kubernetes great.
Desired State
Actual State
Unix Philosophy:
Do one thing. Do it well.
A Kubernetes pod is fragile.
The ReplicaSet Controller
Adds resiliency to your Pods.
The Deployment Controller
Adds upgradability to your ReplicaSets.
You can write custom controllers
very easily.
Kubernetes is an API
for Operations
DNS A record please
Hi, we need a DNS record for bacon.example.com
To point to IP 22.33.44.55. Thanks.
external-dns controller
https://github.com/kubernetes-incubator/external-dns
cert-manager controller
(/operator)
https://github.com/jetstack/cert-manager
Operators extend Kubernetes
to support custom resources
https://github.com/operator-framework/awesome-operators
Controllers and Operators turn Kubernetes
Into an API for Operations
Let’s run Kubernetes
“Let somebody else
Do the hard stuff” - Me
One Big Cluster or Many Smaller Clusters
One [or two] Big Cluster[s]
● All teams co-located on cluster, “namespaces”
separ...
One Big Cluster or Many Smaller Clusters
One [or two] Big Cluster[s]
● Pivotal Container Service - Essentials
● Kops
● Som...
https://k8s.af
Start with the idea of doing
many smaller clusters.
One Big Cluster or Many Smaller Clusters
One [or two] Big Cluster[s] Many Smaller Clusters
APP
APP
APP
APP
Production
APP
APP
APP
APP
APP
APP
APP
APP
APP
APP
APP
APP
APP
APP
APP
APP
Gitlab
APP
APP
APP
APP
Gitlab Concourse
APP
APP
APP
APP
Gitlab Concourse Spinnaker
APP
APP
APP
APP
Gitlab Concourse Spinnaker
APP
APP
APP
APP
Gitlab Concourse Spinnaker
APP
APP
APP
APP
Gitlab Concourse Spinnaker
A
P
P
A
P
P
A
P
P
A
P
P
Gitl
ab
Con
cou
rse
Spi
nna
ker
A
P
P
A
P
P
A
P
P
A
P
P
Gitl
ab
Con
cou
rse
Spi
nna
ker
A
P
P
A
P
...
We’ve spent 10 years figuring
out how to do agile operations
Helm Chart
Repo Kube Env
#1 Repo
Kube Env
#2 Repo
A
P
P
A
P
P
A
P
P
A
P
P
Gitl
ab
Con
cou
rse
Spi
nna
ker
A
P
P
A
P
P
A
P
...
App Source
Code App Env
Repo #2
App Env
Repo #1
Developer Workflow
Concourse Spinnaker
DEMO TIME
Transforming How The World Builds Software
© Copyright 2019 Pivotal Software, Inc. All rights Reserved.
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CD
Prochain SlideShare
Chargement dans…5
×

Cloud-Native Operations with Kubernetes and CI/CD

487 vues

Publié le

Operations practices have historically lagged behind development. Agile and Extreme Programming have become common practice for development teams. In the last decade, the DevOps and SRE movements have brought these concepts to operations, borrowing heavily from Lean principles such as Kanban and Value Stream Mapping. So, how does all of this play out if we’re using Kubernetes?

In this class, Paul Czarkowski, Principal Technologist at Pivotal, will explain how Kubernetes enables a new cloud-native way of operating software. Attend to learn:

● what cloud-native operations are;
● how to build a cloud-native CI/CD stack; and
● how to deploy and upgrade an application from source to production on Kubernetes.

Presenter:
Paul Czarkowski, Principal Technologist, Pivotal Software

Publié dans : Technologie
  • Soyez le premier à commenter

Cloud-Native Operations with Kubernetes and CI/CD

  1. 1. © Copyright 2018 Pivotal Software, Inc. All rights Reserved. Paul Czarkowski @pczarkowski pczarkowski@pivotal.io Cloud Native Operations With PKS (Kubernetes)
  2. 2. © Copyright 2018 Pivotal Software, Inc. All rights Reserved. Paul Czarkowski @pczarkowski pczarkowski@pivotal.io Cloud Native Operations With PKS (Kubernetes)
  3. 3. Operations is the Secret sauce
  4. 4. Operations as a Competitive Advantage
  5. 5. Just not Traditional Operations.
  6. 6. https://go.forrester.com/blogs/ceos-and-software/
  7. 7. The Agile/DevOps Journey
  8. 8. BUSINESS DEVELOPMENT TEST / QA Operations Months Months Months
  9. 9. BUSINESS DEVELOPMENT TEST / QA Operations Weeks Months Months
  10. 10. BUSINESS DEVELOPMENT TEST / QA Operations Weeks Months
  11. 11. BUSINESS DEVELOPMENT TEST / QA Operations Weeks Months
  12. 12. BUSINESS DEVELOPMENT TEST / QA Operations Weeks
  13. 13. https://www.sketchplanations.com/post/175174474143/conways-law-im-paraphrasing-here-but-the-gist
  14. 14. Hack Conway’s Law
  15. 15. CHANGE
  16. 16. API Users Systems Admin Network Engineer SecurityDBA QA Storage Admin
  17. 17. API Users Storage Compute NetworkDatabase AccessArtifacts Creative Commons [1] Jon Trillana [2] Simon Child 1 2
  18. 18. Operations as a Platform
  19. 19. Platform as a Product
  20. 20. Infra Services App Platform Platform Team Application Team Build common services for App Teams Take business requirements and turn them into features IaaS Virtual Infrastructure Physical Infrastructure Abstract infrastructure complexity with easy consumption DBaaSELK App2App1 App3 Middleware ML Creds/CertsMessaging ??? Container Services Container Hosts | Kubernetes Infrastructure Team
  21. 21. Observability Orchestration and scheduling CI / CD Access Control
  22. 22. APP APP APP APP Production
  23. 23. This is Cloud Native Operations
  24. 24. Pivotal is a Platform Company
  25. 25. Embedded OS (Windows & Linux) NSX-T CPI (15 methods) v1 v2 v3 ... CVEs Product Updates Java | .NET | NodeJS Pivotal Application Service (PAS) Application Code & Frameworks Buildpacks | Spring Boot | Spring Cloud | Steeltoe Elastic | Packaged Software | Spark Pivotal Container Service (PKS) >cf push >kubectl run YOU build the containerWE build the container vSphere Azure & Azure StackGoogle CloudAWSOpenstack Pivotal Network “3Rs” Github Concourse Concourse Pivotal Services Marketplace Pivotal and Partner Products Continuous delivery Public Cloud Services Customer Managed Services OpenServiceBrokerAPI Repair — CVEs Repave Rotate — Credhub
  26. 26. > kubectl Storage NetworkingCompute Kubernetes Dashboard Dev / Apps IT / Ops App User Kubernetes is a Runtime for Containerized Workloads
  27. 27. Storage NetworkingCompute Dev / Apps App User IT / Ops > kubectl Kubernetes Dashboard Load Balancing / Routing Container Image Registry App Monitoring App Logging OS Updates OS Images K8S Updates K8S Images Log & Monitor Recover & Restart Backup & Restore External Data Services Cluster Provisioning Provision & Scale Command Line / API Management GUI Monitoring GUI ...but Kubernetes alone is not enough for enterprises
  28. 28. Storage NetworkingCompute Pivotal Container Service (PKS) provides what’s missing Dev / Apps App User IT / Ops > kubectl Kubernetes Dashboard Load Balancing / Routing Container Image Registry OS Updates OS Images K8S Updates K8S Images Log & Monitor Recover & Restart Backup & Restore External Data Services Cluster Provisioning Provision & Scale App Logging PKS Control Plane > pks Operations Manager vRealize Operations* *integration GCP Service Broker
  29. 29. Storage NetworkingCompute Dev / Apps App User IT / Ops > kubectl Kubernetes Dashboard Load Balancing / Routing Container Image Registry K8S Updates Log & Monitor Backup & Restore External Data Services Cluster Provisioning App Logging PKS Control Plane GCP Service Broker > pks Operations Manager vRealize Operations* *integration on any Cloud
  30. 30. What PKS adds to Kubernetes PKS value-added features Built into Kubernetes Multi-container pods Stateful Sets of pods Persistent disks Single tenant ingress Pod scaling and high availability Rolling upgrades to pods Cluster provisioning and scaling Embedded, hardened Operating System Monitoring and recovery of cluster VMs and processes Rolling upgrades to cluster infrastructure Secure multi-tenant ingress Secure container registry
  31. 31. PKS Vision To provide enterprise customers with the ability to safely and efficiently deliver container services on their preferred infrastructure so that they can excel in their market with a cloud native platform
  32. 32. PKS does for your Kubernetes what Kubernetes does for your apps
  33. 33. BOSH Reliable and consistent operational experience for any cloud. BOSH Harbor NSX-T Kubernetes K8s Cluster K8s Cluster K8s Cluster PKS Control Plane Use the PKS CLI and API to create, operate, and scale your clusters. VMware GCP Azure Openstack AWS PKSControlPlane Built with open-source Kubernetes Constant compatibility with the latest stable release of Google Kubernetes Engine—no proprietary extensions. Harbor An enterprise-class container registry. Includes vulnerability scanning, identity management, and more. NSX-T Network management, security, and load balancing out-of-the-box with VMware NSX-T. Multi-cloud, multi-hypervisor. Enterprise-Grade Kubernetes
  34. 34. Kubernetes
  35. 35. Controllers
  36. 36. Controllers make Kubernetes great.
  37. 37. Desired State Actual State
  38. 38. Unix Philosophy: Do one thing. Do it well.
  39. 39. A Kubernetes pod is fragile.
  40. 40. The ReplicaSet Controller Adds resiliency to your Pods.
  41. 41. The Deployment Controller Adds upgradability to your ReplicaSets.
  42. 42. You can write custom controllers very easily.
  43. 43. Kubernetes is an API for Operations
  44. 44. DNS A record please Hi, we need a DNS record for bacon.example.com To point to IP 22.33.44.55. Thanks.
  45. 45. external-dns controller https://github.com/kubernetes-incubator/external-dns
  46. 46. cert-manager controller (/operator) https://github.com/jetstack/cert-manager
  47. 47. Operators extend Kubernetes to support custom resources
  48. 48. https://github.com/operator-framework/awesome-operators
  49. 49. Controllers and Operators turn Kubernetes Into an API for Operations
  50. 50. Let’s run Kubernetes
  51. 51. “Let somebody else Do the hard stuff” - Me
  52. 52. One Big Cluster or Many Smaller Clusters One [or two] Big Cluster[s] ● All teams co-located on cluster, “namespaces” separate them. ● Higher chance of noisy neighbor, other multi-tenancy issues. ● Better utilization of resources (less servers, higher bin-packing) ● Cluster Upgrades affect everyone. ● Large Blast radius during cluster issues / outages. ● Monolithic approach to infrastructure Many Smaller Clusters ● Each “team” or “business unit” gets its own cluster. ● Dedicated resources to each cluster reduces noisy neighbor etc. ● Resources can be customized at the cluster for the specific use cases. ● Cluster Upgrades only affect one team, easier to coordinate. ● Cluster issues/outages restricted to one team. ● Microservices approach to Infrastructure
  53. 53. One Big Cluster or Many Smaller Clusters One [or two] Big Cluster[s] ● Pivotal Container Service - Essentials ● Kops ● Some Kubernetes distro from another vendor ● Kubespray ● DIY chef/puppet/ansible Many Smaller Clusters ● Pivotal Container Service - Enterprise ● Pivotal Container Service - Cloud ● Google Container Engine ● Elastic Container Service ● Azure Container Service
  54. 54. https://k8s.af
  55. 55. Start with the idea of doing many smaller clusters.
  56. 56. One Big Cluster or Many Smaller Clusters One [or two] Big Cluster[s] Many Smaller Clusters
  57. 57. APP APP APP APP Production
  58. 58. APP APP APP APP
  59. 59. APP APP APP APP
  60. 60. APP APP APP APP
  61. 61. APP APP APP APP Gitlab
  62. 62. APP APP APP APP Gitlab Concourse
  63. 63. APP APP APP APP Gitlab Concourse Spinnaker
  64. 64. APP APP APP APP Gitlab Concourse Spinnaker
  65. 65. APP APP APP APP Gitlab Concourse Spinnaker
  66. 66. APP APP APP APP Gitlab Concourse Spinnaker
  67. 67. A P P A P P A P P A P P Gitl ab Con cou rse Spi nna ker A P P A P P A P P A P P Gitl ab Con cou rse Spi nna ker A P P A P P A P P A P P Gitl ab Con cou rse Spi nna ker A P P A P P A P P A P P Gitl ab Con cou rse Spi nna ker
  68. 68. We’ve spent 10 years figuring out how to do agile operations
  69. 69. Helm Chart Repo Kube Env #1 Repo Kube Env #2 Repo A P P A P P A P P A P P Gitl ab Con cou rse Spi nna ker A P P A P P A P P A P P Gitl ab Con cou rse Spi nna ker Platform Operations
  70. 70. App Source Code App Env Repo #2 App Env Repo #1 Developer Workflow Concourse Spinnaker
  71. 71. DEMO TIME
  72. 72. Transforming How The World Builds Software © Copyright 2019 Pivotal Software, Inc. All rights Reserved.

×