Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
41708fb0
Commit
41708fb0
authored
Sep 06, 2015
by
qiaolei
Committed by
hw-qiaolei
Sep 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'svc.' before 'cluster.local' and fix some typos
1. Add 'svc.' before 'cluster.local' 2. ```Terminating`` to `Terminating` 3. 'DNS entry1' to 'DNS entry'
parent
e6e69e31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
namespaces.md
docs/admin/namespaces.md
+3
-3
namespaces.md
docs/user-guide/namespaces.md
+1
-1
No files found.
docs/admin/namespaces.md
View file @
41708fb0
...
@@ -122,7 +122,7 @@ See [Admission control: Limit Range](../design/admission_control_limit_range.md)
...
@@ -122,7 +122,7 @@ See [Admission control: Limit Range](../design/admission_control_limit_range.md)
A namespace can be in one of two phases:
A namespace can be in one of two phases:
*
`Active`
the namespace is in use
*
`Active`
the namespace is in use
*
`
``Terminating`
` the namespace is being deleted, and can not be used for new objects
*
`
Terminating
`
the namespace is being deleted, and can not be used for new objects
See the
[
design doc
](
../design/namespaces.md#phases
)
for more details.
See the
[
design doc
](
../design/namespaces.md#phases
)
for more details.
...
@@ -166,8 +166,8 @@ This delete is asynchronous, so for a time you will see the namespace in the `Te
...
@@ -166,8 +166,8 @@ This delete is asynchronous, so for a time you will see the namespace in the `Te
## Namespaces and DNS
## Namespaces and DNS
When you create a
[
Service
](
../../docs/user-guide/services.md
)
, it creates a corresponding
[
DNS entry
](
dns.md
)
1
.
When you create a
[
Service
](
../../docs/user-guide/services.md
)
, it creates a corresponding
[
DNS entry
](
dns.md
)
.
This entry is of the form
`<service-name>.<namespace-name>.cluster.local`
, which means
This entry is of the form
`<service-name>.<namespace-name>.
svc.
cluster.local`
, which means
that if a container just uses
`<service-name>`
it will resolve to the service which
that if a container just uses
`<service-name>`
it will resolve to the service which
is local to a namespace. This is useful for using the same configuration across
is local to a namespace. This is useful for using the same configuration across
multiple namespaces such as Development, Staging and Production. If you want to reach
multiple namespaces such as Development, Staging and Production. If you want to reach
...
...
docs/user-guide/namespaces.md
View file @
41708fb0
...
@@ -105,7 +105,7 @@ $ kubectl config set-context $(CONTEXT) --namespace=<insert-namespace-name-here>
...
@@ -105,7 +105,7 @@ $ kubectl config set-context $(CONTEXT) --namespace=<insert-namespace-name-here>
## Namespaces and DNS
## Namespaces and DNS
When you create a
[
Service
](
services.md
)
, it creates a corresponding
[
DNS entry
](
../admin/dns.md
)
.
When you create a
[
Service
](
services.md
)
, it creates a corresponding
[
DNS entry
](
../admin/dns.md
)
.
This entry is of the form
`<service-name>.<namespace-name>.cluster.local`
, which means
This entry is of the form
`<service-name>.<namespace-name>.
svc.
cluster.local`
, which means
that if a container just uses
`<service-name>`
it will resolve to the service which
that if a container just uses
`<service-name>`
it will resolve to the service which
is local to a namespace. This is useful for using the same configuration across
is local to a namespace. This is useful for using the same configuration across
multiple namespaces such as Development, Staging and Production. If you want to reach
multiple namespaces such as Development, Staging and Production. If you want to reach
...
...
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