Self Service Summary
You want to monitor your application pods, but the pods fail to start after Oneagent initContainer injection. The pod's events show the following error message:
MountVolume.SetUp failed for volume "oneagent-bin" : kubernetes.io/csi: mounter.SetUpAt failed to get CSI client: driver name csi.oneagent.dynatrace.com not found in the list of registered CSI drivers
Solution
- Ensure the CSI daemon set can schedule a CSI pod on all K8s cluster nodes where monitored applications are running. For example, if there are 5 cluster nodes, then it is required to have 5 CSI-driver pods, one pod per node.
- Verify if the new cluster nodes don't have any custom taints. If there are, please tolerate the csi-driver pod against those custom taints in the csi-driver (operator) manifest (yaml) file. Check this post for more details.