By using openstackclient, it is possible to add/remove floating IP to/from server:
usage: openstack server add floating ip [-h] [--fixed-ip-address <ip-address>] <server> <ip-address>
usage: openstack server remove floating ip [-h] <server> <ip-address>
It is better to implement the same for zun container. Possibly, this can be implemented in the Zun OSC plugin https://github.com/openstack/python-zunclient/tree/master/zunclient/osc .
NOTE: nova is deprecating the floating IP endpoints: https://developer.openstack.org/api-ref/compute/#floating-ips-os-floating-ips-deprecated , so zun will follow nova and skip the floating ip support in server side. That said this feature is likely to be a client-side feature.
By using openstackclient, it is possible to add/remove floating IP to/from server:
usage: openstack server add floating ip [-h] [--fixed-ip-address <ip-address>]
<server> <ip-address>
usage: openstack server remove floating ip [-h] <server> <ip-address>
It is better to implement the same for zun container. Possibly, this can be implemented in the Zun OSC plugin https:/ /github. com/openstack/ python- zunclient/ tree/master/ zunclient/ osc .
NOTE: nova is deprecating the floating IP endpoints: https:/ /developer. openstack. org/api- ref/compute/ #floating- ips-os- floating- ips-deprecated , so zun will follow nova and skip the floating ip support in server side. That said this feature is likely to be a client-side feature.