Uploaded image for project: 'OpenShift Container Platform (OCP) Strategy'
  1. OpenShift Container Platform (OCP) Strategy
  2. OCPSTRAT-2206

MicroShift support hosts file for CoreDNS resolution

XMLWordPrintable

    • Product / Portfolio Work
    • None
    • 100% To Do, 0% In Progress, 0% Done
    • False
    • Hide

      None

      Show
      None
    • False
    • S
    • None
    • None
    • None
    • None
    • None
    • None

      Feature Overview (aka. Goal Summary)  

      Provide a way to configure an /etct/hosts files on the host that is used by CoreDNS for name resolution, so that names in that hosts file are resolved from within a pod running on MicroShift

      Goals (aka. expected user outcomes)

      The goal is to simplify DNS resolution. In edge deployments, access to DNS configuration is sometimes complicated. A quick and easy way would be an /etc/hosts files with addition entries. CoreDNS (used by MicroShift internally) has a "hosts plugin" which can respect/use such a hosts files. 

      Requirements (aka. Acceptance Criteria):

      1. Provide an optional config option in the MicroShift config file to point to a /etc/hosts file
      2. If the config option is set, configure CoreDNS to utilize that hosts file using the hosts plugin.
      3. A name in the hosts file must be resolved from within any pod, without any further configuration needed to the pod. 
      4. Changes to the hosts file must be reflected immediately without any restarts

      Questions to Answer (Optional):

      1.  do we need help/guidance from the networking team with the CoreDNS config part?

      Out of Scope

      n/a

      Background

      n/a

      Customer Considerations

      This is based on customer request - see linked RFE

      Documentation Considerations

      Needs documented in the networking secition

      Interoperability Considerations

      none expected - maybe networking due to coreDNS config

              dfroehli42rh Daniel Fröhlich
              dfroehli42rh Daniel Fröhlich
              None
              None
              Geri Peterson Geri Peterson
              John George John George
              Shauna Diaz Shauna Diaz
              Derrick Ornelas Derrick Ornelas
              Evgeny Slutsky Evgeny Slutsky
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: