cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Cluster policy not showing while creating delta live table pipeline

Mbinyala
New Contributor II

Hi all!!!

I have created a cluster policy but when i want to use that while creating dlt pipeline, It is showing none. I have checked I have all the necessary permissions to create cluster policies. Still, in dlt ui it is showing none.

6 REPLIES 6

Rishitha
New Contributor III

Hi, even i'm facing the same issue. I have a policy with all permissions and it is still not showing up in the DLT pipeline setting UI to select.  Please help

btafur
Databricks Employee
Databricks Employee

You can check your cluster policy. There is a property called "cluster_type" where you can specify if it will apply to "dlt" or not. https://docs.databricks.com/en/administration-guide/clusters/policies.html

  "cluster_type": {
    "type": "fixed",
    "value": "dlt"
  },

Rishitha
New Contributor III

@btafur  That helped, the issue is fixed now. Thanks. 

a follow up question, can we give 2 values there for cluster type, something like this

"cluster_type": {
    "type": "fixed",
    "value": "dlt"
  },
"cluster_type": {
"type": "fixed",
"value": "job"
}

or comma separated values.

Thanks again!

btafur
Databricks Employee
Databricks Employee

You should be able to use "allowlist" instead of "fixed" for multiple values. For example:

 "cluster_type": {
  "type": "allowlist",
  "defaultValue": "all-purpose",
  "values": [
   "all-purpose",
   "job",
   "dlt"
  ]
 },

 

Rishitha
New Contributor III

That's perfect thank you. @btafur 

Rishitha
New Contributor III

@btafur  Can we also set the auto_terminate minutes with the policy?  (for the dlt cluster type)

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group