| name | perplexity-prod-checklist |
| description | Execute Perplexity production deployment checklist and rollback procedures.
Use when deploying Perplexity integrations to production, preparing for launch,
or implementing go-live procedures.
Trigger with phrases like "perplexity production", "deploy perplexity",
"perplexity go-live", "perplexity launch checklist".
|
| allowed-tools | Read, Bash(kubectl:*), Bash(curl:*), Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Perplexity Production Checklist
Overview
Complete checklist for deploying Perplexity integrations to production.
Prerequisites
- Staging environment tested and verified
- Production API keys available
- Deployment pipeline configured
- Monitoring and alerting ready
Instructions
Step 1: Pre-Deployment Configuration
Step 2: Code Quality Verification
Step 3: Infrastructure Setup
Step 4: Documentation Requirements
Step 5: Deploy with Gradual Rollout
curl -f https://staging.example.com/health
curl -s https://status.perplexity.com
kubectl apply -f k8s/production.yaml
kubectl set image deployment/perplexity-integration app=image:new --record
kubectl rollout pause deployment/perplexity-integration
sleep 600
kubectl rollout resume deployment/perplexity-integration
kubectl rollout pause deployment/perplexity-integration
sleep 300
kubectl rollout resume deployment/perplexity-integration
kubectl rollout status deployment/perplexity-integration
Output
- Deployed Perplexity integration
- Health checks passing
- Monitoring active
- Rollback procedure documented
Error Handling
| Alert | Condition | Severity |
|---|
| API Down | 5xx errors > 10/min | P1 |
| High Latency | p99 > 5000ms | P2 |
| Rate Limited | 429 errors > 5/min | P2 |
| Auth Failures | 401/403 errors > 0 | P1 |
Examples
Health Check Implementation
async function healthCheck(): Promise<{ status: string; perplexity: any }> {
const start = Date.now();
try {
await perplexityClient.ping();
return { status: 'healthy', perplexity: { connected: true, latencyMs: Date.now() - start } };
} catch (error) {
return { status: 'degraded', perplexity: { connected: false, latencyMs: Date.now() - start } };
}
}
Immediate Rollback
kubectl rollout undo deployment/perplexity-integration
kubectl rollout status deployment/perplexity-integration
Resources
Next Steps
For version upgrades, see perplexity-upgrade-migration.