Logo: Huawei Cloud Ucs Cluster Onboarding Manager

Huawei Cloud Ucs Cluster Onboarding Manager

Organisatioun
huaweicloud
huawei-cloud-ucs-cluster-onboarding-manager

Huawei Cloud UCS cluster onboarding, lifecycle, and fleet management via hcloud CLI. Register/query/remove clusters, manage fleet groups, obtain kubeconfig, check quotas. Trigger: "UCS cluster onboarding", "UCS 集群纳管", "UCS fleet", "UCS 舰队", "UCS kubeconfig", "UCS federation", "UCS 联邦", "UCS 配额", "cluster lifecycle", "纳管集群", "集群管理"

Iwwersiicht

Editeurhuaweicloud
Repositoryhuaweicloud-skills
Skill-Nummhuawei-cloud-ucs-cluster-onboarding-manager
Stären
59
Forks
24
Matgeliwwert Dateien
12
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 12 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    huaweicloud huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Huawei Cloud Ucs Cluster Onboarding Manager an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/container/ucs/huawei-cloud-ucs-cluster-onboarding-manager
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills.git /tmp/huaweicloud-skills
mkdir -p .claude/skills
cp -r /tmp/huaweicloud-skills/skills/container/ucs/huawei-cloud-ucs-cluster-onboarding-manager .claude/skills/huawei-cloud-ucs-cluster-onboarding-manager
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Huawei Cloud Ucs Cluster Onboarding Manager an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Huawei Cloud Ucs Cluster Onboarding Manager automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Huawei Cloud Ucs Cluster Onboarding Manager net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Huawei Cloud UCS Cluster Onboarding Manager

Overview

This skill provides cluster onboarding, lifecycle, and fleet grouping management capabilities for Huawei Cloud UCS (Ubiquitous Cloud Native Service) using the hcloud CLI.

Architecture: hcloud CLI → UCS Service API → Cluster/ClusterGroup/AccessConfig/KubeConfig resources

Related Skills:

  • huawei-cloud-ucs-policy-governor - UCS policy governance, compliance, and audit management

Capabilities:

  • Register self-managed or CCE clusters to UCS for unified management
  • Remove clusters from UCS management (deregistration)
  • Query cluster details, list managed clusters
  • Update cluster properties and metadata
  • Create, delete, update, and query fleet groups for cluster organization
  • Add/remove clusters from fleet groups (join/leave)
  • Retry cluster activation
  • Obtain cluster access information and kubeconfig credentials
  • Download federation kubeconfig for multi-cluster access
  • Check UCS resource quotas

Typical Use Cases:

  • "Register my CCE cluster to UCS"
  • "List all clusters managed by UCS"
  • "Remove a cluster from UCS management"
  • "Create a fleet group for production clusters"
  • "Get kubeconfig for my UCS-managed cluster"
  • "Download federation kubeconfig for multi-cluster access"
  • "Check my UCS quota usage"
  • "Update cluster metadata"
  • "Query cluster access information"
  • "Add a cluster to a fleet group"
  • "Remove a cluster from a fleet group"
  • "Retry cluster activation"

Prerequisites

1. hcloud CLI Requirements (MANDATORY)

  • hcloud CLI installed (version >= 7.2.2)
  • Run hcloud version to verify installation
  • First-time usage: printf "y\n" | hcloud version to accept privacy statement

2. Credential Configuration

hcloud CLI supports two credential modes via environment variables, automatically detected at runtime:

Mode A — Long-term AK/SK (permanent access):

bash
export HUAWEI_CLOUD_AK=<your-ak>
export HUAWEI_CLOUD_SK=<your-sk>
export HUAWEI_CLOUD_REGION=cn-north-4

Mode B — Temporary AK/SK + SecurityToken (recommended for temporary or delegated access):

bash
export HUAWEI_CLOUD_AK=<your-temp-ak>
export HUAWEI_CLOUD_SK=<your-temp-sk>
export HUAWEI_CLOUD_SECURITY_TOKEN=<your-security-token>
export HUAWEI_CLOUD_REGION=cn-north-4

