Deckhouse Kubernetes Platform on Huawei Cloud
Before starting the installation, ensure you have the cloud provider quotas required to deploy your cluster.
The cloud-init
package must be installed on the VMs.
After the virtual machine is started, the following services associated with this package must be started:
cloud-config.service
;cloud-final.service
;cloud-init.service
.
Deckhouse 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”, “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 ID
andSecret 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: