Skip to main content
NexusOne deploys across three tiers, such as core, modules, and tenant modules. This page covers the deployment of the core and modules tiers, which you install with a Python wrapper script, shared_service_deployer.py. The Python wrapper script handles the deployment work for you. It creates Kubernetes Jobs that run Terraform using the nx1-deployer image, then streams the logs back to your terminal until each Job finishes.

Configuration file

The configuration file is a single YAML file that you write and pass to the shared_service_deployer.py Python wrapper script. The script reads the YAML file, then Terraform uses the variables. The following is sample code that shows how to set NexusOne variables in a config file:
For the full list of variables each component accepts, refer to Deployment variables.

Deploy the core and modules tiers

The shared_service_deployer.py script runs against your Kubernetes API server using a kubeconfig. That triggers a Job that runs the nx1-deployer image, which then runs Terraform. You can run this script manually from a bastion host with cluster access, or wire it into your CI/CD pipeline. Either way, the command itself doesn’t change. The following sample command describes how to deploy both tiers:

Additional resources