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/nginx-ingress installed on Kubernetes (latest)
  • 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.
1
export KUBECONFIG=<PATH_TO_YOUR_KUBECONFIG_FILE>
Copied!

Examples‌

If you want to setup an exchange, run the command below.
1
hollaex server --setup --kube
Copied!
To start the exchange, run the command below.
1
hollaex server --start --kube
Copied!
Applying custom domains is easy too. Just run the command below.
1
hollaex prod --kube
Copied!
To shut down the exchange, run the command below.
1
hollaex server --stop --kube‌
Copied!
Running the web server on Kubernetes is also similar.
1
hollaex web --setup --kube
Copied!
Commands for Kubernetes are also following the generic HollaEx CLI command style. The only thing you need to add is --kube flag.
Copy link