Cozystack has introduced a dynamic Kubernetes API Server to elevate its open-source Platform as a Service (PaaS) capabilities. This enhancement leverages the Kubernetes API aggregation layer, facilitating the integration of custom resources and improving application deployment management.
The API aggregation layer provides an effective alternative to the conventional Custom Resource Definition (CRD) approach, particularly in situations that require imperative operations and subresource management. With the new server, developers can perform actions on resources such as:
- Viewing logs
- Executing commands
- Supporting subresources like
/exec
and/log
One key advantage of this implementation is the ability for developers to manage state using backends other than etcd, Kubernetes’ default database. This flexibility enables:
- Real-time metrics retrieval
- The creation of Kubernetes-compatible APIs for various backends, including PostgreSQL
Furthermore, the API Server tackles limitations within the Kubernetes Role-Based Access Control (RBAC) model by allowing dynamic resource types based on Helm chart names. This feature enables more specific access control suited to distinct deployments.
By implementing this custom API server, Cozystack aims to simplify the deployment of various managed services while ensuring strict control over resource access and management. Upcoming enhancements include validation features based on OpenAPI specifications and improvements to the user interface for better support of the new API functionalities.
Developers interested in this feature can explore it in the latest version of Cozystack, starting from v0.18. For a deeper understanding, the complete development process and use cases are thoroughly documented in the Kubernetes blog.