Kubernetes API

The Kubernetes API is the foundation of Kubernetes. All Kubernetes objects have an entry in the API.

Kubernetes components interact through the API server (kube-apiserver), which runs on the Master node, handles all operations and communication between components through REST API calls.

  • The kubectl command-line tool can be used to create, update, delete, and get API objects.
  • Kubernetes stores the state of configured resources in etcd.
  • You can extend the Kubernetes API through the use of custom resources, and by using the aggregation layer.

For more information, see https://kubernetes.io/docs/concepts/overview/kubernetes-api/.