kubectl edit clusterconfigurations.installer.kubesphere.io -n kubesphere-system ks-installer
notification:
enabled: false

false改成true后可以安装, true改成false后不能卸载

    Cauchy notification-manager出问题了 能通过这种方式卸载再重装吗?

    Cauchy
    我把alert和notification插件关了,然后把kubesphere-monitoring-system名称空间删了,
    重新安装后怎么还有之前未处理完的报警, 是不是有缓存或消息队列啊

    alert和notification是在kubesphere-alert-system下的,不是在kubesphere-monitoring-system下

      wanjunlei
      😅 kubesphere-monitoring-system 这个对应的是哪个组件啊,这里面也有alertmanager和notification-manager

        w281722735
        如果要卸载 告警和通知组件,需要删除kubesphere-alert-system和kubesphere-monitoring-system这两个名称空间吗

        删除前者 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报警, 想清理以前积压的大量无用告警

          3 年 后

          wanjunlei
          请问如果想把notificationmanagers装回来,应该执行什么命令呢?