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 or a gvc through its spec.link
property.
When linking to a workload, the workload must have direct load balancer enabled. A workload MUST link to the IP Set via its direct load balancer.
When linking to a gvc, the gvc must have the dedicated load balancer enabled. A gvc MUST link to the IP Set via its dedicated load balancer
The IP Set will only function if the cross-linking is properly configured (workload/gvc and IP Set link to each other).
Linking to Workload from IP Set
Linking to GVC from IP Set
Linking to IP Set from Workload
Linking to IP Set from Gvc
Releasing
To delete an IP address from a location, you can set the retentionPolicy
field
for the specific location to "free"
.
Example
Status
Once the IP Set is initialized, its status will be updated with the new IP address(es).