Deckhouse Platform leverages Huawei Cloud’s capabilities to operate Kubernetes clusters. The following features are supported:
- Resource management in Huawei Cloud via
cloud-controller-manager. - Disk provisioning using the CSI driver.
- Integration with the
node-managermodule, allowing the use of HuaweiCloudInstanceClass in NodeGroup.
Working with InstanceClass
The HuaweiCloudInstanceClass resource is used to define the parameters of virtual machines. It is referenced by NodeGroup.
Example resource:
apiVersion: deckhouse.io/v1
kind: HuaweiCloudInstanceClass
metadata:
name: worker
spec:
imageName: alt-p11
flavorName: s7n.xlarge.2
rootDiskSize: 50
rootDiskType: SSD
Replacing the OS image
The OS image of the nodes is set by the imageName parameter of the HuaweiCloudInstanceClass resource for CloudEphemeral nodes and in the instanceClass section of the HuaweiCloudClusterConfiguration resource for CloudPermanent nodes and master nodes. To move the cluster nodes to a new image, follow the steps from “How do I replace the OS image in a cloud cluster?”.