Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S01S-209 로깅 메트릭 수집 #15

Merged
merged 5 commits into from
Aug 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/backend/templates/docker-pull-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: so1s
spec:
encryptedData:
.dockerconfigjson: AgBU+Nw3MvXqyYHMJ4YcXqQ7fr0CtGvYykYCnZ7m99Yl1hmR/K6T6Ok+QNyQ37G+rWPRN4HmULVjjnyByD8onNd1w7BQwlHoq8qk4rCdAutAkkTbEp5g9uhFQ0XLEMKTBVdobPRRS4iR9/Wu4LOmhYa+ExM5bTDjWDRcgsA3Z/EhFd7vPhWwsOpj0qocq1l7RFzj6b7S8f496e3jKj+Ixb4X3PoE7UZX2Ebyl4AviQw0N7xKiyF1YKP7EXl9cP+DXXbS/DDaKxB/wp2idiM1rYfd1lCX2L7PLnrvVZrnlZWly3KrihQx8uvTwUpDIPO4rkAv7+PscqIQ3wceLenC3n1jL46I3Lof4t8E3sCmLeM5IiHPkRW/JBp9RcDexNhqdx67ncQ6ses1+vSRvKMn7HZdU3Cvb9P+TQqO3mMo1mheFwD7D5WleoOXPArJ43xol5r586z/8wuo1Y+Z7sWEvXUyhUMrOZY6obnEvq+sYKRmVmX3HJUiHge8VSa3sG4VEOtI8/TaCITqbPXgWcqkOMbygok89DVY5INfyDR2nxCsjX9j4ifCTpFg6gshJC0nZU1m7HoGluNisyt4V4eK78lrg2T23NSTh6bjGC06sa6MqvvENaOniGOmatEc9WdzG3EEAlQOdaYBhQeyTiSaqWp2TnD+IG2QdtfgIiBXuAZOzRDu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lLXgS8aFNBS7w7OLOER6v53Be+EkXkDetnq4gGjqpXm9lYfWK+CpCOORL2IgmzNeeCGLkN3vyUSddiNXh/K1oOZFG81fjh4h9JPVubNN06kwqCM3ew/o/92CA73I5oMEQBQPgjOEJWM/q8tn5cEkQB09E1Ibdlh7AqPDOMueSTa5v+f5rleJnp1NvrULg
template:
data: null
metadata:
Expand Down
10 changes: 5 additions & 5 deletions charts/backend/templates/sealed-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ metadata:
name: application-secret
spec:
encryptedData:
aws-region: AgAknOfYst0NBR3iU8AZMqC4I2xJmszZxxAP82TMOeaUBm8qqT3VYJf5FdmJnJpEfuvIhNu6F+EHFjkVzUK5PwnybNquU3CLAMjfsw8nWf+ZLliJ7b0Mvy8ukoVwwpCUOcuPJyDFmtSsWwRioW14mMXGGG0gnKHj7rndBEoOAsQgxoJ6fQamJkvYUDUx45CCRBYR8pyoTym8GRP1LjP5PV1JWIB3oDKsUJbm5PiHOOQ+KR4UARBwFGWqaMTkM1V8fKglh7z5Y2o7luNDX0FJi9eU/mqpEV/H+zISSqiFLYpdfhv8qkg/9ltCUvPY6hjZj/ubpRe77rgzSbxutlnSqF72OSMZyubdNpJLQstg5MptszGdJXv6qR63+8cZUKBCqizyUUmYQzbynKQJ7XwhObBnk2MfrwKAkfTJCvGML/HNIhKTOeGsYiD2rhbxwt+TF+gHyqZuIgpJsC+B91iJDYw+PnNABTOLw788A4b1VukjvTRvk1dwkEfwahjFK263dtnFlefAxh+IrL15WaLyzoNm0uBR4ckPDFs7mp/KuLSz1VqUBn5/awZdtDEYY+3PQuWz3ijMxNgwgdCveo3rYgFrTPBYXq7hTSbig9Mmw0pgNFE2/81Dfa4kYhE16CFmqn1jAujk5SH9GgJxxWMUYqPvwuM/+ZHZPyRmsdOkUW4QUWZdxobSjhrY5xJl4BqxpkAh3uAL9SknLn8WqQB3mQ==
aws-s3-access-key: AgCM444q/9WDl/VZ6r2mwxEY8X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bc+PtM0D1byJr7uVxspgVJcjkV14lwpNwcwqLcaXgLdnGK07pBo3MfWY2RB9lMJVpmc4FsH2R3IOPs8Ebxb6Z+nQiAtf5fgIpbuZBJ/x2rL0nuqf8OP2AYTxWYxTCdlsKxHpUKnAwAB9eq47FyELsXXLBHVNn7pvB67dlwxSb1Y5cBcdWChrsPwFyfNYOElqzgYHLdTKZ8WFdHIFYAM2X2zEHxpxfhydjJhZUYpY2CKJ09aseotYZbN/k6f0ACxfdWeG2mq6xqanw4/CMJsQ/XVgd4u26qBdXMYK8MRyBiIouSftNAeY0VLRsoKLvHTunurAGYxkJpOZmCbV+EINjTZixjR1Jqbhvc7PPASpYf2J12A+ESyEBGt4O7juiPHmNaf5GaoU/I5B3ZmjJDzvS5A92eZy4yBJTogwchO5jLiunCtXJjcCaadV5c2aP25abBORfnbEMAuDiC+QFlkIoybwDlFOihb/PSNxMitWd0cG5EyJID1CjZlIwFYom2jQqXnL5ACf7pOhOPTd2hFtGRk0IMMt4WFkm9CXQv5iFYtToy3gCregvZicxHpHlNRHbH5Et/seKT08+bybwoT5Z/IwRV4xah77kr0GQc1YIlBdnAhKE8oqvlrK2xKFQZwmMDkfp5TM2aDMw3HUUlrk6fw6lk3IDzZFIE/0xglYuDyTjeDssIgWHGr0Z0Jfcsgs87UV0IMQfoIcy2Cf4bUyMvN/TXzkS39qfDYtSiVsMSgZmVpkQ3oFXZKxkVTmmr74Ri2pOLqJersQRdf4S9Kbkv0WlsNgwYSFj06qJc6pnc7mAgYix8sNtozdFl8J/PA9LqQErrXmP/mWOigY6Q80upcPbF7SfzMI4E8fjGO58TKim4zrZEk8+oIpfwy+fw0vuOQCGIghDumOhuoSWe9rT01yyaB1zsRAFQVs=
template:
data: null
metadata:
Expand Down
22 changes: 21 additions & 1 deletion charts/logging/dev-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,29 @@ serviceAccount:

