Refer to the top repository readme to find instructions on how to push and tag the product container images to your Docker registry.
-
If Helm is not installed in your Kubernetes cluster, install Helm 2.9.1.
-
Download the ibm-odm-prod-2.1.0.tgz Helm chart.
-
Create a chart YAML template file with the default configuration parameters by using the following command. The
--name
argument sets the name of the release to install.$ helm template \ --name my-odm-prod-release \ /path/to/ibm-odm-prod-2.1.0.tgz > generated-k8s-templates.yaml
-
Install
my-odm-prod-release
with the default configuration by using the following command.$ kubectl apply -f generated-k8s-templates.yaml
The package is deployed asynchronously in a matter of minutes, and is composed of several services.
Note: You can check the status of the pods that you created:
$ kubectl get pods NAME READY STATUS RESTARTS AGE my-odm-prod-release-dbserver-*** 1/1 Running 0 44m my-odm-prod-release-odm-decisioncenter-*** 1/1 Running 0 44m my-odm-prod-release-odm-decisionrunner-*** 1/1 Running 0 44m my-odm-prod-release-odm-decisionserverconsole-*** 1/1 Running 0 44m my-odm-prod-release-odm-decisionserverruntime-*** 1/1 Running 0 44m
The release is an instance of the
ibm-odm-prod
chart. All of the Operational Decision Manager components are now running in a Kubernetes cluster.To verify a deployment, go back to the Post installation steps.
Refer to the ODM for production Certified Kubernetes parameters for a complete list of values that you can configure.
Using Helm, you can specify each parameter with a --set key=value
argument in the helm template
command.
For example:
$ helm template --name my-odm-prod-release \
--set internalDatabase.databaseName=my-db \
--set internalDatabase.user=my-user \
--set internalDatabase.password=my-password \
/path/to/ibm-odm-prod-2.1.0.tgz
It is also possible to use a custom-made .yaml file to specify the values of the parameters when you install the chart. For example:
$ helm template --name my-odm-prod-release -f myvalues.yaml /path/to/ibm-odm-prod-2.1.0.tgz
Tip: Refer to the
sample-values.yaml
file to find the default values used by theibm-odm-prod-2.1.0
chart.
To uninstall and delete a template along with all of the associated releases, use the following command:
$ kubectl delete -f generated-k8s-templates.yaml
Note: The command removes all the Kubernetes components associated with the chart, even Persistent Volume Claims (PVCs), which might contain valuable data.