You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| TEMPORAL_GRPC_ENDPOINT |[ClientOptions.HostPort](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Frontend GRPC endpoint (supports comma-separated values for multiple namespaces) |
26
-
| TEMPORAL_TLS_KEY |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Key file (supports comma-separated values for multiple namespaces) |
27
-
| TEMPORAL_TLS_CERT |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Cert file (supports comma-separated values for multiple namespaces) |
28
-
| TEMPORAL_TLS_CA |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS CA Cert file (supports comma-separated values for multiple namespaces) |
29
-
| TEMPORAL_NAMESPACE |[ClientOptions.Namespace](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Namespace (supports comma-separated values for multiple namespaces) |
25
+
| TEMPORAL_GRPC_ENDPOINT |[ClientOptions.HostPort](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Frontend GRPC endpoint |
26
+
| TEMPORAL_TLS_KEY |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Key file |
27
+
| TEMPORAL_TLS_CERT |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Cert file |
28
+
| TEMPORAL_TLS_CA |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS CA Cert file |
29
+
| TEMPORAL_NAMESPACE |[ClientOptions.Namespace](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Namespace |
30
30
| TEMPORAL_TASK_QUEUE |[TaskQueue](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/worker#New)| The Temporal Task Queue |
31
31
| TEMPORAL_WORKFLOW_TASK_POLLERS |[WorkerOptions.MaxConcurrentWorkflowTaskPollers](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#WorkerOptions)| Number of workflow task pollers |
32
32
| TEMPORAL_ACTIVITY_TASK_POLLERS |[WorkerOptions.MaxConcurrentActivityTaskPollers](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#WorkerOptions)| Number of activity task pollers |
33
33
| PROMETHEUS_ENDPOINT | n/a | The address to serve prometheus metrics on |
34
34
35
-
#### Multi-Namespace Support
36
-
37
-
The worker supports working with multiple namespaces simultaneously. This allows you to spread load across multiple namespaces with a single worker deployment, providing a more realistic load pattern.
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`.
103
54
@@ -145,20 +96,18 @@ This will run the ExecuteActivity workflow, described below.
145
96
146
97
### Runner
147
98
148
-
The runner is available as docker image for use in Docker or Kubernetes setups.
149
-
150
-
You can pull the latest image from: `ghcr.io/temporalio/benchmark-workers:main`.
99
+
The runner is a tool that starts a set number of workflows concurrently and as each workflow completes it will start another. This is useful for providing consistent load to your Temporal cluster. The runner will start and maintain exactly the number of workflows concurrently that you specified.
151
100
152
101
The runner can be configured via environment variables and command line arguments. Currently only a small number of options are available, please let us know if there is a particular option you would like to be exposed by filing an issue.
153
102
154
103
The table below lists the environment variables available and the relevant Temporal Go SDK options they relate to (the runner is currently written using the Temporal Go SDK).
| TEMPORAL_GRPC_ENDPOINT |[ClientOptions.HostPort](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Frontend GRPC endpoint (supports comma-separated values for multiple namespaces) |
159
-
| TEMPORAL_TLS_KEY |[ClientOptions.ConnectionOptions.TLS.Certificates](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Key file (supports comma-separated values for multiple namespaces) |
160
-
| TEMPORAL_TLS_CERT |[ClientOptions.ConnectionOptions.TLS.Certificates](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Cert file (supports comma-separated values for multiple namespaces) |
161
-
| TEMPORAL_TLS_CA |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS CA Cert file (supports comma-separated values for multiple namespaces) |
107
+
| TEMPORAL_GRPC_ENDPOINT |[ClientOptions.HostPort](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Frontend GRPC endpoint |
108
+
| TEMPORAL_TLS_KEY |[ClientOptions.ConnectionOptions.TLS.Certificates](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Key file |
109
+
| TEMPORAL_TLS_CERT |[ClientOptions.ConnectionOptions.TLS.Certificates](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Cert file |
110
+
| TEMPORAL_TLS_CA |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS CA Cert file |
162
111
| PROMETHEUS_ENDPOINT | n/a | The address to serve prometheus metrics on |
163
112
164
113
The runner is also configured via command line options:
The runner supports distributing workflow executions across multiple namespaces. This provides a more realistic load pattern by spreading the load across different namespaces.
The chart supports deploying workers and runners that work with multiple Temporal namespaces simultaneously. This provides a more realistic load pattern by distributing work across multiple namespaces with a single deployment.
53
-
54
-
### Configuration Examples
55
-
56
-
#### Single Namespace (Traditional)
57
-
```yaml
58
-
temporal:
59
-
grpcEndpoint: "temporal-frontend.temporal:7233"
60
-
namespace: "default"
61
-
```
62
-
63
-
#### Multiple Namespaces with Same Configuration
64
-
```yaml
65
-
temporal:
66
-
grpcEndpoint: "temporal-frontend.temporal:7233"# Same endpoint for all
0 commit comments