Skip to content

Feat: UI for Managing Middleware in Traefik #274

@binaryYuki

Description

@binaryYuki

What problem will this feature address?

I propose an enhancement to the UI to include comprehensive management features for middleware configurations. This functionality will be particularly beneficial for managing and adding middleware, especially in clustered environments where fallback services like error-pages are critical.

Describe the solution you'd like

Key Features

  • Middleware Overview Page: A dedicated section in the UI to view all configured middleware.
    List all middleware with their current configuration.

  • Provide status indicators for active/inactive middleware.
    Add/Edit Middleware: Forms to easily add new middleware or edit existing ones.
    Support for different middleware types (e.g., error-pages, rate-limit, retry, etc.).
    Interactive fields for middleware parameters with validation.

  • Middleware Templates: Predefined templates for common middleware configurations.
    Quick start templates for frequently used middleware setups.
    Custom templates for reusable configurations.

  • Cluster-Wide Management: Tools to apply middleware configurations across multiple instances in a cluster. Synchronization options to ensure consistency.
    Conflict resolution mechanisms.
    Fallback Service Configuration: Enhanced support for configuring fallback services like error-pages.

  • UI support for linking services with middleware.
    Visualization of fallback service flow.

Benefits

  • Ease of Use: Simplifies the process of managing middleware, reducing the need for manual configuration edits.
  • Efficiency: Speeds up deployment and updates of middleware across clusters.
    Error Reduction: Minimizes configuration errors through UI validation and templates.
    Visibility: Improves visibility into middleware configurations and their statuses.

Use Cases

  • Clustered Environments: Quickly deploy and manage middleware across multiple Traefik instances.

  • Error Handling: Efficiently set up and manage fallback services for error handling (e.g., custom error pages).

  • Performance Management: Easily configure and monitor performance-related middleware such as rate limiting and retries.

Describe alternatives you've considered

I think this could be done using internal apis like the traefik dashboard?

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions