- Operators continuously reconcile desired state; reading Conditions and Events is the first step in troubleshooting.
- Understanding the status fields tells you whether the operator succeeded, is still working, or failed.
To issue a certificate you need:
- an Issuer (defines how the certificate is issued), and
- a Certificate (defines what you want).
test-certificate.yaml:
Next, inspect the Secret that the operator created to hold the issued certificate:
ca.crt, tls.crt, and tls.key. The operator created this Secret automatically as a side effect of reconciling the Certificate resource.
Make the reconciliation loop tangible: delete the Secret and watch the operator restore it.
Start troubleshooting operators by running
kubectl describe on the custom resource and reading the Conditions and Events. Conditions typically indicate Ready/NotReady states (True/False), and Events provide the reconciliation steps and reasons for failures or successes.- Use
kubectl getandkubectl describeon custom resources to inspect Status, Conditions, and Events. - Condition
Type+Status+Messageare your first diagnostic signals. - Operators continuously reconcile resources and will recreate owned resources if deleted.
- The controller/operator enforces ownership and cleanup order intentionally; unexpected delete-order behavior is usually by design, not a bug.
- cert-manager: https://cert-manager.io/
- Kubernetes documentation: https://kubernetes.io/docs/
- Helpful guide: Kubernetes Operators — Concepts and Best Practices