Skip to main content

Kubernetes

Runs kubectl commands in a Kubernetes cluster. There's no necessity in providing the kubectl piece of the command in the script.

Type: k8s

Configuration#

NameRequiredDescription
KUBE_CONFIG_DATAyesA base64 encoded kubeconfig file.

Examples#

runops tasks create --target k8s-type -s 'get pods'
runops tasks create --target k8s-type -s 'get deploy -n runops'