Skip to content

Commit f658128

Browse files
authored
Update README-NGINX.md
1 parent b433561 commit f658128

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

platform/eks/README-NGINX.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,17 @@ To create the IBM Licensing instance using NGINX, get the [licensing-instance-ng
6262
kubectl create -f licensing-instance-nginx.yaml
6363
```
6464
65-
You can then go back to the [main documentation](README.md#c-retrieving-license-usage) to retrieve license usage.
65+
You will be able to access the IBM License Service by retrieving the URL with this command:
66+
67+
```bash
68+
export LICENSING_URL=$(kubectl get ingress ibm-licensing-service-instance -n ibm-common-services -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')/ibm-licensing-service-instance
69+
export TOKEN=$(kubectl get secret ibm-licensing-token -n ibm-common-services -o jsonpath='{.data.token}' |base64 -d)
70+
```
71+
72+
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:
73+
74+
```bash
75+
curl "http://${LICENSING_URL}/snapshot?token=${TOKEN}" --output report.zip
76+
```
77+
78+
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

Comments
 (0)