When deploying the Autoscaling Service to Kubernetes, you must create an image with the rep-evaluator executable and solver application executables. This image should be used when configuring the autoscaler's available applications.
On the Ansys Customer Portal site, go to the Downloads: Platform Components page.
(To navigate to this page on the Ansys Customer Portal site, select > , then select in the navigation pane.)
Download the applicable file:
OS Select Product File Downloaded Rocky Linux 8.10 for Ansys by CIQ, CentOS 7 hps-evaluator (Centos7) rep-evaluator-centos7.tgz CentOS 8 or later, Ubuntu (versions other than 20.04) hps-evaluator (default) rep-evaluator-default.tgz Ubuntu 20.04 hps-evaluator (unbuntu20_04) rep-evaluator-ubuntu20_04.tgz Use the gunzip command to unpack the tgz file.
gunzip <filename>.tgz
Use tar -xvf to extract the contents of the tar file.
tar -xvf <filename>.tar
Change (cd) to the extracted folder. This folder contains the rep-evaluator executable.
Go the Ansys Customer Portal and download the executable file of the solver application.
Create an image and copy the rep-evaluator executable and solver application executable.
Ensure that the image entrypoint.sh file contains the following instructions:
ANSYS_EVAL_LOGIN=${ANSYS_EVAL_LOGIN:-1} ANSYS_EVAL_BASE_OPTS="--plugin-path=<< plugin path >>" ANSYS_EVAL_LOGIN_OPTS="" if [[ $ANSYS_EVAL_LOGIN -ge 1 ]]; then echo "Logging in ..." << path to rep-evaluator executable >> $ANSYS_EVAL_BASE_OPTS login $ANSYS_EVAL_LOGIN_OPTS fi echo "Starting evaluator ..." echo "Options: $ANSYS_EVAL_BASE_OPTS $*" << path to rep-evaluator executable >> $ANSYS_EVAL_BASE_OPTS $*