Explain
Diagnostic Commands
Possible Fixes
Example
unctl k8s -e -f -c K8S103π€ Running diagnostic commands...
π€ Analyzing results...
β Failed Pod is in CrashLoopBackOff state: monitoring/prometheus-server-bc7cbd8c-jzzf5 (Pod prometheus-server-bc7cbd8c-jzzf5 in namespace monitoring has a container in CrashLoopBackOff state.)
π¬ Summary:
Your Prometheus server is crashing due to some issue within the storage subsystem possibly while writing to the remote storage. This could possibly be caused by a configuration error or an unresponsive or overloaded remote storage service.
π οΈ Diagnostics:
> kubectl describe pod prometheus-server-bc7cbd8c-jzzf5 -n monitoring | jq -r '.status.conditions'
> kubectl describe pod prometheus-server-bc7cbd8c-jzzf5 -n monitoring | jq -r '.status.containerStatuses'
π οΈ Remediation:
> kubectl delete pod prometheus-server-bc7cbd8c-jzzf5 -n monitoring
β Failed Pod is in CrashLoopBackOff state: sbox-yura/util-57cd568c54-6jk6s (Pod util-57cd568c54-6jk6s in namespace sbox-yura has a container in CrashLoopBackOff state.)
π¬ Summary:
The output of Logs command is empty, which could mean that the container is not able to start properly before any standard out (stdout) output is written. It might be an issue with the container startup command or arguments. If it's exiting very soon after startup, it might mean that it's missing something or there's a significant problem which makes it unable to run.
π οΈ Diagnostics:
> kubectl describe pod util-57cd568c54-6jk6s -n sbox-yura
π οΈ Remediation:
> kubectl set image pod/util-57cd568c54-6jk6s -n sbox-yura util=util:new_version_possibly_fixing_issue
Last updated