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
Copy file name to clipboardExpand all lines: docs/content/advanced/microservices.md
+71-83Lines changed: 71 additions & 83 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,86 +63,61 @@ You will need to build the {{< short_app_ref >}} container images and stage them
63
63
64
64
### Ingress
65
65
66
-
To access the {{< short_app_ref >}} GUI and API Server, you can either use a port-forward or an Ingress service. For demonstration purposes, the [Ingress-Nginx Controller](https://kubernetes.github.io/ingress-nginx/deploy/) will be used to create a [Flexible LoadBalancer](https://docs.oracle.com/en-us/iaas/Content/NetworkLoadBalancer/overview.htm)in**OCI**.
66
+
To access the {{< short_app_ref >}} GUI and API Server, you can either use a port-forward or an Ingress service. For demonstration purposes, the [OCI Native Ingress Controller](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengsettingupnativeingresscontroller.htm), which was enabled on the **OKE** cluster as part of the **IaC**, will be used to for public Ingress access.
67
67
68
-
This example will create the loadbalancer exposing port 80 for the {{< short_app_ref >}} GUI and port 8000 for the {{< short_app_ref >}} API Server. It is _HIGHLY_ recommended to protect these ports with [Network Security Groups](https://docs.oracle.com/en-us/iaas/Content/Network/Concepts/networksecuritygroups.htm) (**NSGs**).
68
+
The [Flexible LoadBalancer](https://docs.oracle.com/en-us/iaas/Content/NetworkLoadBalancer/overview.htm) was provisioned using the **IaC**. This example will create the Listeners and Backends to expose port 80 for the {{< short_app_ref >}} GUI and port 8000 for the {{< short_app_ref >}} API Server on the existing LoadBalancer.
69
69
70
-
The service manifest has two values that should be supplied:
70
+
It is _HIGHLY_ recommended to protect these ports with [Network Security Groups](https://docs.oracle.com/en-us/iaas/Content/Network/Concepts/networksecuritygroups.htm) (**NSGs**).
71
71
72
+
The service manifest has five values that should be supplied:
73
+
74
+
- `<lb_compartment_ocid>` - OCID of the LoadBalancer Compartment
75
+
- `<lb_subnet_ocid>` - OCID of the Subnet for the LoadBalancer
76
+
- `<lb_ocid>` - OCID of the LoadBalancer provisioned by IaC
72
77
- `<lb_nsg_ocid>` - **NSG** OCID's to protect the LB ports
73
-
- `<lb_reserved_ip>` - A reserved IP address for the Loadbalancer
78
+
- `<lb_reserved_ip_ocid>` - A reserved IP address for the Loadbalancer
74
79
75
80
These will be output as part of the **IaC** but can be removed from the code if not reserving an IP or protecting the Load Balancer.
76
81
77
-
1. Create a `ingress.yaml`:
78
-
```yaml
79
-
controller:
80
-
kind: DaemonSet
81
-
# Service is configured via its own manifest and is conditional
82
-
service:
83
-
enabled: false
84
-
config:
85
-
ssl-redirect: "false" # NGINX isn't using any TLS certificates, terminated at LB
86
-
use-forwarded-headers: "true"# NGINX will decide on redirection based on headers
0 commit comments