AGENT SKILL

cluster-context

Refresh and verify kubeconfig for on-prem, EKS, AKS, or GKE.

License 许可
Apache-2.0
最近更新
2026-08-30
Stars
★ 0
Forks
0

01 前言 Front Matter

name
cluster-context
description
Refresh and verify kubeconfig for on-prem, EKS, AKS, or GKE.

03 SKILL.md 正文

The cluster API is the same. Only how you obtain a token changes.

  1. cloud_identity — confirm the cloud principal matches the cluster you think you are on.
  2. kube_refresh_credentials for EKS/AKS/GKE. On-prem, do not overwrite kubeconfig.
  3. kube_get nodes with an explicit context.
  4. If nodes do not match the expected pool size or version, stop. You are in the wrong cluster.

04 同仓库更多 Skills