Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different builders with the same tag will cause a reconciliation loop #853

Open
tylerphelan opened this issue Oct 6, 2021 · 1 comment

Comments

@tylerphelan
Copy link
Contributor

tylerphelan commented Oct 6, 2021

If multiple different Builders or Clusterbuilders are configured with the same tag, kpack will think that the digest has changed and will continuously rebuild and rewrite the builder images to its configured tag causing endless reconciliation loops and registry pressure.

This issue has shown up when users install kpack to different clusters but use the same kp default repository and the same cb names which results in duplicate tags across the clusters. This isn't obvious to diagnose.

This may just be something to document.

@tylerphelan tylerphelan changed the title Builders on different clusters can cause a reconciliation loop Builders on different clusters in the same repo can cause a reconciliation loop Oct 6, 2021
@tylerphelan tylerphelan changed the title Builders on different clusters in the same repo can cause a reconciliation loop Different builders with the same tag will cause a reconciliation loop Oct 11, 2021
@matthewmcnew
Copy link
Collaborator

Adding the "needs discussion" label to this issue. It is unclear to me if we want to modify this behavior. kpack is correctly updating the image on the registry to match the desired configuration in the Builder resource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants