mirror of https://github.com/hashicorp/consul
26 lines
337 B
HCL
26 lines
337 B
HCL
|
enable_central_service_config = true
|
||
|
|
||
|
config_entries {
|
||
|
bootstrap {
|
||
|
kind = "service-defaults"
|
||
|
name = "s2"
|
||
|
|
||
|
protocol = "http"
|
||
|
|
||
|
mesh_gateway {
|
||
|
mode = "none"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
bootstrap {
|
||
|
kind = "service-resolver"
|
||
|
name = "s2"
|
||
|
|
||
|
failover = {
|
||
|
"*" = {
|
||
|
datacenters = ["secondary"]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|