When HUAWEI_CLOUD_SECURITY_TOKEN is present, hcloud CLI automatically uses temporary credential authentication. When only AK/SK are set, it uses long-term credential authentication.

  • Security Rules:
    • 🚫 Never expose AK/SK/SecurityToken values in code, conversation, or commands
    • 🚫 Never use echo $HUAWEI_CLOUD_AK or echo $HUAWEI_CLOUD_SK to check credentials
    • ✅ Use environment variables: HUAWEI_CLOUD_AK, HUAWEI_CLOUD_SK, HUAWEI_CLOUD_REGION, HUAWEI_CLOUD_SECURITY_TOKEN
    • ✅ Prefer IAM users over root account for cloud operations
    • ✅ Enable MFA for sensitive operations

⚠️ Important Security Notes:

  • Never commit credentials to version control
  • Use IAM users with minimal required permissions
  • Enable MFA for sensitive operations
  • Rotate AK/SK regularly

3. K8s Version Compatibility (CRITICAL)

⚠️ UCS has a maximum supported Kubernetes version limit. CCE clusters created with default settings may use a version that exceeds UCS support range. Registering an unsupported version will fail with error UCS.01030012: Register cce cluster error - cce cluster version not support in UCS service (verified: CCE default creates v1.35, UCS supports up to v1.34 as of 2025-07). Always query the supported versions dynamically — do not hardcode version numbers, as UCS updates its support range over time:

bash
hcloud UCS ListRegisteredClusterVersions --cli-region=cn-north-4

Pre-registration Version Check:

bash
# List unimported CCE clusters to check their versions
hcloud UCS ListManagedClusters --unimported=true --cli-region=cn-north-4

# Or check specific CCE cluster version via CCE API
hcloud CCE ShowCluster --clusterid=<cce-cluster-id> --cli-region=cn-north-4

If the cluster K8s version exceeds UCS support range, either:

  • Downgrade the CCE cluster K8s version to within UCS support range, OR
  • Wait for UCS to support the newer version

4. IAM Permission Requirements

API ActionPermissionPurpose
ucs:cluster:createRegister clusterRegister cluster to UCS
ucs:cluster:deleteDelete clusterRemove cluster from UCS
ucs:cluster:getGet clusterView cluster details
ucs:cluster:listList clustersList all managed clusters
ucs:cluster:updateUpdate clusterModify cluster properties
ucs:clusterGroup:createCreate groupCreate fleet group
ucs:clusterGroup:deleteDelete groupRemove fleet group
ucs:clusterGroup:getGet groupView fleet group details
ucs:clusterGroup:updateUpdate groupUpdate fleet group description
ucs:clusterAccess:getGet access infoObtain cluster access information
ucs:quota:getGet quotaCheck UCS resource quotas
ucs:kubeconfig:createCreate kubeconfigObtain cluster kubeconfig
ucs:federationKubeconfig:getGet federationDownload federation kubeconfig

See IAM Permission Policies for complete policy JSON.

Permission Failure Handling:

  1. When any command fails due to permission errors, read references/iam-policies.md
  2. Display the required permission list and policy JSON to the user
  3. Guide the user to create a custom policy in the IAM console and grant authorization
  4. Pause execution and wait for user confirmation that permissions have been granted

Core Commands

1. Cluster Registration & Deregistration

See Task: Cluster Registration for detailed workflows.

RegisterCluster uses Kubernetes API-style parameters (apiVersion, kind, metadata., spec.).

bash
# Register a CCE cluster to UCS (⚠️ paid service: requires user confirmation)
# **Confirm with user before executing** — UCS cluster onboarding is a paid service, costs will be incurred
hcloud UCS RegisterCluster --apiVersion=v1 --kind=Cluster --metadata.name=prod-backend-cluster --spec.category=self --spec.provider=huaweicloud --spec.type=turbo --spec.manageType=discrete --spec.country=CN --spec.city=110000 --metadata.uid=<cce-cluster-id> --spec.projectID=<project-id> --spec.region=cn-north-4 --cli-region=cn-north-4

# Register a CCE cluster and assign to fleet group at registration
hcloud UCS RegisterCluster --apiVersion=v1 --kind=Cluster --metadata.name=prod-backend-cluster --spec.category=self --spec.provider=huaweicloud --spec.type=turbo --spec.manageType=discrete --spec.country=CN --spec.city=110000 --metadata.uid=<cce-cluster-id> --spec.projectID=<project-id> --spec.region=cn-north-4 --spec.clusterGroupID=<group-id> --cli-region=cn-north-4

