mod_proxy_hcheck with Istio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

we are trying to use apache in version 2.4.58 with modules mod_proxy_balancer, mod_proxy_hcheck and mod_proxy. Goal is to dynamically check the status of the application which is exposed by Istio gateway. 

Problem is that from the Apache server we are able to connect to the application endpoint but Apache register application to the error state. We can't find anything in logs. We are trying to use hcmethod GET, GET11 but nothing works. When we tried hcmethod TCP, that works but it's not final solution for us. 

Probably it will be a problem that Istio is exposing endpoints in HTTP/2 revision. Don't you have a problem with this?

Here is part of our configuration:

  ProxyPassMatch ^/foobar/v1/(.*)$  balancer://application/api/$1
  ProxyPassReverse ^/foobar/v1/(.*)$  balancer://application/api/$1

  ProxyHCExpr checker {%{REQUEST_STATUS} =~ /^[234]/}

  <Proxy balancer://application>
    BalancerMember https://foobar-a.stage.cloud addressttl=3600 hcexpr=checker
    BalancerMember https://foobar-b.stage.cloud addressttl=3600 hcexpr=checker

    # Optional: Load balancing method
    ProxySet lbmethod=byrequests

  </Proxy>

Thank you

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux