The content of this page has been automatically translated by AI. If you encounter any problems while reading, you can view the corresponding content in Chinese.
A cloud account is a credential for accessing cloud resources. Only after a cloud account is configured can the Continuous Deployment Console implement the management of cloud resources and infrastructure. Currently, the following three types of cloud accounts are supported:
Tencent Cloud TKE: Use clusters in Tencent Cloud TKE.
Kubernetes: Two commonly used credentials are supported, i.e. Kubeconfig and the Service Account.
Tencent Cloud Account: Tencent Cloud API key.
Click on 'Infrastructure' on the left side of the team's homepage to enter the Cloud Account management page, then click 'Bind Cloud Account' at the top right corner.
Tencent Cloud TKE
1. Select Tencent Cloud TKE as the cloud account type and follow the instructions to complete the binding with the cluster under the cloud account. If you do not have a cluster, please go to Tencent Cloud TKE to create one.
2. Select the cluster you plan to deploy, and click Confirm to automatically verify the cluster under the account and complete the interconnection.
Kubernetes
A Kubernetes cloud account supports two commonly used credentials, i.e. Kubeconfig and the Service Account. Taking Kubeconfig as an example:
Log in to the Cloud Computing Web Console, copy Kubeconfig, and then add the CODING IP range to the extranet access control list (allowlist) of the cluster.
Note:
Public IP Range of CODING-CD:
212.64.105.0/24
212.129.144.0/24
49.234.127.0/24
49.235.224.0/24
49.234.65.0/24
81.69.101.0/24
Paste the Kubeconfig into the cloud account and select Cluster Context to add the cloud account.
Tencent Cloud Account
1. Select Tencent Cloud Account as the cloud account type, enter the cloud account name, and select regions. Multiple regions can be selected, allowing CODING-CD to obtain the resource management permissions of the selected regions.
2. Copy the API key information on the Tencent Cloud CAM Console page.
3. Paste the copied SecretID and SecretKey into the respective text boxes, and click Confirm to complete adding the cloud account.