operator-framework / operator-framework/java-operator-sdk

Mark Framework Version in Resources to Support Framework Related Updates

未关闭
#1,958 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature
主要语言
Java
星标
944
派生
242
平均合并
1 天 4 小时
30 天内合并 PR
43

描述

Original idea comes from @shawkins .

The framework might add an annotation to resource(s) - primary might be sufficient - to support updates of the framework. For example from v4.3 -> v4.4 we started to use SSA on Dependent Resources by default (added feature flag to use previous approach), where in some cases the update might not be trivial. Such an annotation would widen our possibilities, and we could make runtime decisions based on that. For example If a resource was before created/managed by older version of framework, we could decide to use the legacy approach automatically.

Note also that the annotation needs to be added by the framework, we already add finalizer (if needed) in a phase before the first reconciliation, this could be added in the same step if needed.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定任何文件或测试。首先跟踪 framework 添加 finalizers 的 pre-reconciliation 步骤,然后确定在更新期间应如何记录和使用 resource version 元数据;当 framework 能够区分由早期版本创建或管理的资源,并应用预期的兼容性行为时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, kubernetes
领域
infrastructure
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。