用chatbot,配置你的url
webhook(企业微信机器人)无法收到消息
wanjunlei 请问v3.1.1版本支持企业机器人的方式了吗
NullFox 大佬,请问我是v3.1.1版本的,支持配置企业微信机器人的方式吗
这个得看你的notification-manager的版本
大于v2.2.0应该就是可以
NullFox 版本还是1.0.0 ,可以直接升级
notification-manager版本的吗
NullFox 大佬,像我们现在使用kubesphere/notification-manager:v1.0.0版本,有办法单独升级这个组件,支持企业微信通知吗。
hanyce 您好,您这边使用什么kubesphere哪个版本,是在后台自己配置企业微信通知吗
helloJackYang 企业微信之前他们更新过,然后需要设置什么ip白名单了,具体的你可以去看一下企微的文档。如果要使用企业微信机器人那得notification-manager 2.2版本以后才可以
NullFox 可以单独升级notification-manager版本,并使用微信机器人通知的方式吗。目前是notification-manager:v1.0.0
可以,不过你的数据重要的话,建议你先创建个测试集群先尝试一下。
NullFox 具体应该怎么升级呢,直接改notification-manager版本,还是kubectl apply -f https://github.com/kubesphere/notification-manager/releases/download/v2.2.0/bundle.yaml 执行这个呢。
是helm部署的还是怎么部署的?
NullFox 生产环境是在2022年使用kubesphere-installer.yaml创建的,使用阿里云ACK托管版本。我现在本地虚拟机加了一个版本一样,也是v3.1.1,但使用是kk方式部署的
- 已编辑
你apply 一下 bundle.yaml,然后再helm upgrade notification-manager -n kubesphere-monitoring-system https://github.com/kubesphere/notification-manager/releases/download/v2.2.0/notification-manager.tgz。你试试这样,找个测试环境。
NullFox [root@node1 kubernetes]# helm upgrade notification-manager -n kubesphere-monitoring-system notification-manager.tgz
Error: UPGRADE FAILED: rendered manifests contain a resource that already exists. Unable to continue with update: Secret “notification-manager-webhook-server-cert” in namespace “kubesphere-monitoring-system” exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key “app.kubernetes.io/managed-by”: must be set to “Helm”; annotation validation error: missing key “meta.helm.sh/release-name”: must be set to “notification-manager”; annotation validation error: missing key “meta.helm.sh/release-namespace”: must be set to “kubesphere-monitoring-system”
[root@node1 kubernetes]#
NullFox helm upgrade notification-manager -n kubesphere-monitoring-system 这个有误。
我直接把 https://github.com/kubesphere/notification-manager/releases/download/v2.2.0/notification_manager.yaml 改为v2.2.0版本执行了。
通知都出错了。但配置信息都在