Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit a1fd9e5

Browse files
authored
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.
1 parent 9ccda76 commit a1fd9e5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

gdi/opentelemetry/collector-kubernetes/kubernetes-config.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,3 +305,13 @@ Deactivate the ``clusterReceiver`` on one of the installations to avoid cluster-
305305
306306
clusterReceiver:
307307
enabled: false
308+
309+
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:
310+
311+
.. code-block:: yaml
312+
313+
operator:
314+
enabled: true
315+
nodeSelector:
316+
kubernetes.io/os: linux
317+

0 commit comments

Comments
 (0)