Skip to content

Commit

Permalink
use argument for enabling event log collection
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmarkarl committed Jan 25, 2024
1 parent 0db87ae commit 5cd92b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions charts/bigdata-spark-watcher/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ spec:
containers:
- name: manager
args:
- --enable-event-log-collector
- {{ .Values.eventLogCollectorEnabled}}
- --metrics-bind-address
- ":8080"
- --watch-label
Expand Down
9 changes: 5 additions & 4 deletions charts/bigdata-spark-watcher/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ envVars:
value: 6m
- name: APP_SYNC_REVERSE_GHOST_GRACE_PERIOD
value: 30s
- name: KUBE_EVENT_LOG_COLLECTION_BUCKET
value: "spot-bigdata-logcollector-"
- name: KUBE_EVENT_LOG_COLLECTION_ENABLED
value: "true"
- name: KUBE_EVENT_LOG_COLLECTION_BUCKET_PREFIX
value: "spot-bigdata-logcollector"
- name: CREDS_REFRESH_INTERVAL
value: 5m
- name: SPARK_APP_FAILED_EXECUTOR_LIMIT
Expand Down Expand Up @@ -77,6 +75,9 @@ resources:
cpu: 2000m
memory: 2000Mi

eventLogCollectorEnabled:
true

telemetry:
enabled: false
fluentbit:
Expand Down

0 comments on commit 5cd92b2

Please sign in to comment.