Skip to main content

Rails Console K8S

Execute ruby scripts inside a rails app running on a Kubernetes Cluster.

Type: rails-console-k8s

Configuration

NameRequiredDescription
KUBE_CONFIG_DATAyesA base64 encoded Kubeconfig file.
DEPLOYMENTyesThe deployment name.
NAMESPACEnoThe name of the namespace, it will default to the namespace set in the KUBE_CONFIG_DATA.

Examples

runops tasks create --target rails-console-k8s-type -s 'puts "Hello World from rails console k8s"'