kismatic icon indicating copy to clipboard operation
kismatic copied to clipboard

Adding setting the LOCALDOMAIN env variable to "" when updating host files.

Open swade1987 opened this issue 8 years ago • 0 comments

By default, the Go DNS resolution uses initially the server from /etc/resolv.conf file and not /etc/hosts.

The easiest option seems to be to add a LOCALDOMAIN environment variable to the apiserver container.

    env:
      - name: LOCALDOMAIN
        value: ""

Not having the above environment variable set has caused issues with customer installs in the past.

I feel it'd be useful for Kismatic to set this environment variable when in the plan file the update_hosts_files flag is set to true.

Reference: https://github.com/apprenda/kismatic/issues/485

swade1987 avatar Dec 01 '17 15:12 swade1987