apiVersion: v1
kind: Service
metadata:
name: ingress-nginx
namespace: ingress-nginx
labels:
app: ingress-nginx
spec:
type: LoadBalancer
externalIPs:
- {{ vip_address }}
ports:
- port: 80
targetPort: 80
selector:
app: ingress-nginx
PublicIP/ElasticIP ==> AWS ELB/CLB ==> VIP/PrivateIP(NGINX Ingress Controller) ==> for access to k8s service.
I already have the Ingress controller running on k8s master in ec2 node.
Is there any particular type such as Classic or Application LB need to be chosen since static IP is used?
Also, can I do a standalone provisioning of the LB and configure the traffic to be forwarded to vip?