Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
Hi, is it possible to add custom tags from init script during cluster initialization ? We would like to automatically add custom tags whenever someone creates a new cluster in databricks.
Hi @Md Tahseen Anam I don't think there is a possibility to use an init script for cust tags. But the easiest way is to use cluster policies. You can mention a list of custom tags in the policy so that you can simply add the policy to the cluster while creating. Other than the tags, you can set the DBR version, spark configs, etc using the cluster policy.
Thanks for your reply. I think cluster policy can be a way to do that if I can force user to select that policy by auto-selecting the policy for them whenever they try to create a new cluster and disabling users from selecting any other policy. Can I do that ?
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.