Some data planes may be on Openshift clusters that use VMware NSX Advanced Load Balancer (AVI Kubernetes Operator), which is an advanced ingress controller. In this case, the kube-api will provision an Openshift Route and an IP address will be dynamically assigned. We want the IP address to be available when a user calls the /v2/namespaces/<string:namespace>/services endpoint.
A/C:
move the status logic from gatewayApi to kubeApi
have the gatewayApi call the kubeApi to get the status data
update the kubeApi to enrich the status data with the IP address if it is available
Technical notes:
IP address can be found in the Route detail, if the AVI operator is used on the cluster:
Background:
Some data planes may be on Openshift clusters that use VMware NSX Advanced Load Balancer (AVI Kubernetes Operator), which is an advanced ingress controller. In this case, the
kube-api
will provision an Openshift Route and an IP address will be dynamically assigned. We want the IP address to be available when a user calls the/v2/namespaces/<string:namespace>/services
endpoint.A/C:
gatewayApi
tokubeApi
gatewayApi
call thekubeApi
to get the status datakubeApi
to enrich the status data with the IP address if it is availableTechnical notes:
IP address can be found in the Route detail, if the AVI operator is used on the cluster: