Skip to content

How to specify multiple Consul cluster hostname #5516

@liangrui1988

Description

@liangrui1988

-ring.store=consul
-consul.hostname=consul:8500 \

How to specify multiple Consul cluster hostname

I need ?
-consul.hostname=consul1:8500,consul2:8500,consu3:8500 \

level=error ts=2023-08-18T09:50:53.398938448Z caller=client.go:155 msg="error getting key" key=collectors/ring err="Get \"http://cortex-64-66.xx.com:8500,cortex-64-64.xx.com:8500,cortex-65-148.xx.com:8500/v1/kv/collectors/ring\": dial tcp: lookup cortex-64-66.xx.com:8500,cortex-64-64.xx.com:8500,cortex-65-148.xx.com: no such host"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions