بنقرة واحدة
logs
View and troubleshoot service logs and pod status
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
View and troubleshoot service logs and pod status
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Deploy services to the dev EKS namespace via ArgoCD (or kubectl for bootstrap)
Deploy services to the prod EKS namespace via ArgoCD (manual sync) with safety checks
Review Terraform code for security, best practices, and conventions
Roll back a failed deployment to the previous revision
Run Checkov security scan on Terraform modules
Run health checks against deployed services
| name | logs |
| description | View and troubleshoot service logs and pod status |
| disable-model-invocation | true |
| argument-hint | [service] [env] |
View logs and debug information for a service in the specified environment.
service — Service name (e.g., config-server, api-gateway, customers-service)env — Target environment: dev or prod (default: dev)Set the namespace based on environment:
dev → petclinic-devprod → petclinic-prodShow pod status for the service:
kubectl get pods -l app.kubernetes.io/name={service} -n petclinic-{env} -o wide
Show recent events for the pod:
kubectl describe pod -l app.kubernetes.io/name={service} -n petclinic-{env} | tail -30
Show logs (last 100 lines):
kubectl logs -l app.kubernetes.io/name={service} -n petclinic-{env} --tail=100
If the pod is in CrashLoopBackOff, show previous container logs:
kubectl logs -l app.kubernetes.io/name={service} -n petclinic-{env} --previous --tail=50
Show resource usage if metrics-server is available:
kubectl top pod -l app.kubernetes.io/name={service} -n petclinic-{env} 2>/dev/null || echo "Metrics server not available"
Present a summary:
## Logs: {service} ({env})
Pod Status: {Running/CrashLoopBackOff/Pending/etc.}
Restarts: {count}
Uptime: {age}
### Recent Events
{key events}
### Log Highlights
{errors/warnings from logs}
### Suggested Actions
{troubleshooting suggestions based on findings}