cloud foundry container runtimeで快適kubernetes運用
TRANSCRIPT
Project Kubo• BOSH Kubernetes
Pivotal&Google
• 2017 2• 2017 6 Cloud Foundry
Foundation
“Day 1” Build
••
“Day 2” Operate
•
•
•
Kubernetes BOSH
+
VMVM
VM VM VM VM
Cloud Controller UAA garden-
runcgarden-
runc... ... ... ...
VMimage
AWS AMIOpenStackGlance image
BOSH Stemcell
VM VM VM VM
Cloud Controller UAA garden-
runcgarden-
runc... ... ... ...
VMimage
AWS AMIOpenStackGlance image
Stemcell
VM VM VM VM
Cloud Controller UAA garden-
runcgarden-
runc... ... ... ...
VMimageStemcell
VM
bundle install pip installapt-get upgrade OS
VM VM VM VM
Cloud Controller UAA garden-
runcgarden-
runc... ... ... ...
VMimageStemcell
VM
bundle install pip installapt-get upgrade OS
BOSHRelease
VM VM VM VM
Cloud Controller UAA garden-
runcgarden-
runc... ... ... ...
VMimageStemcell
VM
Release
Stemcell VM VMRelease yaml
VM VM VM VM
Cloud Controller UAA garden-
runcgarden-
runc... ... ... ...
VMimageStemcell
Release
BOSHyaml deployment
VM VM VM VM
Cloud Controller UAA garden-
runcgarden-
runc... ... ... ...
VMimageStemcell
Release
deployment
Infrastructure as code
OSStemcell VM
VM VM VM VM
Cloud Controller UAA garden-
runcgarden-
runc... ... ... ...oldStemcell
Release
NEWStemcell
Immutable Infrastructure
Stemcell, Release, Deployment 3Immutable Infrastructure Infrastructure as Code
BOSH
Stemcell Release Deployment
Stemcell Release Deployment
AWS CPI GCP CPI Azure CPI vSphere CPIOpenSatck
CPIVM VM VM
agent
monit
agent
monit
agent
monit
Messaging bus (NATS)
VM
agent
monit
BOSH
VMware GCP Azure Openstack AWS
Container Registry
Kubernetes on BOSH (Kubo/CFCR)
NSX-T
GCP Service Broker
masteretcd workermasteretcd worker
PKS Control Plane
BOSH
VMware GCP Azure Openstack AWS
Container Registry
Kubernetes on BOSH (Kubo/CFCR)
NSX-T
GCP Service Broker
masteretcd workermasteretcd worker
PKS Control Plane
BOSH
VMware GCP Azure Openstack AWS
Container Registry
Kubernetes on BOSH (Kubo/CFCR)
NSX-T
GCP Service Broker
masteretcd workermasteretcd worker
PKS Control Plane
PKS API ODB-PKS
masteretcd worker
masteretcd worker
masteretcd worker
pks create mycluster cf create-service pks-odb