Updated on 2024-09-29 GMT+08:00

Introduction

This section describes how to use Cloud Container Engine (CCE) and provides frequently asked questions (FAQs) to help you quickly get started with CCE.

You can run CCE by using the console, kubectl (Kubernetes command-line tool), and application programming interfaces (APIs).

Procedure

Complete the following tasks to get started with CCE.

Figure 1 Procedure for getting started with CCE
  1. Register a Huawei Cloud account and grant permissions to Identity and Access Management (IAM) users.

    Huawei Cloud accounts have the permissions to use CCE. However, IAM users created by a Huawei Cloud account do not have permissions. You need to manually grant the permissions to IAM users. For details, see Permissions Overview.

  2. Create a cluster.

    For details on how to create a Kubernetes cluster, see Creating a Kubernetes Cluster.

  3. Deploy a workload (application).

  4. View workload status and logs. Upgrade, scale, and monitor the workload.

    For details, see Managing Workloads and Jobs.

FAQs

  1. Is CCE suitable for users who are not familiar with Kubernetes?

    Yes. The CCE console is easy-to-use, and the Getting Started guide helps you quickly understand and use CCE.

  2. Where can I find the instructions on creating Docker images for traditional applications?

    CCE offers strong guidance for you to create Docker images for your applications. For details, see Containerizing an Enterprise Application (ERP) in the CCE Best Practices.

  3. Is CCE suitable for users who have little experience in building images?

    Yes. CCE not only helps store your own images in My Images but also allows you to create containerized applications using open source images. For details, see Deploying a Deployment (Nginx).

  4. How do I create a workload using CCE?

    To create a workload, you need to create a cluster first. For details on how to create a workload, see Deploying a Deployment (Nginx).

  5. How do I create a workload accessible to public networks?

    CCE provides different workload access types to address diverse scenarios. For details, see Overview.

  6. How can I allow multiple workloads in the same cluster to access each other?

    You can create a service of the ClusterIP type. The ClusterIP Services allow workloads in the same cluster to access each other using their cluster-internal domain names.

    Cluster-internal domain names are in the format of <A custom service name>.<The workload's namespace>.svc.cluster.local:<Port number>. For example, nginx.default.svc.cluster.local:80.

    Example:

    Assume that workload A needs to access workload B in the same cluster. Then, you can create a ClusterIP Service for workload B. After the ClusterIP Service is created, workload B can be accessed by workload A through <A custom service name>.<The workload B's namespace>.svc.cluster.local:<Port number>.