coreos/krud

Name: krud

Owner: CoreOS

Description: kubernetes rolling update webhook server

Created: 2015-08-25 18:40:12.0

Updated: 2017-09-06 23:56:37.0

Pushed: 2018-01-04 20:28:41.0

Homepage: https://quay.io/repository/coreos/krud

Size: 961

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

krud

krud is a kubernetes rolling-update service for use with docker registry webhook pushes.

For example, when you push a new image to Quay.io, you can configure a HTTP POST webhook. When krud gets the webhook, it does a rolling update of a kubernetes replication controller (almost identical to kubectl rolling-update). krud can run in a separate kubernetes service along side your other services.

WARNING: krud is an early product. It has no authentication, can easily be DDoS'd, and is not widely tested. It is open source so we can improve it and remove this message in the future.

Usage

Configure the webhook to connect to /push at the address it's running, for example: http://krud.company.com/push.

A bad UI exists at / showing status of past update attempts.

Configuration

The following environment variables are used to configure krud:

Required:

Optional:

These options can also be specified on the command line. See krud -help for usage.

Supported Registries

Running on kubernetes

There are example rc.yaml and svc.yaml files. The only required change is setting the KRUD_CONTROLLER_NAME environment variable in rc.yaml.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.