Has anyone ever had some of their pods have seemingly random DNS resolution errors? I’ve been fighting to get CWS up and running in my instance for entirely longer than reasonable, and with IFS’ help, they showed me how I can gain access to a prompt within one of my containers. Once I was able to do this, I was able to see if I could reliably reach out to my CWS instance internally, which, as shown in the extract below, flips around constantly.
ifsapp-reporting-cr-778cd9d965-75rgs:~$ curl -v https://myinternalcws.contoso.com/IFSCRWebSetup/IfsReportService.asmx
Could not resolve host: myinternalcws.contoso.com
shutting down connection #0
curl: (6) Could not resolve host: myinternalcws.contoso.com
ifsapp-reporting-cr-778cd9d965-75rgs:~$ curl -v https://myinternalcws.contoso.com/IFSCRWebSetup/IfsReportService.asmx
Host myinternalcws.contoso.com:443 was resolved.
IPv6: (none)
IPv4: 172.16.12.220
Trying 172.16.12.220:443...
2…successful connection details here...]
Connection #0 to host myinternalcws.contoso.com left intact
ifsapp-reporting-cr-778cd9d965-75rgs:~$
I can continually repeat this curl command back to back from each other, and it’s an absolute coinflip if the DNS resolution happens without issue.
I was initially hopeful that I could find a setting in the ifscloud-values.yaml file or elsewhere that would allow me to explicitly tell my pods that I want to point `contoso.com` to an internal DNS server, however I’ve not been able to identify that. I’m also not able to validate this as a feasible option forward as when in the terminal of the reporting-cr pod, the logged in user doesn’t have sudo privileges.
It does seem that I’m able to reliably resolve `contoso.local` from the pod, however when configuring the pod with a self signed certificate, and putting said certificate in the `/secrets` directory and configuration blocks, the reporting pod still lashes back out with me about warnings over a self signed certificate, and drops the connection.
A case is open with IFS, but I’m just hoping someone else out here has seen something similar and could possibly give any suggestions.