This section explains how to expose the ODM services to Internet connectivity with a NGINX Ingress controller instead of the standard Google Cloud load balancer.
For reference, see the Google Cloud documentation https://cloud.google.com/community/tutorials/nginx-ingress-gke
-
Use Helm to deploy the NGINX Ingress controller:
helm upgrade --install ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx --namespace ingress-nginx --create-namespace
You can install the product using the dedicated Ingress annotation kubernetes.io/ingress.class: nginx
.
The ODM services will be exposed through NGINX. The secured HTTPS communication is managed by the NGINX ingress controller. So, we disable TLS at container level.
Replace the placeholders in the gcp-values.yaml file and install the chart:
helm install mycompany ibm-helm/ibm-odm-prod --version 24.1.0 \
-f gcp-values.yaml \
--set service.ingress.class=nginx
Note By default, NGINX 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
Refer to the the main README to check the deployment and access the ODM services.
Refer to the main README to install IBM Licensing Service, except that you have to apply this updated IBMLicensing instance instead:
kubectl apply -f licensing-instance-NGINX.yaml -n ibm-licensing
If your ODM instances are not running properly, please refer to our dedicated troubleshooting page.