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
f430dc8a
Commit
f430dc8a
authored
Oct 24, 2015
by
Abhi Shah
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16149 from ZJU-SEL/fix-endpoint-port
fix buggy example for endpoint specification
parents
354b1f9c
ec3493fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
services.md
docs/user-guide/services.md
+3
-3
No files found.
docs/user-guide/services.md
View file @
f430dc8a
...
...
@@ -173,7 +173,7 @@ In any of these scenarios you can define a service without a selector:
}
```
Because this has no selector, the corresponding
`Endpoints`
object will not be
Because this
service
has no selector, the corresponding
`Endpoints`
object will not be
created. You can manually map the service to your own specific endpoints:
```
json
...
...
@@ -189,7 +189,7 @@ created. You can manually map the service to your own specific endpoints:
{
"IP"
:
"1.2.3.4"
}
],
"ports"
:
[
{
"port"
:
80
}
{
"port"
:
9376
}
]
}
]
...
...
@@ -200,7 +200,7 @@ NOTE: Endpoint IPs may not be loopback (127.0.0.0/8), link-local
(169.254.0.0/16), or link-local multicast ((224.0.0.0/24).
Accessing a
`Service`
without a selector works the same as if it had selector.
The traffic will be routed to endpoints defined by the user (
`1.2.3.4:
80
`
in
The traffic will be routed to endpoints defined by the user (
`1.2.3.4:
9376
`
in
this example).
## Virtual IPs and service proxies
...
...
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