Skip to content

A Kubernetes operator that manages Dgraph clusters defined by a custom resource

Notifications You must be signed in to change notification settings

restlabs/kubernetes-operator-dgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

A Kubernetes operator that manages Dgraph clusters defined by a custom resource

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published