Comments (3)
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.
@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.
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)
- Question: Automatically horizontally scale when building HOT 5
- what extra does this do over just using the deployment provided in the official tutorial? HOT 1
- what extra does this do over just using the deployment provided in the official tutorial? HOT 1
- how is the GCP service key used? HOT 4
- Make mounting docker socket optional HOT 5
- Remove unnecessary RBAC permissions from chart HOT 6
- Deprecated? HOT 2
- Support Pod annotations HOT 1
- Allow adding extra rules to the clusterrole HOT 4
- Buildkite should provide Docker-in-Docker functionalities HOT 5
- Cannot perform docker run with volume mounts inside step HOT 4
- Regression when using dind.enabled for volumes mounts on GKE HOT 2
- Add better secret support
- Agent version needs to be bumped to 3.25 HOT 1
- Ability to use PVC for caching
- Buildkite agent deployment yaml breaks upon setting certain values in values.yaml
- Allow use of other secrets providers
- Allow not creating service accounts (serviceAccount.create=false) HOT 2
- Handle deployments of multiple agents better
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.