Skip to content

AllowEmptyServices option does not work with the Swarm provider #12196

Description

@kevinpollet

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?

While reviewing GitHub pull request #10645, we found that the AllowEmptyServices option does not work with the Swarm provider.

Consequently, when a Swarm service is scaled down to zero, the corresponding router becomes inaccessible in Traefik, resulting in a 404 error.

What version of Traefik are you using?

v3.5.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions