29 Jun 2026 02:10 PM - edited 29 Jun 2026 06:24 PM
Hello all.
We use Dynatrace Managed + Dynatrace OpenShift operator cloud-native full-stack.
When we upgrade / update an OpenShift / K8S cluster, OpenShift nodes (==VM) goes into cordoned state. OpenShift sets up automatically a kind of OpenShift maintenance mode ( =~ alerts silenced) on each node, in turn.
Is there anything in Dynatrace OpenShift operator, which detects this "cordoned " state and subsequently handles Dynatrace Maintenance Window ? I feel there should be. How do people do to set up these maintenance ?
Regards.
Gilles
Solved! Go to Solution.
29 Jun 2026 06:23 PM
Hi.
I did not find doc nor forums entries on that. Not much fortune with Google either. So here is my take on this.
AutoTag ocpmaintenance : Set (and unset) automatically on Kubernetes Nodes « marqued » Cordoned, and related hosts and daemonset workloads
o Entities matching type(KUBERNETES_NODE),kubernetesNodeCordoned(true)
o Entities matching type(HOST),toRelationships.isNodeOfHost(type("KUBERNETES_NODE"),kubernetesNodeCordoned(true))
o Entities matching type(CLOUD_APPLICATION),cloudApplicationDeploymentTypes(KUBERNETES_DAEMON_SET),toRelationships.isInstanceOf(type(CLOUD_APPLICATION_INSTANCE),fromRelationships.runsOn(type("KUBERNETES_NODE"),kubernetesNodeCordoned(true)))+ Maintenance Window including « ocpmaintenance » tagged entities
o Filter by Host, tagged ocpmaintenance
o Filter by Kubernetes node, tagged ocpmaintenance
o Filter by Kubernetes workload, tagged ocpmaintenanceAny one would have a feed-back or prior experience ? Any comments ?
Regards.
30 Jun 2026 11:33 AM - edited 30 Jun 2026 02:54 PM
I also see this MARKED_FOR_TERMINATION thingy
Shouldn't this be integrated in the Dynatrace OpenShift operator ? It is !
When an OpenShift node goes unschedulable
2026-06-29 17:39 Kubernetes node cordoned. Node might be drained or terminated.
Entity my_ocp_host_worker_123456 (10.x.x.x, 10.x.x.x, 10.x.x.x)
Time yesterday, 17:39
Type Marked for termination
dt.event.allow_frequent_issue_detection false
dt.event.description Kubernetes node cordoned. Node might be drained or terminated.
dt.event.group_label Marked for termination
dt.event.impact_level Infrastructure
dt.event.sourceDynatrace Operator
dt.event.timeout 15Featured Posts