Skip to content

Commit

Permalink
feat: Odiglet/data collection to be deployed on all nodes (#2159)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirdavid1 authored Jan 8, 2025
1 parent 48089e4 commit 06716ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions cli/cmd/resources/odiglet.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,10 @@ func NewOdigletDaemonSet(ns string, version string, imagePrefix string, imageNam
},
Tolerations: []corev1.Toleration{
{
Key: "node.kubernetes.io/os",
Operator: corev1.TolerationOpEqual,
Value: "windows",
Effect: corev1.TaintEffectNoSchedule,
// This toleration with 'Exists' operator and no key/effect specified
// will match ALL taints, allowing pods to be scheduled on any node
// regardless of its taints (including master/control-plane nodes)
Operator: corev1.TolerationOpExists,
},
},
Volumes: append([]corev1.Volume{
Expand Down
8 changes: 4 additions & 4 deletions helm/odigos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ odiglet:
nodeSelector:
kubernetes.io/os: linux
tolerations:
- effect: NoSchedule
key: node.kubernetes.io/os
operator: Equal
value: windows
## This toleration with 'Exists' operator and no key/effect specified
## will match ALL taints, allowing pods to be scheduled on any node
## regardless of its taints (including master/control-plane nodes)
- operator: Exists
affinity: {}

cli:
Expand Down

0 comments on commit 06716ee

Please sign in to comment.