The Deckhouse Kubernetes Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.
The module lifecycle stage: Experimental
HuaweiCloudInstanceClass
Scope: Cluster
Version: v1
Huawei Cloud server group parameters used by machine-controller-manager (the node-manager module).
The CloudInstanceClass resource of the node-manager module refers to this resource.
Example:
apiVersion: deckhouse.io/v1
kind: HuaweiCloudInstanceClass
metadata:
name: worker
spec:
imageName: alt-p11
flavorName: s7n.xlarge.2
rootDiskSize: 50
rootDiskType: SSD
- objectspec
Required value
- array of stringsspec.additionalNetworks
Not required value.
List of networks IDs (subnets) for secondary NICs.
- stringspec.flavorName
Required value
Flavor of Huawei Cloud servers.
To get a list of all available flavors, run the following command:
cloud ECS ListFlavors.For all non-master nodes, it’s recommended that you use a flavor that includes a local disk. If the cloud provider supports local disks, they’re usually faster and cheaper. The disadvantage of using such a flavor is the inability to migrate nodes between hypervisors.
Example:
flavorName: m1.medium - stringspec.imageName
Not required value.
Image to use while provisioning HuaweiCloud servers.
Use this command to get a list of available images:
cloud IMS ListImages.For the list of operating systems and specific versions supported by Deckhouse, refer to Supported Kubernetes and OS versions (take into account the Deckhouse version you use).
By default, either the
HuaweiCloudDiscoveryDatavalue orinstances.imageNameis used.Example:
imageName: ubuntu-18-04-cloud-amd64 - stringspec.mainNetwork
Not required value.
ID of the primary network for the VM’s main NIC.
By default, the value from ‘HuaweiCloudDiscoverData’ is used.
- integerspec.rootDiskSize
Not required value.
The size of a root disk in gigabytes.
This parameter also affects the type of a root disk.
Example:
rootDiskSize: 20 - stringspec.rootDiskType
Not required value.
The type of a root disk.
The parameter is used to specify the type of a volume that will be used for the root disk.
By default, the value from
HuaweiCloudDiscoveryDatais used.Example:
rootDiskType: GPSSD - array of stringsspec.securityGroups
Not required value.
Security groups that will be applied to VM’s network ports in addition to security groups set in a cloud provider configuration.
These security groups allow you to set firewall rules for provisioned instances.
The
SecurityGroupsgroup may not be supported by the cloud provider.Example:
securityGroups: - security-group-1 - security-group-2 - stringspec.serverGroupID
Not required value.
The server group to assign the machine to.
Example:
serverGroupID: server-group-1 - array of stringsspec.subnetsDeprecated
Not required value.
Use the additionalNetworks field instead.
Paths to networks that the secondary VirtualMachines NICs will connect to.
Example:
subnets: - BGP-network-VLAN-3894 - External-VLAN-3699 - stringspec.vipAddress
Not required value.
If filled, enables Virtual IP for all nodes in this instance class.
Autoor IPv4 address are expected.Pattern:
^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$|^Auto$Example:
vipAddress: Auto