- 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
分类: 开发与工程无需 API Key
k8s-openapi
参考Kubernetes API。有助于理解通过Kubernetes REST API可以实现哪些功能。
微信扫一扫