Comments (3)
I think I found what is wrong.
FakeDNS forwards any queries that do not match the specified rules to the IP address set through the dns argument. This is set to 8.8.8.8
by default.
This is fine for external queries or in cases where the cluster's DNS (kube-dns/CoreDNS) uses that address.
Replacing this line with:
if query.domain.decode().endswith('.cluster.local.'):
addr = ('kube-dns.kube-system.svc.cluster.local', 53)
else:
addr = ('%s' % (args.dns), 53)
fixes the issue.
A proper solution would be for the FakeDNS script to receive a list of -additional- DNS IPs/ports and patterns. Something like:
[(".cluster.local.", "kube-dns.kube-system.svc.cluster.local", 53)]
.
These would be set in the values.yaml
and be passed to the controller and injector.
What do you think @Devatoria @ptnapoleon?
from chaos-controller.
Thanks for identifying the fix! I do agree that would be the proper solution.
from chaos-controller.
Awesome, thanks @ptnapoleon.
I'll be on holidays but if no one else picks this up I'll take care of it once I'm back :)
from chaos-controller.
Related Issues (20)
- User Request: Feature flag to disable deletion of Disruption HOT 3
- User Request: Support for percentage in CPU stress HOT 3
- User Request: Debugging instructions HOT 3
- User Issue: Status not being a subresource causes issues with control planes HOT 5
- User Issue: Traffic surge once a packet drop network failure finishes HOT 6
- User Issue: CPU pressure does not consume 100% of the pods allocated CPU HOT 1
- User Request: store failures in the Custom Resource's status HOT 11
- User Issue: Security vulnerabilities flagged in Docker images with Go 1.16 HOT 4
- User Request: Release Dynamic Targeting behind a feature flag in controller HOT 4
- User Issue: Unable to terminate node level network experiments HOT 8
- Static Targeting example HOT 2
- User Request: Release cloudProviders behind a feature flag in controller HOT 5
- User Issue: Unable to gracefully terminate pods container HOT 9
- Guidance running CPU pressure experiments HOT 5
- User Issue / Suggestion: Controller arguments do not supersede config file HOT 2
- User Issue: Error pulling image with 7.19.0
- User Issue: CPU Pressure experiment could not inject the disruption successfully HOT 5
- Unable to dynamically target and experiments end on PreviouslyPartiallyInjected 7.22 HOT 4
- 7.26.0 Upgrade Issues - CrashBackLoop HOT 3
- 7.26.0 Upgrade Issues - InjectionStatus PreviouslyPartiallyInjected HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chaos-controller.