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
58a63f53
Commit
58a63f53
authored
Aug 22, 2016
by
cricketliu
Committed by
GitHub
Aug 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
Grammatical fixes.
parent
bfb89d8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
middleware/kubernetes/README.md
middleware/kubernetes/README.md
+8
-8
No files found.
middleware/kubernetes/README.md
View file @
58a63f53
...
...
@@ -46,7 +46,7 @@ This is the default kubernetes setup, with everything specified in full:
# Only expose the k8s namespace "demo"
namespaces demo
# Only expose the records for kubernetes objects
# that match
es
this label selector. The label
# that match this label selector. The label
# selector syntax is described in the kubernetes
# API documentation: http://kubernetes.io/docs/user-guide/labels/
# Example selector below only exposes objects tagged as
...
...
@@ -54,7 +54,7 @@ This is the default kubernetes setup, with everything specified in full:
labels environment in (staging, qa),application=nginx
}
# Perform DNS response caching for the coredns.local zone
# Cache timeout is
provided by the
integer in seconds
# Cache timeout is
specified by an
integer in seconds
#cache 180 coredns.local
}
~~~
...
...
@@ -63,7 +63,7 @@ Defaults:
*
If the
`namespaces`
keyword is omitted, all kubernetes namespaces are exposed.
*
If the
`template`
keyword is omitted, the default template of "{service}.{namespace}.{zone}" is used.
*
If the
`resyncperiod`
keyword is omitted, the default resync period is 5 minutes.
*
The
`labels`
keyword is only used when filtering
of
results based on kubernetes label selector syntax
*
The
`labels`
keyword is only used when filtering results based on kubernetes label selector syntax
is required. The label selector syntax is described in the kubernetes API documentation at:
http://kubernetes.io/docs/user-guide/labels/
...
...
@@ -127,7 +127,7 @@ The command to launch CoreDNS is:
$ ./coredns -conf conf/k8sCoreFile
~~~
In a separate terminal a
dns
query can be issued using dig:
In a separate terminal a
DNS
query can be issued using dig:
~~~
$ dig @localhost mynginx.demo.coredns.local
...
...
@@ -179,8 +179,8 @@ For example:
endpoint http://localhost:8080
}
# Perform DNS response caching for the coredns.local zone
# Cache timeout is
provided by the
integer argument in seconds
# This works for the kubernetes middleware.)
# Cache timeout is
specified by an
integer argument in seconds
#
(
This works for the kubernetes middleware.)
#cache 20 coredns.local
#cache 160 coredns.local
}
...
...
@@ -188,7 +188,7 @@ For example:
### Internal IP or External IP?
*
Should the Corefile configuration allow control over whether the internal IP or external IP is exposed?
*
If the Corefile configuration allows control over internal IP or external IP, then the config should allow users to control the prec
i
dence.
*
If the Corefile configuration allows control over internal IP or external IP, then the config should allow users to control the prec
e
dence.
For example a service "myservice" running in namespace "mynamespace" with internal IP "10.0.0.100" and external IP "1.2.3.4".
...
...
@@ -206,7 +206,7 @@ This example could be published as:
### Wildcards
Publishing DNS records for singleton services isn't very interesting. Service
names are unique within a k8s namespace therefore multiple services will be
names are unique within a k8s namespace
,
therefore multiple services will be
commonly run with a structured naming scheme.
For example, running multiple nginx services under the names:
...
...
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