best way to add dns search domains?

43 views
Skip to first unread message

Jason Comito

unread,
Nov 1, 2022, 11:55:23 PM11/1/22
to AWX Project
How can I add additional search domains to my containers in AWX 21? I don't want to have use fqdn for certain domains.

V!

unread,
Nov 10, 2022, 7:46:01 AM11/10/22
to AWX Project

This should work for k8s but i have only tested on k3s.

Create a new yaml file and paste in:

apiVersion: v1
kind: ConfigMap
metadata:
  name: kube-dns
  namespace: kube-system
data:
  upstreamNameservers: |
    ["192.168.192.200"]


This will cause all DNS resolutions needed other than kubernetes related fqdn's to be forwarded
Reply all
Reply to author
Forward
0 new messages