Comments (1)
Hi @helloxjade,
I'd like to note that reconciliation will be triggered under the following circumstances:
- When events are raised for the resources observed/watched, such as when you create, delete, or update a CR managed by the controller, or any other kind of Kubernetes resource it uses or requires which has a watch implementation. More information can be found here.
- By default, every 10 hours, as configured in the
main.go
/ manager. - When an error occurs, prompting the reconciliation to be re-triggered.
I have some comments inline with your observations:
The error message indicates a storage error (StorageError), with a description mentioning a precondition failure, likely due to a mismatch in the UID of the object.
Without the specific error details, it's challenging to offer targeted help. However, it seems the issue may relate to your implementation rather than a problem with Kubebuilder or its functionality.
Despite no error messages being present, and requeue being set to false.
This comment suggests that your implementation MAYBE is not fully align with the Operator pattern and the design principles adopted by controller-runtime
/ kubebuilder
.
It's essential to aim for idempotent outcomes in your controller logic, specifying the intended actions for creating, deleting, and updating resources. Deviating from ensuring idempotent solutions violates the core principles of this approach.
I recommend dedicating 20 minutes to review the following documentation. It could provide valuable insights into how to ideally structure your solution and understand its workings better.
I hope that the info above help you out solve your scenario.
However, see that it does not have too much that we can do to help you out based in your description beyond of the above info.
In this way, if after check the above content provide and your solution you see that you still needing "support help" OR that kubebuilder has one issue, please feel free to raise a new one.
In this case, please provide more info such as:
- that allows us to reproduce the scenario
- that has the info/error faced so that we can have a better idea
I hope that you do not mind but I am closing this one.
You can either try to get help in kubebuilder and controller-runtime slack channels.
Cheers,
from kubebuilder.
Related Issues (20)
- Error to scaffold conversion webhooks HOT 4
- ERROR: Invalid or corrupt Go version HOT 1
- Evaludate and Apply Latest Lint Rules and Features HOT 5
- cannot be handled as a CronJob unknown field HOT 2
- docs/scaffold: reconciler client and its methods should be private HOT 3
- Support +enum tags in k8s APIs HOT 4
- [META - Phases]: Discontinue Kube RBAC Proxy in Default Kubebuilder Scaffolding HOT 4
- Add in the docs a link for the controller-runtime FAQ
- Implement e2e controller tests for the multi-version sample used in the docs HOT 1
- Use Upgrade Assistance to re-generate samples docs HOT 1
- Update the Multi-Version tutorial programatically when we run `make generate` HOT 4
- kubebuilder make install fails [again]: metadata.annotations: Too long HOT 1
- OpenAPI Schema Validation Errors for imagePullSecrets and hostAliases for CronjobTutorial sample with controller-runtime v0.18.3 and Kubernetes 1.30 HOT 3
- pull controller image failed HOT 2
- DNS Entry for book-v3 - We need figure out how to create it to publish the legacy docs HOT 1
- kustomize: strategicMergePatch clobbers patched arrays HOT 1
- GitHub page link update HOT 3
- RFE: Replace ServiceMonitor for PodMonitor HOT 2
- book.kubebuilder.io no longer reachable / dns record issing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubebuilder.