Skip to content

Commit

Permalink
Add a fixed toleration to the HANA VM
Browse files Browse the repository at this point in the history
The toleration allows admins to isolate nodes specifically for HANA.
HANA VMs can be distributed based on the node labels, therefore the
toleration can be a fixed toleration, just to keep out all other
workloads.

Signed-off-by: Roman Mohr <[email protected]>
  • Loading branch information
rmohr authored and kubevirt-bot committed Jan 17, 2022
1 parent 83a8cbd commit b87dd59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/rhel8.saphana.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ objects:
name: sriov-net3
nodeSelector:
kubevirt.io/workload: ${WORKLOAD_NODE_LABEL_VALUE}
tolerations:
- key: kubevirt.io/workload
operator: Equal
value: hana
effect: NoSchedule
parameters:
- description: Name for the new VM
displayName: Name
Expand Down

0 comments on commit b87dd59

Please sign in to comment.