additionalTolerations: []

serviceMonitor:
service:
type: ClusterIP
port: 2020
targetPort: 2020
enabled: true
namespace: monitoring
interval: 30s
telemetryPath: /api/v1/metrics/prometheus
# Set labels for the ServiceMonitor, use this to define your scrape label for Prometheus Operator
labels:
release: monitoring
# Set timeout for scrape
timeout: 10s
# Set relabel_configs as per https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
# relabelings: []
# Set of labels to transfer on the Kubernetes Service onto the target.
# targetLabels: []
# metricRelabelings: []

awsConfig:
cluster.name: "So1s"
http.server: "Off"
http.server: "On"
http.port: 2020
read.head: "Off"
read.tail: "On"
Expand Down
8 changes: 4 additions & 4 deletions charts/logging/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
- name: varlibdockercontainers
mountPath: /var/lib/docker/containers
readOnly: true
- name: fluent-bit-config
- name: {{ include "logging.fullname" . }}-config
mountPath: /fluent-bit/etc/
- name: runlogjournal
mountPath: /run/log/journal
Expand All @@ -94,16 +94,15 @@ spec:
- name: varlibdockercontainers
hostPath:
path: /var/lib/docker/containers
- name: fluent-bit-config
- name: {{ include "logging.fullname" . }}-config
configMap:
name: fluent-bit-config
name: {{ include "logging.fullname" . }}-config
- name: runlogjournal
hostPath:
path: /run/log/journal
- name: dmesg
hostPath:
path: /var/log/dmesg
{{- with .Values.additionalTolerations }}
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
Expand All @@ -112,5 +111,6 @@ spec:
effect: "NoExecute"
- operator: "Exists"
effect: "NoSchedule"
{{- with .Values.additionalTolerations }}
{{- toYaml . | nindent 8 }}
{{- end }}
37 changes: 37 additions & 0 deletions charts/logging/templates/psp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: {{ include "logging.fullname" . }}
spec:
privileged: false
allowPrivilegeEscalation: false
requiredDropCapabilities:
- ALL
volumes:
- 'configMap'
- 'secret'
- 'hostPath'
- 'projected'
allowedHostPaths:
- pathPrefix: "/var/log"
- pathPrefix: "/var/lib/docker/containers"
readOnly: true
hostIPC: false
hostPID: false
runAsUser:
rule: 'RunAsAny'
seLinux:
rule: 'RunAsAny'
supplementalGroups:
rule: 'MustRunAs'
ranges:
# Forbid adding the root group.
- min: 1
max: 65535
fsGroup:
rule: 'MustRunAs'
ranges:
# Forbid adding the root group.
- min: 1
max: 65535
readOnlyRootFilesystem: false
21 changes: 21 additions & 0 deletions charts/logging/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{- if $.Values.serviceMonitor }}
{{- if and ( .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" ) ( .Values.serviceMonitor.enabled ) }}
apiVersion: v1
kind: Service
metadata:
labels:
{{- include "logging.labels" . | nindent 4 }}
name: {{ include "logging.fullname" . }}
namespace: {{ .Release.Namespace }}
spec:
ports:
- name: monitor-agent
port: {{ .Values.serviceMonitor.service.port }}
protocol: TCP
targetPort: {{ .Values.serviceMonitor.service.targetPort }}
selector:
{{- include "logging.selectorLabels" . | nindent 4 }}
sessionAffinity: None
type: {{ .Values.serviceMonitor.service.type }}
{{- end }}
{{- end }}
49 changes: 49 additions & 0 deletions charts/logging/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{{- if $.Values.serviceMonitor }}
{{- if and ( .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" ) ( .Values.serviceMonitor.enabled ) }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
{{- if .Values.serviceMonitor.labels }}
labels:
{{ toYaml .Values.serviceMonitor.labels | indent 4}}
{{- end }}
name: {{ include "logging.fullname" . }}
{{- if .Values.serviceMonitor.namespace }}
namespace: {{ .Values.serviceMonitor.namespace }}
{{- end }}
spec:
endpoints:
- port: monitor-agent
scheme: http
{{- if .Values.serviceMonitor.interval }}
interval: {{ .Values.serviceMonitor.interval }}
{{- end }}
{{- if .Values.serviceMonitor.telemetryPath }}
path: {{ .Values.serviceMonitor.telemetryPath }}
{{- end }}
{{- if .Values.serviceMonitor.timeout }}
scrapeTimeout: {{ .Values.serviceMonitor.timeout }}
{{- end }}
{{- if .Values.serviceMonitor.metricRelabelings }}
metricRelabelings:
{{ toYaml .Values.serviceMonitor.metricRelabelings | indent 4 }}
{{- end }}
{{- if .Values.serviceMonitor.relabelings }}
relabelings:
{{ toYaml .Values.serviceMonitor.relabelings | indent 4 }}
{{- end }}
jobLabel: {{ default "app.kubernetes.io/instance" .Values.serviceMonitor.jobLabel }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
{{- include "logging.selectorLabels" . | nindent 6 }}
{{- if .Values.serviceMonitor.targetLabels }}
targetLabels:
{{- range .Values.serviceMonitor.targetLabels }}
- {{ . }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
25 changes: 25 additions & 0 deletions charts/logging/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,31 @@ additionalTolerations: []

affinity: {}


serviceMonitor:
service:
type: ClusterIP
port: 2020
targetPort: 2020
# When set true then use a ServiceMonitor to configure scraping
enabled: false
# Set the namespace the ServiceMonitor should be deployed
namespace: default
# Set how frequently Prometheus should scrape
interval: 30s
# Set path of metrics, e.g /api/v1/metrics/prometheus
telemetryPath: /api/v1/metrics/prometheus
# Set labels for the ServiceMonitor, use this to define your scrape label for Prometheus Operator
labels: ""
# Set timeout for scrape
timeout: 10s
# Set relabel_configs as per https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
relabelings: []
# Set of labels to transfer on the Kubernetes Service onto the target.
targetLabels: []
metricRelabelings: []


###############################
#config-map
###############################
Expand Down
Loading