Public | Automated Build

Last pushed: 6 months ago
Short Description
Kubernetes auto deployer
Full Description

Crows Nest is a open source project aimed to do rapid CI/CD with Kubernetes by allowing developers to
see feature branches auto-deployed in a testing environment, for better code review
and testing.

Crows Nest will:

  • Create k8s deploy + service + ingress rules in your k8s cluster.
  • create amazon r53 dns rules to your ingress resources.


  • Kubernetes Cluster With Ingress set up
  • Github (default) /Gitlab
  • AWS Route53 (currently only supporting AWS)

Get started

  1. edit the yamls/deployment.yaml file with relevant environment values or add a crow.yaml in your git repo
  2. kubectl create -f yaml/deployment.yaml
  3. kubectl create -f yaml/service.yaml

The above steps will create a barebones deployment of Crows Nest, exposed via NodePort. At this point
you can also add an ingress rule if you desire.

To verify crows nest is running:

  1. get the NodePort value from crows nest service: kubectl describe svc crows-nest
  2. curl healthcheck location: curl {NODE_IP}:{Node_port}/healthCheck this should return 200 OK
    • node ip = your cluster ip (you can use master ip)

Once you have a deployment up and running, next we need to set up the PR/MR webhooks
from either gitlab or github
for the url, choose {node_ip}:{node_port} of you crows-nest deployment. set method to POST and content-type to json

Congrats! you now have a working crows-nest.

Environment Variables

    • Either "gitlab" or "github" (default). Tells which payload parser to use.
    • Route53 zone id. can get this from r53 url
    • base url for r53. i.e if your registered dns is ""
    • get from AWS IAM
    • get from AWS IAM
    • cluster region: defaults to us-west-2
    • Location for kube.conf. REQUIRED if not running inside k8s cluster.
    • IP of the node with an ingress service.
  9. GIT_USER (optional)
    • Git bot account username
  10. GIT_PASS (optional)
    • Git bot account access token


  1. Currently for docker regisry / VCS integration, the namespaces are tightly coupled.
    • that means: if your github repo is username/reponame, the docker registry has to also be in the namespace of username/reponame
  2. Only 1 Node IP is used for the Route53 dns IP. ideally you want ingress to be a daemon set
  3. Each PR image is expected to be built. i.e crows-nest asssumes that if a PR in branch : blue, is created, then an image with tag:blue is also available in docker registry
Docker Pull Command
Source Repository