Why Kubernetes APIs
Kubernetes APIs provide consistent and well defined endpoints forobjects adhering to a consistent and rich structure.
This approach has fostered a rich ecosystem of tools and libraries for workingwith Kubernetes APIs.
Users work with the APIs through declaring objects as yaml or json config, and usingcommon tooling to manage the objects.
Building services as Kubernetes APIs provides many advantages to plain old REST, including:
- Hosted API endpoints, storage, and validation.
- Rich tooling and clis such as
kubectl
andkustomize
. - Support for Authn and granular Authz.
- Support for API evolution through API versioning and conversion.
- Facilitation of adaptive / self-healing APIs that continuously respond to changesin the system state without user intervention.
- Kubernetes as a hosting environmentDevelopers may build and publish their own Kubernetes APIs for installation intorunning Kubernetes clusters.
当前内容版权归 kubebuilder.io 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 kubebuilder.io .