Deckhouse Kubernetes Platform on Huawei Cloud
Installation of Deckhouse Kubernetes Platform on Huawei Cloud is only possible in the Enterprise Edition. See information about commercial editions.
Before installation, ensure the following:
- Cloud provider quotas for cluster deployment.
- The
cloud-initpackage is installed on the VMs. After the VM starts, servicescloud-config.service,cloud-final.service,cloud-init.servicemust be running. - The virtual machine template contains only one disk.
Deckhouse Kubernetes Platform components interact with Huawei Cloud resources through the Huawei Cloud API. To configure this connection, you need to create a user in the Huawei Cloud IAM service and provide it with the necessary permissions.
Configuring IAM via the web interface
To configure IAM via the web interface, first create a new user group and assign the necessary permissions. Follow these steps:
- Go to the “Identity and Access Management (IAM)” section.
- Open the “User Groups” page and click “Create User Group”.
- In the “Name” field, enter the group name (e.g.,
deckhouse). - Click “OK” to create the group.
- Select the newly created group from the list.
- On the “Permissions” tab, click “Authorize”.
- Assign the following policies: “ECS Admin”, “VPC Administrator”, “NAT Admin”, “ELB FullAccess”, “DEW KeypairFullAccess”.
- Click “Next”, then “OK”, and complete the setup by clicking “Finish”.
Then add a new user. Follow these steps:
- Go to the “Users” page in the IAM section and click “Create User”.
- In the “Username” field, enter the username (e.g.,
deckhouse). - Set “Access type” to “Programmatic access” and make sure “Management console access” is disabled.
- Select “Access key” as the “Credential Type”.
- Click “Next”.
- Select the previously created user group.
- Click “Create” to complete the user creation process.
- Click “OK” to download the
Access Key IDandSecret Access Key. Make sure to save these credentials in a secure location, as they will be needed to access the API.
JSON policies
Below are the contents of the policies in JSON format: