API Groups

kube-apiserver provides a list of accessible APIs for kubernetes resources, health, metrics, logs etc.

There is two main APIs groups:

  1. Core
  2. Named

Core

Core APIs group have APIs for

  1. pods
  2. namespaces
  3. configmaps
  4. secrets
  5. services and so on.

Core APIs group is a legacy group. More new resources update will go to named APIs group. We can find Core APIs at path /api/v1.

Named

Named APIs group has resources properly categorized. These group will be used for future resources. Some of the items in this group are,

  1. apps
  2. networking
  3. authentication
  4. certificates etc.

apps group has resources like deployments, replicasets etc.

We can find named APIs at path /apis/<GROUP>/<VERSION>, where GROUP is type such as apps, and VERSION is available api version.

Resources

  1. https://kubernetes.io/docs/reference/using-api/#api-groups