/swaggerapi
Before Kubernetes 1.10, serves Swagger 1.2
/openapi/v2
Kubernetes 1.10 and beyond, serves OpenAPI (Swagger 2.0)
kubectl proxy
curl localhost:8001/openapi/v2 > swagger.json
参考
https://www.oreilly.com/library/view/managing-kubernetes/9781492033905/ch04.html
所有评论(0)