From a1fd9e5ad40c8ca86d8c48cf211fcff24d3eb0ba Mon Sep 17 00:00:00 2001 From: Derek Mitchell <137436963+dmitchsplunk@users.noreply.github.com> Date: Fri, 28 Mar 2025 07:15:24 -0700 Subject: [PATCH] Update kubernetes-config.rst with operator guidance for Windows nodes When deploying the collector in a K8s cluster with both Linux and Windows nodes, where the operator is enabled, we need to add a node selector to ensure that the operator is deployed to a Linux node, as it will not work if deployed to a Windows node. --- .../collector-kubernetes/kubernetes-config.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gdi/opentelemetry/collector-kubernetes/kubernetes-config.rst b/gdi/opentelemetry/collector-kubernetes/kubernetes-config.rst index 02d222e82..acebddcd0 100644 --- a/gdi/opentelemetry/collector-kubernetes/kubernetes-config.rst +++ b/gdi/opentelemetry/collector-kubernetes/kubernetes-config.rst @@ -305,3 +305,13 @@ Deactivate the ``clusterReceiver`` on one of the installations to avoid cluster- clusterReceiver: enabled: false + +If using the operator, it should be enabled in the Linux configuration only, and it should include a node selector to ensure it targets Linux nodes only: + +.. code-block:: yaml + + operator: + enabled: true + nodeSelector: + kubernetes.io/os: linux +