Skip to content

Commit

Permalink
Attach workers to workflow-scheduler pool
Browse files Browse the repository at this point in the history
A bug caused job-handlers to automatically attach as workflow handlers. This was fixed in galaxyproject/galaxy#12763
  • Loading branch information
Nolan Woods committed Oct 28, 2021
1 parent 51914cc commit eee08ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion destinations/k8s/worker.tf
Expand Up @@ -73,7 +73,7 @@ resource "kubernetes_stateful_set" "galaxy_worker" {
image = "${local.galaxy_app_image}:${var.image_tag}"
image_pull_policy = var.debug ? "Always" : "IfNotPresent"
name = local.worker_name
command = ["sh", "-c", "/env_run.sh python3 ${local.root_dir}/scripts/galaxy-main -c ${local.config_dir}/galaxy.yml --server-name=$HOSTNAME --log-file=/dev/stdout --attach-to-pool=job-handlers"]
command = ["sh", "-c", "/env_run.sh python3 ${local.root_dir}/scripts/galaxy-main -c ${local.config_dir}/galaxy.yml --server-name=$HOSTNAME --log-file=/dev/stdout --attach-to-pool=job-handlers --attach-to-pool=workflow-schedulers"]

dynamic "env" {
for_each = toset([for k, v in local.galaxy_conf : k]) # https://www.terraform.io/docs/language/meta-arguments/for_each.html#limitations-on-values-used-in-for_each
Expand Down

0 comments on commit eee08ae

Please sign in to comment.