-
Notifications
You must be signed in to change notification settings - Fork 332
replace nginz disco with native upstream resolver WPB-15302 #4663
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
Merged
supersven
merged 27 commits into
develop
from
replace-nginz-disco-by-native-upstream-resolution-WPB-15302
Jul 29, 2025
Merged
Changes from 24 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
659a494
WPB-15302
jschaul a62a0a6
remove nginz_disco code
jschaul b4b8851
replace outside upstreams.txt file by an inline block
jschaul 0118508
clusterDomain
jschaul 9e91ce4
remove sidecar container from deployment
jschaul 68ce42e
readme
jschaul 4003f27
changelog, fixup
jschaul f758520
Drive-by: be more graceful when terminating nginz
jschaul 46a35a2
don't try to upload images
jschaul e38d9c6
linting
jschaul 7592fd1
fixup
jschaul 4191265
fixup2
jschaul 31d60fa
actually upgrade nginx to 1.28 (was hardcoded to 1.26 before)
jschaul a16b794
remove upstreams file from 'startNginzK8s'. Unsure if this is keeping…
jschaul aeac7ac
delete more stuff about reloading
jschaul 921b10f
try to inline upstreams in integration-spawned processes
jschaul ada4987
format
jschaul 617fd72
regex...
jschaul b6737cd
format
jschaul 7366073
regex fixup
jschaul 03a3873
fixup
jschaul 1aa6c4e
regexes don't seem to work. Use another way.
jschaul d6fb13a
remove nginx override as versions are the same as in default nix package
jschaul 4352f49
Refactor the nginx upstream creation for Joe's PR (#4679)
supersven 8a2eee8
Replace upstream parser with regex
supersven 1f01413
Make regex non-greedy
supersven 3b221e6
Update integration/test/Testlib/ModService.hs
smatting File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
charts/nginz: remove nginz_disco script and sidecar container, and replace outside upstreams.txt file by an inline block, making use of 'resolve' keyword to directly reference DNS names inside the kubernetes cluster. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -259,6 +259,7 @@ library | |
, HsOpenSSL | ||
, http-client | ||
, http-types | ||
, interpolate | ||
, kan-extensions | ||
, lens | ||
, lens-aeson | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
where do these settings come from?
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.
They are kept from before, see https://github.com/wireapp/wire-server/blob/develop/tools/nginz_disco/nginz_disco.sh#L49-L55 which results in current upstream files looking like
The only difference here is the addition of a
zone
, which according to the docs in https://nginx.org/en/docs/http/ngx_http_upstream_module.html (see 'resolve' keyword) is needed, as