Hello members,
On GKE environment with a classic fullstack deployment, I want to instrument only namespaces which ends with "-pre" and "-pro" and disable all others.
I don't have information about how priorities are managed between rules on documentation.
I suppose (on top to bottom priority ?) did you think this configuration will work on my case :
Thank you in advance.
Regards Aurélien.
Solved! Go to Solution.
Hi @AurelienGravier ,
yes, they are executed in order
I've faced the same scenario and worked fine by using equal, I didn't try to use the "end with" condition but I think it should work with any other condition operator
OK I will try and confirm to you ! Thank you so much.
@Mohamed_Hamdy so perhaps it could be better to start on top with the rule which disable instrumentation if namespace exists and add specific rules after.
@AurelienGravier, no need to add disable Instrumentation if the namespace exists, it will disable the monitoring for all containers
also, you may apply "Do not monitor containers if Kubernetes namespace does not end with", to be honest, I haven't tested this condition yet, but the most important thing is to apply the rules before deploying the operator
Featured Posts