Install Cloud Native Kit

更新时间:
复制 MD 格式

Cloud Native Kit (CNKIT) provides development and operations tools for microservices applications running in Container Service for Kubernetes (ACK) clusters and ACK Serverless clusters managed by Enterprise Distributed Application Service (EDAS). Install CNKIT to enable remote debugging and other development and O&M capabilities from the EDAS console.

Prerequisites

Before you begin, make sure that you have:

  • An ACK cluster or ACK Serverless cluster with applications deployed through EDAS

  • A later version of EDAS control components installed in the cluster

  • Management permissions for the target cluster

Note

If your ACK cluster or ACK Serverless cluster uses an earlier version of EDAS control components, install CNKIT through Helm instead. See Use Helm to install CNKIT to a cluster.

Resource requirements

CNKIT requires the following cluster resources:

Resource Minimum Maximum
CPU 0.05 cores 0.5 cores
Memory 50 MB 1 GB

Install CNKIT from the EDAS console

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Application Management > Applications.

  3. In the top navigation bar, select a region. In the upper part of the page, select a namespace.

  4. From the Cluster Type drop-down list, select Container Service or Serverless Kubernetes Cluster.

  5. Find the target application and click its name.

  6. In the left-side navigation pane of the Application Overview page, click Cloud Native Kit.

  7. In the Activate Steps section, complete the following steps:

    1. In Step 1: Allow Remote Debugging in Microservices Namespaces, click Allow Remote Debugging.

      Important

      You must enable remote debugging for each microservices namespace where you plan to use CNKIT. This protects environment stability by limiting CNKIT operations to explicitly authorized namespaces.

    2. In Step 2: Plug-in Installation, click Install.

      Note

      You can install or uninstall CNKIT with one click from the EDAS console. CNKIT is installed at the cluster level.

  8. In the Service Access Configuration section, set the access method. See the Configure service access section for details on each option.

Configure service access

After installation, configure how to access the CNKIT interface. Choose one of the following methods:

SLB (public network)

Associate an Internet-facing Server Load Balancer (SLB) instance with CNKIT to access it over the public network. This method supports both HTTP and HTTPS.

When you configure SLB access, choose one of the following options:

Option Behavior on disassociation
Create an SLB instance A new SLB instance is created and associated with CNKIT. The instance is automatically released when you disassociate it.
Use an existing SLB instance An existing SLB instance is associated with CNKIT. The instance is not released when you disassociate it.

Local access

Access CNKIT through a local connection to the Kubernetes cluster. This method requires a kubeconfig file for the cluster on your local machine.

To set up local access:

  1. Start the CNKIT agent by using one of the following methods:

    • Use the IntelliJ IDEA plug-in to start the CNKIT agent.

    • Directly run the CNKIT agent.

  2. After the agent starts, return to the EDAS console and click One-click Access to open the CNKIT interface.

What's next