Container Service for Kubernetes provides enterprise-level high-performance and flexible management of Kubernetes containerized applications throughout the application lifecycle.This service simplifies cluster creation and expansion and integrates Alibaba Cloud capabilities in virtualization, storage, network, and security, providing an improved running environment for Kubernetes containerized applications.
To create a Container Service Kubernetes cluster for an application, you need to complete the following steps:
- Create Container Service Kubernetes clusters in the Container Service for Kubernetes console
- Import Container Service Kubernetes clusters into the EDAS console
- You have activated EDAS.
- You have activated Container Service for Kubernetes and completed Role authorization.
Note: We recommend that you use the same account for Container Service and EDAS. If you use different accounts, make sure they belong to the same primary account and have been authorized.
- Log on to the Container Service console.
In Container Service, you can create Kubernetes, Kubernetes hosting, and Multi-Zone Kubernetes clusters.Select any type, as needed.
- Create Kubernetes clusters: Three of the instances that you purchase and add must serve as master nodes. Applications cannot be deployed on these three instances.You can only deploy applications on the other instances (workers).
- Create Kubernetes hosting clusters: All the instances that you purchase and add must serve as worker nodes. Applications can be deployed on these instances.
- Create multi-zone Kubernetes clusters: In contrast to Kubernetes clusters, this type of cluster has nodes distributed in different zones. If one zone is unavailable, the nodes can work in other zones.Three of the instances that you purchase and add must serve as master nodes. Applications cannot be deployed on these three instances, but can only be deployed on the worker instances that you purchase separately.
In the left-side navigation pane, choose Resource Management > Clusters.
On the Clusters page, click Container Service K8S Cluster.In the cluster list, locate the row that contains the Container Service Kubernetes cluster you created and click Import in the Actions column. In the Import Kubernetes Cluster dialog box, click Import.
When the option in the Actions column changes to Delete and the cluster status is Running, the Container Service Kubernetes cluster has imported successfully.