huawei-cloud-kubectl-cce-installer
Installation
SKILL.md
Huawei Cloud CCE kubectl Installer
Overview
Install and verify the local kubectl and kubectl-cce prerequisites used for Huawei Cloud CCE Kubernetes resource access. This skill changes only the local machine; it never creates, updates, or deletes cloud or Kubernetes resources.
Architecture: scripts/install_kubectl_cce.sh -> local OS package paths and official download/source repositories -> kubectl and kubectl-cce binaries -> kubectl plugin list verification.
Execution Method: Run the bundled shell script only. Do not replace its download URLs, build tags, installation paths, or verification steps with ad hoc commands unless the user explicitly asks for a different method.
Capabilities:
- Detect the local OS, architecture, executable availability, and plugin discovery state
- Show a no-change installation plan before execution
- Select the latest missing Linux
kubectlpackage from Huawei Cloud OBS for the local architecture - Fall back to the official Kubernetes stable release, then build the same stable tag when download fails
- Install
kubectl-ccev0.1.0 from its Gitee Release on Linux when available - Build the fixed
kubectl-ccev0.1.0 source tag when a Release asset is unavailable or download fails - Verify
kubectlandkubectl-cceplugin discovery after installation