Hi Everyone,

Thoughts on adding the observedGeneration status field to the Kubernetes
Operator?

I saw this issue https://issues.apache.org/jira/browse/FLINK-30858 which is
useful but the traditional thing would be to just update the
observedGeneration when the reconciliation is complete. There is [tooling](
https://github.com/Shopify/krane/blob/main/README.md#specifying-passfail-conditions)
out there that requires this spec in order to determine if the
reconciliation passed for CRDs. Not only that, but it is the expected flow:
https://alenkacz.medium.com/kubernetes-operator-best-practices-implementing-observedgeneration-250728868792

I think we keep the current implementation of the reconciliation spec for
now but at the same time, we can update the `status.observedGeneration`?

I'll open an issue if folks agree with this addition.

Ryan van Huuksloot
Sr. Production Engineer | Streaming Platform
[image: Shopify]
<https://www.shopify.com/?utm_medium=salessignatures&utm_source=hs_email>

Reply via email to