gopaddle User Guide
  • 👋Welcome to gopaddle
  • Overview
    • 💡Getting Started
    • Register a Cluster
      • Register Rancher Prime - RKE2
      • Register K3S
      • Register MicroK8s
      • Register Kind
      • Register minikube
      • Register Kubeadm Cluster
      • Register AWS EKS Cluster
        • EKS Cluster with public or public/private access point
        • EKS Cluster with private access endpoint and a bastion host
        • Validate Cluster Connectivity
      • Register Azure AKS Cluster
      • Register Google GKE Cluster
      • Register Huawei Cloud Container Engine
    • Register GitHub Account
    • Register Jira Account
    • Register ChatGPT Assistant
    • 💻Kubernetes IDE
      • Filters
      • Editor
      • Flat vs Tree View
      • Developer Tools
    • 🙋AI Assistant
      • Chat with AI
      • Raise a Jira Ticket from Chat Window
      • Create Runbook from Chat Window
    • 📖Runbook Hub
      • Create Runbook Hub
      • Attach Runbook Hub to Cluster
      • Enhancing contents of Runbooks with AI
      • Detach Runbook Hub from Cluster
      • Syncing Runbook Hub with GitHub
      • Delete Runbook / Runbook Hub
    • ⏱️Installing Community Edition
      • MicroK8s Addon
        • On Ubuntu
        • On MacOS
      • Docker Desktop
      • SUSE Rancher Prime
      • Digital Ocean
      • Akamai Linode
      • Kind Cluster
      • Helm
      • Docker Compose
      • Accessing gopaddle UI
    • 📈Improving performance of resource discovery
    • Provision new Cluster
      • Register Cloud Account
        • AWS
          • Quickstart AWS Setup
          • IAM Access Policies
          • AWS Setup Script
        • Azure
          • Create Azure Application
          • Register Azure Cloud Authenticator
          • Register Azure Account
        • Google
      • Provision Clusters on Cloud
        • AWS EKS
          • AWS EKS Reference Architecture
          • Adding an AWS IAM Role (EKS Master / Node Pool)
          • Public EKS Cluster
          • All Private EKS Cluster (beta)
          • Creating a Node Pool
        • Azure AKS
          • Creating a Node Pool
          • Enable Public IP Node Access for Azure Deployments
          • VMSS Autoscaling Rules
        • Google GKE
          • Creating a Node Pool
  • 🔎Troubleshooting
    • Cluster Resource View Issues
      • Network Error ! ServerError: Response not successful: Received status code 503
      • Network Error ! TypeError: Failed to fetch
      • Network Error ! ServerParseError: Unexpected token 'j', "json: erro"... is not valid JSON
      • Updating Labels and Annotations does not get reflected in resources list
      • Filtered resources are not fully listed
    • Runbook Issues
      • Deleting a runbook from .gp.yaml does not detach annotation in resources
      • Deleting a Code Account from gopaddle UI does not detach annotation in resources
    • Jira Issues
      • Creating, Updating or Appending a Jira issue fails with error INVALID_INPUT
    • EKS Issues
    • Deployment Issues
    • Node Issues
    • Huawei Issues
Powered by GitBook
On this page
  • Create an Elastic Cloud Server as bastion host
  • Create a Cloud Container Engine cluster
  • Create a Load Balancer with Elastic IP
  • Register the ECS cluster in gopaddle portal via bastion host
  • Launching a stateful application in Huawei Container Service
  1. Overview
  2. Register a Cluster

Register Huawei Cloud Container Engine

How to build and deploy container workloads to Huawei Cloud Container Engine using gopaddle

PreviousRegister Google GKE ClusterNextRegister GitHub Account

Last updated 1 year ago

Huawei Container Service can be securely registered with gopaddle as an external cluster via Bastion Host. To use the Huawei Cloud Container Engine with gopaddle, a Bastion host needs to be created in the same region and VPC as the Cloud Container Engine.

Create an Elastic Cloud Server as bastion host

a) From the Huawei cloud console, create an Elastic Cloud Server. While creating an Elastic Cloud Server, choose the VPC where the Cloud Container Engine exists or is about to be created.

b) Choose the Public sub-net to access the Cloud Server.

c) Add tcp:5443 in the inbound security group rules to forward the requests on port 5443 to kubernetes API server.

d) Assign an EIP to the Elastic Cloud Server, so that it can be accessed publicly.

e) Generate a keypair to access the Elastic Cloud Server

Create a Cloud Container Engine cluster

f) From the Huawei console, create a Cloud Container Engine cluster. While creating the cluster, choose the Automatically assign EIP to the nodes.

g) Once the cluster moves to Running state, download the kubeconfig file from the kubectl section

Ensure the Public API Server address is NOT bound before downloading the kubeconfig file.

h) Once the kubeconfig file is downloaded, note down the cluster Internal API Server Address address

Create a Load Balancer with Elastic IP

i) If you wish to deploy applications with Ingress and Loadbalancer, create a Loadbalancer from the Huawei cloud console and note down the Loadbalancer ID and the IP Address.

Register the ECS cluster in gopaddle portal via bastion host

j) From the gopaddle console, navigate to the cluster section to register an external cluster.

In the registration wizard, provide the kubernetes master IP address noted from the earlier step (h) as the Host IP Address and the port.

k) Select the Provider Type as Huawei.

l) Choose the Bastion Host Connection type

m) In the Kubernetes API Server details, choose the Authentication Type as config

n) Choose the kubeconfig file downloaded in step (g)

o) Provide the EIP of the Elastic Container Server, its SSH User, SSH Port 22 and the SSH Key file generated in step (e). Register the cluster.

Once the cluster is registered, it can be used for build and deploying applications.

p) While launching an application on Huewai cluster, if you choose to access the application using ingress and LoadBalancer, provide the LoadBalancer ID and IP created in step (i) in the Deployment Template launch wizard.

Once the application is launched, map the public IP of the Huawei load balancer to the domain name in your domain service provider.

Launching a stateful application in Huawei Container Service

a) Create an EVS Volume in the Huawei cloud console. Under the Elastic Container Service, choose the Resource Management Option and select storage to provision an EVS Volume.

b) From the gopaddle console, create a Provision Policy by choosing the region and the zone where the Cloud Container Engine exists.

c) At the time of launching the application from the gopaddle portal, choose the Huawei provision policy created in the earlier step.

Page cover image