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

initContainer 部署

C_T_R_L
Participant

I have a requirement to monitor the specified pod. Application observability with pod runtime injection - Dynatrace Docsif the method of initContainer is used, where do these parameters of initContainer need to be added in deployment.yuml? Do I need to write if else criteria

 

2 REPLIES 2

radek_jasinski
DynaMight Guru
DynaMight Guru

Regarding the use of "if-else" criteria, it's generally not needed in the deployment YAML file. The initContainer will run before your main containers start, and its job is to set up everything needed for monitoring.

Have a nice day!

Thank you very much for your answer. I will try it according to this method

Featured Posts