add egress infrastructure#1
Open
ILW8 wants to merge 41 commits into
Open
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…_SECRET env vars Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
forces docker swarm's IPVS to load-balance across workers, otherwise connections are kept persistent
Without --force, docker service update skips recreation when the image tag hasn't changed, so pushing a new :latest image didn't actually roll out to running containers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Uses increase() instead of rate() so the bars show the number of responses per 15s window rather than a per-second rate. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
increase() extrapolates across sample boundaries, producing fractional values on integer counters. Simple offset subtraction gives clean results. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TSDB holds an exclusive lock on the data directory, so start-first causes the new container to crash when it can't acquire the lock. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Consumers with poor retry/backoff logic cause storms when denied with 429. Instead of rejecting, progressively delay requests via HAProxy Lua when per-token rate exceeds 60 req/60s sustained limit (burst zone up to 90, then aggressive ramp capped at 10s). Adds mtail metrics and Grafana panels for throttle rate and delay distribution. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
core.sleep() requires an integer (whole seconds). Switch to core.msleep() which takes integer milliseconds, fixing the runtime error and providing better granularity. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The -db flag and the entry resolvers section were added while debugging a container restart loop that turned out to be caused by healthchecks using "localhost" (no /etc/hosts entry in Alpine). Neither change was needed once the healthcheck was fixed to use 127.0.0.1. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.