How to deploy the opensearch cluster with different roles individually like master, data & client pods in kubernates

Hi Team,

We want to deploy the opensearch cluster with different roles like master, data & clients pods in opensearch-2.11.0 version, but in the below link “helm-charts/charts/opensearch at main · opensearch-project/helm-charts · GitHub” we can able to deploy the all roles together in each pod. In my cluster we want to deploy the from 20 to 30 pods in this case all pods are master, data & clients pods roles.
Is it recommended for maintain all the pods as master+data in kubernates cluster?
If we want to deploy the cluster with different roles then what are the required changes done from my end in above helm charts.

Please help us to resolve this issue.

Thanks,
Anil