-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feat): Add Fluent-bit to K8tls (#233)
* feat: Add Fluent-bit to K8tls Signed-off-by: Jones Jefferson <[email protected]> * Fixed PR comments Signed-off-by: Jones Jefferson <[email protected]> --------- Signed-off-by: Jones Jefferson <[email protected]> Co-authored-by: Jones Jefferson <[email protected]>
- Loading branch information
1 parent
89835e7
commit 9476d9e
Showing
11 changed files
with
186 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: fluent-bit-config | ||
namespace: {{ include "nimbus-k8tls.fullname" . }}-env | ||
data: | ||
fluent-bit.conf: | | ||
[SERVICE] | ||
Flush 1 | ||
Log_Level info | ||
Parsers_File parsers.conf | ||
[INPUT] | ||
Name tail | ||
Path /tmp/compact_report.json | ||
Parser json | ||
Tag json.data | ||
DB /tmp/compact_report.db | ||
Read_from_Head true | ||
Exit_On_Eof true | ||
{{- if .Values.output.elasticsearch.enabled }} | ||
[OUTPUT] | ||
Name es | ||
Match * | ||
Host {{ .Values.output.elasticsearch.host }} | ||
Port {{ .Values.output.elasticsearch.port }} | ||
Index {{ .Values.output.elasticsearch.index }} | ||
HTTP_User {{ .Values.output.elasticsearch.user }} | ||
HTTP_Passwd ${ES_PASSWORD} | ||
tls On | ||
tls.verify Off | ||
Suppress_Type_Name On | ||
Replace_Dots On | ||
{{- end }} | ||
[OUTPUT] | ||
Name stdout | ||
Match * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: {{ include "nimbus-k8tls.fullname" . }}-env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{- if .Values.output.elasticsearch.enabled -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: elasticsearch-password | ||
namespace: {{ include "nimbus-k8tls.fullname" . }}-env | ||
type: Opaque | ||
data: | ||
es_password: {{ .Values.output.elasticsearch.password }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters