Greetings -
It depends on what exactly you are trying to monitor.
There are three scenarios I think you meant by your description:
1. Can we monitor Kubernetes activities anywhere? Yes, we can. Here is the documentation:
https://www.ibm.com/docs/en/instana-observability/current?topic=instana-monitoring-kubernetes
2. Can we monitor the environment Kubernetes is running on? Yes, we can. Here is the documentation (as far as I know, Kubernetes only runs on Linux):
https://www.ibm.com/docs/en/instana-observability/current?topic=agents-installing-linux
And:
https://www.ibm.com/docs/en/instana-observability/current?topic=technologies-monitoring-os-process
3. Can we monitor within Kubernetes from the Agent installed on the server where Kubernetes is running? Not quite.
To monitor Kubernetes (and to clarify, OpenShift is a Kubernetes extension), we need to enable k8sensor, which is only possible with an Agent installed within the Kubernetes environment.
If there is a different scenario we have not covered here that you are trying to do, please let us know.
-T.J.