Updated on 2023-08-01 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 use CCE by using the console, kubectl (Kubernetes command-line tool), and application programming interfaces (APIs). For details about CCE concepts, see Basic Concepts.

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 IAM users.

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

  2. Create a cluster.

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

  3. Create a workload from an image or chart.

  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?

    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?

    In addition to storing images created by yourself in My Images, CCE allows you to create containerized applications using open source images. For details, see Creating a Deployment (Nginx).

  4. How do I create a workload using CCE?

    Create a cluster and then create a workload in the cluster. For details, see Creating 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?

    Select the access type ClusterIP, which allows workloads in the same cluster to use their cluster-internal domain names to access each other.

    Cluster-internal domain names are in the format of <self-defined service name>.<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 is reachable at <self-defined service name>.<workload B's namespace>.svc.cluster.local:<port number>.