Cluster policy type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 01:50 AM
Hi guys,
I am creating a cluster policy through json.
"runtime_engine": {
"type": "fixed"
"value": "PHOTON"
}
When I run the above code... PHOTON option is getting enabled but graying out... What would I specify in type field so that the photon option should not be grayed out.
Thank you 😊
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 07:23 AM
Hi Kaniz,
Thanks for the reply.
Yes. This is exactly what I am looking for.
"It appears that you’re trying to configure the runtime_engine in Databricks cluster policy using JSON. The PHOTON option is getting enabled but greyed out, and you’d like to know how to prevent that. Let’s dive into this!"
I don't want it to be grayed out.. I just want it to be checked and accessible...
I used standard Databricks Runtime (11.3 LTS (Scala 2.12, Spark 3.3.0)).
Is there anything other than type=fixed, so that it won't gray out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 12:05 AM
This section includes a reference for each of the available policy types. There are two categories of policy types: fixed policies and limiting policies.
Fixed policies prevent user configuration on an attribute. The two types of fixed policies are:
https://docs.databricks.com/en/admin/clusters/policy-definition.html#supported-policy-types
Beast regards,
Yesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 02:12 AM
Hi Yeshwant,
I did go through that link. No combination of choices work in my scenario. I tried all type options, nothing works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 11:05 AM
Hey,
If you change the type to "allowlist" and provide "PHOTON" and "STANDARD" as options that should fix your issue.
here is an example:
"runtime_engine": {
"type": "allowlist"
"value": ["PHOTON", "STANDARD"]
"defaultValue": "PHOTON"
}