diff --git a/docs/server/source/cloud-deployment-templates/node-on-kubernetes.rst b/docs/server/source/cloud-deployment-templates/node-on-kubernetes.rst index 7d9a3c1d..03ffb2fe 100644 --- a/docs/server/source/cloud-deployment-templates/node-on-kubernetes.rst +++ b/docs/server/source/cloud-deployment-templates/node-on-kubernetes.rst @@ -3,18 +3,44 @@ Run a BigchainDB Node in a Kubernetes Cluster Assuming you already have a `Kubernetes `_ cluster up and running, this page describes how to run a -BigchainDB node on it. +BigchainDB node in it. -Step 1: Install and Configure kubectl -------------------------------------- + +Step 1: Install kubectl +----------------------- kubectl is the Kubernetes CLI. -See the `Kubernetes docs to install and configure kubectl +If you don't already have it installed, +then see the `Kubernetes docs to install it `_. +Step 2: Configure kubectl +------------------------- + +The default location of the kubectl configuration file is ``~/.kube/config``. +If you don't have that file, then you need to get it. + +If you deployed your Kubernetes cluster on Azure +using the Azure CLI 2.0 (as per :doc:`our template `), +then you can get the ``~/.kube/config`` file using: + +.. code:: bash + + $ az acs kubernetes get-credentials \ + --resource-group \ + --name + + +Step 3: Run a MongoDB Container +------------------------------- + +To start a MongoDB Docker container in a pod on one of the cluster nodes: + +.. code:: bash + + $ kubectl ????? Note: The BigchainDB Dashboard can be deployed as a Docker container, like everything else. -