kube_schema

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 browse the source code index or refer to the guides below.

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.

License

Apache-2.0