bosh-init部署流程
使用bosh-init安装bosh流程
介绍CLI是如何工作的。这些步骤是CLI执行的
1. 确认manifet, release 和 stemcesll
CLI确认manifet,release 和 stemcell有没有变化。CLI解析部署manifest成两个部分:the deployment manifest和CPI configuration。
2. 安装CPI Release
提供的CPI release在bosh-init运行的机器上编译,被用于在本机上创建VM。CPI release必须包含一个在中cloud_provider.template.job
指定的job.
3. 上传Stemcell
CPI安装后,CLI 调用create_stemcell
CPI方法。 提供的stemcell
4. 启动Registry
在创建VM之前,CLI启动一个registry。CPI使用它存储一些易变的数据后面VM上运行的agrent会存取数据,比如BOSH挂载了多少磁盘,这些数据可以存在registry里。