Bosh HuaweiCloud CPI release
- Website: https://bosh.io/docs/build-cpi/
bosh-huaweicloud-cpi-release is a bosh Provider for Huaweicloud. It is based on bosh-huaweicloud-cpi-release which is a standard Bosh HuaweiCloud CPI. BOSH-Huaweicloud-CPI has added some enhancements to interact with the many resources supported by Huaweicloud.
The Huaweicloud CPI is designed for user most familiar with the Huawei cloud concepts and it only used in Huaweicloud. The users of huawei-powered clouds that are familiar with the openstack concepts and api may choose to use the bosh openstack cpi.
- Network: fully supporting huaweicloud network resources, including vpc, subnet, nic and so on.
This provider plugin is maintained by:
How to make release
- Clone this repo
- Install bosh-cli
- Create bosh release
$ git clone https://github.com/zhongjun2/bosh-huaweicloud-cpi-release.git $ cd bosh-huaweicloud-cpi-release $ bosh create-release --force --tarball=../bosh-huaweicloud-cpi.tgz
Huawei Cloud environment
- Create a vpc with switch and get
- Create security group get
- Create a key pair, get
key_pair_nameand download it private key, like bosh.pem
Install bosh in Huawei Cloud
- Clone bosh-deployment repo from github
$ git clone https://github.com/zhongjun2/bosh-deployment.git $ cd bosh-deployment
use this command, modify the parameters
bosh create-env bosh-deployment/bosh.yml --state=state.json \ --vars-store=creds.yml \ -o bosh-deployment/huaweicloud/cpi.yml \ -v director_name=my-bosh \ -v internal_cidr=192.168.0.0/24 \ -v internal_gw=192.168.0.1 \ -v internal_ip=192.168.0.2 \ -v subnet_id=... \ -v default_security_groups=[bosh] \ -v region=cn-north-1 \ -v auth_url=https://iam.cn-north-1.myhwclouds.com/v3 \ -v az=cn-north-1a \ -v default_key_name=bosh \ -v huaweicloud_password=... \ -v huaweicloud_username=... \ -v huaweicloud_domain=... \ -v huaweicloud_project=cn-north-1 \ -v private_key=bosh.pem
The planned future work listed on github issues with enhancement lable.