# Register a self-managed/attached cluster
hcloud UCS RegisterCluster --apiVersion=v1 --kind=Cluster --metadata.name=datacenter-k8s --spec.category=onpremise --spec.provider=self_managed --spec.type=Kubernetes --spec.manageType=discrete --spec.country=CN --spec.city=110000 --metadata.annotations.kubeconfig=<kubeconfig-yaml-content> --cli-region=cn-north-4

# Retry cluster activation (if registration stuck)
hcloud UCS RetryClusterActivation --clusterid=<ucs-cluster-id> --cli-region=cn-north-4

# Remove a cluster from UCS (⚠️ destructive: requires user confirmation)
# **Confirm with user before executing** — deregistration is irreversible
hcloud UCS DeleteCluster --clusterid=<ucs-cluster-id> --cli-region=cn-north-4

Cluster Categories (spec.category):

  • self: Huawei Cloud CCE (Cloud Container Engine) managed cluster
    • UCS directly accesses CCE API via internal network — no proxy-agent needed
    • Use CCE API CreateKubernetesClusterCert to obtain kubeconfig (NOT UCS CreateClusterKubeconfig)
    • ShowClusterAccessInfo returns UCS.01030011 — NOT supported for this category
    • RetryClusterActivation returns UCS.01000011 — NOT supported for this category
    • Note: CCE cluster spec.category is Turbo, but UCS ListManagedClusters returns category=self, type=turbo
  • onpremise: Self-managed or third-party Kubernetes cluster
    • Requires deploying proxy-agent to establish tunnel between cluster and UCS
    • Use ShowClusterAccessInfo to obtain proxy-agent configuration, then deploy proxy-agent
    • Use CreateClusterKubeconfig to obtain kubeconfig after proxy-agent is running

Kubeconfig Retrieval Decision Tree (verified via API testing):

Need cluster kubeconfig?
├── category=self (CCE cluster)
│   └── CCE CreateKubernetesClusterCert --cluster_id=<cce-cluster-id> --duration=30
│       (CCE API, NOT UCS CreateClusterKubeconfig which returns internal error)
└── category=onpremise (self-managed cluster)
    ├── Step 1: ShowClusterAccessInfo --clusterid=<ucs-cluster-id>
    │   (obtain proxy-agent configuration — only for onpremise, returns UCS.01030011 for CCE)
    ├── Step 2: Deploy proxy-agent in the cluster
    └── Step 3: CreateClusterKubeconfig --clusterid=<ucs-cluster-id>
        (obtain kubeconfig after tunnel established)

Cluster Providers (spec.provider):

  • huaweicloud: Huawei Cloud managed CCE cluster
  • self_managed: Self-managed Kubernetes cluster

Manage Types (spec.manageType):

  • grouped: Cluster managed within a fleet group
  • discrete: Cluster managed independently

2. Cluster Query & Lifecycle

bash
# Show cluster details
hcloud UCS ShowCluster --clusterid=<ucs-cluster-id> --cli-region=cn-north-4

# List managed clusters (with pagination)
hcloud UCS ShowClusterList --limit=20 --offset=0 --cli-region=cn-north-4

# List managed clusters with filters
hcloud UCS ShowClusterList --category=CCE --enablestatus=Available --clustergroupid=<group-id> --cli-region=cn-north-4

# List all managed clusters (with optional unimported flag)
# ⚠️ Prerequisite: ListManagedClusters requires IAM agency delegation configured at account level.
# If not configured, returns UCS.01010005: get IAM agency's token error.
# See references/common-pitfalls.md Pitfall 20 for IAM agency setup instructions.
hcloud UCS ListManagedClusters --cli-region=cn-north-4
hcloud UCS ListManagedClusters --unimported=true --cli-region=cn-north-4

# Update cluster properties (K8s API-style params) (⚠️ modification: requires user confirmation)
# **Confirm with user before executing**
hcloud UCS UpdateCluster --clusterid=<ucs-cluster-id> --apiVersion=v1 --kind=Cluster --spec.city=310000 --spec.country=CN --cli-region=cn-north-4

# Show cluster access information (only for category=onpremise clusters)
hcloud UCS ShowClusterAccessInfo --clusterid=<ucs-cluster-id> --cli-region=cn-north-4

# Show cluster access information with optional filters (only for category=onpremise clusters)
hcloud UCS ShowClusterAccessInfo --clusterid=<ucs-cluster-id> --region=cn-north-4 --vpcendpoint=<vpc-id> --cli-region=cn-north-4

⚠️ ShowClusterAccessInfo only applies to category=onpremise clusters. For category=self (CCE) clusters, it returns UCS.01030011: Cluster category not supported (verified). For CCE cluster kubeconfig, use CCE API CreateKubernetesClusterCert instead of UCS CreateClusterKubeconfig.

ShowClusterList Valid Filter Parameters:

  • --category: Filter by cluster category (self, onpremise)
  • --clustergroupid: Filter by fleet group ID
  • --clusterids: Filter by specific cluster IDs
  • --enablestatus: Filter by cluster status (Available, Unavailable)
  • --managetype: Filter by manage type (grouped, discrete)
  • --limit: Pagination limit
  • --offset: Pagination offset
  • --order: Sort order (asc, desc)
  • --order_by: Sort field

⚠️ --name filter is NOT supported by ShowClusterList API. To find a cluster by name, call ShowClusterList without name filter and match by metadata.name in the response locally.

3. Fleet Group Management

See Task: Fleet Management for detailed workflows.

bash
# Create a fleet group
hcloud UCS RegisterClusterGroup --metadata.name=production-fleet --spec.description="All production clusters" --spec.clusterIds.1=<cluster-id-1> --cli-region=cn-north-4

# List all fleet groups
hcloud UCS ListClusterGroup --limit=20 --offset=0 --cli-region=cn-north-4

# Show fleet group details
hcloud UCS ShowClusterGroup --clustergroupid=<group-id> --cli-region=cn-north-4

# Update fleet group description (⚠️ modification: requires user confirmation)
# **Confirm with user before executing**
hcloud UCS UpdateClusterGroup --clustergroupid=<group-id> --description="Updated fleet description" --cli-region=cn-north-4

# Add clusters to fleet group (⚠️ modification: requires user confirmation)
# **Confirm with user before executing**
hcloud UCS UpdateClusterGroupAssociatedClusters --clustergroupid=<group-id> --clusterIds.1=<cluster-id-1> --clusterIds.2=<cluster-id-2> --cli-region=cn-north-4

# Add a single cluster to fleet group (join)
hcloud UCS JoinGroup --clusterid=<ucs-cluster-id> --clusterGroupID=<group-id> --cli-region=cn-north-4

# Remove a cluster from fleet group (leave)
hcloud UCS LeaveGroup --clusterid=<ucs-cluster-id> --cli-region=cn-north-4

# Delete a fleet group (⚠️ destructive: requires user confirmation)
# **Confirm with user before executing** — deletion removes the group but clusters remain registered
hcloud UCS DeleteClusterGroup --clustergroupid=<group-id> --cli-region=cn-north-4

4. Kubeconfig & Access Management

See Task: Access Management for detailed workflows.

bash
# Get kubeconfig for a specific cluster (⚠️ only for category=onpremise clusters)
# For category=self (CCE) clusters, use: hcloud CCE CreateKubernetesClusterCert --cluster_id=<cce-id> --duration=30 --cli-region=cn-north-4
hcloud UCS CreateClusterKubeconfig --clusterid=<ucs-cluster-id> --cli-region=cn-north-4

# Create cluster configuration
hcloud UCS CreateClusterConf --clusterid=<ucs-cluster-id> --cli-region=cn-north-4

# Download federation kubeconfig (for multi-cluster access)
hcloud UCS DownloadFederationKubeconfig --clustergroupid=<group-id> --duration=3600 --cli-region=cn-north-4

DownloadFederationKubeconfig Required Parameters:

  • --clustergroupid: Fleet group ID (required path parameter)
  • --duration: Token validity duration in seconds (required integer body parameter)

5. Quota Management

bash
# Show UCS resource quotas (domainid is required - account ID)
hcloud UCS ShowQuota --domainid=<account-id> --cli-region=cn-north-4

参数确认

⚠️ Cost Notice: UCS cluster onboarding is a paid service. Registering a cluster to UCS incurs costs. Before executing RegisterCluster or other onboarding operations, you must confirm with the user whether they agree to incur costs and obtain explicit consent before proceeding.

