Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Bootstrapping Clowder in Kubernetes

Step 1:

...

Build or Pull Required Images

Start up the NDSDEV container using the following command:

. ./devtools/ndsdev/ndsdevctl run

Once inside of NDSDEV, enter the services/ncsa/clowder folder:

cd /nds/src/services/ncsa/clowder

Pulling the Images from Docker Hub

From services/ncsa/clowder, run the following command to pull all required images:

make all

You should now see Docker pulling down several images. Once it is complete, you can move on to spinning up your cluster.

Building the Images from Source

WARNING: Building these images from source takes a VERY long time (~25 minutes). Pulling the images from docker hub is always preferred.

From services/ncsa/clowder, execute the following commands to build the required images from source:

make git-src
make all-from-src 

Step 2: Bring Up an Empty Cluster

Setup an empty K8 cluster, as described here: Cluster Setup: Development (Local)

Step

...

3: Bring

...

Up All Services

This step MUST be done before the controllers can be started. Create the 3 necessary services using the following command:

...

          value: "amqp://guest:guest@$(CLOWDER_RABBITMQ_PORT_5672_TCP_ADDR):$(CLOWDER_RABBITMQ_PORT_5672_TCP_PORT)/%2F"

Step

...

4: Bring

...

Up Any Controllers (In Order)

1.)  To bring up a MongoDB controller and pod, run the following command:

...