kubernetes-sigs/aws-load-balancer-controller

Merge ALB rules by the same host

オープン

#2,678 opened on 2022/06/06

 (8 件のコメント) (7 件のリアクション) (0 人の担当者)Go (1,644 件のフォーク)auto 404
good first issuekind/featurelifecycle/stale

Repository metrics

Stars
 (4,317 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Is your feature request related to a problem? We would like to be able to merge rules in the ingress resource, on the ALB level.

For example, when creating the following -

spec:
  rules:
    - http:
        paths:
          - path: /test1
            pathType: ImplementationSpecific
            backend:
              service:
                name: service_name
                port:
                  number: 80
          - path: /test2
            pathType: ImplementationSpecific
            backend:
              service:
                name: service_name
                port:
                  number: 80
    - http:
        paths:
          - path: /*
            pathType: ImplementationSpecific
            backend:
              service:
                name: service_name
                port:
                  number: 80

We want the controller to merge the two paths in the first rule, and create one rule in the ALB. We are aware of the conditions annotation, but unfortunately working with it dynamically is very complicated. Is there an easier way?

コントリビューターガイド