All Products
Search
Document Center

Create Container Service Kubernetes

Last Updated: Feb 01, 2019

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:

  1. Create Container Service Kubernetes clusters in the Container Service for Kubernetes console
  2. Import Container Service Kubernetes clusters into the EDAS console

Prerequisites

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.

Create Container Service Kubernetes clusters in the Container Service for Kubernetes console

  1. Log on to the Container Service console.
  2. Create a Container Service Kubernetes cluster.

    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.

Import Container Service Kubernetes clusters into the EDAS console

  1. Log on to the EDAS consoleEDAS console..

  2. In the left-side navigation pane, choose Resource Management > Clusters.

  3. 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.