I’m completely new to Rancher, so please bear with me
I have some questions regarding DNS issues on Rancher 1.6.14:
At work we use a Rancher environment for CI. This environment has many stacks, one of them based on Grafana (Docker Hub). In this stack we have 2 Grafana related containers, grafana (7.3.4) and grafana-db (running PostgreSQL 9.6.5).
In order to get things running, we had to set the GF_DATABASE_URL variable to postgres://grafana:firstname.lastname@example.org:5432/grafana. “some.ip” is obviously the IP of the grafana-db container. I understand this is bad practice in an environment using floating IPs, but when we tried to use grafana-db instead of the IP, we got an error because grafana-db could not be resolved…
I followed the procedure documented at Troubleshooting FAQs about Rancher, but to little avail.
What am I doing wrong ?