Pod Scheduling
As a best practice when deploying OneDB SQL Data store into kubernetes in production isolate the OneDB Database server pods to a specific set of nodes. Also, make sure no two database server pods are scheduled on the save node.
OneDB Server pod scheduling is controlled with the helm chart parameters:
-
onedb.nodeSelectorRequired
-
onedb.nodeSelector
-
onedb.tolerations
To understand how OneDB handles pod scheduling it is import to understand a few concepts.
-
Assigning Pods to Nodes (Affinity / Anti-affinity)
-
Taints and Tolerations
For more information on Pod scheduling, see kubernetes https://kubernetes.io/.