IP Sets
Overview
An ipSet reserves a public IP address for each location configured within a Global Virtual Cloud (GVC). The public IP address is stored in the object’s status. When a new location is added to a GVC, a new IP address is automatically created if one does not already exist for that location. To prevent ongoing charges, IP addresses must be explicitly released once they are no longer needed.
Binding
An IP Set can be linked to a workload through its spec.link
property. When linking to a workload, the workload must have direct load balancer enabled. A workload MUST link to an IP Set via its direct load balancer. The IP Set will only function if the cross-linking is properly configured (workload and IP Set link to each other).
Linking to Workload from IP Set
Linking to IP Set from Workload
Releasing
To delete an IP address from a location, you can set the retentionPolicy
field
for the specific location to "free"
.
An IP address will not be released unless it is no longer in use (no workload is linked, gvc location not active, etc.)
Example
Status
Once the IP Set is initialized, its status will be updated with the new IP address(es).