Skip to content

Commit 199ebfd

Browse files
authored
feat: update Helm Chart (#1023)
* dynamic namespace, and k8s events via fluentbit * update fluentbit image, sm labels and comments * add default in exclude namesapces Fixes #1015
1 parent dd2b8b2 commit 199ebfd

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

helm/templates/service-monitor.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ kind: ServiceMonitor
44
metadata:
55
name: {{ include "parseable.fullname" . }}
66
namespace: {{ default .Release.Namespace .Values.parseable.metrics.serviceMonitor.namespace | quote }}
7-
labels:
7+
labels:
8+
{{- with .Values.parseable.metrics.serviceMonitor.labels }}
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
811
{{- include "parseable.labels" . | nindent 4 }}
912
spec:
1013
{{ if .Values.parseable.metrics.serviceMonitor.spec.jobLabel }}

helm/values.yaml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ parseable:
33
repository: containers.parseable.com/parseable/parseable
44
tag: v1.6.3
55
pullPolicy: Always
6-
## object store can be local, s3 or blob.
6+
## object store can be local-store, s3-store or blob-store.
77
## local needs to be false if set to object store.
88
store: local-store
99
## Set to true if you want to deploy Parseable in a HA mode (multiple ingestors)
@@ -192,6 +192,7 @@ parseable:
192192
metrics:
193193
serviceMonitor:
194194
enabled: false
195+
labels: {}
195196
namespace: ""
196197
spec:
197198
jobLabel: ""
@@ -300,7 +301,7 @@ fluent-bit:
300301
replicaCount: 1
301302
image:
302303
repository: parseable/fluent-bit
303-
tag: "v1"
304+
tag: "v2"
304305
pullPolicy: Always
305306
testFramework:
306307
enabled: true
@@ -382,25 +383,21 @@ fluent-bit:
382383
[OUTPUT]
383384
Name parseable
384385
Match kube.*
385-
P_Server parseable.parseable.svc.cluster.local
386-
P_Port 80
387-
P_Username admin
388-
P_Password admin
389-
P_Stream $NAMESPACE
386+
Server_Host parseable.parseable.svc.cluster.local
387+
Username admin
388+
Password admin
389+
Server_Port 80
390+
Stream $NAMESPACE
391+
Exclude_Namespaces kube-system, default
390392
391393
[OUTPUT]
392-
Name http
394+
Name parseable
393395
Match k8s_events
394-
host parseable.parseable.svc.cluster.local
395-
http_User admin
396-
http_Passwd admin
397-
format json
398-
port 80
399-
header Content-Type application/json
400-
header X-P-Stream k8s-events
401-
uri /api/v1/ingest
402-
json_date_key timestamp
403-
json_date_format iso8601
396+
Server_Host parseable.parseable.svc.cluster.local
397+
Server_Port 80
398+
Username admin
399+
Password admin
400+
Stream k8s-events
404401
405402
upstream: {}
406403

0 commit comments

Comments
 (0)