Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.41 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.41 KB

kubernetes-operator-dgraph

kubernetes-operator-dgraph is a Kubernetes operator built with operator-sdk and the official Dgraph Helm charts. It aims to simplify deployments of Dgraph clusters by abstracting away the Kubernetes resources behind a custom resource definition.

Many resources use the namespace roshanbhatia.com to signify that this is a community-driven project, not an official one.

Prerequisites

Before getting started, ensure that you have the following dependencies installed on your system:

Getting Started

  1. Create a local kind cluster using the following command:
make create-kind-cluster
  1. Build the operator's docker image.
make docker-build
  1. Load the image into the kind cluster:
make load-image-to-kind
  1. Deploy the docker image to kind:
make deploy
  1. Deploy the Dgraph custom resource sample to kind:
make deploy-sample-to-kind

To clean up the kind cluster resources, use the following command:

make reset-kind-cluster

Attributions

As stated above, this was built with: