dealroadshow / k8s-framework
Define Kubernetes manifests in PHP
Installs: 160 959
Dependents: 2
Suggesters: 0
Security: 0
Stars: 4
Watchers: 6
Forks: 2
Open Issues: 1
Requires
- php: >=8.2
- ext-json: *
- ext-mbstring: *
- composer/semver: ^3.2
- dealroadshow/k8s-resources: >=1.30
- dealroadshow/proximity: ^1.0
- psr/event-dispatcher: ^1.0
- symfony/yaml: >=6.0
- dev-main
- v1.7.1
- v1.7.0
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.1
- v1.0.0
- v0.13.1
- v0.13.0
- v0.12.0
- v0.11.1
- v0.11.0
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.0
- v0.8.1
- v0.8.0
- v0.7.0
- v0.6.0
- v0.5.1
- v0.5.0
- v0.4.0
- v0.3.0
- v0.2.0
- v0.1.1
- v0.1.0
- dev-fix-proxy-bridge
- dev-deployment-aware-services
This package is auto-updated.
Last update: 2025-09-08 16:20:34 UTC
README
This framework uses low-level library dealroadshow/k8s-resources and adds some high-level abstractions to facilitate definitions of your Kubernetes manifests. The recommended way to use this framework is by installing dealroadshow/k8s-bundle, which integrates this framework with Symfony 5.
By using dealroadshow/k8s-bundle you get the full power of Symfony framework, zero-configuration Dependency Injection, which will make your experience in writing Kubernetes manifests better than ever.
However, framework can be used as a standalone library.
Installation
The real work of generating Kubernetes Yaml manifests is done by the dealroadshow/k8s-resources library.
Therefore, you need to install the proper version of this library before using the framework. Check your Kubernetes version, and install corresponding version of dealroadshow/k8s-resources.
For example, if you're using Kubernetes v1.16, install dealroadshow/k8s-resources as follows:
composer require dealroadshow/k8s-resources:^1.16
As you see, dealroadshow/k8s-resources versioning mirrors versioning of Kubernetes itself.
After that, you may install the latest version of K8S Framework:
composer require dealroadshow/k8s-framework
If you want to see usage examples, please refer to dealroadshow/k8s-bundle.