Go to file
Karolis Rusenas f135d1f89b deps 2019-04-26 23:47:40 +01:00
.circleci Revert "move to use go mods" 2019-04-25 17:16:02 +01:00
.pipeline GCP cloud build integration and chart lint and install test 2018-11-23 12:54:57 +00:00
.scripts perms 2018-11-23 14:43:51 +00:00
.test add tiller readiness check 2018-11-23 13:53:53 +00:00
approvals changing to uint32 to help rpi build 2018-10-12 21:31:31 +01:00
bot trim prefix if supplied 2019-04-16 22:51:27 +01:00
cache cleanup 2018-12-11 23:21:27 +00:00
chart/keel Correct value for enabling service 2019-04-21 10:29:48 +02:00
cmd/keel initializing basic auth 2019-04-16 21:46:55 +01:00
constants First pass at adding Basic Auth to approvals endpoint 2019-04-16 01:50:23 +01:00
deployment disable pubsub by default 2018-11-11 14:07:08 +00:00
extension Use http.DefaultTransport to support HTTP proxies 2018-11-22 11:31:48 +01:00
hack bump to 0.12.0 2018-10-23 19:12:39 +01:00
internal policy: allow explicitly selecting NilPolicy 2018-12-06 14:17:54 +01:00
provider reading approvals from annotations 2019-04-26 10:41:01 +01:00
registry updating registry client 2019-04-25 22:03:04 +01:00
secrets more errors when secrets not found 2019-04-24 22:59:09 +01:00
static add icon file for keel chart 2018-12-17 13:43:56 +00:00
tests ensuring non zero approvals 2019-04-16 22:18:37 +01:00
trigger approvals test 2019-04-16 22:12:10 +01:00
types adding keel.sh/imagePullSecret label/annotation to specify secrets 2019-04-23 23:22:27 +01:00
util updated test helpers 2019-04-23 23:02:37 +01:00
vendor slack dep updated 2019-04-26 23:47:31 +01:00
version updated repo 2017-11-01 18:25:28 +00:00
.gitignore ignore update 2018-02-25 19:17:21 +00:00
Dockerfile bumping Go version to run with go mod 2019-04-25 13:24:03 +01:00
Dockerfile.aarch64 Dockerfiles for arm 2018-10-14 14:00:55 +01:00
Dockerfile.armhf Dockerfiles for arm 2018-10-14 14:00:55 +01:00
Dockerfile.debian bumping Go version to run with go mod 2019-04-25 13:24:03 +01:00
Dockerfile.local vendor updated 2017-08-04 22:15:11 +01:00
Gopkg.lock deps 2019-04-26 23:47:40 +01:00
Gopkg.toml deps 2019-04-26 23:47:40 +01:00
LICENSE license, readme 2017-06-11 23:44:13 +01:00
Makefile run helper 2019-04-26 18:50:55 +01:00
readme.md Revert "move to use go mods" 2019-04-25 17:16:02 +01:00

readme.md

CircleCI Go Report Docker Pulls

Keel - automated Kubernetes deployments for the rest of us

Keel is a tool for automating Kubernetes deployment updates. Keel is stateless, robust and lightweight.

Keel provides several key features:

  • Kubernetes and Helm providers - Keel has direct integrations with Kubernetes and Helm.

  • No CLI/API - tired of f***ctl for everything? Keel doesn't have one. Gets job done through labels, annotations, charts.

  • Semver policies - specify update policy for each deployment/Helm release individually.

  • Automatic Google Container Registry configuration - Keel automatically sets up topic and subscriptions for your deployment images by periodically scanning your environment.

  • Native, DockerHub, Quay and Azure container registry webhooks support - once webhook is received impacted deployments will be identified and updated.

  • Polling - when webhooks and pubsub aren't available - Keel can still be useful by checking Docker Registry for new tags (if current tag is semver) or same tag SHA digest change (ie: latest).

  • Notifications - out of the box Keel has Slack, Hipchat, Mattermost and standard webhook notifications, more info here

Support

Support Keel's development by:

Lightning quick start

Prerequisites:

You need to add this Chart repo to Helm:

helm repo add keel https://charts.keel.sh 
helm repo update

Install through Helm (with Helm provider enabled by default):

helm upgrade --install keel --namespace=kube-system keel/keel

If you work mostly with regular Kubernetes manifests, you can install Keel without Helm provider support:

helm upgrade --install keel --namespace=keel keel/keel --set helmProvider.enabled="false" 

That's it, see Configuration section now.

Quick Start

A step-by-step guide to install Keel on your Kubernetes cluster is viewable on the Keel website:

https://keel.sh/v1/guide/quick-start.html

Configuration

Once Keel is deployed, you only need to specify update policy on your deployment file or Helm chart:

No additional configuration is required. Enabling continuous delivery for your workloads has never been this easy!

Documentation

Documentation is viewable on the Keel Website:

https://keel.sh/v1/guide/documentation

Contributing

Before starting to work on some big or medium features - raise an issue here so we can coordinate our efforts.

Developing Keel

If you wish to work on Keel itself, you will need Go 1.9+ installed. Make sure you put Keel into correct Gopath and go build (dependency management is done through dep).

To test Keel while developing:

  1. Launch a Kubernetes cluster like Minikube or Docker for Mac with Kubernetes.
  2. Change config to use it: kubectl config use-context docker-for-desktop
  3. Build Keel from cmd/keel directory.
  4. Start Keel with: keel --no-incluster. This will use Kubeconfig from your home.

Running unit tests

Get a test parser (makes output nice):

go get github.com/mfridman/tparse

To run unit tests:

make test

Running e2e tests

Prerequisites:

  • configured kubectl + kubeconfig
  • a running cluster (test suite will create testing namespaces and delete them after tests)
  • Go environment (will compile Keel before running)

Once prerequisites are ready:

make e2e