Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-cci-instance-management

БесплатноЗапускает вложенные скриптыНе проверен

Huawei Cloud CCI (Cloud Container Instance) full lifecycle management using hcloud CLI. Covers Namespace, Network, Deployment, StatefulSet, Pod…

huaweicloudskillот huaweicloudskill539 установок в других каталогах

Об этом скилле

Huawei Cloud CCI Container Instance Lifecycle Management

Overview

Manage Huawei Cloud CCI (Cloud Container Instance) full lifecycle using hcloud CLI (KooCLI). CCI is a serverless container service — no cluster management needed, just create a Namespace, define a Network, then deploy workloads directly.

Architecture: hcloud CLI → CCI OpenAPI → Namespace / Network / Deployment / StatefulSet / Pod / EIPPool (plus a helper script for annotation keys that hcloud CLI cannot express)

Constraints and Rules

Security Rules

  • Two-step confirmation: All destructive operations (delete Namespace/Network/Deployment/StatefulSet/Pod/EIPPool/PVC) and all billable creation operations require explicit user confirmation — preview command, resource details, and cost/risk warning first; execute only after user confirms. Creating an EIPPool auto-creates EIPs and bandwidth and therefore incurs recurring charges: state the cost implication before asking for confirmation, and never create it silently.
  • Credential security: Never expose AK/SK values in conversation, commands, or output. Only use hcloud configure list to check credential status (presence only). Prefer profile mode or environment variables over explicit AK/SK parameters.

Supported Scope

This skill manages only these CCI resources and their lifecycle: Namespace, Network, Deployment, StatefulSet, Pod, EIPPool, plus read-only status/log/event/quota queries for them.

Explicitly out of scope — decline these requests, say why, and point the user at the matching skill or the Huawei Cloud console. Do not attempt them and do not invoke another skill on the user's behalf:

Out-of-scope request Where it belongs
CCE clusters, nodes, node pools huawei-cloud-cce-* skills / CCE console
ECS / BMS instances, disks huawei-cloud-ecs-* skills / ECS console
RDS, DDS, DCS databases corresponding database skill / console
ELB, SFS, OBS, DNS, CDN resources networking/storage skills / console
Creating VPC, subnet or security group themselves huawei-cloud-vpc-* skills / VPC console
Billing, invoices, cost breakdown Billing Center in the console
kubectl workflows huawei-cloud-kubectl-cce-installer

This skill does not manage the lifecycle of other Kubernetes objects that CCI may also expose — Service, Ingress, ConfigMap, Secret, PVC, Job, Volcano Job, RoleBinding — and kubectl is out of scope. CCI does offer some write operations for those objects, but using them is not part of this skill, with one documented exception: the confirmation-gated cleanup of PVCs left behind after deleting a StatefulSet (see references/task-statefulset-management.md). Read-only inspection of ConfigMap, Secret, Service, ResourceQuota, Event, Pod status and logs is in scope and is exactly what the diagnosis playbooks use — see references/diagnosis-playbooks.md.

Resource Constraints

  • Namespace flavor annotation is mandatory: Every namespace must carry the flavor annotation (value: general-computing or gpu-accelerated). Omitting it fails creation, and the hyphenated key form only takes effect for general-computing — see hcloud CLI Constraints.
  • limits must equal requests: CCI enforces resources.limits == resources.requests. Mismatch causes "limit and request doesn't equal" error. Set both to the same values (e.g., 500m/1Gi).
  • Network must precede workloads: Pod/Deployment/StatefulSet creation fails or stays Pending if no Network exists in the namespace. Always create Network before deploying workloads.
  • VPC CIDR restriction: VPC subnet CIDR must NOT be 10.247.0.0/16 — CCI reserves this range for Service networking. Using it causes IP conflicts and workload creation failures.
  • Deletion order: Pod → Deployment/StatefulSet → EIPPool → Network → Namespace. Deleting a Namespace cascades all resources under it.

hcloud CLI Constraints

  • Network creation must use Python helper script: hcloud CLI cannot pass annotation keys containing dots (network.alpha.kubernetes.io/default-security-group). Neither dot notation nor --cli-jsonInput works. Use scripts/cci_network_helper.py.
  • Namespace flavor annotation — the hyphen workaround is NOT safe for every flavor: The hyphen form (--metadata.annotations.namespace-kubernetes-io/flavor=<value>) is normalized by CCI back to namespace.kubernetes.io/flavor only for general-computing. For gpu-accelerated the hyphen form is silently dropped and the namespace ends up as general-computing, so the GPU capability is never enabled. The dotted key namespace.kubernetes.io/flavor is the required form, but hcloud CLI cannot pass dotted annotation keys (verified: the dotted, {...}-escaped and JSON-object forms are all rejected with USE_ERROR). Create GPU namespaces with the helper
Полный SKILL.md на ClawHub

Установить huawei-cloud-cci-instance-management в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-cci-instance-management?

Huawei Cloud CCI (Cloud Container Instance) full lifecycle management using hcloud CLI. Covers Namespace, Network, Deployment, StatefulSet, Pod creation/update/delete/status, EIPPool for public IP, logs and metrics. Two-step confirmation for all destructive operations (delete namespace cascades all resources under it). Use this skill when the user wants to operate CCI serverless containers via command line. Triggers: CCI, 云容器实例, serverless container, 容器实例, namespace, deployment, statefulset, pod, EIPPool, CCI负载, 无服务器容器, 创建容器实例, 删除容器实例, 容器状态, 容器日志

Как установить скилл huawei-cloud-cci-instance-management?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-cci-instance-management запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-cci-instance-management с