
Manually Triggering Reconciliation in My Kubernetes Operator
In the previous post, I explored what happens when my Kubernetes operator fails. I created a real failure by removing ConfigMap creation permission from the operator. The controller failed, retried several times, and eventually stopped retrying. Then I restored the RBAC permissions. But something unexpected happened. The operator now had permission to create the ConfigMap again, but the failed Greeting was not immediately reconciled. That led me to another question: How can I manually ask the controller to reconcile a resource again without changing its actual specification? How can I manually ask the controller to reconcile a resource again without changing its actual specification? That is what I wanted to solve next. The failure flow looked like this: Then I fixed the external problem: But fixing the ClusterRole did not produce a new event for the Greeting controller.

