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/load-balancer-annotations.md
+45-1Lines changed: 45 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,15 @@
3
3
This file defines a list of [Service][4]`type: LoadBalancer` annotations which are
4
4
supported by the `oci-cloud-controller-manager`.
5
5
6
-
All annotations are prefixed with `service.beta.kubernetes.io/` or `oci.oraclecloud.com/`. For example:
6
+
All annotations are prefixed with `service.beta.kubernetes.io/` or `oci.oraclecloud.com/` or `oci-network-load-balancer.oraclecloud.com/` (for OCI Network Load Balancer specific annotations). For example:
- The only security list management mode allowed when backend protocol is UDP is "None"
86
+
- `externalTrafficPolicy`should be "Local" for preserving source IP
87
+
- We recommend to set the `security-list-management-mode` as "None" and configure NSG / Security rules on your own.
88
+
89
+
## Network Load Balancer Specific Annotations
90
+
91
+
| Name | Description | Default
92
+
| ----- | ----------- | -------
93
+
| `oci-network-load-balancer.oraclecloud.com/internal` | Create an [internal network load balancer][1]. Cannot be modified after load balancer creation. | `false`
94
+
| `oci-network-load-balancer.oraclecloud.com/subnet` | The OCID of the required regional or AD specific subnet to attach the network load balancer. | Value set for the cluster
95
+
| `oci-network-load-balancer.oraclecloud.com/oci-network-security-groups` | Specifies Network Security Groups' OCIDs to be associated with the network load balancer. | `""`
96
+
| `oci-network-load-balancer.oraclecloud.com/initial-freeform-tags-override` | Specifies one or multiple Freeform tags to apply to the OCI Network Load Balancer. | `""`
97
+
| `oci-network-load-balancer.oraclecloud.com/initial-defined-tags-override` | Specifies one or multiple Defined tags to apply to the OCI Network Load Balancer. | `""`
98
+
| `oci-network-load-balancer.oraclecloud.com/health-check-retries` | The number of retries to attempt before a backend server is considered "unhealthy". | `3`
99
+
| `oci-network-load-balancer.oraclecloud.com/health-check-timeout` | The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. | `3000 ms`
100
+
| `oci-network-load-balancer.oraclecloud.com/health-check-interval` | The interval between health checks requests, in milliseconds. | `3000 ms`
101
+
| `oci-network-load-balancer.oraclecloud.com/backend-policy` | The network load balancer policy for the backend set. Valid values: "TWO_TUPLE", "THREE_TUPLE", or "FIVE_TUPLE" | `"FIVE_TUPLE"`
102
+
| `oci-network-load-balancer.oraclecloud.com/security-list-management-mode` | Specifies the security list mode ("All", "Frontend","None") to configure how security lists are managed. | `"None"`
1. Make sure you have installed [CCM](../README.md) and [CSI](../container-storage-interface.md) version v1.19.12 or later
6
+
7
+
To create a PVC backed by a block volume with a Lower Cost, Balanced, or Higher Performance performance level, set vpusPerGB in the storage class definition as follows:
8
+
9
+
* for a Lower Cost performance level, set vpusPerGB: "0"
10
+
* for a Balanced performance level, set vpusPerGB: "10"
11
+
* for a Higher Performance performance level, set vpusPerGB: "20"
12
+
13
+
## Create Storage Class for high performance
14
+
```yaml
15
+
apiVersion: storage.k8s.io/v1
16
+
kind: StorageClass
17
+
metadata:
18
+
name: oci-high
19
+
provisioner: blockvolume.csi.oraclecloud.com
20
+
parameters:
21
+
vpusPerGB: "20"
22
+
reclaimPolicy: Delete
23
+
volumeBindingMode: WaitForFirstConsumer
24
+
allowVolumeExpansion: true
25
+
```
26
+
27
+
The value of vpusPerGB must be "0", "10", or "20". Other values are not supported.
"opc-request-id", opcRequestID, "loadBalancerType", getLoadBalancerType(spec.service)).Info("Successfully created an loadbalancer update shape request")
0 commit comments