# \[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 is complete.
* Run the performance test.

To create the workflow, launch the following command:

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

You can verify that this workflow has been created by accessing the "boutique" workflow in the Workflow menu:

<figure><img src="https://1455297369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWaLHgCJcLYwHY9VZwaxO%2Fuploads%2FreDN5O2nZn7yUj3wuKgq%2Fakamas-workflow.png?alt=media&#x26;token=641cb664-9c1f-407f-9c7d-936a8c70331d" alt=""><figcaption></figcaption></figure>

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