Is there a way to configure Tanzu Kubernetes Deployments to utilize NGINX Ingress load balancer from the initial deployment?
We have been running into an issue within our Lab environment in that we are not able to set up NGINX ingress the same way with Tanzu compared to other deployments. Is there a specific way to configure Ngnix Ingress during the initial deployment instead of NSX or KubeVIP (choices in the Tanzu UI configuration)?
We are currently on Tanzu Kubernetes Grid 2.5.1 & Tanzu CLI 1.1.0
NAMESPACE NAME CLASS HOSTS ADDRESS PORTS AGE
hello hello-ingress nginx tanzu-demo.example.net 80 7d7h
note there are no IP address under ingress.
kubectl edit ingress (tanzu deployment)
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
creationTimestamp: "2024-08-16T08:45:27Z"
generation: 1
name: hello-ingress
namespace: hello
resourceVersion: "39922"
uid: 1a68206a-f499-49d5-b318-772e2d28912d
spec:
ingressClassName: nginx
rules:
- host: tanzu-demo.example.net
http:
paths:
- backend:
service:
name: hello
port:
number: 80
path: /
pathType: Prefix
status:
loadBalancer: {}
Note: [Missing Load Balancer Addresses (nodes) after deployment]
Compared to other deployment method:
NAMESPACE NAME CLASS HOSTS ADDRESS PORTS AGE
hello hello-ingress <none> demo.example.net IP1,IP2,IP3 80 34d
Thank you for your assistance!