Replies: 4 comments 4 replies
-
Thank you so much for creating the discussion 🎉 I've just created the issue #4725 and attached the image to explain the use case as below:
|
Beta Was this translation helpful? Give feedback.
-
And I created PR #4726, seeing your PR #4668 as reference, thank you. This is my idea in the PR, written here #4726 (comment). apiVersion: pipecd.dev/v1beta1
kind: ECSApp
spec:
input:
serviceDefinitionFile: /path/to/servicedef.yaml
taskDefinitionFile: /path/to/taskdef.yaml
targetGroups:
primary:
targetGroupArn: arn:aws:elasticloadbalancing:xyz
containerName: web
containerPort: 80
listenerRuleSelector: # HERE. If not specified, the default rule will be changed.
listenerRuleArns: # Which rules to modify.
- arn:aws:elasticloadbalancing:ap-northeast-1:<account-id>:listener-rule/app/<elb-name>/xxx/yyy/zzz
- arn:aws:elasticloadbalancing:ap-northeast-1:<account-id>:listener-rule/app/<elb-name>/xxx/yyy/zzz2 |
Beta Was this translation helpful? Give feedback.
-
@moko-poi |
Beta Was this translation helpful? Give feedback.
-
We released v0.46.0-rc2, which includes #4733 (config-less) |
Beta Was this translation helpful? Give feedback.
-
Content:
Background:
In our current Canary Release approach for ECS, we can route traffic only to the DefaultListener. We are considering supporting the ability to route to specific listener rules.
Problem:
With the existing implementation, there are multiple listener rules linked to a single listener. This becomes a challenge when requests are distributed based on path patterns, as our current approach does not support this.
Points for Discussion:
Rationale for Current Implementation:
Why have we implemented traffic routing only for the default listener till now?
What are the limitations or considerations that led to this decision?
Proposed Solution - Adding getlistenerRuleArn:
By adding the getlistenerRuleArn function, we could potentially retrieve all rules associated with a listener.
Would this approach allow us to route Canary traffic based on specific listener rules?
What are the potential challenges or drawbacks of this implementation?
Feedback and Suggestions:
We welcome input from the community on this issue.
Are there alternative solutions or considerations we should be aware of?
How can we effectively manage multiple listener rules in the context of Canary Releases?
Beta Was this translation helpful? Give feedback.
All reactions