Common Parameters

ParameterRequired/OptionalDescriptionDefault
--cli-regionRequiredHuawei Cloud region IDConfig value or HUAWEI_CLOUD_REGION
--clusteridContext-dependentUCS cluster IDN/A
--clustergroupidContext-dependentFleet group IDN/A

Cluster Registration Parameters (K8s API Style)

ParameterRequiredDescriptionConstraints
--spec.categoryYesCluster categoryself (CCE) or onpremise (self-managed)
--spec.providerYesCluster providerhuaweicloud or self_managed
--spec.typeYesCluster typecce, baremetal, Kubernetes, etc.
--spec.manageTypeYesManagement typegrouped or discrete
--metadata.uidCCE onlyCCE cluster IDMust reference existing CCE cluster
--spec.projectIDCCE onlyProject IDObtain via ListManagedClusters response
--spec.clusterGroupIDNoAssign to fleet at registrationValid fleet group ID

Write Operations (User Confirmation Required)

OperationCLI CommandRisk LevelConfirmation Required
RegisterClusterhcloud UCS RegisterClusterHighUCS onboarding is a paid service; after registration, the cluster will be subject to UCS policy governance constraints. Confirm cluster name, category, and billing consent.
DeleteClusterhcloud UCS DeleteClusterHighDeregistration is irreversible; the cluster loses all UCS management capabilities, policy governance, and fleet association. Confirm cluster ID before proceeding.
UpdateClusterhcloud UCS UpdateClusterMediumModifies cluster properties (e.g., location, labels). Confirm the changes before proceeding.
RegisterClusterGrouphcloud UCS RegisterClusterGroupMediumCreates a new fleet group for cluster organization. Confirm group name and description.
DeleteClusterGrouphcloud UCS DeleteClusterGroupHighDeletes the fleet group; clusters remain registered but lose group-level governance and federation access. Confirm group ID before proceeding.
UpdateClusterGrouphcloud UCS UpdateClusterGroupMediumModifies fleet group description. Confirm the new description.
JoinGrouphcloud UCS JoinGroupMediumJoining a fleet group affects the cluster's governance scope and policy execution. Confirm cluster ID and target group ID.
LeaveGrouphcloud UCS LeaveGroupMediumLeaving a fleet group affects the cluster's governance scope and policy execution; the cluster will no longer be governed by group-level policies. Confirm cluster ID.

See Parameter Reference for complete parameter tables.

Output Format

See Output Format for detailed response format examples (ShowCluster, ShowClusterList, ShowQuota).

Key Fields Summary:

  • ShowCluster: metadata.uid (UUID), spec.category (onpremise/self), status.phase (Failed/Available)
  • ShowClusterList: items[] (k8s-style array), total (count)
  • ShowQuota: quotas.resources[] with type/quota/used/min/max

Verification

See Verification Method for step-by-step verification.

Best Practices

  1. Cluster Naming: Use descriptive names that reflect cluster purpose and environment (e.g., prod-app-backend, staging-data-pipeline) via --metadata.name
  2. Fleet Grouping: Organize clusters by environment (production/staging/development) or business domain for unified governance
  3. Kubeconfig Security: Store kubeconfig files securely; never expose them in public repositories or CI logs
  4. Deregistration Caution: Removing a cluster from UCS disables all policy governance and federation access for that cluster
  5. Self-Managed Registration: Ensure the self-managed cluster kubeconfig is valid and the cluster API server is reachable; pass it via --metadata.annotations.kubeconfig
  6. Quota Monitoring: Check quotas before registering new clusters to avoid hitting limits
  7. Federation Kubeconfig Duration: Choose appropriate --duration for federation kubeconfig tokens based on usage patterns

Workflow

