# How to add hostgroup to an OpenShift pod "host"

**URL:** <https://community.dynatrace.com/t/how-to-add-hostgroup-to-an-openshift-pod-host/32740>\
**Category:** Container platforms\
**Tags:** openshift, dynatrace-managed, tagging, kubernetes\
**Created:** [September 20, 2021, 2:45pm UTC](https://community.dynatrace.com/t/how-to-add-hostgroup-to-an-openshift-pod-host/32740 "2021-09-20T14:45:30Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [January 20, 2023, 1:07pm UTC](https://community.dynatrace.com/t/how-to-add-hostgroup-to-an-openshift-pod-host/32740/9 "2023-01-20T13:07:47Z")

</div>

Yeah the issue in my case was actually due to developers first having defined host groups and then not using them anymore during an Operator upgrade - that broke down the PGs. If they were never used in the first place, PG detection would have likely worked throughout this change. But anyway, it’s good to note that host groups are one factor in the PG detection, though perhaps not essential in the k8s world 🙂

---

_[View the full topic](https://community.dynatrace.com/t/how-to-add-hostgroup-to-an-openshift-pod-host/32740)._
