tree: dfe812d340c9e84b9a3108b0ee6f6ba8dcc8273d [path history] [tgz]
  1. bind9dns/
  2. deploy_dns.sh
  3. README.md
kubernetes/contrib/dns-server-for-vhost-ingress-testing/README.md

Motivations

Ingress controller implementation in the ONAP cluster is based on the virtual host routing. Testing ONAP cluster requires a lot of entries on the target machines in the /etc/hosts. Adding many entries into the configuration files on testing machines is quite problematic and error prone. The better wait is to create central DNS server with entries for all virtual host pointed to simpledemo.onap.org and add custom DNS server as a target DNS server for testing machines and/or as external DNS for kubernetes cluster.

How to deploy test DNS server:

Run script ./deploy_dns.sh

How to add DNS address on testing machines:

See post deploy info

Test DNS inside cluster (optional)

  1. You can add the following entry after DNS deploy on running cluster at the end of cluster.yaml file (rke)
dns:
    provider: coredns
    upstreamnameservers:
        - <cluster_ip>:31555
  1. You can edit coredns configuration with command: kubectl -n kube-system edit configmap coredns