You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| global.minReadySeconds | int |`60`| optional field that specifies the minimum number of seconds for which a newly created Pod should be ready without any of its containers crashing |
34
34
| global.nodeSelector | object |`{}`| Default node selector for all components |
| global.observability.prometheus | object |`{"serviceMonitor":{"enabled":false,"path":"/metrics","portName":"metrics"}}`| set up additional service port and setup |
{{- if .Capabilities.APIVersions.Has "monitoring.coreos.com/v1/PrometheusRule" }}
2
+
{{- if and .Values.scheduler.enabled (or .Values.scheduler.observability.prometheus.alerting_rules.enabled .Values.scheduler.observability.prometheus.istio_alerting_rules.enabled) }}
summary: "[{{ include "application.scheduler.name" . | title }}] High CPU usage"
27
+
description: "[{{ include "application.scheduler.name" . | title }}] 서비스의 최근 CPU 사용량이 {{ .Values.scheduler.observability.prometheus.alerting_rules.highCpuUsageThreshold }}% 이상이 되었습니다. 현재값: {{`{{ .Value | humanize }}`}}%"
service: {{ include "application.scheduler.name" . | quote }}
40
+
severity: critical
41
+
annotations:
42
+
summary: "[{{ include "application.scheduler.name" . | title }}] High memory usage"
43
+
description: "[{{ include "application.scheduler.name" . | title }}] 서비스의 최근 메모리 사용량이 {{ .Values.scheduler.observability.prometheus.alerting_rules.highMemoryUsageThreshold }}% 이상이 되었습니다. 현재값: {{`{{ .Value | humanize }}`}}%"
44
+
{{- end }}
45
+
{{- if .Values.scheduler.observability.prometheus.istio_alerting_rules.enabled }}
summary: "[{{ include "application.scheduler.name" . | title }}][istio-proxy] High CPU usage"
62
+
description: "[{{ include "application.scheduler.name" . | title }}][istio-proxy] 서비스의 최근 CPU 사용량이 {{ .Values.scheduler.observability.prometheus.istio_alerting_rules.highCpuUsageThreshold }}% 이상이 되었습니다. 현재값: {{`{{ .Value | humanize }}`}}%"
service: {{ include "application.scheduler.name" . | quote }}
75
+
severity: critical
76
+
annotations:
77
+
summary: "[{{ include "application.scheduler.name" . | title }}][istio-proxy] High memory usage"
78
+
description: "[{{ include "application.scheduler.name" . | title }}][istio-proxy] 서비스의 최근 메모리 사용량이 {{ .Values.scheduler.observability.prometheus.istio_alerting_rules.highMemoryUsageThreshold }}% 이상이 되었습니다. 현재값: {{`{{ .Value | humanize }}`}}%"
{{- if .Capabilities.APIVersions.Has "monitoring.coreos.com/v1/PrometheusRule" }}
2
+
{{- if and .Values.server.enabled (or .Values.server.observability.prometheus.rules.enabled .Values.server.observability.prometheus.istio_rules.enabled) }}
3
+
apiVersion: monitoring.coreos.com/v1
4
+
kind: PrometheusRule
5
+
metadata:
6
+
name: {{ template "application.server.name" . }}
7
+
namespace: {{ .Release.Namespace }}
8
+
spec:
9
+
groups:
10
+
{{- if .Values.server.observability.prometheus.rules.enabled }}
summary: "[{{ include "application.server.name" . | title }}] High CPU usage"
27
+
description: "[{{ include "application.server.name" . | title }}] 서비스의 최근 CPU 사용량이 {{ .Values.server.observability.prometheus.rules.highCpuUsageThreshold }}% 이상이 되었습니다. 현재값: {{`{{ .Value | humanize }}`}}%"
service: {{ include "application.server.name" . | quote }}
40
+
severity: critical
41
+
annotations:
42
+
summary: "[{{ include "application.server.name" . | title }}] High memory usage"
43
+
description: "[{{ include "application.server.name" . | title }}] 서비스의 최근 메모리 사용량이 {{ .Values.server.observability.prometheus.rules.highMemoryUsageThreshold }}% 이상이 되었습니다. 현재값: {{`{{ .Value | humanize }}`}}%"
44
+
{{- end }}
45
+
{{- if .Values.server.observability.prometheus.istio_rules.enabled }}
summary: "[{{ include "application.server.name" . | title }}][istio-proxy] High CPU usage"
62
+
description: "[{{ include "application.server.name" . | title }}][istio-proxy] 서비스의 최근 CPU 사용량이 {{ .Values.server.observability.prometheus.istio_rules.highCpuUsageThreshold }}% 이상이 되었습니다. 현재값: {{`{{ .Value | humanize }}`}}%"
service: {{ include "application.server.name" . | quote }}
75
+
severity: critical
76
+
annotations:
77
+
summary: "[{{ include "application.server.name" . | title }}][istio-proxy] High memory usage"
78
+
description: "[{{ include "application.server.name" . | title }}][istio-proxy] 서비스의 최근 메모리 사용량이 {{ .Values.server.observability.prometheus.istio_rules.highMemoryUsageThreshold }}% 이상이 되었습니다. 현재값: {{`{{ .Value | humanize }}`}}%"
0 commit comments