cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to separate Dev and QA processes into separate process groups on a Rancher cluster?

moses_chacko
Organizer

I have a rancher cluster where we are running Dev and QA versions of the same image. However the PG detection clubs there two processes running in two different container as one PG. How can I separate them out so that the QA and Dev show as different process groups?

I was hoping someone in the community has already solved this issue and willing to share.

- Moses.

 

4 REPLIES 4

Radu
Dynatrace Champion
Dynatrace Champion

Hi Moses,

Process Group detection rules should be what you're after (Settings > Process & Containers > Process group detection). In essence, you capture a detail (environment variable, java system properties, or process properties) that is present in both processes and identifies them and use this detail to split the group based on it.

More details here:

https://www.dynatrace.com/support/help/shortlink/p...

Best regards,

Radu


moses_chacko
Organizer

@Radu S. the only thing different is the container name and the container image version. Is there any option for me to put in regex in the PG detection to split based on the captured value.


Radu
Dynatrace Champion
Dynatrace Champion

Container and Container image version are available under 'process property' category. You can't use regex, but you can check if specific text is present (i.e. "contains x") and then extract strings of it between specific delimiters.


That did it. Thanks


Featured Posts