27 Jul 2023 08:08 AM
Host units are consuming by pods and pods is displaying as hosts, I have raised a customer support for this and they asked me to add this line feature.dynatrace.com/injection-failure-policy="fail" in dynakube.yaml file.
Could someone explain why it is necessary and do i have any document for this Flag.
Solved! Go to Solution.
01 Aug 2023 06:33 PM
Hello @manickam,
The failure policy determines what should happen when OneAgent injection fails for a particular pod in a Kubernetes cluster. By default, the failure policy is set to silent. You can override the failure policy for all injected pods that match the DynaKube by setting the feature.dynatrace.com/injection-failure-policy to one of the following values.
for more details please check the following URL:
https://www.dynatrace.com/support/help/shortlink/dto-config-k8s#configure-failure-policy