Run Exchange on Kubernetes

Kubernetes is a modern, advanced system that allows you to build a production-grade container orchestration environment. HollaEx Kit natively supports Kubernetes for more mission-critical usages.‌

To target the Kubernetes cluster to deploy the exchange or operate the exchange, add --kube flag behind the commands already introduced at Setup or Operation.‌

Prerequisites

Server side‌

  • Kubernetes Cluster (Recommend v1.19 or higher)

  • kubernetes/ingress-nginx installed on Kubernetes (v1.4.0 or older)

  • cert-manager installed on Kubernetes for issuing SSL cert (v1.0 or higher)

  • helm v3 installed.

Local side

  • kubectl (Recommend v1.19 or higher)

  • helm v3 client.

Before running any HollaEx CLI commands for Kubernetes, you should set your KUBECONFIG file ready on your terminal.

export KUBECONFIG=<PATH_TO_YOUR_KUBECONFIG_FILE>

Examples‌

If you want to setup an exchange, run the command below.

hollaex server --setup --kube

To start the exchange, run the command below.

hollaex server --start --kube

Applying custom domains is easy too. Just run the command below.

hollaex prod --kube

To shut down the exchange, run the command below.

hollaex server --stop --kube‌

Running the web server on Kubernetes is also similar.

hollaex web --setup --kube

Commands for Kubernetes are also following the generic HollaEx CLI command style. The only thing you need to add is --kube flag.

Last updated