Troubleshooting
Use this guide when a MetaDefender (MD) Cluster service does not start, keeps restarting, or is not working as expected. Start with the quick checks below, then collect the relevant logs and configuration if you need help from OPSWAT Support.
The commands on this page use the current Kubernetes namespace. If MetaDefender Cluster is deployed in another namespace, add
--namespace <namespace>to each command or switch to that namespace before you begin.
Start with a quick health check
Check the status of all pods and review recent Kubernetes events:
Look for pods that are not Running or Ready, frequent restarts, scheduling failures, storage problems, or failed health checks.
For more information about a specific pod, run:
The Events section at the end of the output often explains why the pod cannot start or become ready.
Common pod states
Pod status | What to check |
|---|---|
| Run |
| Check both the current and previous container logs. The previous logs usually contain the error that caused the last restart. |
| Check the image name, registry access, image pull secret, and network connectivity to the registry. |
| Review the pod events and logs for failed readiness checks or unavailable dependencies. |
Review service logs
Follow the logs for a Deployment:
Follow the logs for a specific StatefulSet pod:
If a container has restarted, view the logs from its previous run:
For pods with more than one container, include logs from every container:
Press Ctrl+C to stop following live logs.
Check the active configuration
Review the configuration currently used by the deployment:
The Secret command displays key names only; it does not decode or print their values.
helm get values shows the values stored in the Helm release. These values may differ from your local values file, especially after an upgrade performed with --reuse-values.
Collect information for OPSWAT Support
The easiest way to collect complete MD Cluster logs is to use Export in MD Cluster Control Center.
If MD Cluster Control Center is unavailable, you can collect Kubernetes diagnostics manually. The following commands save the output in your current directory:
If an affected pod has restarted, also collect its previous logs:
Include the following details in your support request:
MD Cluster version (
MDCLS_VERSION)Kubernetes version (
kubectl version)Helm release names (
helm list)Whether PostgreSQL, Redis, RabbitMQ, and MD Cluster File Storage are bundled or externally managed
Name of the affected service or pod
Approximate time of the issue, including the time zone
Steps to reproduce the issue, if known
Any configuration, upgrade, or infrastructure changes made before the issue started