How to override parameter in UMA

book

Article ID: 242041

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope) DX Application Performance Management

Issue/Introduction

We are using UMA for Openshift and to overrride parameters we put in yaml file the following:
 
- name: apmenv_autoattach_java_proactiveMode_agent_extra_properties
          value: introscope.agent.customProcessName=Openshift-Java
 
but this affects all the attached pods.
 
Is there is a way to override some parameter only on a single pod (i.e. annotation or other)?

 

 

 

Best regards

 

Environment

Release : 10.7.0

Component :

Resolution

 you can use annotations however they need to be made prior to the UMA attachment so annotating the deployment would be the best way to achieve this e.g.
 
kubectl annotate deployment mydeployment ca.broadcom.com/autoattach.java.agent.overrides = "introscope.agent.customProcessName=Openshift-Java"