-
Notifications
You must be signed in to change notification settings - Fork 37
[CHAOSPLT-1360] Add DNS resolv.conf path customization for network disruptions #1010
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: aymeric.daurelle/CHAOSPLT-1359/feature
Are you sure you want to change the base?
[CHAOSPLT-1360] Add DNS resolv.conf path customization for network disruptions #1010
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
4234dea to
10db19f
Compare
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🔗 Commit SHA: 1a19143 | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
10db19f to
fcbc91d
Compare
fcbc91d to
e363d15
Compare
Adds configuration to customize resolv.conf file paths
for pod and node DNS resolution in network disruptions.
Users can now override default paths via Helm values,
ConfigMap, or CLI flags to support different Kubernetes
distributions (systemd-resolved, NetworkManager, etc.).
Configuration:
- injector.networkDisruption.dnsPodResolvConf
- injector.networkDisruption.dnsNodeResolvConf
Defaults: /etc/resolv.conf (pod),
/mnt/host/etc/resolv.conf (node)
Logs show which resolv.conf files are loaded with their
nameservers for debugging.
Jira: CHAOSPLT-1360
91df8fa to
7b43367
Compare
e363d15 to
1a19143
Compare
| # dnsPodResolvConf: "/etc/resolv.conf" # (optional) path for pod DNS resolv.conf | ||
| # dnsNodeResolvConf: "/mnt/host/etc/resolv.conf" # (optional) path for node DNS resolv.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation looks a little off?

What does this PR do?
Please briefly describe your changes as well as the motivation behind them:
Adds configuration options to specify custom resolv.conf file paths for DNS resolution in network disruptions.
Configuration example:
Code Quality Checklist
Testing
unittests orend-to-endtests.unittests orend-to-endtests.