Skip to content

Commit

Permalink
Rename worker_id to executor_id
Browse files Browse the repository at this point in the history
  • Loading branch information
darnaut committed Oct 2, 2024
1 parent 08f7c33 commit 98421c8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/datahub-executor-worker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: datahub-executor-worker
description: A Helm chart for datahub-executor-worker
type: application
version: 0.0.8
version: 0.0.9
appVersion: 0.0.1
maintainers:
- name: DataHub
Expand Down
4 changes: 2 additions & 2 deletions charts/datahub-executor-worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# Create secret object with GMS access token. Note that secret name and key must match those in values file
$ kubectl create secret generic datahub-access-token-secret --from-literal=datahub-access-token-secret-key=<DATAHUB-ACCESS-TOKEN>
# Deploy executor with worker ID "remote" and GMS URL "https://company.acryl.io/gms"
# Deploy executor with executor ID "remote" and GMS URL "https://company.acryl.io/gms"
$ helm install \
--set global.datahub.executor.worker_id="remote" \
--set global.datahub.executor.executor_id="remote" \
--set global.datahub.gms.url="https://company.acryl.io/gms" \
default ./charts/datahub-executor-worker
```
4 changes: 3 additions & 1 deletion charts/datahub-executor-worker/templates/workload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,10 @@ spec:
key: {{ ((.Values.global.datahub).gms).secretKey }}
- name: DATAHUB_EXECUTOR_MODE
value: "worker"
{{- with .Values.global.datahub.executor }}
- name: DATAHUB_EXECUTOR_WORKER_ID
value: {{ .Values.global.datahub.executor.worker_id | quote }}
value: {{ .executor_id | default .worker_id | quote }}
{{- end }}
- name: DATAHUB_EXECUTOR_INGESTION_MAX_WORKERS
value: {{ .Values.global.datahub.executor.ingestions.max_workers | quote }}
- name: DATAHUB_EXECUTOR_INGESTION_SIGNAL_POLL_INTERVAL
Expand Down
2 changes: 1 addition & 1 deletion charts/datahub-executor-worker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ global:
secretKey: datahub-access-token-secret-key
url: https://datahub.acryl.io/gms
executor:
worker_id: "remote"
executor_id: "remote"
ingestions:
max_workers: 4
signal_poll_interval: 2
Expand Down

0 comments on commit 98421c8

Please sign in to comment.