Kubernetes injection was not configured for this process

After trying everything in this thread, we were able to get it to work.
rgarzon1_0-1731369718753.png
We are using GKE, and after reviewing the following link:Kubernetes Monitoring Statistics monitoring | Dynatrace HubWe identified that the Kubernetes API was the issue. We followed these steps:

- Check the control panel IP:We used the following command to retrieve the Kubernetes control plane information:How it works — Dynatrace Docs

kubectl cluster-info

- The result was:Kubernetes control plane is running at https://192.168.0.0- Update Firewall Ingress Rules:We then added this IP to the ingress rules in the firewall using the following command:

gcloud compute firewall-rules create allow-webhook-api-server \
    --direction=INGRESS \
    --action=ALLOW \
    --rules=tcp:8443,8383,100200,8443 \
    --source-ranges=192.168.0.0/8

- Service Restart:

After adding the rules, the webhook service started working again. After rebooting the services, everything resumed functioning properly.Hope it helps