我们使用fabric8-maven-plugin 来管理我们所有kubernetes 服务的整个生命周期。我们在升级 statefulsets 时遇到问题(类似于这篇文章,但我们不使用 kubernetes-client)。maven插件的版本是4.3.1。我们对守护程序集没有任何问题,但我只是找不到更新有状态集的方法。我们得到与上述帖子相同的错误。
Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden..
我试图将 updateStrategy 设置为滚动,但这似乎没有任何作用。
谢谢保罗