# Automated Kubernetes cluster health check & node diagnostics
$keshav@platform:~$ ./k8s-health.sh --cluster prod-us-east-1
[INFO] Connecting to Kubernetes API via IAM OIDC authentication...
✔ Control Plane Status: HEALTHY (Kubernetes v1.30.2)
[INFO] Evaluating worker nodes memory and CPU pressure...
✔ Node 01: Ready | CPU: 38% | Mem: 4.2GB / 16GB
✔ Node 02: Ready | CPU: 44% | Mem: 5.1GB / 16GB
✔ Node 03: Ready | CPU: 29% | Mem: 3.8GB / 16GB
[INFO] Ingress controller & SSL certificate validation...
✔ Ingress Gateway: 0 dropped packets | TLS cert valid (expires in 78 days)
⚡ Diagnostic result: 0 anomalies detected. Pod crashLoopBackOff = 0.
# Automated APM log parser and slow query isolate script
$keshav@platform:~$ python3 triage-incident.py --incident INC-8921 --service drupal-api
[TRIAGE] Fetching New Relic & Datadog trace logs for last 30 minutes...
⚠ Spike detected: P99 latency reached 4,820ms at 00:48:12 UTC
[TRIAGE] Correlating slow query log with database transactions...
⚠ Identified query bottleneck: SELECT taxonomy_index WHERE nid IN (...)
[ACTION] Generating missing index suggestion and memory cache flush command...
✔ Created transient memcached warm rule to shield database pool
⚡ P99 latency restored: 142ms. Incident report appended to Jira INC-8921.
# Event-driven webhook bridge from Datadog to Slack and PagerDuty
$keshav@platform:~$ n8n-cli run --workflow "Escalation Enriched Triage"
[TRIGGER] Inbound Webhook received from Datadog Monitor #44892
[NODE: Extract Payload] Severity: CRITICAL | Host: acquia-prod-cluster
[NODE: Deduplication] Checked against active incidents in Redis: NEW INCIDENT
[NODE: Runbook Matcher] Matched Runbook: "RUN-042: High Memory Consumption"
✔ Dispatched enriched incident message with Runbook link to #platform-incidents
✔ Page sent to Primary On-Call Engineer with contextual diagnostic dump
⚡ Workflow execution completed in 84ms. 100% automated handoff.