Files
goma-gateway/docs/quickstart/loadbalanging.md
2024-11-12 13:26:14 +01:00

794 B

title, layout, parent, nav_order
title layout parent nav_order
Load Balancing default Quickstart 4

Load Balancing

Goma Gateway supports round-robin algorithm load balancing.

It comes with an integrated load balancing backends healthcheck.

version: 1.0
gateway:
    routes:
        - path: /
          name: example route
          hosts:
            - example.com
            - example.localhost
          rewrite: /
          methods: []
          healthCheck:
            path: "/"
            interval: 30s
            timeout: 10s
            healthyStatuses: [200,404]
          ## destination: will be override by backends
          destination: ""
          backends:
            - https://example.com
            - https://example2.com
            - https://example4.com
          cors: