Registry / other / kube-dsl

kube-dsl

JSON →
library0.8.3rbrubygemsunverified

A Ruby DSL for defining Kubernetes resources in a concise, readable way.

gem install kube-dsl
INSTALL
IMPORT
SIG · KUBE-DSL
K
kube-dsl
otherrubyv0.8.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

KubeDSL
require 'kube-dsl'

Define a Kubernetes Deployment using the DSL

require 'kube-dsl' include KubeDSL deployment = Deployment.new do metadata do name 'my-app' end spec do replicas 3 selector do match_labels app: 'my-app' end end end puts deployment.to_yaml
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
kube-dsl — gem install kube-dsl · libregistry