Skip to content

docs/victorialogs/security-and-lb.md: provide HA example#1541

Open
vadimalekseev wants to merge 1 commit into
masterfrom
ha-vmauth-example
Open

docs/victorialogs/security-and-lb.md: provide HA example#1541
vadimalekseev wants to merge 1 commit into
masterfrom
ha-vmauth-example

Conversation

@vadimalekseev

Copy link
Copy Markdown
Member

This vmauth config example allows users to configure transparent request routing from a problematic cluster to a working one, taking advantage of replication in cluster mode of VictoriaLogs.

This is a follow-up for the commit afe7b8f

This vmauth config example allows users to configure transparent
request routing from a problematic cluster to a working one,
taking advantage of replication in cluster mode of VictoriaLogs.

This is a follow-up for the commit afe7b8f

With this configuration, `vmauth` balances incoming requests between `victoria-logs-cluster-1` and `victoria-logs-cluster-2`.
If the selected cluster returns a `502` error, `vmauth` transparently retries the same request on another available cluster from the list.
The number of retries does not exceed the number of backends listed under `url_prefix`.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The number of retries does not exceed the number of backends listed under url_prefix.

See https://github.com/VictoriaMetrics/VictoriaMetrics/blob/ec88b9cac6cae2464dad61eac36097a789d8ae5a/app/vmauth/main.go#L419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant