Requires abilility to grand SCC privileged
to default
SA to run this tool.
- Edit the
dns-gather-tool.yaml
file to add the hosts - Apply the yaml -
oc apply -f dns-gather-tool.yaml
- daemonset won't start unless
default
serviceaccount has privileged SCC - Grant
scc
privileged
todefault
SA
oc project dns-gather-tool
oc admin policy add-scc-to-user -z default
- Restart the
daemonset
oc delete daemonset/dns-gather-tool
oc apply -f dns-gather-tool.yaml
This should start the daemonset and will start collecting dns lookup info. All sucessfull lookups will be ignored and only the failed ones will be collected.
Use gather-diagnostic-info.sh
to copy the data to your local machine for
further analysis.
- find a better way to bootstrap/deploy the tool
- Add verbose usage info
- Add How it works section