You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
reconcile-test/README.md

111 lines
2.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Branch:
- master: 稳定状态
- resource-update: 无修改资源更新
- resource-change-update: 有修改资源更新
- status-update: 无修改status更新
- status-change-update: 有修改status更新
- deployment-update: 无修改更新第三方
- deployment-change-update: 有修改更新第三方
# 测试各种 update 对 reconcile 的触发
## 资源清单
- 资源
- status
- 第三方资源deployment
## 稳定状态
- 注释掉资源的更新
- 注释掉资源对象的修改
- 注释掉status更新
- 注释掉status对象的修改
- 注释掉第三方更新
- 注释掉三方对象的修改
结果
- 触发 reconcile
- 没有第三方资源
- 执行创建第三方资源
- 结束 reconcile
- 触发 reconcile
- 结束 reconcile
- 触发 reconcile
- 结束 reconcile
- 触发 reconcile
- 结束 reconcile
- 触发 reconcile
- 结束 reconcile
- 触发 reconcile
- 结束 reconcile
- 结束
## 测试用例
以稳定态为标准开始
### 无修改资源更新
- 打开资源的更新注释
结果:
- 触发 reconcile
- 更新资源
- 结束 reconcile
- 触发 reconcile
- 更新资源
- 结束 reconcile
- 结束
### 有修改资源更新
- 打开资源对象的修改注释
结果:
- 触发 reconcile
- 更新资源
- 结束 reconcile
- 触发 reconcile
- 更新资源
- 结束 reconcile
- 死循环不结束
### 无修改status更新
- 打开status更新注释
结果:
- 触发 reconcile
- 更新 status
- 结束 reconcile
- 触发 reconcile
- 更新 status
- 结束 reconcile
- 结束
### 有修改status更新
- 打开status对象的修改注释
结果:
- 触发 reconcile
- 更新 status
- 结束 reconcile
- 触发 reconcile
- 更新 status
- 结束 reconcile
- 死循环不结束
### 无修改更新第三方
- 打开第三方更新注释
结果:
- 触发 reconcile
- 更新第三方资源
- 结束 reconcile
- 结束
### 有修改更新第三方
结果:
- 触发 reconcile
- 更新第三方资源
- 结束 reconcile
- 触发 reconcile
- 更新第三方资源
- 结束 reconcile
- 死循环不结束