The skill workflow is as follows:

  1. ⚠️ Billing Confirmation (MANDATORY) — Before executing any operation, inform the user of potential billing implications and obtain explicit consent:
    • UCS is a paid service: Registering a cluster with UCS incurs management fees. The cluster will be subject to UCS policy governance constraints after registration.
    • Policy center costs: Enabling policy center on a cluster may incur additional governance fees.
    • Ask the user to confirm: "Do you understand the billing implications and wish to proceed? (yes/no)"
    • Only proceed if the user explicitly confirms. If the user declines, stop and do not execute any operations.
  2. Environment Check — Verify hcloud CLI is installed and AK/SK credentials are configured (see CLI Installation Guide)
  3. Version Compatibility Check — Call ListRegisteredClusterVersions to get the list of K8s versions supported by UCS, and confirm the target cluster version is in the list
  4. Cluster Registration — Choose registration method based on cluster type:
    • CCE cluster: --spec.category=self --spec.provider=huaweicloud --spec.type=turbo
    • Self-managed cluster: --spec.category=onpremise --spec.provider=self_managed (requires kubeconfig)
  5. Registration Verification — Call ShowCluster or ShowClusterList to confirm cluster status is Available
  6. Cluster Management (optional):
    • Fleet grouping: RegisterClusterGroup / JoinGroup / LeaveGroup
    • Access management: CCE clusters use CreateKubernetesClusterCert, third-party clusters use ShowClusterAccessInfo + proxy-agent
    • Property update: UpdateCluster (requires user confirmation)
  7. Deregister Cluster (optional) — DeleteCluster (⚠️ irreversible operation, requires user confirmation)

KooCLI Command Format Standard

All operations use hcloud UCS <Operation> --<param>=<value> --cli-region=<region> format. See KooCLI Command Format for detailed examples and parameter naming rules.

Reference Documents

DocumentDescription
UCS Cluster Onboarding API Guidehcloud UCS API reference
Output FormatResponse format examples (verified)
IAM Permission PoliciesRequired permissions and policy JSON
Verification MethodStep-by-step verification
Common PitfallsTroubleshooting guides
Task: Cluster RegistrationRegistration and deregistration workflows
Task: Fleet ManagementFleet group workflows
Task: Access ManagementKubeconfig and access control workflows
CLI Installation Guidehcloud CLI installation and configuration
Parameter ReferenceComplete parameter tables for all operations
KooCLI Command FormatCommand format standard and examples
Acceptance CriteriaSkill acceptance criteria and test checklist

Notes

  • K8s version compatibility — UCS has a maximum supported K8s version that updates over time. CCE default cluster version may exceed this limit. Query supported versions with hcloud UCS ListRegisteredClusterVersions and verify cluster version is in the list before registration.
  • Cluster deregistration is irreversible — the cluster loses all UCS management capabilities
  • Self-managed cluster kubeconfig must be valid — invalid kubeconfig will cause registration failure; pass via --metadata.annotations.kubeconfig
  • AK/SK must never be hardcoded — credentials should only be obtained via environment variables
  • hcloud CLI is the only supported method — all operations use hcloud UCS <Operation> format
  • Federation kubeconfig requires fleet group ID and duration — both --clustergroupid and --duration are required
  • RegisterCluster uses K8s API-style parameters — not flat params like --name/--cluster_type; note: spec.category uses self/onpremise (not CCE/AttachedCluster), spec.provider uses huaweicloud (not huawei_cloud), spec.type uses lowercase cce (not CCE), spec.city uses city codes like 110000 (not city names like Beijing)
  • ShowQuota requires domainid — the account/domain ID is a required path parameter

Common Pitfalls

See Common Pitfalls & Solutions for detailed troubleshooting guides.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Huawei Cloud Ucs Cluster Onboarding Manager?

Huawei Cloud UCS cluster onboarding, lifecycle, and fleet management via hcloud CLI. Register/query/remove clusters, manage fleet groups, obtain kubeconfig, check quotas. Trigger: "UCS cluster onboarding", "UCS 集群纳管", "UCS fleet", "UCS 舰队", "UCS kubeconfig", "UCS federation", "UCS 联邦", "UCS 配额", "cluster lifecycle", "纳管集群", "集群管理"

Firwat Huawei Cloud Ucs Cluster Onboarding Manager op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Huawei Cloud Ucs Cluster Onboarding Manager besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Huawei Cloud Ucs Cluster Onboarding Manager an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/container/ucs/huawei-cloud-ucs-cluster-onboarding-manager an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Huawei Cloud Ucs Cluster Onboarding Manager benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Huawei Cloud Ucs Cluster Onboarding Manager benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Huawei Cloud Ucs Cluster Onboarding Manager domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Huawei Cloud Ucs Cluster Onboarding Manager gratis?

Jo. huaweicloud huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