Skip to content
This repository has been archived by the owner on Jul 16, 2019. It is now read-only.

Config Dynamic Round Robin DRR #84

Open
githubkelv opened this issue Jul 11, 2019 · 1 comment
Open

Config Dynamic Round Robin DRR #84

githubkelv opened this issue Jul 11, 2019 · 1 comment

Comments

@githubkelv
Copy link

githubkelv commented Jul 11, 2019

I'm using VS 2019 to deploy Traefic and my Applications.

Most things are working except for loadbalancing (I'm trying to set to DRR).

I tried the following config in servicemanifest.xml but the dashboard is still showing
Load Balancer Method wrr

Should I edit the .toml file instead of servicemanifest.xml? How do I go about doing it.


  <ServiceTypes>
    <!-- This is the name of your ServiceType. 
         This name must match the string used in RegisterServiceType call in Program.cs. -->
    <StatelessServiceType ServiceTypeName="TheApiType">
      <Extensions>
        <Extension Name="Traefik">
          <Labels xmlns="http://schemas.microsoft.com/2015/03/fabact-no-schema">
            <Label Key="traefik.frontend.rule.none-productapi">PathPrefix: /api/values</Label>
            <Label Key="traefik.enable">true</Label>
            <Label Key="traefik.frontend.passHostHeader">true</Label>
            <Label key="traefik.backend.loadbalancer.method">drr</Label>
          </Labels>
        </Extension>
      </Extensions>
    </StatelessServiceType>
  </ServiceTypes>

@lawrencegripper
Copy link
Collaborator

Hi,

Sorry to hear that, this one is best raised on the Traefik SF repository here https://github.com/containous/traefik-extra-service-fabric

Likely you'll need to have a dive into the source and submit a PR to resolve.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants