Setting up the minimal environment
Use Kubernetes to deploy the basic HCL Commerce+ Transaction Server environment with the default configuration provided by HCL.
About this task
The fastest way to get started is to create a local testing environment using Kubernetes. Use the following steps to generate this environment.
Note: These steps assume familiarity with Kubernetes cluster management for test and
production environments. For production deployments, consult your IT team to assess
and adapt configurations based on specific business requirements, such as
performance, scalability, and security needs.
Procedure
-
Prepare the Kubernetes Cluster. The default Kubernetes namespace used by
HCL Commerce+ Transaction Server is
hcl-commerce. - Obtain the Commerce+ Transaction Server Helm chart. For instructions on downloading software, see Downloading HCL Commerce+ Transaction Server software.
-
Add the Commerce+ Transaction Server Helm repository in Kubernetes using the
helm repo addcommand. -
Install the prerequisite software:
- Deploy PostgreSQL with the Commerce+ Transaction Server schema.
-
Install Vault and add
default Commerce+ Transaction Server secrets (such as the required
spiuserpassword). - Install Redis.
- Deploy Elasticsearch and Zookeeper only if you are using Elasticsearch-based search.
For detailed information about required software and its supported default settings, see Supported software levels, fixes, and settings for Commerce+ Transaction Server.
- Create a copy of the values.yaml configuration file to use as your customized values file. Give it a new name, for example, my-values.yaml. Update it with your database and Vault details as described in the Commerce+ Transaction Server Helm chart reference, but do not change any other values in this default file unless you are familiar with everything it affects.
- Configure Gateway API, which is used to allow external access to applications deployed within the Kubernetes cluster. Deploy Gateway API using its default settings for Commerce+ Transaction Server URLs.
-
Deploy HCL Commerce+ Transaction Server using the following command.
helm install hcl-commerce hcl-commerce/hcl-commerce -f my-values.yaml -
Validate the deployment. You can check your pods using the following
command.
kubectl get pods -n hcl-commerce -
Test your connections to the Commerce Lab, store and other
components.
Commerce Lab:
Wherehttps://host_name:7443/tooling/loginhost_nameis the fully qualified host name of HCL Commerce+ Transaction Server (for example, wcserver.mydomain.hcl.com is fully qualified).