Skip to content

Commit

Permalink
multi-worker docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiezieziula committed Oct 23, 2023
1 parent dcaf446 commit 22f591b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions charts/prefect-worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,25 @@ Workers each have a type corresponding to the execution environment to which the

You should see the Prefect worker pod running

## FAQ

### Deploying multiple workers to a single namespace

If you want to run more than one worker in a single Kubernetes namespace, you will need to specify the `fullnameOveride` parameter at install time of one of the workers.

```yaml
fullnameOverride: prefect-worker-2
```

If you want the workers to share a service account, add the following to your `values.yaml`:

```yaml
fullnameOverride: prefect-worker-2
serviceAccount:
create: false
name: "prefect-worker"
```

## Maintainers

| Name | Email | Url |
Expand Down
19 changes: 19 additions & 0 deletions charts/prefect-worker/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,25 @@ Workers each have a type corresponding to the execution environment to which the

You should see the Prefect worker pod running

## FAQ

### Deploying multiple workers to a single namespace

If you want to run more than one worker in a single Kubernetes namespace, you will need to specify the `fullnameOveride` parameter at install time of one of the workers.

```yaml
fullnameOverride: prefect-worker-2
```

If you want the workers to share a service account, add the following to your `values.yaml`:

```yaml
fullnameOverride: prefect-worker-2
serviceAccount:
create: false
name: "prefect-worker"
```

{{ template "chart.maintainersSection" . }}

{{ template "chart.requirementsSection" . }}
Expand Down

0 comments on commit 22f591b

Please sign in to comment.