-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
CDS with strict/logical_dns #8182
Comments
I'll mark this as an enhancement request, but I don't think this has ever been possible. |
For your case, though, I think you can just use the |
I didn't fully process the note in the docs about inotify on ConfigSource yesterday. Just editing the file in-place won't work. When I move a file into the watched path with changes, it does work with 'hosts'. Thanks. |
And, it seems that it works with load_assignment after all (w/ the config above w/o the indentation typo). So, you can probably close this out. Since this is CDS, it just logs invalid config at startup, but does not fail startup (just rejects it). |
I would like to have CDS (currently file based) contain clusters of type strict_dns. It appears the solution in #5186 no longer works of inlining in the CDS cluster definition.
If this is no longer supported, is it still a valid feature request? There is at least one issue related to this in the go-control-plane project, but, I suspect it should be here (envoyproxy/go-control-plane#87 (comment)).
Specifically:
cds.yaml
Basically, in our app the first request would goes to the 'any' compute cluster. After that, the rest of the "interaction" is handled by a specific cluster (say c001 above). The client sends this in a cluster_header.
These auto-register with consul - so, the idea was that all that was needed in envoy to add a new compute cluster was to drop an additional cluster in cds.yaml with its (consul) DNS.
All the clusters are just ignored, so, it is possible I'm missing something obvious. Trace logs show file reloading but, it appears everything is silently ignored.
Nothing relevant before or after those entries.
The text was updated successfully, but these errors were encountered: