Developer guide

This document explains how to setup your dev environment.

Fetch dependency

We use glide to manage dependency. Install dependency if you haven't:

$ glide install --strip-vendor

How to build

We provide a script to build binaries, build image, and push image to registry.

Required tools:

  • Docker
  • Go 1.8+
  • git, hg

Build in project root dir:

( under $GOPATH/src/github.com/coreos/etcd-operator/ )
$ IMAGE=${your_image} hack/build/operator/build

IMAGE is the container image, e.g. "gcr.io/coreos/etcd-operator" .