metrics: Update iperf affinity

The iperf deployment is quite a lot out of date
and uses `master` for it's affinity and toleration,
so update this to control-plane, so it can run on
newer Kubernetes clusters

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2025-02-26 12:07:51 +00:00
parent 85bbc0e969
commit 435ee86fdd
2 changed files with 4 additions and 6 deletions

View File

@ -19,7 +19,7 @@ spec:
app: iperf3-client
spec:
tolerations:
- key: node-role.kubernetes.io/master
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
containers:

View File

@ -25,12 +25,10 @@ spec:
- weight: 1
preference:
matchExpressions:
- key: kubernetes.io/role
operator: In
values:
- master
- key: node-role.kubernetes.io/control-plane
operator: Exists
tolerations:
- key: node-role.kubernetes.io/master
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
containers: