Last updated：2021-05-25 17:26:04
KCE allows you to add Elastic Physical Compute (EPC) instances as nodes to a KCE cluster. If containers run on high-performance EPC instances, performance loss caused by virtualization can be avoided and robust performance experience can be guaranteed for you.
When you create an EPC instance to be added to a KCE cluster, you must install the container agent. You can add an EPC instance to a cluster only after you install the container agent on the EPC instance.
Kubernetes and Docker require the specific kernel versions of images. Therefore, you can install the container agent only on EPC instances that start with the specified images.
CentOS 7.3 or later
By default, Kingsoft Cloud does not allow you to install the container agent on EPC instances that use custom images. If you need to use a custom image, submit a ticket and provide information about the custom image. The KCE team verifies the custom image. If the custom image meets the requirements of Kubernetes, Kingsoft Cloud provides the option for you to install the container agent on EPC instances that use the custom image.
- The EPC instance must be in the same VPC as the cluster to which the EPC instance is to be added.
- The container agent must be installed.
Note: An EPC instance must meet the following requirements before it can be added to a cluster:
- The EPC instance has the container agent installed.
- The EPC instance is in the running status.
- The EPC instance is in the same VPC as the cluster.
- The subnet where the EPC instance resides has a public NAT.
- The EPC instance is not added to other clusters.
You can remove an EPC node from a cluster. On the Node page, find the EPC node and click Remove Node in the Operation column to remove the node.
- When you remove a node, the Kubernetes-related components are uninstalled from the node. The operation takes effect 1 minute later. Do not repeat the operation.
- The EPC node is removed from the cluster, but the EPC instance is not deleted. To delete the EPC instance, go to the EPC console to perform the operation.
- A removed EPC node can be added to the cluster again.
KCE supports NVIDIA GPUs and Cambricon devices.
To allow Kubernetes to support NVIDIA GPUs, you must install the NVIDIA driver and CUDA. We recommend that you install the preceding software on the GPU EPC instance before you add it to a Kubernetes cluster.
- When you create a NVIDIA GPU-powered EPC instance, you must install the container agent.
- If the NVIDIA driver and CUDA are not installed on the GPU EPC instance, KCE installs the NVIDIA driver and CUDA 10.1 on the instance by default when you add the instance to a cluster. During the installation, the GPU EPC instance is automatically restarted.
Cambricon Kubernetes Device Plugin is developed based on the device plug-in architecture introduced in Kubernetes versions later than 1.8. You can install the device plug-in on an EPC instance or run it as a DaemonSet to manage MLU resources, without changing the source code of Kubernetes. The device plug-in can automatically report the number of MLU100 devices, track their health status, and run MLU-enabled containers.
- The Kubernetes version must be later than 1.8.
- After you create a Cambricon device-powered EPC instance, install optional Kubernetes standard components, and add it to a Kubernetes cluster, the KCE team installs the required software such as the Cambricon driver on the instance. The instance does not need to be restarted during the installation process. Then, pods can be scheduled to the instance.
Did you find the above information helpful?
Please give us your feedback.
Thank you for your feedback.