kube_ctl

kube_ctl

A Ruby DSL that compiles to kubectl and helm commands. No YAML. No templates. Just Ruby.

Usage

Please browse the source code index or refer to the guides below.

Getting Started

This guide walks you through installing kube_ctl and building your first kubectl command with Ruby.

The DSL

This guide covers the full kubectl DSL syntax.

Helm

This guide covers using the Helm DSL.

Kubeconfig Scoping

This guide covers scoping commands to a specific kubeconfig.

The CLI

This guide covers the kube command-line interface.

Plugin System

This guide covers extending the kube CLI with plugins.

Built With

string_builder -- captures Ruby method chains into a buffer and serializes them to strings.

License

Apache-2.0