Configuration of static host entries in CoreDNS
Static host entries can be created for NETWAYS Managed Kubernetes in CoreDNS.
To do this, you need to create the ConfigMap coredns-extra-hosts in the kube-system namespace. This can be done, for example, via kubectl.
An example ConfigMap could look like this:
apiVersion: v1
kind: ConfigMap
metadata:
namespace: kube-system
name: coredns-extra-hosts
data:
hosts.list: |
192.168.100.100 example.com
For this you need the appropriate permissions in the cluster.