Git Product home page Git Product logo

kubekite's Introduction

kubekite

kubekite is a manager for buildkite-agent jobs in Kubernetes. It watches the Buildkite API for new build jobs and when one is detected, it launches a Kubernetes job resource to run a single-user pod of buildkite-agent. When the agent is finished, kubekite cleans up the job and the associated pod.

Usage

How to build a new version of the container

  • To build and push to GCR in one go run VERSION=[YOUR VERSION] ./build_all.sh
  • Alternatively
    • Build the full docker image, and tag it with the GCR resource: docker build . -t us.gcr.io/mrt-cicd-i-8c9c/kubekite:$VERSION
    • Push the kubekite image to GCR: docker push us.gcr.io/mrt-cicd-i-8c9c/kubekite:$VERSION
  • To build a specific job: docker build . --build-arg JOB_TEMPLATE=job-templates/[job].yaml -t us.gcr.io/mrt-cicd-i-8c9c/kubekite:$VERSION-[job]

Kubekite is designed to be run within Kubernetes as a single-replica deployment. An example deployment spec can be found here. You can build and deploy kubekite from within Buildkite using the included pipeline.

Note that you will have to modify the deployment spec, these scripts, and the pipeline.yml to suit your infrastructure and preferred Docker registry.

kubekite's People

Contributors

jschwerberg avatar chrissnell avatar kirill-golovan avatar liuvii avatar michailsmith avatar hvuong-sigma avatar

Watchers

 avatar James Cloos avatar  avatar Viral Kadakia avatar Omri Hazan avatar Larry Bordowitz avatar Frank Wilkerson avatar

Forkers

kosmolabs pathcl

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.