teamhephy/builder

List of issues with running 2 or more builder pods in a cluster

Open

#39 opened on Mar 21, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Go (12 forks)auto 404
enhancementhelp wantedproposal

Repository metrics

Stars
 (3 stars)
PR merge metrics
 (PR metrics pending)

Description

From @arschles on January 7, 2016 22:10

This issue tracks the current limitations of builder as a clustered system

  • It uses a filesystem based lockfile to prevent 2 or more git pushes at the same time
    • In a multi-builder setup, this means that multiple git pushes can in fact happen at the same time
    • To solve, the lock will need to be distributed
  • It keeps git repositories on disk and runs pre-receive hooks on them to deploy
    • In a multi-builder setup, this means that one git push may only have to push a few refs, while another identical git push may have to push all refs. Not the end of the world
    • To solve, the refs list will need to be moved off of local disk to a shared location (object storage?)

Copied from original issue: deis/builder#86

Contributor guide