F5BigCnePortlist¶
Overview¶
Function¶
Declares a port list for a CNE instance, defining a reusable set of ports and port ranges. A port list can also reference other port lists to build nested or aggregated lists.
Use this resource to define larger, more complex sets of service ports. You can then reference the port list from a F5BigFwRulelist resource or a F5BigFwPolicy resource for granular packet filtering based on access control list (ACL) policies.
Note
To define a reusable set of IP addresses, use a F5BigCneAddresslist resource.
Names¶
Singular name |
Plural name |
Short name |
|---|---|---|
f5-big-cne-portlist |
f5-big-cne-portlists |
— |
API group and version¶
k8s.f5net.com/v1
Scope¶
Namespace
Specification¶
spec¶
Field |
Required |
Default |
Description |
|---|---|---|---|
|
No |
— |
List of ports and port ranges. Each item is a single port or a port range, for example |
|
No |
— |
List of |
Example manifests¶
The following manifests create two port lists. The drop-ports list includes individual ports and references the portlist port list, which defines a port range.
apiVersion: "k8s.f5net.com/v1"
kind: F5BigCnePortlist
metadata:
name: "drop-ports"
namespace: f5-bnk
spec:
ports:
- "9000"
- "9001"
portLists:
- "portlist"
---
apiVersion: "k8s.f5net.com/v1"
kind: F5BigCnePortlist
metadata:
name: "portlist"
namespace: f5-bnk
spec:
ports:
- "4000-4010"