-
Notifications
You must be signed in to change notification settings - Fork 229
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 task definition not deregistered #267
Comments
I think what you are referring to is actually a problem in ECS itself and not this plugin. see: aws/containers-roadmap#685 It is not possible to delete task definitions. They go to inactive rather. I see the same issue in my setup. The task definitions are piling up as I use more dynamically created agents. |
@morfien101 As per below in the plugin code, is the plugin not supposed to deregister it?
|
yea, I seen your comment in another issue. I feel you and can easily see how that would be annoying. |
@Sebasti1492 Can you clarify whether or not you're using Task Definition Override? As mentioned here, these aren't deregistered if you're using that. |
In the meantime AWS has implemented aws/containers-roadmap#685, so de-registering task definitions after terminating the workers would be a really cool feature! (we've got >100k dangling task definitions, which are just too many for our cloud security scanner tools) |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
ECS Fargate agent launched using the plugin - amazon-ecs-plugin
Reproduction steps
Expected Results
Once a new ECS task definition is created and registered, the old ECS task definition (previous version) should be deregistered.
Actual Results
The ECS task definitions in console are getting piled up with new version every time a job runs and not deregistered.
Anything else?
No response
The text was updated successfully, but these errors were encountered: