API Groups

Core API group (/api)

All the core functionalities exist in this API group. All the resources (functionalities) are scattered in this group.

Untitled

Named API group (/apis)

The named API group is organized into subgroups (resources) based on the category. The newer features in k8s and going forward all the incoming features will be made available in this group. Several actions (verbs) can be performed on the resources.

Untitled

Authenticating to Kube-ApiServer

Most of the API endpoint will require you to authenticate to the kube-apiserver. This means passing the login credentials in the curl command. Alternatively, you can setup a proxy client to by running the command kubectl proxy which will automatically proxy your API requests and add the credentials from the KubeConfig file on your local system. So, you no longer need to pass the authentication details in every curl command.

Untitled

Examples