Acceldata
Pulse

Last updated: Dec 05, 2026 00:26 IST

Deploy the Recommendation Service

Deploy the Recommendation Service add-on to start receiving workload recommendations in Acceldata Pulse.

Prerequisites

  • Acceldata Pulse is deployed and running.
  • Pulse agents are configured and actively collecting workload data from your cluster.
  • MongoDB is accessible from the node where the Recommendation Service will run.

Docker-Based Deployment

If Pulse is deployed with Docker, use the accelo CLI to deploy add-on services.

On a Pulse node, run:

accelo deploy addons

Select Recommendation Service from the interactive list of available add-ons:

? Select the components you would like to install:
 
  [x] Recommendation Service
  [ ] Service Profiler
  [x] Core Connectors
  [x] Alerts (Agents MUST be configured)
  ...
 
[Use arrows to move, space to select, <right> to all, <left> to none, type to filter]

Kubernetes-Based Deployment

If Pulse is deployed on Kubernetes, see Deploy Pulse Add-on Services for Kubernetes deployment instructions.


Configuration Reference

The Recommendation Service is configured through environment variables. Default values are suitable for most deployments and generally do not need to be changed.

These are application-level configuration properties:

  1. To override the default values, update the following file:
/data01/acceldata/config/docker/addons/ad-recom.yml 
  1. Restart the Recommendation Service. 

Polling

Environment Variable

Default

Description

AD_RECOMMENDATIONS_POLLING_ENABLED

true

Enable or disable workload polling. Set to false to pause recommendation evaluation without stopping the service.

AD_RECOMMENDATIONS_POLLING_INTERVAL_MS

5000

Interval in milliseconds between polling cycles.

AD_RECOMMENDATIONS_POLLING_BATCH_SIZE

50

Maximum number of completed runs evaluated per polling cycle.

AD_RECOMMENDATIONS_POLLING_TICK_TIMEOUT_MS

120000

Per-cycle timeout in milliseconds. Cycles that exceed this limit are cancelled and do not advance the checkpoint.

AD_RECOMMENDATIONS_POLLING_SETTLE_LAG_MS

60000

Delay in milliseconds before a completed run becomes eligible for evaluation. Increase this if metrics for recently completed runs are observed to be incomplete.

AD_RECOMMENDATIONS_POLLING_ALLOWED_STATUSES

["SUCCEEDED"]

Completion statuses eligible for evaluation.

Processing

Environment Variable

Default

Description

AD_RECOMMENDATIONS_MAX_PROCESSING_ATTEMPTS

3

Number of retry attempts before a run is marked permanently failed and skipped.

AD_RECOMMENDATIONS_PROCESSING_LOCK_STALE_MS

300000

Age in milliseconds after which a stalled processing lock is recycled and the run is retried.

Recommendations

Environment Variable

Default

Description

AD_RECOMMENDATIONS_RECOMMENDATION_DEDUPE_WINDOW_DAYS

1

Deduplication window in days. The same issue detected in the same scope within this window updates an existing recommendation rather than creating a new one.

Service

Environment Variable

Default

Description

AD_RECOMMENDATIONS_HTTP_PORT

19017

HTTP port the service listens on.

MONGO_URI

mongodb://localhost:27017

MongoDB connection URI.

MONGO_ENCRYPTED

false

Set to true if the MongoDB connection string is encrypted.

Verify the Deployment

After deploying the Recommendation Service, verify that it is running and generating recommendations.

  1. In the Pulse UI, open a completed Spark application.
  2. Select the Recommendations tab.
  3. Verify that recommendations appear within the polling interval after the application completes successfully. By default, the polling interval is 5 seconds.

If recommendations do not appear:

  • Verify that Pulse agents are collecting Spark metrics.
  • Verify that the application completed with a SUCCEEDED status in the Pulse data store.
  • Verify that the Recommendation Service is running and healthy.