本文介绍了Kubernetes集群工作正常,但从NGINX控制器获取此错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尽管群集按预期运行,但此错误有些麻烦.
Although the cluster is working as expected this error is somewhat troublesome.
Kubernetes版本: v1.17.3
Kubernetes Version: v1.17.3
推荐答案
要解决此问题,您必须在virtualserver和virtualserverroutes上禁用 list/watch 操作-设置-enable-在部署/守护程序清单清单中将custom-resources
标志标记为 false .
To fix the problem you have to disable list/watch operations on virtualserver and virtualserverroutes - set the --enable-custom-resources
flag to false in your deployment/daemonset manifest.
--enable-custom-resources
Enables custom resources (default true)
也请参阅: nginx-ingress-controller-configuration ,禁用列表监视虚拟服务器.
这篇关于Kubernetes集群工作正常,但从NGINX控制器获取此错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!