Skip to content

Commit

Permalink
Add NodeSelector second deployment
Browse files Browse the repository at this point in the history
Co-authored-by: Lénaïc Huard <[email protected]>
  • Loading branch information
AliDatadog and L3n41c authored Feb 15, 2024
1 parent 65a16f6 commit afd1887
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/datadog/apps/tracegen/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ func K8sAppDefinition(e config.CommonEnvironment, kubeProvider *kubernetes.Provi
},
},
Spec: &corev1.PodSpecArgs{
NodeSelector: pulumi.StringMap{
"eks.amazonaws.com/nodegroup": nodeGroup,
},
Containers: corev1.ContainerArray{
&corev1.ContainerArgs{
Name: pulumi.String("tracegen-tcp"),
Expand Down

0 comments on commit afd1887

Please sign in to comment.