Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Cloud Foundry Container Runtimeで快適Kubernetes運用

2,639 views

Published on

Kubernetes Meetup Tokyo #8 で発表した資料です

Published in: Technology
  • Be the first to comment

Cloud Foundry Container Runtimeで快適Kubernetes運用

  1. 1. Kubernetes
  2. 2. Pivotal Japan - Platform Architect Kazuto Kusama @jacopen
  3. 3. k8s
  4. 4. k8s kubespray kops kube-aws
  5. 5. VM VM VM VM IaaS
  6. 6. VM VM VM VM
  7. 7. VM VM VM VM VM
  8. 8. VM VM VM VM IaaS
  9. 9. Day 1 & Day 2 Day 2 • • • • • Day 1 •
  10. 10. Day 1 & Day 2 Day 2 • • • • • Day 1 •
  11. 11. Cloud Foundry 5
  12. 12. • Cloud Application Platform • PaaS
  13. 13. • Cloud Application Platform • PaaS • (AWS, Azure, GCP, vSphere, OpenStack) •
  14. 14. • • Cloud Foundry • Cloud Foundry • Concourse CI, Prometheus BOSH
  15. 15. • • Cloud Foundry • Cloud Foundry • Concourse CI, Prometheus BOSH
  16. 16. Project Kubo • BOSH Kubernetes Pivotal&Google • 2017 2 • 2017 6 Cloud Foundry Foundation “Day 1” Build • • “Day 2” Operate • • • Kubernetes BOSH +
  17. 17. “A gift from the Cloud Foundry community.” Sam Ramji, VP of product management for GCP
  18. 18. Kubo
  19. 19. Kubo
  20. 20. = =
  21. 21. demo
  22. 22. Cloud Foundry VM VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ...
  23. 23. VM VM VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ... VM image
  24. 24. VM VM VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ... VM image AWS AMI OpenStack Glance image
  25. 25. BOSH Stemcell VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ... VM image AWS AMI OpenStack Glance image Stemcell
  26. 26. VM VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ... VM image Stemcell
  27. 27. VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ... VM image Stemcell VM bundle install pip install apt-get upgrade OS
  28. 28. VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ... VM image Stemcell VM bundle install pip install apt-get upgrade OS
  29. 29. BOSH Release VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ... VM image Stemcell VM Release
  30. 30. Stemcell VM VM Release yaml VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ... VM image Stemcell Release
  31. 31. BOSH yaml deployment VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ... VM image Stemcell Release deployment Infrastructure as code
  32. 32. OS Stemcell VM VM VM VM VM Cloud Controller UAA garden- runc garden- runc ... ... ... ... old Stemcell Release NEW Stemcell Immutable Infrastructure
  33. 33. Stemcell, Release, Deployment 3 Immutable Infrastructure Infrastructure as Code BOSH Stemcell Release Deployment
  34. 34. CPI (Cloud Provider Interface) AWS CPI GCP CPI Azure CPI vSphere CPI OpenSatck CPI
  35. 35. health monitoring
  36. 36. VM monit VM VM VM VM monit monit monit monit
  37. 37. VM bosh-agent VM VM VM VM agent monit agent monit agent monit agent monit Messaging bus (NATS)
  38. 38. VM BOSH VM VM VM VM agent monit agent monit agent monit agent monit Messaging bus (NATS)
  39. 39. VM (Resurrector ) VM VM VM agent monit agent monit agent monit Messaging bus (NATS) VM agent monit
  40. 40. Stemcell Release Deployment AWS CPI GCP CPI Azure CPI vSphere CPI OpenSatck CPI VM VM VM agen t moni t agen t moni t agen t moni t Messaging bus (NATS) VM agen t moni t
  41. 41. ?
  42. 42. Borg Google Borg
  43. 43. • Go! • https://docs-cfcr.cfapps.io/ • v0.9.0 • GCP, AWS, vSphere, OpenStack
  44. 44. A turnkey solution to provision, operate and manage enterprise grade Kubernetes clusters + +
  45. 45. BOSH VMware GCP Azure Openstack AWS Container Registry Kubernetes on BOSH (Kubo/CFCR) NSX-T GCP Service Broker masteretcd workermasteretcd worker PKS Control Plane
  46. 46. • VMware Registry • Role-based • AD/LDAP • Clair • • • Restful API
  47. 47. BOSH VMware GCP Azure Openstack AWS Container Registry Kubernetes on BOSH (Kubo/CFCR) NSX-T GCP Service Broker masteretcd workermasteretcd worker PKS Control Plane
  48. 48. NSX-T • CNI • VM • • vSphere
  49. 49. BOSH VMware GCP Azure Openstack AWS Container Registry Kubernetes on BOSH (Kubo/CFCR) NSX-T GCP Service Broker masteretcd workermasteretcd worker PKS Control Plane
  50. 50. PKS API ODB-PKS masteretcd worker masteretcd worker masteretcd worker pks create mycluster cf create-service pks-odb

×