Skip to content

Expand ${DC} to consul datacenter #55

@sielaq

Description

@sielaq

Hi,

we need possibility to use variables like service_name.service.$DC.$DOMAIN in tag,
so it will solve issue when having same plans for multiple datacenters and using consul domains.

This can be solved also in other way around. Adding new fabio.property use.consul.domain or tag
(to use consul domains automatically).
for example:

  • input:
    service: consul
    datacenters: ams, fra
    possible consul domains: consul.service.consul, consul.service.ams.consul, consul.service.fra.consul
    tag: use_consul_domain
  • result:
    fabio generate 3 routes:
    consul.service.consul, consul.service.ams.consul, consul.service.fra.consul that routes to same consul service

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions