Add review suggestions

Co-authored-by: Tim Bannister <tim@scalefactory.com>
This commit is contained in:
Ricardo Katz 2021-02-26 17:34:57 -03:00 committed by GitHub
parent a799505a5e
commit c0bb986cd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -225,7 +225,7 @@ You must be using a {{< glossary_tooltip text="CNI" term_id="cni" >}} plugin tha
{{< feature-state for_k8s_version="v1.21" state="alpha" >}}
When writing a Network Policy, you can target a range of Ports instead of a single port.
When writing a NetworkPolicy, you can target a range of ports instead of a single port.
This is achiveable with the usage of the `endPort` field, as the following example:
@ -260,7 +260,8 @@ The following restrictions apply when using this field:
* When using `endPort` field, the `port` field must be numeric.
{{< note >}}
You must be using a {{< glossary_tooltip text="CNI" term_id="cni" >}} plugin that supports endPort field in NetworkPolicies ports specification.
Your cluster must be using a {{< glossary_tooltip text="CNI" term_id="cni" >}} plugin that
supports the `endPort` field in NetworkPolicy specifications.
{{< /note >}}
## What you can't do with network policies (at least, not yet)