Tanzu

 View Only

vSphere with Tanzu AKO ingress controller Issue

  • 1.  vSphere with Tanzu AKO ingress controller Issue

    Posted Dec 28, 2023 03:24 PM

    Hello everyone. I set up avi kubernetes operator (AKO) as an ingress controller on vSphere with Tanzu and created a path-based routing ingress rule. I can access the first path, but not the second.

    versions:

    ESXi- 7.0

    vCenter- 7.0

    AKO- 1.11.1

    tkc - v1.24.11+vmware.1-fips.1

    YAML file for ingress--------

    apiVersion: networking.k8s.io/v1
    kind: Ingress
    metadata:
    name: avi-ingress
    spec:
    ingressClassName: avi-lb
    rules:
    - host: xyz.corp.local
    http:
    paths:
    - path: /path1
    pathType: Prefix
    backend:
    service:
    name: nginx-svc
    port:
    number: 80

    - path: /path2
    pathType: Prefix
    backend:
    service:
    name: tkc-svc
    port:
    number: 80