Can we disable some of the cluster layouts for Kuberentes?

While creating the Kuberentes cluster there are several Cluster layouts show up in the Drop down, is there anyway we can diable some of them? so the users cant see all the options from drop down? from the below screen i want to disable the highlited cluster layouts.

You can do this from the DB. Should be a table named compute_type_layout and set enabled to 0 on the layouts you want disabled.

1 Like

CSS would be another approach if you don’t want to maintain directly in the database

/* 
add the id's of the layout types to hide
this hides all but 1.26 cluster and HA cluster
*/

select.compute-type-layout-select option[value = "191"], 
select.compute-type-layout-select option[value = "190"], 
select.compute-type-layout-select option[value = "189"],
select.compute-type-layout-select option[value = "239"]{
  display: none;
}
1 Like

@Ollie_Phillips where we need to execute that CSS? can you provide some instracutions on how to run that CSS?

In Admin > Settings > White Label Settings

Add it in this field:

Thank you so Much, it worked

1 Like