Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
0d53b333
Commit
0d53b333
authored
Jan 23, 2020
by
Miek Gieben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
describe locality
Signed-off-by:
Miek Gieben
<
miek@miek.nl
>
parent
246b8ac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
plugin/traffic/README.md
plugin/traffic/README.md
+7
-1
No files found.
plugin/traffic/README.md
View file @
0d53b333
...
...
@@ -60,13 +60,19 @@ The extended syntax is available if you want more control.
~~~
traffic TO... {
node ID
locality REGION,ZONE,SUBZONE [REGION,ZONE,SUBZONE]...
tls CERT KEY CA
tls_servername NAME
ignore_health
}
~~~
*
node
**ID**
is how
*traffic*
identifies itself to the control plane. This defaults to
`coredns`
.
*
`node`
**ID**
is how
*traffic*
identifies itself to the control plane. This defaults to
`coredns`
.
*
`locality`
has a list of
**REGION,ZONE,SUBZONE**
s. These tell
*traffic*
where its running and what should be
considered local traffic. Each
**REGION,ZONE,SUBZONE**
will be used to match clusters again while generating
responses. The list should descend in proximity. A
`*`
describes a wildcard match. I.e. when
there are 3 regions, US, EU, ASIA, and this CoreDNS is running in EU, you can use:
`locality EU,*,* US,*,*, ASIA,*,*`
.
*
`tls`
**CERT**
**KEY**
**CA**
define the TLS properties for gRPC connection. If this is omitted an
insecure connection is attempted. From 0 to 3 arguments can be provided with the meaning as described below
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment