Skip to content

Conversation

@rdimitrov
Copy link
Member

Motivation and Context

A few changes related to configuring the rate limiting:

  • Set externalTrafficPolicy: Local to preserve real client IPs (otherwise we only see the cluster IPs)
  • Disable use-forwarded-headers (L4 LB doesn't set X-Forwarded-For, prevents spoofing)
  • Scale NGINX to 2 replicas in prod (costs nothing, gives us zero-downtime deploys to prod)

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
@rdimitrov rdimitrov merged commit fef7d3e into main Dec 13, 2025
6 checks passed
@rdimitrov rdimitrov deleted the update-infra branch December 13, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants