RonJay
04/15/2026, 10:38 AMRocky
04/15/2026, 10:38 AMkubectl get pods -n starrocks. If it shows restarts or high CPU usage, increase the resources in the operator's Deployment (e.g., set memory to at least 512Mi or 1Gi and CPU to 500m).
2. Sequential Reconciliation & Readiness Gates
In recent versions (1.10+), the operator's reconciliation logic has become more strictly sequential to ensure cluster stability.
* Problem: The operator may now wait for the FE nodes to reach a strictly "Ready" state (as reported by the K8s API and internal health checks) before it even attempts to create the BE or CN pods.
* Verification: Check the status of your CR (kubectl get starrockscluster <name> -o yaml). If the FEStatus is not "Running" or "Ready," the operator will delay creating the BE/CN components.
* Check: Look for any Readiness Gates or Service issues that might be preventing the FE from being marked as Ready in the eyes of the operator.
3. Webhook Latency
The upgrade to 1.11.4 likely updated the Validating/Mutating Webhooks.
* Problem: If the operator's webhook service is slow to respond or has networking issues, the K8s API server will hang when you "generate the CR" or when the operator tries to "create the StatefulSet." While 3 minutes is long, it often matches the aggregate timeout of several failed webhook calls.
* Action: Check the logs of the starrocks-operator pod for any errors related to "webhook" or "certificates." Ensure the starrocks-webhook-service is reachable from the API server.
4. Leader Election Contention
If you are running multiple replicas of the operator (HA mode) or if the old leader lease wasn't cleared correctly:
* Problem: The operator pod might be struggling to acquire the Leader Election Lease. Only the leader reconciles the CR. If it's "flapping" or stuck waiting for a lease, no pods will be created.
* Action: Check the logs for: attempting to acquire leader lease... or successfully acquired lease.
5. Increased "Sync Period" or Rate Limiting
The newer operator might be using a more conservative sync period or hitting K8s API rate limits if you have many resources in the namespace.
* Action: Check the operator's startup arguments in its Deployment. Look for flags like --resync-period or --max-concurrent-reconciles. Increasing --max-concurrent-reconciles (if available) can help speed up processing.
Recommended Troubleshooting Steps:
1. Check Operator Logs: This is the most critical step.
bash
kubectl logs -f -n starrocks <operator-pod-name>
Look for lines containing Reconcile and see if there are errors or if it's stuck on a specific component (e.g., "waiting for FE to be ready").
2. Describe the CR:
bash
kubectl describe starrockscluster <your-cluster-name> -n <namespace>
Check the Events section at the bottom. It will tell you exactly what the operator is doing (or failing to do) right after you apply the CR.
3. Check K8s Events:
bash
kubectl get events -n <namespace> --sort-by='.lastTimestamp'
Look for any "FailedCreate" or "Warning" events that occurred during those 3 minutes.
ReferencesRocky
04/15/2026, 10:38 AM