-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into BGD-4846-support-new-ocean-controller
- Loading branch information
Showing
30 changed files
with
471 additions
and
169 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
17 changes: 17 additions & 0 deletions
17
charts/bigdata-notebook-service-storage-server/templates/telemetry_configmap.yaml
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,17 @@ | ||
{{- if .Values.telemetry.enabled }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "bigdata-notebook-service-storage-server.fullname" . }}-telemetry-cm | ||
labels: | ||
{{- include "bigdata-notebook-service-storage-server.labels" . | nindent 4 }} | ||
data: | ||
custom-filters.conf: | | ||
[FILTER] | ||
Name grep | ||
Match kube.* | ||
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ include "bigdata-notebook-service-storage-server.fullname" . }} | ||
metrics-collection.conf: | | ||
# Configuration for collecting metrics from the notebook service storage server | ||
{{- 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
17 changes: 17 additions & 0 deletions
17
charts/bigdata-notebook-service/templates/telemetry_configmap.yaml
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,17 @@ | ||
{{- if .Values.telemetry.enabled }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "bigdata-notebook-service.fullname" . }}-telemetry-cm | ||
labels: | ||
{{- include "bigdata-notebook-service.labels" . | nindent 4 }} | ||
data: | ||
custom-filters.conf: | | ||
[FILTER] | ||
Name grep | ||
Match kube.* | ||
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ index .Values.podLabels "bigdata.spot.io/component" | quote }} | ||
metrics-collection.conf: | | ||
# Configuration for collecting metrics from the notebook service | ||
{{- 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
17 changes: 17 additions & 0 deletions
17
charts/bigdata-notebook-workspace/templates/telemetry_configmap.yaml
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,17 @@ | ||
{{- if .Values.telemetry.enabled }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "bigdata-notebook-workspace.fullname" . }}-telemetry-cm | ||
labels: | ||
{{- include "bigdata-notebook-workspace.labels" . | nindent 4 }} | ||
data: | ||
custom-filters.conf: | | ||
[FILTER] | ||
Name grep | ||
Match kube.* | ||
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ index .Values.podLabels "bigdata.spot.io/component" | quote }} | ||
metrics-collection.conf: | | ||
# Configuration for collecting metrics from the notebook workspace | ||
{{- 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
60 changes: 60 additions & 0 deletions
60
charts/bigdata-operator/templates/common_telemetry_configmap.yaml
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,60 @@ | ||
{{- if .Values.telemetry.enabled }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: bigdata-common-telemetry-fluentbit-cm | ||
labels: | ||
{{- include "bigdata-operator.labels" . | nindent 4 }} | ||
data: | ||
parsers.conf: | | ||
[PARSER] | ||
# http://rubular.com/r/tjUt3Awgg4 | ||
Name cri | ||
Format regex | ||
Regex ^(?<time>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z)\t(?<level>[A-Z]+)\t(?<logger>[^\s]+)\t(?<message>.*)$ | ||
Time_Key time | ||
Time_Format %Y-%m-%dT%H:%M:%S.%L%z | ||
storage.max_chunks_up 10 | ||
fluent-bit.conf: | | ||
[SERVICE] | ||
Flush 1 | ||
Log_Level info | ||
Parsers_File parsers.conf | ||
HTTP_Server On | ||
HTTP_Listen 0.0.0.0 | ||
HTTP_Port 2020 | ||
[INPUT] | ||
Name tail | ||
Path /var/log/containers/*.log | ||
Parser cri | ||
Tag kube.* | ||
Mem_Buf_Limit 5MB | ||
[FILTER] | ||
Name kubernetes | ||
Match kube.* | ||
Merge_Log On | ||
Keep_Log Off | ||
K8S-Logging.Parser On | ||
K8S-Logging.Exclude On | ||
@INCLUDE custom-filters.conf | ||
@INCLUDE metrics-collection.conf | ||
[FILTER] | ||
Name modify | ||
Match kube.* | ||
Add ClusterId ${CLUSTER_ID} | ||
Add AccountID ${ACCOUNT_ID} | ||
[OUTPUT] | ||
Name s3 | ||
Match kube.* | ||
bucket ${AWS_BUCKET_NAME} | ||
region ${AWS_REGION} | ||
use_put_object On | ||
total_file_size 5M | ||
upload_timeout 5m | ||
{{- 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
Oops, something went wrong.