To enable a specific north-south service, route or ingress to have its VIP advertised through BGP RHI, use the annotation avi_proxy: {"enable_rhi"}.

For example, to enable BGP RHI for a north-south service, use the following Kubernetes/OpenShift service definition:

apiVersion: v1
kind: Service
metadata:
  name: avisvc
  labels:
    svc: avisvc
  annotations:
    avi_proxy: '{"virtualservice":{"enable_rhi": true, "east_west_placement": false}}'
spec:
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: http
  selector:
    name: avitest