Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
83 lines (61 sloc) 2.79 KB

Bosh HuaweiCloud CPI release

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.

Enhancements

  • Network: fully supporting huaweicloud network resources, including vpc, subnet, nic and so on.

Maintainers

This provider plugin is maintained by:

How to make 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

Usage

Prepare your Huawei Cloud environment

  • Create a vpc with switch and get subnet_id
  • Create security group get security_group_name
  • Create a key pair, get key_pair_name and download it private key, like bosh.pem

Install bosh in Huawei Cloud

$ 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

Backlog

The planned future work listed on github issues with enhancement lable.

You can’t perform that action at this time.