This repository enables deploying Unbound Tech products in a containerized manner using Kubernetes. This solution supports UKC and CASP.
Note: The CASP deployment includes UKC as subset.
A Kubernetes cluster that is configured with kubectl
access is required. See Getting Started with Amazon EKS to get started with Kubernetes in the Amazon EKS.
- The kubernetes directory contains YAML files with Kubernetes definitions.
- The UKC setup includes three UKC servers along with the option of scaling with more server pairs. See UKC server description for details.
- The CASP setup includes a CASP server and CASP bots.
- Scripts are provided to automate the Kubernetes deployment tasks.
- Run the following command one time.
kubectl create secret docker-registry regcred --docker-server=https://index.docker.io/v1/ --docker-username=<your-name> --docker-password=<your-pword> --docker-email=<your-email>
- Run
kubernetes/start-ukc.sh
to deploy UKC. - Run
kubernetes/start-casp.sh
to deploy both CASP and UKC.
There are also corresponding scripts to stop the servers and delete the setup.
If you need to build the Docker images, follow these steps.
-
Clone or download this repository.
-
The docker directory contains the files required to build Docker images.
-
Build CASP by running the following command in docker/casp/casp-server directory.
docker build
See CASP image build for more details.
-
Build UKC by running the following command in docker/ukc/ukc-server directory.
docker build
See UKC image build for more details.