In today post I will describe the usage and deployment of the HCL Commerce v9.1.1 ts-util container in kubernetes.
The ts-util is the container where HCL Commerce has placed the scripts to support the activities related to command lines utilities. HCL Commerce uses several utilities that run under the command line. This activities use non-rest API interfaces to load data into the database(dataload), encrypt passwords(wcs_encrypt), extract data from the database(dataextract), load policies mappings(acpolicies), and many other activities.
One of the first activities you will be faced with when deploying HCL Commerce is encrypting the password for the spiuser. For this activity you will need to launch the ts-util container and use the wcs_encrypt.
Deploying the ts-utils in Kubernetes
To deploy the ts-util container in a K8S environment is very simple:
- Download ts-util.yaml
- Edit the file, specifcally the image variable, and use your docker image repository path
kubectl apply -f ts-utils.yaml
- wait until the container is running
kubectl exec -it ts-utls-5656599bdf-9khjb bash