Coder Social home page Coder Social logo

Comments (3)

triarius avatar triarius commented on July 28, 2024

Hi @chendo, unfortunately we've stopped active development on this project. There's a newer, fully supported way to run buildkite-agent on k8s in github.com/buildkite/agent-stack-k8s. You should be able to specify anti-affinity rules in the Buildkite Pipeline YAML for your steps through it.

You're more than welcome to contribute PRs to this repo, however.

from charts.

chendo avatar chendo commented on July 28, 2024

@triarius I see. I've not had a chance to play with agent-stack-k8s just yet, but it doesn't seem to have anything out of the box that address the efficiency issues. If a Job is being created for every step, wouldn't it need to:

  • Checkout from git from scratch
  • Boot a fresh DIND instance
  • Pull all the images on a fresh DIND instance (or build from scratch)
  • Run the step

This seems rather inefficient. I suspect it would be doable to shoehorn in some kind of improvements, but I feel like the agent-stack should have built-in primitives to help with this stuff.

from charts.

triarius avatar triarius commented on July 28, 2024

That's a good call out. The approach we took in agent-stack-k8s is that building container images is a service that will have to be provided by some other means, and then maintaining a build cache is the responsibility of that service. But it's up to the user on what to choose for that, we don't want to make this a primitive for Buildkite Pipeline YAML as we think different users would want to take different approaches, including ones that don't involve docker at all.

from charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.