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/.
Useful links:
- API conventions document: describes API conventions.
- API reference document: describes API endpoints, resource types and samples.
- Remote access document: describes how to access the API remotely.
- Overview of kubectl commands: covers syntax, describes command operations, and provides some examples.