[AIAS-03] Create the Workflow

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 of all deployments is complete.

  • Run the performance test.

To create the workflow, launch the following command:

akamas create workflow kubernetes-online-boutique/akamas/workflows/workflow-aias.yaml

You can verify that this workflow has been created by accessing the corresponding Workflow menu in the Akamas UI:

All scripts and templates used in the steps of this workflow are available in the kubernetes-online-boutique/workflow-artifacts folder.

Last updated