Setting Up Evaluators for a Kubernetes Environment

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.

  1. Go the Ansys Customer Portal and select Downloads > HPC Platform Services.

  2. Download the applicable file:

    OSRequired file
    CentOS 7rep-evaluator-centos7.tgz
    CentOS 8 or later, Ubunturep-evaluator-default.tgz
  3. Unzip the tgz file.

  4. Unzip the tar file.

  5. Change (cd) to the extracted folder. This folder contains the rep-evaluator executable.

  6. Go the Ansys Customer Portal and download the executable file of the solver application.

  7. Create an image and copy the rep-evaluator executable and solver application executable.

  8. 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 $*