infra/old/cluster/aprs/postgres-repair-mode.sh

11 lines
No EOL
457 B
Bash
Executable file

#!/bin/bash
# Enable repair mode for PostgreSQL (no health checks)
echo "Enabling PostgreSQL repair mode (no health checks)..."
export KUBECONFIG=/Users/graham/dev/infra/home/ansible/kubeconfig
kubectl apply -f postgres-deployment-repair.yaml
echo "PostgreSQL is now in repair mode - it will run indefinitely without health checks"
echo "Monitor with: kubectl logs -n aprs postgres-aprs-0 -f"
echo "To restore normal mode, run: ./postgres-normal-mode.sh"