Skip to main content
Version: 2.0.7

Check Workflow Status

Check workflow status using kubectl commands

  1. Execute the following command to list the current created workflows in the specified namespace:

    kubectl -n <namespace> get workflow
  2. Choose a workflow you want to check and specify the workflow name in the following command. Execute the command to get all workflow nodes of the workflow:

    kubectl -n <namespace> get workflownode --selector="chaos-mesh.org/workflow=<workflow-name>"

    The steps of the workflow are represented by the names of these workflow nodes.

  3. Execute the following command to the get detailed status of the specified workflow node:

    kubectl -n <namespace> describe workflownode <workflow-node-name>

    The output includes whether the execution of the current node is completed, the execution status of its parallel or serial node, the corresponding Chaos experiment object of the current node, and so on.