원클릭으로
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: