ワンクリックで
smoke-test
Run health checks against deployed services
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run health checks against deployed services
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
View and troubleshoot service logs and pod status
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
| name | smoke-test |
| description | Run health checks against deployed services |
| disable-model-invocation | true |
| argument-hint | [env] |
Run smoke tests against deployed services to verify they are healthy.
env — Target environment: dev or prod (default: dev)Set the namespace based on environment:
dev → petclinic-devprod → petclinic-prodCheck if scripts/smoke-test.sh exists. If so, run it:
bash scripts/smoke-test.sh {env}
If the script doesn't exist, run manual health checks:
a. Check all pods are running:
kubectl get pods -n petclinic-{env} --no-headers | grep -v Running
If any pods are not Running, report them.
b. For each service, port-forward and check health endpoint:
kubectl port-forward svc/{service} {local-port}:{service-port} -n petclinic-{env} &
PF_PID=$!
sleep 3
curl -sf http://localhost:{local-port}/actuator/health || echo "FAIL: {service}"
kill $PF_PID 2>/dev/null
c. Service health check ports:
| Service | Port | Health Endpoint |
|---|---|---|
| config-server | 8888 | /actuator/health |
| discovery-server | 8761 | /actuator/health |
| api-gateway | 8080 | /actuator/health |
| customers-service | 8081 | /actuator/health |
| visits-service | 8082 | /actuator/health |
| vets-service | 8083 | /actuator/health |
| genai-service | 8084 | /actuator/health |
| admin-server | 9090 | /actuator/health |
Present results:
## Smoke Test Results: {env}
| Service | Pod Status | Health Check | Notes |
|---------|-----------|-------------|-------|
| config-server | Running | PASS | |
| discovery-server | Running | PASS | |
| ... | ... | ... | ... |
Overall: {N}/8 services healthy
If any service fails, show: