The management platform provides a KaaS component deployment wizard for you to deploy KaaS components.
To upload a component package from a host, upload that package to the component storage path, and make sure the following requirements are met:
The available capacity of the component storage where the KaaS component is to be deployed is at least 70GB.
The available capacity of the component storage where the node component is to be deployed is at least 10GB.
To deploy the KaaS component on a host, make sure the host has a minimum of 16 CPU cores, 32GB free memory space, and 500GB storage space.
Make sure you have cloud resource, host pool, cluster, and host management permissions.
To add storage, click Add Component storage in the lower left corner of the page. The same storage will be added on the template pool management page.
On the top navigation bar, click Container Engine.
You are placed on the Deploy KaaS Component page.
Click Deploy KaaS Component Package.
Select a component package. To upload a new component package, click Delete KaaS Component in the Actions column for a component package, and then upload a new package.
To upload a component package from the CLI, click to the right of the Select Component Package field, and then select the target component package in the dialog box that opens.
To upload a component package from the Web interface, select the target directory, click on the dashed box, and then select the target component package in the dialog box that opens. Alternatively, drag the target component package to the dashed box, and then click Start.
Click Next.
Configure basic information for KaaS component deployment:
Select Host: Select the host where the KaaS component VM is to be deployed.
Destination Storage File: Specify the storage file name to be displayed on the storage management page.
Destination Storage Pool: Select the storage pool where the KaaS component VM is to be deployed. The storage pool must be available.
Click Next.
Configure network information for the KaaS component VM:
vSwitch: Select a vSwitch for the component VM.
Port Profile/Port Group: Select the port profile or port group used by the component VM.
IP: Specify an IP address for the KaaS component VM. This IP address is used for managing the component VM.
Subnet Mask: Specify a subnet mast for the component VM.
Default Gateway: Specify a default gateway for the component VM.
Primary DNS: Specify a primary DNS server for the component VM.
Backup DNS: Specify a backup DNS server for the component VM.
Cluster Network VIP: Specify a VIP for communication between nodes in the cluster. This VIP is used only for communication within a cluster.
Management Network VIP: Specify a VIP for the management network for logging in to the container engine management page.
Click OK. If the system fails to deploy the component, click Redeploy to deploy the component again.
After deploying the KaaS component, you configure virtualization resources for the container service. A container service cannot use resources in a non-container cluster, but a container cluster can run non-container services.
On the top navigation bar, click Container Engine.
You are placed on the Deploy KaaS Component page.
Click Configure Virtualization Resources.
Select a creation mode, Create New Cluster or Select Existing Cluster to run the container service, and configure other parameters as required,
If a cluster is not enabled with the container cluster feature, you cannot select it. For description of the parameters, see [Resources/Manage clusters/Add a cluster].
Click Next.
Click Add.
On the page that opens, configure the parameters as required. For description of the parameters, see [Resources/Manage hosts/Add hosts].
Click OK.
Review the configuration, and then click Next.
The controller nodes and worker nodes in a Kubernetes cluster require shared storage. Therefore, you must configure shared storage for hosts in the container cluster.
Configure a shared storage pool. For description of the parameters, see [Resources/Manage hosts/Manage storage resources for hosts/Manage storage pools].
Click OK.
On the top navigation bar, click Container Engine.
You are placed on the Deploy KaaS Component page.
Click Upload Node Component Package.
Select a node component package.
To upload a node component package from the CLI, click to the right of the Select Component Package field, and then select the target component package in the dialog box that opens.
To upload a component package from the Web interface, select the target directory, click on the dashed box, and then select the target component package in the dialog box that opens. Alternatively, drag the target component package to the dashed box, and then click Start.
Click Next.
Configure network information for the node component:
Port Profile/Port Group: Select the port profile or port group used by the component VM.
Owner: Select an owner for the component package. Options include Private and Public. A public component package can be used by other users.