File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -281,5 +281,26 @@ See [externally managed infrastructure][externally-managed-cluster-infrastructur
281281using 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
You can’t perform that action at this time.
0 commit comments