XenitAB / xenitab.github.io

Repository gathering documentation for Xenit open source projects
https://xenitab.github.io/
MIT License
7 stars 1 forks source link

Document DNS queries in tenant #93

Open NissesSenap opened 2 years ago

NissesSenap commented 2 years ago

We have seen through out the years that you should define fqdn when performing internal communication when possible, for example: service-nr-one.tenant.svc.cluster.local

This should be document under developer somewhere.

NissesSenap commented 2 years ago

Now we are talking small adjustments but it might be worth talking about ndots config in kubernetes yaml. As long as you use fqdn this should decrease the dns query time.

https://pracucci.com/kubernetes-dns-resolution-ndots-options-and-why-it-may-affect-application-performances.html

  dnsConfig:
    options:
       - name: single-request-reopen
       - name: ndots
         value: "2"