[AIAS-03] Create the Workflow
Last updated
Last updated
The next step is to create a workflow describing the steps executed in each experiment of your optimization study.
A workflow in an optimization study for Kubernetes is typically composed of the following tasks:
Update the Kubernetes deployment file of the Kubernetes workloads with the new values of the selected optimization parameters (e.g. CPU and memory requests and limits), using the FileConfigurator operator.
Apply the new deployment files via kubectl
. This triggers a rollout of the new deployment in Kubernetes.
Wait until the rollout is complete.
Run the performance test.
To create the workflow, launch the following command:
You can verify that this workflow has been created by accessing the "boutique" workflow in the Workflow menu:
All scripts and templates used in the steps of this workflow are available in the kubernetes-online-boutique/workflow-artifacts
folder.