can i use F5 BIG-IP Kubernetes Controller as ingress controller directly without nginx ingress?

4/25/2019

I'm working on putting an F5 in front of a K8S cluster, and looking for the best way to do it.

in the documentation of F5-BIG-IP-Controller for K8S https://clouddocs.f5.com/products/connectors/k8s-bigip-ctlr/v1.9/ i see :

Forwards traffic from the BIG-IP device to Kubernetes clusters via NodePort or ClusterIP.

i'm not sure that it's a good idea to put all my services as nodePorts to be reachable by the F5, my actual solution is: putting a nginx-ingress with nodeport Service that receives all trafic from the F5 and then manages the cluster internal loadbalancing. 2 levels of loadbalancing at least :D

client --"internet"--> f5 --"private-net"--> k8S-node --"K8S-net"--> nginx-ingress -> Service -> Pod

i can't find anywhere how to use the controller as proxy with clusterIP, i'm trying to find out if the Controller (or any other ressource from F5) can be used as proxy to forward cluster internal.

the idea is to find out the best way to do it.

-- Souhail Hanfi
big-ip
f5
kubernetes

2 Answers

4/26/2019

F5 has a new "Container Ingress Services" for Kubernetes available that may also solve your need if Vasily's answer doesn't cover your scenario.

Introduction to F5 Container Ingress Services

-- Chase
Source: StackOverflow

4/25/2019

If you want to use Nginx Ingress then you have to expose your Nginx Ingress as NodePort and then point F5 to use TCP balancing to all Kubernetes nodes to Node Port of Nginx Ingress.

If you want F5 itself to act as an ingress controller - then refer to this instruction: http://blog.itp-inc.com/how-to-integrate-f5-with-kubernetes-for-application-load-balancing/

-- Vasily Angapov
Source: StackOverflow