-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Documentation for named ports. #1092
Conversation
_includes/master/endpointport.md
Outdated
|
||
| Field | Description | Accepted Values | Schema | Default | | ||
|-------------|----------------------------------|-------------------|--------|------------| | ||
| name | The name to attach to this port, alowing it to be referred to in [policy rules](./policy#entityrule). Names must be unique within an endpoint. | | string | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alowing -> allowing
_includes/master/endpointport.md
Outdated
@@ -0,0 +1,13 @@ | |||
An EndpointPort associates a name with a particular TCP/UDP port of the endpoint, allowing it to | |||
be referenced as a named port in [policy rules]({{site.baseurl}}/{{page.version}}/reference/calicoctl/resources/policy#entityrule). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this link render correctly with a space (apparently) between the ]
and the (
? It's a useful TIL if so!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, there's no space, it's just how github renders it if the window is too small.
_includes/master/endpointport.md
Outdated
|
||
| Field | Description | Accepted Values | Schema | Default | | ||
|-------------|----------------------------------|-------------------|--------|------------| | ||
| name | The name to attach to this port, allowing it to be referred to in [policy rules](./policy#entityrule). Names must be unique within an endpoint. | | string | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this shorter link works, can we use that above as well?
_includes/master/endpointport.md
Outdated
> ** NOTE ** | ||
> | ||
> On their own, EndpointPort entries don't result in any change to the connectivity of the port. | ||
> They only have an effect if they are referred to in policy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please adapt this according to current master, where the standard Note formatting has slightly changed. (E.g. look for alert-info
in master/getting-started/bare-metal/bare-metal.md
.)
_includes/master/ports.md
Outdated
> Since each named port may refer to many endpoints (and Calico has to expand a named port into | ||
> a set of endpoint/port combinations), using a named port is considerably more expensive in terms | ||
> of CPU than using a simple numeric port. We recommend that they are used sparingly, only where | ||
> the extra indirection is required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another Note to adapt to latest standard.
Description
Add documentation for the new named ports feature projectcalico/felix#1534
Todos
Release Note