Skip to content

Commit 302eb64

Browse files
committed
claude: define skill for querying k8s OpenAPI via test cluster
Closes #265.
1 parent 54e69b3 commit 302eb64

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: k8s-openapi
3+
description: Reference the Kubernetes API. Useful for understanding what is possible via the Kubernetes REST API.
4+
---
5+
6+
1. Start a test cluster with: `make test-cluster-create`. ONLY USE THIS SKILL ON THIS TEST CLUSTER.
7+
2. Use the new context only through `--context` and `--kubeconfig` on each `kubectl` command. Do not
8+
alter the config via `kubectl config`.
9+
3. Start a proxy server with `kubectl proxy`
10+
4. Discover available endpoints by querying `/openapi/v3`
11+
5. Use the discovered endpoints to find out what you need to
12+
6. When you have found your answer, shut down the test cluster with `make test-cluster-stop`

0 commit comments

Comments
 (0)