Disable ability to choose PHOTON
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Dear all,
as an administrator, I want to restrict developers from choosing 'photon' option in job clusters. I see this in the job definition when they choose it -
"runtime_engine": "PHOTON"
How can I pass this as input in the policy and restrict developers from using photon...
Thank you for the guidance..
Br,
Noor.
- Labels:
-
Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi @noorbasha534 ,
To restrict developers from selecting Photon in job clusters, you need to define a cluster policy that enforces constraints on the "runtime_engine" field.
{
"runtime_engine": {
"type": "fixed",
"value": "STANDARD",
"hidden": true
}
}
•The "type": "fixed" ensures that users cannot modify this value.
• The "value": "STANDARD" forces clusters to only use the Standard runtime, effectively blocking Photon.
•The "hidden": true prevents developers from even seeing this option in the UI.
“I created a new policy called ‘test’ to verify the restrictions, and as you can see, the option doesn’t appear in the menu! 🙂 “ (Without hidden It will appear but you cant select it)
Hope this helps 🙂
Isi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
ah nice...i will try on my side. thanks much.

