- 已编辑
kubectl edit clusterconfigurations.installer.kubesphere.io -n kubesphere-system ks-installer
notification:
enabled: false
false改成true后可以安装, true改成false后不能卸载
kubectl edit clusterconfigurations.installer.kubesphere.io -n kubesphere-system ks-installer
notification:
enabled: false
false改成true后可以安装, true改成false后不能卸载
w281722735
关闭之后需要自己卸载下哦
helm del -n istio-system istio
Cauchy notification-manager出问题了 能通过这种方式卸载再重装吗?
Cauchy
我把alert和notification插件关了,然后把kubesphere-monitoring-system名称空间删了,
重新安装后怎么还有之前未处理完的报警, 是不是有缓存或消息队列啊
alert和notification是在kubesphere-alert-system下的,不是在kubesphere-monitoring-system下
wanjunlei
kubesphere-monitoring-system 这个对应的是哪个组件啊,这里面也有alertmanager和notification-manager
notification-manager,
w281722735
如果要卸载 告警和通知组件,需要删除kubesphere-alert-system和kubesphere-monitoring-system这两个名称空间吗
wanjunlei
建议这些组件都有各自的命名空间,卸载清理的时候方便些
删除前者 kubectl delete ns kubesphere-alerting-system
kubesphere-monitoring-system下有所有的监控组件,删了集群就没有监控了,如果只是不想用通知,可以执行
kubectl delete notificationmanagers.notification.kubesphere.io notification-manager -n kubesphere-monitoring-system notification-manager
然后把kubesphere-monitoring-system下的deployment notification-manager-operator的副本数设为0
wanjunlei 因为一直有之前的event类型的报警,想重装一下这个组件
wanjunlei
嗯,这个看过了
需要以后的event报警, 想清理以前积压的大量无用告警