Skip to content

Commit 9da7e87

Browse files
authored
Added documentation for using flexible load balancers (#269)
* updated default kubernetes version to v1.18.10, fixed deprecated interpolation-only expressions * Added documentation for using flexible load balancers Also added documentation for dynamic load balancers of other shapes as well as provided links to documentation and annotations
1 parent 2ec7346 commit 9da7e87

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

docs/instructions.adoc

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@
2525
:uri-oci-documentation: https://docs.cloud.oracle.com/iaas/Content/home.htm
2626
:uri-oci-instance-principal: https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm
2727
:uri-oci-kms: https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm
28+
:uri-oci-loadbalancer-annotations: https://github.com/oracle/oci-cloud-controller-manager/blob/master/docs/load-balancer-annotations.md
2829
:uri-oci-manage-dynamic-groups: https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingdynamicgroups.htm
2930
:uri-oci-manage-policies: https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingpolicies.htm
3031
:uri-oci-ocir: https://docs.cloud.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm
32+
:uri-oci-load-balancers: https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcreatingloadbalancer.htm#Specifyi
33+
:uri-oci-oke-flexible-loadbalancers: https://medium.com/@lmukadam/creating-flexible-oci-load-balancers-with-oke-bd98e0318976
3134
:uri-oci-secret: https://docs.cloud.oracle.com/en-us/iaas/Content/KeyManagement/Tasks/managingsecrets.htm
3235
:uri-oci-authtoken: https://docs.cloud.oracle.com/iaas/Content/Registry/Tasks/registrygettingauthtoken.htm
3336
:uri-oci-waf: https://docs.cloud.oracle.com/en-us/iaas/Content/WAF/Concepts/overview.htm
@@ -73,6 +76,7 @@
7376
. link:#creating-a-service-account-for-cicd-tools[Creating a service account for CI/CD tools]
7477
. link:#enabling-waf[Monitor and Protect your application using OCI WAF]
7578
. link:#enabling-podsecuritypolicy[Enabling PodSecurityPolicy Admissions Controller]
79+
. link:#using-dynamic-and-flexible-load-balancers[Using Dynamic and Flexible Load Balancers]
7680

7781
=== Assumptions
7882

@@ -348,4 +352,27 @@ admission_controller_options = {
348352
Ensure you also read {uri-psp}[the documentation] before enabling it.
349353

350354
****
351-
N.B. This field is updatable. You can set to `true` and `false` and run terraform apply again.
355+
N.B. This field is updatable. You can set to `true` and `false` and run terraform apply again.
356+
****
357+
358+
=== Using Dynamic and Flexible Load Balancers
359+
360+
When you create a service of type LoadBalancer, by default, an OCI Load Balancer with dynamic shape 100Mbps will be created.
361+
362+
You can override this shape by using the {uri-oci-loadbalancer-annotations}[OCI Load Balancer Annotations]. In order to keep using the dynamic shape but change the available total bandwidth to 400Mbps, use the following annotation on your LoadBalancer service:
363+
364+
`service.beta.kubernetes.io/oci-load-balancer-shape: "400Mbps"`
365+
366+
You can also change the shape to flexible and set a minimum and maximum bandwidth:
367+
368+
```
369+
service.beta.kubernetes.io/oci-load-balancer-shape: "flexible"
370+
service.beta.kubernetes.io/oci-load-balancer-shape-flex-min: 50
371+
service.beta.kubernetes.io/oci-load-balancer-shape-flex-max: 200
372+
```
373+
374+
Review the following documentation and articles on creating load balancers of different shapes using Ingress Controllers:
375+
376+
* {uri-oci-load-balancers}[Specifying Alternative Load Balancer Shapes]
377+
378+
* {uri-oci-oke-flexible-loadbalancers}[Creating flexible OCI Load Balancers with OKE]

0 commit comments

Comments
 (0)