- Ensures Phoenix knows the original request was HTTPS
- Complements externalTrafficPolicy:Local on Traefik service
- Service was patched with: kubectl patch service traefik -n traefik -p '{"spec":{"externalTrafficPolicy":"Local"}}'
- This preserves real client IPs for geolocation
Node1's Tailscale IP changed from 100.102.235.20 to 100.111.4.102 after
reapplying the Tailscale configuration. Updated the kubeconfig server
address to use the new Tailscale IP for remote kubectl access.
Generated with Claude Code https://claude.com/claude-code
- Add migration init container that runs before main app containers
- Ensures database migrations are applied on every deployment
- Includes all necessary environment variables for migration execution
- Disable AUTO_MIGRATE in main container since init container handles it
- Prevents race conditions by running migrations before cluster formation
This resolves issues where migrations weren't running in cluster mode
and ensures new deployments always have the latest schema changes.