Use kustomize
to scope the Decision Server Console to a dedicated node defined by a specific label.
-
kustomize
3.5+ installed in your PATH -
Helm 3.1
-
A running Kubernetes cluster with an annotated node. You can add a label to a node with the following command:
kubectl label nodes <your-node-name> <your-label>=<value>
Note: Only the label key existence is required for the node to be assigned to the
odm-decisionserverconsole
pod.Refer to the kubernetes documentation for more information.
- Define the label of the dedicated node
export node_label=<your-label>
- Modify the
kustomization.yaml
file
$ cd kustomize
$ sed -i "s/<customization.dedicatedNodeLabel>/${node_label}/g" kustomization.yaml
- Install ODM
helm install test-instance path-to-chart/ibm-odm-prod --post-renderer ./kustomize
- Verify that the
odm-decisionserverconsole
pod is running on the chosen node
oc get pods --output=wide