Troubleshooting¶
Common issues and their solutions.
Operator Not Starting¶
Pod in CrashLoopBackOff¶
Common causes:
- Missing or invalid cloud provider credentials
- Incorrect
cloudProvidervalue - DNS zone doesn't exist or is inaccessible
Authentication Errors¶
Fix: Ensure Managed Identity is properly assigned and has DNS Zone Contributor role on the DNS zone.
Fix: Verify the Kubernetes secret exists and contains a valid service account key:
DNS Records Not Created¶
-
Check operator logs for event processing:
-
Verify the Ingress has a hostname:
-
Check permissions — the operator needs read access to Ingress resources:
DNS Records Not Deleted¶
Records should be deleted when the corresponding Ingress is removed. If not:
- Check logs for deletion events
- Verify the operator was running when the Ingress was deleted
- Manually clean up orphaned records if necessary
Metrics Not Available¶
# Port-forward to the metrics endpoint
kubectl port-forward deploy/dns-operator 8080:8080
curl http://localhost:8080/metrics
If metrics are empty, ensure metrics.enabled=true in your Helm values.