Skip to content

Commit 60193bf

Browse files
authored
Update README.md
1 parent 4d6fb55 commit 60193bf

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

platform/azure/README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,23 @@ This section explains how to track ODM usage with the IBM License Service.
362362

363363
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.
364364

365+
#### a. Expose the licensing service using the AKS LoadBalancer
366+
367+
To expose the licensing service using the AKS LoadBalancer, run the command:
368+
369+
```bash
370+
kubectl patch svc ibm-licensing-service-instance -p '{"spec": { "type": "LoadBalancer"}}' -n ibm-licensing
371+
```
372+
373+
Wait a couple of minutes for the changes to be applied.
374+
Then, you should see an EXTERNAL-IP available for the exposed licensing service.
375+
376+
```shell
377+
oc get service -n ibm-licensing
378+
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
379+
ibm-licensing-service-instance LoadBalancer 10.0.58.142 xxx.xxx.xxx.xxx 8080:32301/TCP 10m
380+
```
381+
365382
#### b. Patch the IBM Licensing instance
366383

367384
Get the [licensing-instance.yaml](./licensing-instance.yaml) file and run the command:
@@ -382,7 +399,7 @@ You can find more information and use cases on [this page](https://www.ibm.com/d
382399
You will be able to access the IBM License Service by retrieving the URL with this command:
383400

384401
```bash
385-
export LICENSING_URL=$(kubectl get ingress ibm-licensing-service-instance -n ibm-licensing -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')
402+
export LICENSING_URL=$(kubectl get service ibm-licensing-service-instance -n ibm-licensing -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
386403
export TOKEN=$(kubectl get secret ibm-licensing-token -n ibm-licensing -o jsonpath='{.data.token}' |base64 -d)
387404
```
388405

0 commit comments

Comments
 (0)