Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.23 KB

File metadata and controls

42 lines (29 loc) · 1.23 KB

Scope the Decision Server Console to a dedicated node

Use kustomize to scope the Decision Server Console to a dedicated node defined by a specific label.

Prerequisites

  • 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.

Installation

  1. Define the label of the dedicated node
export node_label=<your-label>
  1. Modify the kustomization.yaml file
$ cd kustomize
$ sed -i "s/<customization.dedicatedNodeLabel>/${node_label}/g" kustomization.yaml
  1. Install ODM
helm install test-instance path-to-chart/ibm-odm-prod --post-renderer ./kustomize
  1. Verify that the odm-decisionserverconsole pod is running on the chosen node
oc get pods --output=wide