k8s-openapi
引用Kubernetes API。有助于理解通过Kubernetes REST API可以实现什么。
📖 中文导读:引用Kubernetes API。有助于理解通过Kubernetes REST API可以实现什么。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: k8s-openapi description: Reference the Kubernetes API. Useful for understanding what is possible via the Kubernetes REST API.
- Start a test cluster with:
make test-cluster-create. ONLY USE THIS SKILL ON THIS TEST CLUSTER. - Use the new context only through
--contextand--kubeconfigon eachkubectlcommand. Do not alter the config viakubectl config. - Start a proxy server with
kubectl proxy - Discover available endpoints by querying
/openapi/v3 - Use the discovered endpoints to find out what you need to
- When you have found your answer:
- Stop the proxy process; and
- Shut down the test cluster with
make test-cluster-stop