vmauth http loadbalancer

auth

vmselect 查询负载

1
2
3
4
5
unauthorized_user:
url_prefix:
- http://vmselect-1:8481/select/0/prometheus/
- http://vmselect-2:8481/select/0/prometheus/
- http://vmselect-3:8481/select/0/prometheus/
auth-cluster.yml
auth-cluster.yml
users:
- username: "vmselect"
  password: "vmselect123"
  url_prefix:
      - http://vmselect-1:8481
      - http://vmselect-2:8481
  retry_status_codes: [500, 502]



unauthorized_user: url_map: - src_paths: - "/insert/.*" url_prefix: - "http://vminsert-1:8480/" - "http://vminsert-2:8480/"
1
2
3
4
5
6
 command:
- '--datasource.url=http://vmauth:8427/select/0/prometheus'
- '--datasource.basicAuth.username=vmselect'
- '--datasource.basicAuth.password=vmselect123'
- '--remoteRead.basicAuth.username=vmselect'
- '--remoteRead.basicAuth.password=vmselect123'

k8s

1
2
3
unauthorized_user:
url_prefix: http://vmselect-service:8481/select/0/prometheus/
discover_backend_ips: true
点击打赏
文章目录
  1. 1. auth
载入天数...载入时分秒... ,