Deploy KubeSphere on Huawei CCE
First, create a Kubernetes cluster based on the requirements below.
- To install KubeSphere v3.1.0 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
- Ensure the cloud computing network for your Kubernetes cluster works, or use an elastic IP when you use Auto Create or Select Existing. You can also configure the network after the cluster is created. Refer to NAT Gateway.
- Select
4-core|8GB
for nodes and add more if necessary (3 and more nodes are required for a production environment).
Select kubectl on the right column, go to Download kubectl configuration file, and click Click here to download, then you will get a public key for kubectl.
After you get the configuration file for kubectl, use kubectl command line to verify the connection to the cluster.
Note
Huawei CCE built-in Everest CSI provides StorageClass csi-disk
which uses SATA (normal I/O) by default, but the actual disk that is used for Kubernetes clusters is either SAS (high I/O) or SSD (extremely high I/O). Therefore, it is suggested that you create an extra StorageClass and set it as default. Refer to the official document - .
For how to set up or cancel a default StorageClass, refer to Kubernetes official document - Change Default StorageClass.
Use to deploy KubeSphere on an existing Kubernetes cluster. Execute the following commands directly for a minimal installation:
Go to Workload > Pod, and check the running status of the pod in of its namespace to understand the minimal deployment of KubeSphere. Check ks-console-xxxx
of the namespace to understand the availability of KubeSphere console.
Check the running status of Pods in kubesphere-system
namespace and make sure the basic components of KubeSphere are running. Then expose KubeSphere console.
Go to Resource Management > Network and choose the service in ks-console
. It is suggested that you choose (Public IP is required). The configuration is shown below.
After you set LoadBalancer for KubeSphere console, you can visit it via the given address. Go to KubeSphere login page and use the default account (username admin
and password [[email protected]](https://kubesphere.io/cdn-cgi/l/email-protection)
) to log in.
The example above demonstrates the process of a default minimal installation. To enable other components in KubeSphere, see Enable Pluggable Components for more details.
Warning
Before you use Istio-based features of KubeSphere, you have to delete applications.app.k8s.io
built in Huawei CCE due to the CRD conflict. You can run the command directly to delete it.
After your component is installed, go to the Cluster Management page, and you will see the interface below. You can check the status of your component in Components.