# Kubernetes/Openshift troubleshooting map

**URL:** <https://community.dynatrace.com/t/kubernetes-openshift-troubleshooting-map/49142>\
**Category:** Troubleshooting\
**Tags:** openshift, troubleshooting-map, kubernetes\
**Created:** [December 19, 2024, 8:11am UTC](https://community.dynatrace.com/t/kubernetes-openshift-troubleshooting-map/49142 "2024-12-19T08:11:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahinm](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@shahinm](https://community.dynatrace.com/u/shahinm)\
**Post date:** [December 19, 2024, 8:11am UTC](https://community.dynatrace.com/t/kubernetes-openshift-troubleshooting-map/49142/1 "2024-12-19T08:11:44Z")

</div>

## Getting started

- Main documentation page of [Set up Dynatrace on Kubernetes](https://docs.dynatrace.com/docs/shortlink/kubernetes)
- [Kubernetes](https://isitobservable.io/observability/kubernetes) on **Is It Observable?**

# Product architecture

- [Classic full-stack injection](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/how-it-works#classic)
- [Cloud native full-stack injection](https://docs.dynatrace.com/docs/shortlink/how-it-works-k8s#cloud-native)
- [Application-only monitoring](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/how-it-works#auto)
- [Host monitoring](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/how-it-works#host)
- [Kubernetes Platform Monitoring](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/how-it-works#kubernetes-monitoring)
- [Kubernetes Security Posture Management (KSPM)](https://docs.dynatrace.com/docs/secure/application-security/spm/kspm-get-started)

## Product usage

- Official GitHub repository:
  - [Dynatrace Operator](https://github.com/Dynatrace/dynatrace-operator)
  - [Samples of DynaKube CR](https://github.com/Dynatrace/dynatrace-operator/tree/main/assets/samples/dynakube)

- Guides to deploy OneAgent in various modes:
  - [Kubernetes platform monitoring](https://docs.dynatrace.com/docs/shortlink/installation-k8s-platform-only)
  - [Application observability](https://docs.dynatrace.com/docs/shortlink/installation-k8s-automated-app-monitoring)
  - [Cloud Native&nbsp;Full-Stack observability](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/deployment/full-stack-observability)
  - [Classic Full-Stack Deployment](https://docs.dynatrace.com/docs/shortlink/installation-k8s-classic-fs)
  - [Host Monitoring](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/deployment/other/host-monitoring)
  - [Application observability with pod runtime injection](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/deployment/other/pod-runtime)
  - [Application observability via container build-time injection](https://docs.dynatrace.com/docs/shortlink/installation-k8s-container-buildtime)
  - [Kubernetes Security Posture Management](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/deployment/security-posture-management#expand--expected-result)

## Troubleshooting

- Monitoring issues and troubleshooting
  - [Pods stuck in&nbsp;`Terminating`&nbsp;state after upgrade](https://dt-url.net/lga38l5)
  - [Unable to retrieve the complete list of server APIs](https://dt-url.net/9m838d0)
  - [`CrashLoopBackOff`: Downgrading OneAgent is not supported, please uninstall the old version first](https://dt-url.net/3n838mb)
  - [Crash loop on pods when installing OneAgent](https://dt-url.net/tv0382u)
  - [Deployment seems successful but the&nbsp;`dynatrace-oneagent`&nbsp;container doesn’t show up as ready](https://dt-url.net/ss638y7)
  - [Deployment seems successful, however the&nbsp;`dynatrace-oneagent`&nbsp;image can’t be pulled](https://dt-url.net/lw238h9)
  - [Deployment seems successful, but the&nbsp;`dynatrace-oneagent`&nbsp;container doesn’t produce meaningful logs](https://dt-url.net/38438k2)
  - [Deployment seems successful, but the&nbsp;`dynatrace-oneagent`&nbsp;container isn’t running](https://dt-url.net/6r638b3)
  - [Deployment was successful, but monitoring data isn’t available in Dynatrace](https://dt-url.net/wg237zk)
  - [No pods scheduled on control-plane nodes](https://dt-url.net/fk038ey)
  - [Error when applying the custom resource on GKE](https://dt-url.net/6ye38x5)
  - [`CannotPullContainerError`](https://dt-url.net/df837qz)
  - [Limit log timeframe](https://dt-url.net/lr6370p)
  - [Dynatrace Kubernetes service creation fails when Istio is enabled](https://dt-url.net/qd038te)
  - [Application pods are stuck in terminating state](https://dt-url.net/pf03ng8)
  - [Application pods can’t start post injection](https://community.dynatrace.com/topic/273048)
  - [AKS WASM node-pools troubleshooting](https://dt-url.net/qa03q47)
  - [Cloud Native Full Stack - Pod Injection Validation and Troubleshooting](https://community.dynatrace.com/t5/tkb/workflowpage/tkb-id/troubleshooting/article-id/782)

- Connectivity issues between Dynatrace and Kubernetes cluster
  - [Problem with ActiveGate token](https://dt-url.net/ym238od)
  - [`ImagePullBackoff`&nbsp;error on OneAgent and ActiveGate pods](https://dt-url.net/ye438sc)
  - [There was an error with the TLS handshake](https://dt-url.net/b7638vh)
  - [Invalid bearer token](https://dt-url.net/0h838z2)
  - [Could not check credentials. Process is started by other user](https://dt-url.net/l5a38po)
  - [Internal error occurred: failed calling webhook (…) x509: certificate signed by unknown authority](https://dt-url.net/ffa37o6)
  - [OneAgent unable to connect when using Istio](https://dt-url.net/v7037rw)
  - [Connectivity issues when using Calico](https://dt-url.net/1x437vv)
  - [Dynatrace Service could be missing when Istio is enabled](https://community.dynatrace.com/topic/233608)

- Other
  - [Monitoring not available problem for inactive Kubernetes cluster](https://community.dynatrace.com/topic/262296)
  - [K8s pod OneAgent missing code level monitoring when there is a delay to setup network](https://community.dynatrace.com/topic/261452)
  - [MountVolume Error while migrating from ClassicFullstack to CloudNativeFullStack monitoring Mode Dynatrace in Kubernetes/Openshift cluster](https://community.dynatrace.com/topic/260612)
  - [Troubleshooting PVC not showing data](https://community.dynatrace.com/topic/245026)
  - [[Kubernetes] Node memory usage is greater than memory limits](https://community.dynatrace.com/topic/241886)
  - [Why are there gaps in Kubernetes monitoring of a cluster after I change the Kubernetes settings for this cluster?](https://community.dynatrace.com/topic/232510)
  - [How do I get logs from a pod that is crashing or in crashloopbackoff ? cloudNativeFullStack/PaaS/App Only](https://community.dynatrace.com/topic/222983)
  - [ActiveGate/OneAgent pod won’t start anymore. Failed to pull image on managed cluster.](https://community.dynatrace.com/topic/212784)
  - [Set a certain ActiveGate/OneAgent image version in the Dynatrace Operator](https://community.dynatrace.com/topic/198484)
  - [Container issues and initial information gathering](https://community.dynatrace.com/topic/207469)
  - [Which of my custom dashboards, custom alerts, and SLOs use deprecated Kubernetes metrics?](https://community.dynatrace.com/topic/198098)
  - [Solving Kubernetes Deployment Failures - CrashLoopBackOff](https://community.dynatrace.com/topic/263804)
  - [ImagePullBackOff on K8s 1.35+ with Private Registries (imagePullCredentialsVerificationPolicy](https://community.dynatrace.com/topic/301555)

- Taints and Tolerations for Dynatrace resources
  - [Dynatrace Operator - Having a different number of OA/CSI pods than actual K8S nodes](https://community.dynatrace.com/topic/262171)

- Scraping Prometheus metrics
  - [Excluded Prometheus metrics are still fetched by ActiveGate](https://community.dynatrace.com/topic/262203)
  - [How to troubleshoot missing Prometheus metrics](https://community.dynatrace.com/topic/211379)
  - [A warning message “Counter metric cache limit exceeded” in AG logs](https://community.dynatrace.com/topic/264981)

- Problem detections
  - [Troubleshooting Kubernetes ‘High CPU Throttling’ Alert Problems in Dynatrace](https://community.dynatrace.com/topic/250371)
  - [Troubleshooting Kubernetes CPU Throttling Problems in Dynatrace](https://community.dynatrace.com/topic/250345)

- Generation of Operator’s Support Archives:
  - [Generate a support archive using the `support-archive` subcommand](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/deployment/troubleshooting#support-archive)

- Security:
  - [Kubernetes monitoring modes & security controls](https://community.dynatrace.com/topic/263927)

- Injection
  - [Dynatrace Operator - Cloud Native Full Stack - Pod Injection Validation and Troubleshooting](https://community.dynatrace.com/topic/264697)

## Known issues with Operator components

Below, you can find articles about known issues and their solutions:

| Since | Solved | |
| --- | --- | --- |
| 1.8.0 | 1.8.1 | [Operator 1.8.0 - OpenShift Operator Hub based install - API Monitoring missing](https://community.dynatrace.com/topic/294155) |
| 1.3.0 | 1.4.1 | [Kubernetes Operator CSI driver crashes frequently](https://community.dynatrace.com/topic/272021) |
| 1.1.0 | 1.5.1 | [OneAgent pods unable to validate SSL cert of containerized ActiveGate after upgrading to Dynatrace Operator 1.1.0](https://community.dynatrace.com/topic/255723) |

## How-to guides

- Configure monitoring for namespaces and pods (applies for Cloud Native Fullstack and Application-only deployments):
  - [Monitor specific namespaces](https://docs.dynatrace.com/docs/shortlink/annotate#monitor-specific-namespaces)
  - [Exclude specific namespaces](https://docs.dynatrace.com/docs/shortlink/annotate#exclude-specific-namespaces)
  - [Exclude specific pods in monitored namespaces](https://docs.dynatrace.com/docs/shortlink/annotate#podexclusion)
  - [Exclude specific containers in monitored pods](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/operation/annotate#exclude-specific-containers-in-monitored-pods)
  - [Monitor only specific pods](https://docs.dynatrace.com/docs/shortlink/annotate#monitor-only-specific-pods)
  - [Fine-tuning of injection for applicationMonitoring without CSI driver](https://docs.dynatrace.com/docs/shortlink/annotate#fine-tuning-of-injection-for-applicationmonitoring-without-csi-driver)
  - [Dynatrace Pod Redeployment after image updates within private registry](https://community.dynatrace.com/t5/tkb/workflowpage/tkb-id/troubleshootin)
