Rails Console K8S
Execute ruby scripts inside a rails app running on a Kubernetes Cluster.
Type: rails-console-k8s
Configuration
Name | Required | Description |
---|---|---|
KUBE_CONFIG_DATA | yes | A base64 encoded Kubeconfig file. |
DEPLOYMENT | yes | The deployment name. |
NAMESPACE | no | The 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"'