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

ports
array

No

—

List of ports and port ranges. Each item is a single port or a port range, for example 443 or 8080-8090. Accepted values: 1 to 65535. Must contain at least one item.

portLists
array

No

—

List of F5BigCnePortlist resource names to include in this port list. Use this to build nested or aggregated port lists. Each name is up to 255 characters. Must contain at least one item.

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"