Skip to content

Commit

Permalink
Fixed CR/CRDs and submitting workflows (#1609)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
aish-where-ya and mergify[bot] authored Sep 1, 2022
1 parent 8f317c7 commit 71b59c9
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions docs/tasks/argo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Argo Workflows enables us to schedule operations. In the Kanister project,
Argo Cron Workflows will be used to automate the creation of ActionSets to
execute Blueprint actions at regular intervals.

To summarize, ActionSets are CRDs that are used to execute actions
from Blueprint CRDs. The Kanister controller watches for the creation
To summarize, ActionSets are CRs that are used to execute actions
from Blueprint CRs. The Kanister controller watches for the creation
of ActionSets and executes the specified action.

In this tutorial, you will schedule the creation of a backup ActionSet using
Expand Down Expand Up @@ -155,7 +155,7 @@ Execute the following command:
in the ``kanister`` namespace.


Step 5 - Launching and Submitting the Cron Workflow
Step 5 - Launching the Cron Workflow
----------------------------------------------------

Launch the workflow in the ``argo`` namespace by running the following command:
Expand Down Expand Up @@ -207,13 +207,7 @@ Once the workflow runs successfully, the ``LAST RUN`` field is updated with the
timestamp of the last run. Along with this, a backup ActionSet must be created.
The creation time of the ActionSet is indicated by the ``AGE`` field as seen above.

Submit the Cron Workflow by running:

.. code-block:: bash
argo submit mysql-cron-wf.yaml
You should see the submitted workflow on the Argo UI.
You should see the workflow on the Argo UI under the Cron Workflows tab.

.. image:: img/argo-cron-created-ui-list.png

Expand Down

0 comments on commit 71b59c9

Please sign in to comment.