Skip to content

Commit 40c3141

Browse files
Add docs for LBaaS support (#286)
* Add docs for LBaaS support
1 parent 9fc3a28 commit 40c3141

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/src/networking/custom-networking.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,5 +281,26 @@ See [externally managed infrastructure][externally-managed-cluster-infrastructur
281281
using existing VCN infrastructure.
282282
```
283283

284+
## Example spec to use OCI Load Balancer as API Server load balancer
285+
286+
By default, CAPOCI uses [OCI Network Load Balancer][oci-nlb] as API Server load balancer. The load balancer front-ends
287+
control plane hosts to provide high availability access to Kubernetes API. The following spec can be used to
288+
use [OCI Load Balancer][oci-lb] as the API Server load balancer. The change from the default spec is to set
289+
`loadBalancerType` field to "lb" in the `OCICluster` resource.
290+
291+
```yaml
292+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
293+
kind: OCICluster
294+
metadata:
295+
name: "${CLUSTER_NAME}"
296+
spec:
297+
compartmentId: "${OCI_COMPARTMENT_ID}"
298+
networkSpec:
299+
apiServerLoadBalancer:
300+
loadBalancerType: "lb"
301+
```
302+
284303
[sl-vs-nsg]: https://docs.oracle.com/en-us/iaas/Content/Network/Concepts/securityrules.htm#comparison
285304
[externally-managed-cluster-infrastructure]: ../gs/externally-managed-cluster-infrastructure.md#example-spec-for-externally-managed-vcn-infrastructure
305+
[oci-nlb]: https://docs.oracle.com/en-us/iaas/Content/NetworkLoadBalancer/introducton.htm#Overview
306+
[oci-lb]: https://docs.oracle.com/en-us/iaas/Content/Balance/Concepts/balanceoverview.htm#Overview_of_Load_Balancing

0 commit comments

Comments
 (0)