Skip to content

Commit

Permalink
Taints Windows nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gab Satchi committed Nov 18, 2020
1 parent de2ac33 commit f75cf9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packaging/flavorgen/flavors/generators.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ func windowsNodeRegistrationOptions() kubeadmv1beta1.NodeRegistrationOptions {
return kubeadmv1beta1.NodeRegistrationOptions{
Name: "{{ ds.meta_data.hostname }}",
KubeletExtraArgs: defaultExtraArgs(),
Taints: []v1.Taint{{Key: "windows", Value: "2019", Effect: v1.TaintEffectNoSchedule}},
}
}

Expand Down

0 comments on commit f75cf9c

Please sign in to comment.