infra/home/cluster/aprs/postgres-normal-mode.sh
2026-01-30 17:27:52 -06:00

10 lines
No EOL
379 B
Bash

#!/bin/bash
# Restore normal mode for PostgreSQL (with health checks)
echo "Restoring PostgreSQL normal mode (with health checks)..."
export KUBECONFIG=/Users/graham/dev/infra/home/ansible/kubeconfig
kubectl apply -f postgres-deployment-normal.yaml
echo "PostgreSQL is now in normal mode with health checks enabled"
echo "Monitor with: kubectl logs -n aprs postgres-aprs-0 -f"