O'Reilly logo
  • Alex Mylnikov thinks this is interesting:

Of course, simply knowing the resources and paths you can use to access the API server is only part of the information that you need in order to access the Kubernetes API. In addition to knowing the HTTP path, you need to know the JSON payload to send and receive. The API server also provides paths to supply you with information about the schemas for Kubernetes resources. These schemas are represented using the OpenAPI (formerly Swagger) syntax. You can pull down the OpenAPI specification at the following path:


Cover of Managing Kubernetes


It is so similar to command when you need both http path and json request that caries payload in form of env and input