From 21f7b2914447ba25b0be12a2d946f57c53fbba09 Mon Sep 17 00:00:00 2001 From: Rob Holland Date: Fri, 24 May 2024 17:39:18 +0100 Subject: [PATCH] Correct activity poller typo. Fixes #16. --- README.md | 2 +- deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cc38b30..b99166a 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ kubectl run benchmark-worker --image ghcr.io/temporalio/benchmark-workers:main \ --env "TEMPORAL_NAMESPACE=default" \ --env "TEMPORAL_TASK_QUEUE=benchmark" \ --env "TEMPORAL_WORKFLOW_TASK_POLLERS=16" \ - --env "TEMPORAL_WORKFLOW_ACTIVITY_TASK_POLLERS=8" + --env "TEMPORAL_ACTIVITY_TASK_POLLERS=8" ``` However, we suggest you use a deployment for workers rather than `kubectl run` so that you can collect metrics via prometheus. We provide an [example deployment spec](./deployment.yaml) for you to customize to your requirements. Once you have edited the environment variables in the deployment.yaml you can create the deployment with `kubectl apply -f ./deployment.yaml`. diff --git a/deployment.yaml b/deployment.yaml index 94d83fd..7c7924a 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -30,7 +30,7 @@ spec: value: "benchmark" - name: TEMPORAL_WORKFLOW_TASK_POLLERS value: "16" - - name: TEMPORAL_WORKFLOW_ACTIVITY_TASK_POLLERS + - name: TEMPORAL_ACTIVITY_TASK_POLLERS value: "8" restartPolicy: Always ---