kube_schema
Ruby objects for every Kubernetes resource. Validated against the real OpenAPI spec. No YAML. No hash literals. Just Ruby blocks that know their schema.
Usage
Please see the project documentation for more details.
-
Getting Started - This guide walks you through installing kube_schema and creating your first Kubernetes resource object.
-
The Block DSL - This guide covers the block DSL for defining Kubernetes resources with nested attributes.
-
Validation - This guide covers schema validation against the full Kubernetes OpenAPI spec.
-
Manifests - This guide covers grouping resources into multi-document YAML manifests.
-
Schema Versions - This guide covers working with different Kubernetes schema versions.
Related Projects
- kube_cluster -- OOP resource management with dirty tracking and persistence
- kube_kubectl -- Ruby DSL that compiles to kubectl and helm commands
- kube_kit -- Generators for kube_cluster projects
- kube_engine -- Kubernetes engine
License
Apache-2.0