Skip to content

Commit 0e7449e

Browse files
authored
Add Traefik information (#1016)
1 parent d64b16d commit 0e7449e

File tree

1 file changed

+14
-2
lines changed
  • docs-source/cloudbank/content/account

1 file changed

+14
-2
lines changed

docs-source/cloudbank/content/account/expose.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,20 @@ Now that the account service is deployed, you need to expose it through the API
5252
5353
1. Verify the account service
5454
55-
In the next two commands, you need to provide the correct IP address for the API Gateway in your backend environment. You can find the IP address using this command, you need the one listed in the **`EXTERNAL-IP`** column:
55+
If you are using the [OCI Free Tier single container version](../provision/install-free-trial.md), the steps are a different to get the **EXTERNAL-IP**. In this version Traefik is used. To get the **EXTERNAL-IP** execute the following command to get the **EXTERNAL-IP**.
56+
57+
```shell
58+
$ kubectl get svc -n kube-system
59+
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
60+
kube-dns ClusterIP 10.43.0.10 <none> 53/UDP,53/TCP,9153/TCP 120d
61+
kubelet ClusterIP None <none> 10250/TCP,10255/TCP,4194/TCP 120d
62+
metrics-server ClusterIP 10.43.216.45 <none> 443/TCP 120d
63+
traefik LoadBalancer 10.43.176.16 172.98.0.2 80:32224/TCP,443:31377/TCP 120d
64+
```
65+
66+
The services are only accessible from the host machine (if you want to access the services you can create a SSH tunnel).
67+
68+
If you are using the [OCI Free Tier single container version](../provision/install-free-trial.md) you kan skip this step. In the next two commands, you need to provide the correct IP address for the API Gateway in your backend environment. You can find the IP address using this command, you need the one listed in the **`EXTERNAL-IP`** column:
5669
5770
```shell
5871
$ kubectl -n ingress-nginx get service ingress-nginx-controller
@@ -92,4 +105,3 @@ Now that the account service is deployed, you need to expose it through the API
92105
```
93106
94107
Your service is deployed in the Oracle Backend for Microservices and AI environment and using the Oracle Autonomous Database instance associated with the backend.
95-

0 commit comments

Comments
 (0)