F5BigCneAddresslist¶
Overview¶
The F5BigCneAddresslist Custom Resource (CR) is useful for defining larger, more complex lists of IP address that can then be referenced by Service Proxy Kubernetes (SPK) protection and NAT CRs:
F5BigNatPolicy - Carrier-grade NAT (CG-NAT) using large-scale NAT (LSN) pools.
F5BigFwPolicy - Granulalar packet filtering based on access control list (ACL) policies.
F5BigDdosProfile - Denial of Service (DoS/DDoS) event detection and mitigation.
Note: The F5BigCnePortlist CR is useful for defining lists of service ports.
Parameters¶
The CR spec parameters used to configure the Service Proxy TMM static routing table are:
| Parameter | Description |
|---|---|
addresses |
The IPv4 or IPv6 addresses included in the address list: host 2002::33:22, subnet 2003::/64, or range 2002::33:22-2002::33:50. |
addressLists |
This is a string which refers to another addresslist that consists of either IP addresses or child addresslists. |
Requirements¶
Ensure you have:
Uploaded the SPK Software.
Installed the SPK Controller Pods.
Have a Linux based workstation.
Installation¶
Use the following steps to install the F5BigCneAddresslist CR:
Tip: Open a second shell to view the SPKs Event Logs while installing.
Copy the example CR into a YAML file.
apiVersion: "k8s.f5net.com/v1" kind: F5BigCneAddresslist metadata: name: "outbound-nat" namespace: "spk-ingress" spec: addresses: - "192.168.1.0-192.168.1.10" - "10.10.10.0/24" - "192.168.2.1" addressLists: - "addressList1" - "addressList2" apiVersion: "k8s.f5net.com/v1" kind: F5BigCneAddresslist metadata: name: "addressList1" namespace: "spk-ingress" spec: addresses: - "3002::33:22-3002::33:52" - "3004::/64" addressLists: - "addressList3" - "addressList4"
Install the F5BigCneAddresslist CR.
oc apply -f spk-address-list.yaml
In this example, the SPK Controller logs indicate the F5BigCneAddresslist CR was added/updated:
I0607 12:00:00.12345 1 event.go:282] Event(v1.ObjectReference{Kind:"F5AddressList", F5AddressListProfile spk-ingress/outbound-nat was added/updated
Feedback
Provide feedback to improve this document by emailing spkdocs@f5.com.