Skip to content

Add batch volume and container deletion capabilities to concourse/worker #2109

Closed

Description

@shashwathi

Feature Request

What challenge are you facing?

ATC makes multiple calls to worker to delete volumes and containers which results in many connections and overhead on ATC process.

A Modest Proposal

Add batch volume and container deletion to concourse/worker

  • Add another process in worker binaries to query ATC periodically about desired state.
  • Possibly add endpoint on ATC to provider worker desired state.
  • Worker binaries should do some work to adjust its current state to ATC desired state
  • Worker should report back the final executed state to ATC

Parent issue

Activity

  1. added a commit that references this issue on Apr 3, 2018
  2. shashwathi commented on Apr 3, 2018

    @shashwathi
    ContributorAuthor
    • Add endpoint on baggagelcaim for volume deletion
    • Update ATC call the batch API during GC to cleanup orphaned volumes
  3. shashwathi commented on Apr 3, 2018

    @shashwathi
    ContributorAuthor
    • We need batch deletion API, which makes multiple local/remote calls to garden client to delete containers.
    • Client for this new API
    • Beacon reg process needs to forward this addr to ATC
    • ATC should call this client to cleanup orphaned containers
  4. shashwathi commented on Apr 3, 2018

    @shashwathi
    ContributorAuthor

    [dev]reap-containers on worker repo has API, client for reaping containers

  5. added a commit that references this issue on Apr 12, 2018
  6. added this to the v3.12.0 milestone on Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions