Skip to content

CodeScoring.Save Troubleshooting

This section helps collect initial information about the installation state: pod status, service logs, database availability, and storage availability. The commands below do not fix issues automatically, but provide data for further analysis.

Pod Issues

# Describe pod
kubectl describe pod <POD_NAME> -n codescoring-save

# Pod logs
kubectl logs <POD_NAME> -n codescoring-save --previous

# Enter pod for diagnostics
kubectl exec -it <POD_NAME> -n codescoring-save -- /bin/sh

Database Issues

# Check PostgreSQL connection from the postgres pod
kubectl exec -it -n codescoring-save postgres-0 -- \
  psql -U save_user -d save_db

# Check tables inside psql
\dt
\q

Storage Issues

# Check MinIO access
kubectl port-forward -n codescoring-save svc/save-minio 9001:9001

# Open in browser:
# http://localhost:9001
Страница была полезна?