DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Persistent Host alias

    Posted 10/14/20 01:19 PM

    Dears,

    we have some microservice with url - http://micro..com/api

    we are calling this service from Datapower.

    This microservice is also deployed on same worker node of IBM privte cloud where datapower is installed.

    When we do hostlias for microservice on datapower , we are able to call service.

    But if we dont add host alias on datapower , we are not able to call microservice and we are getting error - DNS lookup failed.

    How to achieve this without adding host alias on datapower.



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: Persistent Host alias

    Posted 10/16/20 07:52 AM

    Hi,

    if the microservice is on the same worker, shouldn't you use the service address? Are DP and the microservice in different namespaces?

    --Hermanni



    #DataPower
    #Support
    #SupportMigration


  • 3.  RE: Persistent Host alias

    Posted 10/18/20 10:44 AM

    we are not able to call if we use ip because the ip and port is same for all microservice , only domain name i have different



    #DataPower
    #Support
    #SupportMigration


  • 4.  RE: Persistent Host alias

    Posted 10/19/20 06:18 AM

    Not talking about using IP. You wrote that you are running DP and microservice on ICP? Why not to use pod service address, an explanation can be found from here: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/


    --Hermanni



    #DataPower
    #Support
    #SupportMigration


  • 5.  RE: Persistent Host alias

    Posted 10/19/20 07:37 AM