-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable Deployment via Helm Values #9
Comments
The first approach to make the Kueue behavior configurable at deployment time, is to implement the Kueue helm chart into the REANA helm chart. |
At deployment time, the behavior of Kueue, a workflow scheduler, is optional. The ability to toggle Kueue was introduced via a click option in the cluster_deploy function, as detailed in this commit, with Kueue=False set as the default behavior. By default, the Kueue scheduler for workflow execution is not activated. To enable it, you can use the following command:
This command activates the Kueue scheduler during deployment, allowing you to manage workflow execution efficiently. |
Following our discussion, my personal take on this is that it's probably best to avoid using the click option and directly use an Helm value. This is for mainly two reasons:
Let's take the example of the What happens when you deploy the cluster is that, since this is among the A similar approach for your usecase could be something similar:
P.S. My view is just one perspective on the matter; it's of course not necessarily definitive. What do you think? |
One small addition to Giuseppe's comment: I personally prefer defining new values in the helm chart (e.g. |
Thank you both for your feedback, I have taken both observations into account. I have added 2 environment variables:
Both REANA components are already programmed to use the Kueue scheduler, only if the variable reana-dev cluster-deploy --admin-email john.doe@example.org --admin-password mysecretpassword --mode=debug --kueue=True The REANA components have been altered so the admin can choose whether to use the classical approach or the new optional Kueue approach, via Helm values.
|
An interesting observation is that I am deploying REANA with How would I use the |
Regarding reana-workflow-controller, you can define the environment variables in its related template, as we do here. Regarding reana-job-controller, given that it is created by r-w-controller on demand and not from the Helm chart, you will need to add the env variable to the k8s specification that is created here. To recap:
|
Done, the changes are:
Commands to deploy with reana-dev:
|
Just a small comment: 2.i does not do what you expect it to: The rest looks good, except for the hardcoded queue names that you already know about. |
Make the behavior configurable to REANA admins at the deployment time, so that each admin can choose whether to use the classical approach or the new optional Kueue approach, via Helm values.
The text was updated successfully, but these errors were encountered: