You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Deploying IBM Operational Decision Manager with NGINX Ingress Controller on Azure AKS
2
+
3
+
The aim of this complementary documentation is to explain how to replace the **AKS default Load Balancer** usage with an **NGINX Ingress Controller**.
4
+
5
+
## Prerequisites
6
+
7
+
You must have created an AKS cluster and set up your environment by following steps :
8
+
-[Prepare your AKS instance 30 min](README.md#prepare-your-aks-instance-30-min)
9
+
-[Create the PostgreSQL Azure instance 10 min](README.md#create-the-postgresql-azure-instance-10-min)
10
+
-[Prepare your environment for the ODM installation](README.md#prepare-your-environment-for-the-odm-installation)
11
+
12
+
## Provision an NGINX Ingress Controller
13
+
14
+
Installing an NGINX Ingress controller allows you to access ODM components through a single external IP address instead of the different IP addresses as seen above. It is also mandatory to retrieve license usage through the IBM License Service.
> The version will probably change after the publication of our documentation so please refer to the actual [documentation](https://kubernetes.github.io/ingress-nginx/deploy/#azure)!
24
+
25
+
2. Get the Ingress controller external IP address (it will appear 80 seconds or so after the resource application above):
26
+
27
+
```shell
28
+
kubectl get service --selector app.kubernetes.io/name=ingress-nginx --namespace ingress-nginx
> By default, the NGINX Ingress controller does not enable sticky session. If you want to use sticky session to connect to DC, refer to [Using sticky session for Decision Center connection](../../contrib/sticky-session/README.md)
*\<password\> is the password provided to the **usersPassword** helm chart parameter
102
+
103
+
## Install the IBM License Service and retrieve license usage
104
+
105
+
This section explains how to track ODM usage with the IBM License Service.
106
+
107
+
Follow the **Installation** section of the [Manual installation without the Operator Lifecycle Manager (OLM)](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.9?topic=ils-installing-license-service-without-operator-lifecycle-manager-olm) documentation.
108
+
109
+
### Patch the IBM Licensing instance with Nginx configuration
110
+
111
+
Get the [licensing-instance-nginx.yaml](./licensing-instance-nginx.yaml) file and run the command:
If your IBM License Service instance is not running properly, refer to this [troubleshooting page](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.9?topic=service-troubleshooting-license).
147
+
148
+
## Troubleshooting
149
+
150
+
If your ODM instances are not running properly, refer to [our dedicated troubleshooting page](https://www.ibm.com/docs/en/odm/9.0.0?topic=900-troubleshooting-support).
151
+
152
+
## Getting Started with IBM Operational Decision Manager for Containers
153
+
154
+
Get hands-on experience with IBM Operational Decision Manager in a container environment by following this [Getting started tutorial](https://github.com/DecisionsDev/odm-for-container-getting-started/blob/master/README.md).
@@ -43,8 +43,6 @@ Then, [create an Azure account and pay as you go](https://azure.microsoft.com/en
43
43
-[Create the PostgreSQL Azure instance 10 min](#create-the-postgresql-azure-instance-10-min)
44
44
-[Prepare your environment for the ODM installation](#prepare-your-environment-for-the-odm-installation)
45
45
-[Install an ODM Helm release and expose it with the service type LoadBalancer 10 min](#install-an-odm-helm-release-and-expose-it-with-the-service-type-loadbalancer-10-min)
46
-
-[Create an NGINX Ingress controller](#create-an-nginx-ingress-controller)
47
-
-[Optional Install an ODM Helm release and expose it with the NGINX Ingress controller 10 min](#optional-install-an-odm-helm-release-and-expose-it-with-the-nginx-ingress-controller-10-min)
48
46
-[Install the IBM License Service and retrieve license usage](#install-the-ibm-license-service-and-retrieve-license-usage)
49
47
-[Troubleshooting](#troubleshooting)
50
48
-[Getting Started with IBM Operational Decision Manager for Containers](#getting-started-with-ibm-operational-decision-manager-for-containers)
@@ -112,7 +110,7 @@ After a few minutes, the command completes and returns JSON-formatted informatio
@@ -269,7 +267,7 @@ Check that you can access the ODM charts:
269
267
```shell
270
268
helm search repo ibm-odm-prod
271
269
NAME CHART VERSION APP VERSION DESCRIPTION
272
-
ibmcharts/ibm-odm-prod 24.0.0 9.0.0.0 IBM Operational Decision Manager License By in...
270
+
ibmcharts/ibm-odm-prod 24.1.0 9.0.0.1 IBM Operational Decision Manager License By in...
273
271
```
274
272
275
273
### Manage a digital certificate (10 min)
@@ -305,12 +303,15 @@ az aks update --name <cluster> --resource-group <resourcegroup> --load-balancer-
305
303
306
304
### Install the ODM release
307
305
306
+
> **Note**
307
+
> If you prefer to use the NGINX Ingress Controller instead of the default AKS Load Balancer, refer to [Deploying IBM Operational Decision Manager with NGINX Ingress Controller on Azure AKS](README-NGINX.md)
@@ -355,131 +356,43 @@ NAME TYPE CLUSTER-IP EXTERN
355
356
You can then open a browser on `https://xxx.xxx.xxx.xxx:9453` to access Decision Center, and on `https://xxx.xxx.xxx.xxx:9443` to access Decision Server console, Decision Server Runtime, and Decision Runner.
356
357
<!-- markdown-link-check-enable -->
357
358
358
-
## Create an NGINX Ingress controller
359
-
360
-
Installing an NGINX Ingress controller allows you to access ODM components through a single external IP address instead of the different IP addresses as seen above. It is also mandatory to retrieve license usage through the IBM License Service.
> The version will probably change after the publication of our documentation so please refer to the actual [documentation](https://kubernetes.github.io/ingress-nginx/deploy/#azure)!
370
-
371
-
2. Get the Ingress controller external IP address (it will appear 80 seconds or so after the resource application above):
372
-
373
-
```shell
374
-
kubectl get service --selector app.kubernetes.io/name=ingress-nginx --namespace ingress-nginx
> By default, the NGINX Ingress controller does not enable sticky session. If you want to use sticky session to connect to DC, refer to [Using sticky session for Decision Center connection](../../contrib/sticky-session/README.md)
*\<password\> is the password provided to the **usersPassword** helm chart parameter
453
-
454
359
## Install the IBM License Service and retrieve license usage
455
360
456
361
This section explains how to track ODM usage with the IBM License Service.
457
362
458
-
Follow the **Installation** section of the [Manual installation without the Operator Lifecycle Manager (OLM)](https://www.ibm.com/docs/en/cpfs?topic=software-manual-installation-without-operator-lifecycle-manager-olm) documentation. Do not follow the **Creating an IBM Licensing instance** part!
363
+
Follow the **Installation** section of the [Installation License Service without Operator Lifecycle Manager (OLM)](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.9?topic=ils-installing-license-service-without-operator-lifecycle-manager-olm) documentation.
459
364
460
-
### Create the Licensing instance
365
+
#### b. Patch the IBM Licensing instance
461
366
462
-
Just run:
367
+
Get the [licensing-instance.yaml](./licensing-instance.yaml) file and run the command:
(More information and use cases on [this page](https://www.ibm.com/docs/en/cpfs?topic=software-configuration).)
373
+
Wait a couple of minutes for the changes to be applied.
374
+
375
+
You can find more information and use cases on [this page](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.9?topic=configuration-configuring-kubernetes-ingress).
376
+
377
+
> **Note**
378
+
> If you choose to use the NGINX Ingress Controller, you must use the [licensing-instance-nginx.yaml](./licensing-instance-nginx.yaml) file. Refer to [Track ODM usage with the IBM License Service with NGINX Ingress Controller](README-NGINX.md#track-odm-usage-with-the-ibm-license-service-with-nginx-ingress-controller).
469
379
470
380
### Retrieve license usage
471
381
472
-
After a couple of minutes, the NGINX load balancer reflects the Ingress configuration and you will be able to access the IBM License Service by retrieving the URL with this command:
382
+
You will be able to access the IBM License Service by retrieving the URL with this command:
export LICENSING_URL=$(kubectl get ingress ibm-licensing-service-instance -n ibm-licensing -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')
386
+
export TOKEN=$(kubectl get secret ibm-licensing-token -n ibm-licensing -o jsonpath='{.data.token}'|base64 -d)
477
387
```
478
388
479
-
You can access the `http://${LICENSING_URL}/status?token=${TOKEN}` URL to view the licensing usage, or retrieve the licensing report .zip file by running:
389
+
> **Note**
390
+
> If `LICENSING_URL` is empty, take a look at the [troubleshooting](#troubleshooting) section.
391
+
392
+
You can access the `http://${LICENSING_URL}:8080/status?token=${TOKEN}` URL to view the licensing usage or retrieve the licensing report .zip file by running:
If your IBM License Service instance is not running properly, refer to this [troubleshooting page](https://www.ibm.com/docs/en/cpfs?topic=software-troubleshooting).
0 commit comments