You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently. nodepool is managed by kwok controller which is running as pod. kperf runner sub-command might use more network resource, which could impact kwok-controller in that same node.
Ideally, we can deploy kwok-controller into dedicated nodes which have specific labels and only are used for kwok-controllers.
Each input's format is key=value1,value2,value3,.... The value is array using , as seperator.
Based on #17, the virtualcluster/nodes helm chart is using controllerNodeSelector map value to render node affinity.
Background
Currently. nodepool is managed by kwok controller which is running as pod.
kperf runner
sub-command might use more network resource, which could impact kwok-controller in that same node.Ideally, we can deploy kwok-controller into dedicated nodes which have specific labels and only are used for kwok-controllers.
Plan
This feature depends on [helmcli] support YAMLValuesApplier helper function feature.
Add
--affinity
flag inadd
sub-command. This flag is string slice type. https://pkg.go.dev/github.com/urfave/cli#StringSliceFlagEach input's format is
key=value1,value2,value3,...
. The value is array using,
as seperator.Based on #17, the
virtualcluster/nodes
helm chart is usingcontrollerNodeSelector
map value to render node affinity.kperf/manifests/virtualcluster/nodes/templates/statefulsets.tpl
Lines 17 to 31 in 636d5a4
The
add
sub-command should construct inputs into the following YAML value and useYAMLValuesApplier
to render:The text was updated successfully, but these errors were encountered: