We’re overhauling Dgraph’s docs to make them clearer and more approachable. If you notice any issues during this transition or have suggestions, please let us know.
You can install a single server Dgraph cluster in Kubernetes.
Verify that you are able to access the nodes in the Kubernetes cluster:
An output similar to this appears:
After your Kubernetes cluster is up, you can use dgraph-single.yaml to start a Zero, Alpha, and Ratel UI services.
Start a StatefulSet that creates a single Pod with Zero
, Alpha
, and
Ratel UI
:
An output similar to this appears:
Confirm that the Pod was created successfully.
An output similar to this appears:
List the containers running in the Pod dgraph-0
:
An output similar to this appears:
You can check the logs for the containers in the pod using
kubectl logs --follow dgraph-0 <CONTAINER_NAME>
.
Port forward from your local machine to the Pod:
Go to http://localhost:8000
to access Dgraph using the Ratel UI.
Delete all the resources using:
We’re overhauling Dgraph’s docs to make them clearer and more approachable. If you notice any issues during this transition or have suggestions, please let us know.
You can install a single server Dgraph cluster in Kubernetes.
Verify that you are able to access the nodes in the Kubernetes cluster:
An output similar to this appears:
After your Kubernetes cluster is up, you can use dgraph-single.yaml to start a Zero, Alpha, and Ratel UI services.
Start a StatefulSet that creates a single Pod with Zero
, Alpha
, and
Ratel UI
:
An output similar to this appears:
Confirm that the Pod was created successfully.
An output similar to this appears:
List the containers running in the Pod dgraph-0
:
An output similar to this appears:
You can check the logs for the containers in the pod using
kubectl logs --follow dgraph-0 <CONTAINER_NAME>
.
Port forward from your local machine to the Pod:
Go to http://localhost:8000
to access Dgraph using the Ratel UI.
Delete all the resources using: