Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-8990

Impl to get automatically clusterHost IP

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • None

      What

      • Obtained by the ks8 the Master VIP automatically ( it is the same IP returned when kubectl cluster-info is executed)

      IMPORTANT:

      • It is just required to create the route
      • In OCP we create the route without the need to inform the master VIP. However, we are using the ks8 API and the Ingress resource in order to keep it compatible with kubernetes as well. When it was done I did not found a way to do it work without the IP but is important to re-check.
      • The the URL for the router and to be used in the Bind configMap is mount with this value and the implementation is centralized in the utils.go file.

      Why

      • This value should not be added manually as it is now.

      How

      • Use the ks8 API to get the same value which is shown when the command "kubectl cluster-info" is executed to get the IP
      • Do not forget to update the readme to remove the configuration steps
      • Do not forget to remove the cluster host param from the types and CRs

      Note

      It is something that remains from the POC.

              rh-ee-cmacedo Camila Macedo
              rh-ee-cmacedo Camila Macedo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: