- Clone the repository.
git clone [email protected]:quobyte/k8s-operator.git github.com/quobyte/k8s-operator
- Compile and build binary from source.
cd github.com/quobyte/k8s-operator
export GOPATH=$(pwd)
./build #build the operator binary
If you're building for the first time after clone run glide install --strip-vendor
to get the dependencies.
- To run operator outside cluster (skip to 4 to run operator inside cluster)
./operator --kubeconfig <kuberenetes-admin-conf>
Follow Deploy clients, and you can skip step 3 of deploy clients.
- Build the container and push it to repository
./build <repository-url> # push the built image to the container repository-url