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
[feat] Add IP Reservation support for Services backed by NodeBalancers (#437)
* add annotation for Service reserved IP
* Add creation/update handling for Service LB reserved IP annotation
* Add testcases for reserved IP support to CCM
* Test fails when curl command is ran against the service ip. Added sleep delay for the service to come up
* Added firewall in lb-created-with-reserved-ip-linode-range and lb-created-with-reserved-ip-nb-range testcases. Removed the liveness check in lb-created-with-specified-nb-id-reserved and lb-created-with-reserved-ip-and-nb-id-annotations.
* add unit tests and mocks
* add reserve IP fake API endpoint
* add unit test for reserved IP LB creation/update
* add annotation for Service reserved IP
* Add creation/update handling for Service LB reserved IP annotation
* Add testcases for reserved IP support to CCM
* Added firewall in lb-created-with-reserved-ip-linode-range and lb-created-with-reserved-ip-nb-range testcases. Removed the liveness check in lb-created-with-specified-nb-id-reserved and lb-created-with-reserved-ip-and-nb-id-annotations.
* add initial unit tests and mocks
* add reserve IP fake API endpoint
* add unit test for reserved IP LB creation/update
* update lb docs
---------
Co-authored-by: Henry Wagner <[email protected]>
Message: fmt.Sprintf("IPv4 annotation changed to %s, but NodeBalancer (%d) IP cannot be updated after creation. It will remain %s", newIP, nb.ID, *nb.IPv4),
381
+
Source: v1.EventSource{
382
+
Component: "linode-cloud-controller-manager",
383
+
},
384
+
}, metav1.CreateOptions{})
385
+
iferr!=nil {
386
+
klog.Errorf("failed to create NodeBalancerIPChangeIgnored event for service %s: %s", getServiceNn(service), err)
Copy file name to clipboardExpand all lines: docs/configuration/annotations.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ The keys and the values in [annotations must be strings](https://kubernetes.io/d
43
43
|`backend-ipv4-range`| string || The IPv4 range from VPC subnet to be applied to the NodeBalancer backend. See [Nodebalancer VPC Configuration](#nodebalancer-vpc-configuration)|
44
44
|`backend-vpc-name`| string || VPC which is connected to the NodeBalancer backend. See [Nodebalancer VPC Configuration](#nodebalancer-vpc-configuration)|
45
45
|`backend-subnet-name`| string || Subnet within VPC which is connected to the NodeBalancer backend. See [Nodebalancer VPC Configuration](#nodebalancer-vpc-configuration)|
46
+
|`reserved-ipv4`| string || An existing Reserved IPv4 address that wil be used to initialize the NodeBalancer instance. See [LoadBalancer Configuration](loadbalancer.md#reserved-ipv4-addresses)) |
0 commit comments