Skip to content

Databricks Optimization Action Plans & Automation

An action plan is a proposed fix for a finding. It names the change, its safety tier, and the expected savings. LakeSentry is approval-first: every plan requires approval before execution.

LakeSentry creates plans for these findings:

PlanSource findingAfter approval
Terminate ClusterIdle ClusterLakeSentry executes it
Cancel RunRunaway JobLakeSentry executes it
Pause ScheduleRetry StormYou apply it in Databricks
Reduce Auto TerminationLong Auto-Term (disabled or above 120 minutes)You apply it in Databricks
Enable Spot InstancesSpot CandidateYou apply it in Databricks
Convert To Single NodeSingle-NodeYou apply it in Databricks
Scale Down WorkersExcess WorkersYou apply it in Databricks
Upgrade RuntimeOutdated RuntimeYou apply it in Databricks

All other findings give a recommendation without a plan; see the catalog.

The tier describes the risk of the change. It does not change the approval rule, and it does not show whether LakeSentry can execute the plan.

TierMeaning
AutoLow-risk change.
ReviewReview the effect on the workload before approval.
ManualLakeSentry provides the evidence and the proposed change. You apply it.
  1. LakeSentry detects a finding.
  2. It creates a plan when the finding type supports one and the required evidence exists.
  3. An admin or owner reviews the plan type, safety tier, savings estimate, and the evidence of the finding.
  4. The admin or owner approves or rejects the plan.
  5. For Terminate Cluster and Cancel Run, LakeSentry checks that the resource is still in the expected state, then calls the Databricks API. A snoozed or suppressed finding blocks execution.
  6. Check the plan status on the detail page of the finding. Successful execution resolves the finding.

For every other plan type, apply the change in Databricks, verify the result, then mark the finding resolved. Approval alone changes nothing in Databricks.

  • Read the recommendation of the finding first. An informational finding can advise to keep the current configuration.
  • Assess the effect of the change in Databricks. Follow the change-management process of your team.
  • Approvals and rejections are recorded in the Audit Log.