Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECS Fargate port mappings get overridden #700

Closed
profsmallpine opened this issue Sep 21, 2021 · 1 comment
Closed

ECS Fargate port mappings get overridden #700

profsmallpine opened this issue Sep 21, 2021 · 1 comment
Labels
kind/bug Some behavior is incorrect or out of spec

Comments

@profsmallpine
Copy link

I am trying to attach two load balancer to an ecs fargate service. I am running faktory, which exposes ports 7419 + 7420. However, both will not get registered as targets. I can remove one, and the jobs target will work as expected, but I cannot get both working unless I manually register the target in the AWS console.

Steps to reproduce

const faktoryJobsListener = new awsx.lb.NetworkListener("faktory-jobs-traffic", { vpc, port: 7419 })
const faktoryWebListener = new awsx.lb.ApplicationListener("faktory-web-traffic", { vpc, port: 7420 });

const faktory = new awsx.ecs.FargateService("faktory", {
  taskDefinitionArgs: {
    containers: {
      faktory: {
        portMappings: [ faktoryJobsListener, faktoryWebListener ],
        ...
      },
    },
  }
})

I expected that I could direct traffic from two load balancers to a single fargate service, but only 1 listener registers a target.

@profsmallpine profsmallpine added the kind/bug Some behavior is incorrect or out of spec label Sep 21, 2021
@profsmallpine
Copy link
Author

Looks like this has already been noticed and a fix was created: #698. Timeline to cut a release on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

1 participant