# Kubernetes injection was not configured for this process

**URL:** <https://community.dynatrace.com/t/kubernetes-injection-was-not-configured-for-this-process/46057>\
**Category:** Container platforms\
**Tags:** kubernetes\
**Created:** [June 11, 2024, 7:08pm UTC](https://community.dynatrace.com/t/kubernetes-injection-was-not-configured-for-this-process/46057 "2024-06-11T19:08:14Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![rgarzon1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rgarzon1/32/11844_2.png) [@rgarzon1](https://community.dynatrace.com/u/rgarzon1)\
**Post date:** [November 12, 2024, 12:04am UTC](https://community.dynatrace.com/t/kubernetes-injection-was-not-configured-for-this-process/46057/17 "2024-11-12T00:04:32Z")

</div>

After trying everything in this thread, we were able to get it to work.  
 ![rgarzon1_0-1731369718753.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/a7b19e2709805264dd3e942471ff9532016f33ea.png)  
We are using GKE, and after reviewing the following link:[Kubernetes Monitoring Statistics monitoring | Dynatrace Hub](https://www.dynatrace.com/hub/detail/kubernetes-monitoring-statistics/?query=kubernetes+&filter=all)We identified that the Kubernetes API was the issue. We followed these steps:

 ![rgarzon1_0-1731369999570.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/3/73d42a4af57d0bab20ff7a7b099dd871a0bc1867.png)

- Check the control panel IP:We used the following command to retrieve the Kubernetes control plane information:[How it works — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/how-it-works-k8s#cloud-native-resources)

```python
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:

```python
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

```

-&nbsp;Service Restart:

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

---

_[View the full topic](https://community.dynatrace.com/t/kubernetes-injection-was-not-configured-for-this-process/46057)._
