HI Willy, On Thu, Oct 31, 2019 at 8:56 PM Willy Tarreau <[email protected]> wrote: > > Hi Romain, > > On Fri, Oct 25, 2019 at 12:55:31PM +0000, Morotti, Romain D wrote: > > Hello, > > > > Patch attached. Adding an option "http-check send-name-header <header>". > > It adds a header per server in healthchecks, similar usage to > > "http-send-name-header". Built and tested locally. > > So I'm still not totally fond of it to be honest, at an era where > people are using server-templates to dynamically populate their > farms with fixed server names, and will instead replace the FQDN > at run time when populating their farms but I do see at least > some consistency in your use case. > > I thought we could start better with limited extra effort by adding > one argument to the servers, that could later be changed from the > CLI so that users can decide how they update their farms. > > Also for all those using DNS, it's actually the server's FQDN and not > its internal config name which will be required to be sent. As such I > still think that this feature as-is will quickly be deprecated and > dropped in future releases by lack of relevant use case. > > If others think we should take this patch as a temporary step, I'm > not fundamentally against it, I'm just seeing it as a temporary hack. > In this case it will be desirable to write more than just a one-liner > for the keyword documentation entry and explain what it really does > so that it doesn't drive some users to wrong conclusions. > > What do others think ? Igor maybe you have a particular opinion on > this one ? Baptiste, anything from the dynamic use cases you're aware > of ? > > Thanks, > Willy
As far as kubernetes is concerned the proper way to implement cross-cluster setup as in the OP's case is via Federation. I have never done it but, just from looking at the docs, I can say for sure it is not an easy task to take on. Far more complex than forging host headers I must say ;-). Sorry I can't provide any useful input, as a humble user I usually go with what ever the clever people of this great project come up with and I'm sure it will always be the right decision. Regards, Igor

