-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Adding local dns profile to az aks nodepool update #8880
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
zhoxing-ms
merged 61 commits into
Azure:main
from
anushkasingh16:anushkasingh/local-dns-cli-extension
Jul 21, 2025
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
27e6843
first draft
5c706c2
fixed error
793d69e
lines too long fix
49af9a4
linting fixes
33fbffa
release history
d6c5548
logic fixes
cc19cbe
pr feedback
8abdc40
PR comments
0abae14
linting fixes
b29f6e6
fixed the linting issue
bbae6cb
fixes for PR comments
6fe79dc
minor changes
087ebce
adding tests and minor fixes
3dd272f
Update src/aks-preview/azext_aks_preview/tests/latest/test_aks_comman…
anushkasingh16 e67b2ac
linting + sytax error
099c683
Merge branch 'anushkasingh/local-dns-cli-extension' of https://github…
de8a20c
style fixes
6115a07
linting
1061995
passing the file name
1240e1b
header placement fix
89f9b32
version should be higher than 1.33
41e28fa
testing fixes
54e106a
version
8621d74
json parsing:
3b52ffb
spacing fix
8a19986
json parsing
b61e90a
parsing
483ecb3
json parsing fixes
b988309
test changes
80b8bb4
test data matching
e4a026c
testing data
2e2f161
test logic changes
a73f8b7
Changed serveStale to immediate for ForceTCP
947a4e0
Merge branch 'main' into anushkasingh/local-dns-cli-extension
d35c002
history file fix
e2b87d8
profile name fixes
8caf2db
Revert "profile name fixes"
0bbb49e
parsing fix
dd8ccd1
syntax
a0ab576
seralization attempt
cf1b36d
added logging for testing
62f4742
model initalization fix
77adc7f
more pasrsing changes +printing
2393e59
more parsing
8161ddd
reattempted
582935c
Revert "reattempted"
30b12b7
parsing for update localdns profile
a2e0f91
syntax fix
6189a28
update function
72751ff
moved common logic to _apply_localdns_profile
65db120
Revert "moved common logic to _apply_localdns_profile"
e7428a9
duplicated parsing
e6aab99
Merge branch 'main' into anushkasingh/local-dns-cli-extension
ea29a7f
removed print statements
197055e
style fixes
ad45bfc
recordings latest
4038391
adding mocks for localdns update command
86ad9f7
Merge branch 'main' into anushkasingh/local-dns-cli-extension
6747889
PR comments
a21d7ea
Update src/aks-preview/HISTORY.rst
anushkasingh16 a7b4c13
Update src/aks-preview/HISTORY.rst
anushkasingh16 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
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
47 changes: 47 additions & 0 deletions
47
src/aks-preview/azext_aks_preview/tests/latest/data/localdnsconfig.json
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,47 @@ | ||
| { | ||
| "mode": "Required", | ||
| "kubeDNSOverrides": { | ||
| ".": { | ||
| "cacheDurationInSeconds": 3600, | ||
| "forwardDestination": "ClusterCoreDNS", | ||
| "forwardPolicy": "Sequential", | ||
| "maxConcurrent": 1000, | ||
| "protocol": "PreferUDP", | ||
| "queryLogging": "Error", | ||
| "serveStale": "Verify", | ||
| "serveStaleDurationInSeconds": 3600 | ||
| }, | ||
| "cluster.local": { | ||
| "cacheDurationInSeconds": 3600, | ||
| "forwardDestination": "ClusterCoreDNS", | ||
| "forwardPolicy": "Sequential", | ||
| "maxConcurrent": 1000, | ||
| "protocol": "ForceTCP", | ||
| "queryLogging": "Error", | ||
| "serveStale": "Immediate", | ||
| "serveStaleDurationInSeconds": 3600 | ||
| } | ||
| }, | ||
| "vnetDNSOverrides": { | ||
| ".": { | ||
| "cacheDurationInSeconds": 3600, | ||
| "forwardDestination": "VnetDNS", | ||
| "forwardPolicy": "Sequential", | ||
| "maxConcurrent": 1000, | ||
| "protocol": "PreferUDP", | ||
| "queryLogging": "Error", | ||
| "serveStale": "Verify", | ||
| "serveStaleDurationInSeconds": 3600 | ||
| }, | ||
| "cluster.local": { | ||
| "cacheDurationInSeconds": 3600, | ||
| "forwardDestination": "ClusterCoreDNS", | ||
| "forwardPolicy": "Sequential", | ||
| "maxConcurrent": 1000, | ||
| "protocol": "ForceTCP", | ||
| "queryLogging": "Error", | ||
| "serveStale": "Immediate", | ||
| "serveStaleDurationInSeconds": 3600 | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.