We want to automate the pod restart in dynatrace if there is a performance issue with one of the pod like there is high cpu etc etc and we want to restart that pod, in that case we want dynatrace to come into the picture and call our api to either restart or scale the pods. Please kindly provide some insight to work on this. We need to achieve with with our api.
Solved! Go to Solution.
Probably, you should have a look at Keptn.
If you already have an API that can trigger the POD restart, you just need to Setup a Webhook integration to call your API when a Problem is detected.
You can specify the body what is used for the webhook, so your API knows which POD to restart.
With an Alerting profile you can make sure webhooks are only sent for relevant problems.