摘要:
文章转载自:https://me.jinchuang.org/archives/114.html ,有修改 步骤总结 1.安装好nginx,假设其html根路径为/usr/share/nginx/html 2.准备工作:关闭防火墙,关闭selinux,安装epel源 3.yum安装依赖包:dh-au 阅读全文
posted @ 2021-11-23 15:58
哈喽哈喽111111
阅读(1520)
评论(1)
推荐(0)
摘要:
文章转载自:https://www.cnblogs.com/ludongguoa/p/15319861.html 一般情况下 Kubernetes 可以通过 ReplicaSet 以一个 Pod 模板创建多个 pod 副本,但是它们都是无状态的,任何时候它们都可以被一个全新的 pod 替换。然而有状 阅读全文
posted @ 2021-11-23 13:49
哈喽哈喽111111
阅读(1452)
评论(1)
推荐(0)
摘要:
default.tmpl {{ define "__subject" }}[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}] {{ .GroupLabels.SortedP 阅读全文
posted @ 2021-11-23 09:54
哈喽哈喽111111
阅读(162)
评论(0)
推荐(1)
摘要:
rules_up.yml groups: - name: up rules: - alert: mysql expr: up{instance="db1",job="mysql"} != 0 for: 10s labels: instance: '{{$labels.instance}}' prio 阅读全文
posted @ 2021-11-23 09:48
哈喽哈喽111111
阅读(1576)
评论(0)
推荐(0)
摘要:
alertmanager.yml global: resolve_timeout: 5m # smtp config smtp_from: "prometheus-alert@example.com" smtp_smarthost: 'email-smtp.us-west-2.amazonaws.c 阅读全文
posted @ 2021-11-23 09:45
哈喽哈喽111111
阅读(1152)
评论(0)
推荐(0)

浙公网安备 33010602011771号