Skip to main content

Rails Console K8S

DEPRECATED

This type is deprecated in flavor of k8s-exec type with stdin mode

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"'