API Groups
kube-apiserver
provides a list of accessible APIs for kubernetes resources, health, metrics, logs etc.
There is two main APIs groups:
- Core
- Named
Core
Core APIs group have APIs for
- pods
- namespaces
- configmaps
- secrets
- 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,
- apps
- networking
- authentication
- 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.