Create cluster actions
Create one or more cluster isolation actions (terminate pod, disable outbound traffic, label pod).
Actions are queued with status Pending and applied in the cluster by the rad-sync plugin.
A single disable_outbound request creates two actions: a label_pod action applying the
quarantine labels, and a disable_outbound action creating the deny-all-egress NetworkPolicy.
Authorizations
Body
Actions to create
terminate_pod, disable_outbound, label_pod "terminate_pod"
Name of the pod to act on
Namespace of the pod
Action parameters. Required for label_pod, which must provide labels as a non-empty map of string keys to string values conforming to Kubernetes label syntax.
Response
Created
Action ID, prefixed with ca-
terminate_pod, disable_outbound, label_pod "terminate_pod"
Execution status of the action
Pending, Executed, Failed "Pending"
Action parameters. labels for label_pod, quarantine_id for disable_outbound.
Message reported by rad-sync after execution; the Kubernetes error when the action failed.
Identity that created the action