3.0 启用告警通知后,怎么添加邮件以外的通知方式
tzghostK零S
- 已编辑
xulai
`metadata 7 item
name:
notification-manager-operator-6958786cd6-qmck2.163921a5a979e695
namespace:
kubesphere-monitoring-system
selfLink:
/api/v1/namespaces/kubesphere-monitoring-system/events/notification-manager-operator-6958786cd6-qmck2.163921a5a979e695
uid:
827e396e-8c57-4232-9b48-d94e12e5d12d
resourceVersion:
12336096
creationTimestamp:
2020-10-14T11:35:18Z
managedFields 0 item
involvedObject 7 item
kind:
Pod
namespace:
kubesphere-monitoring-system
name:
notification-manager-operator-6958786cd6-qmck2
uid:
fb6064d4-67b1-4c05-9a7a-264a1d649ccf
apiVersion:
v1
resourceVersion:
4665
fieldPath:
spec.containers{notification-manager-operator}
reason:
BackOff
message:
Back-off restarting failed container
source 2 item
component:
kubelet
host:
bg-003-kvm006-vms004
firstTimestamp:
2020-09-29T02:55:37Z
lastTimestamp:
2020-10-14T11:38:23Z
count:
28
type:
Warning
eventTime:
null
reportingComponent:
reportingInstance:
logStripANSI:
undefined
`
benjaminhuoK零S
notification-manager-operator 是个 deployment,删了pod 当然还会重新创建
另外这个组件是从 Alertmanager 接收微信、slack告警必须的,不能删
你删它的意图是什么?
tzghostK零S
- 已编辑
http://192.168.0.55:31289/api/v2/alerts?filter=pod=notification-manager-operator-6958786cd6-qmck2
·
[{“annotations”:{“message”:“Back-off restarting failed container”,“summary”:“Container back-off”,“summaryCn”:“容器回退”},“endsAt”:“2020-10-15T11:07:05.068Z”,“fingerprint”:“594b1ab1a9d84ff6”,“receivers”:[{“name”:“event”}],“startsAt”:“2020-10-15T11:02:05.068Z”,“status”:{“inhibitedBy”:[],“silencedBy”:[],“state”:“active”},“updatedAt”:“2020-10-15T11:02:05.068Z”,“labels”:{“alertname”:“ContainerBackoff”,“alerttype”:“event”,“container”:“notification-manager-operator”,“namespace”:“kubesphere-monitoring-system”,“pod”:“notification-manager-operator-6958786cd6-qmck2”,“severity”:“warning”}}]·
tzghostK零S
benjaminhuo 是因为notification-manager-operator-6958786cd6-qmck2这个POD一直有ContainerBackoff的告警,所以尝试删除重建。按理说删除重建后原来的POD已经不存在了,告警应该会恢复的,但这个告警还一直有,比较奇怪