Send kubectl

Note: Useful documentation for the kubectl CLI, including a kubectl cheat sheet can be found on the kubernetes website.
The “Send kubectl” form has three fields:
CorrelationId
Any alphanumeric text string specified by the user in order to match the resulting Event message to the originating Action.
Command
Must be “kubectl”.
Arguments
Takes an array of strings based on the command line arguments for a kubectl command. This array can be entered using JSON notation.
Note: It is important that each argument is put in a new array entry. If there is a space in the complete command, then that means a new argument.

Useful kubectl commands translated into “Command” and “Arguments” parts:

Description Command Arguments
Get Nodes kubectl
[
 "get",
 "nodes"
]
Get Nodes (wide) kubectl
[
 "get",
 "nodes"
 "-o",
 "wide"
]
Top Node {node-name} kubectl
[
 "top",
 "node",
 "{node-name}"
]
Get Services kubectl
[
 "get",
 "services"
]
Get Config Maps kubectl
[
 "get",
 "configmaps"
]
Get Deployments kubectl
[
 "get",
 "deployments"
]
Restart Deployment {{deployment-name}} kubectl
[
 "rollout",
 "restart",
 "deployment",
 "{deployment-name}"
]
Get Pods kubectl
[
 "get",
 "pods"
]
Top Pod {pod-name} kubectl
[
 "top",
 "pod",
 "{pod-name}"
]
Describe Pod {pod-name} kubectl
[
 "describe",
 "pod",
 "{pod-name}"
]
Apply YAML {configuration.yaml} kubectl
[
 "apply",
 "-f",
 "{configuration.yaml}"
]
Apply Multiple YAMLs kubectl
[
 "apply",
 "-f",
 "{configuration.yaml}"
 "-f",
 "{configuration2.yaml}"
]