java - 使用fabric8 maven插件替换kubernetes statefulsets失败
问题描述
我们使用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 设置为滚动,但这似乎没有任何作用。
谢谢保罗
解决方案
推荐阅读
- go - 检查结构是否存在
- c++ - 在clion中,跨项目重命名
- nunit - 等待 Blazor 组件使用 nUnit 在 bUnit 中加载变量
- javascript - 如何在 forEach 循环中使用 Array.prototype.filter()
- mysql - 嵌套在 MySQL 全文搜索查询中的 AND 内
- excel-formula - 为什么这些连接语句不起作用?
- node.js - bcrypt.compare JWT 与 nodeJS,Mongoose 总是抛出错误
- python - Python 中的 re.MatchObject.span() 方法
- angular - 使用 Firebase 实时数据库批量创建/删除
- javascript - Android上的多个摄像头