Deploy a service of type ExternalName and point it to another service on the cluster, but in a different namespace
Deploy an ingress that uses the above service as a backend
Watch the AKO logs for an immediate panic: runtime error: index out of range [0] with length 0
This does not occur with AKO 1.11.x
Expected behavior
AKO does not panic, and properly creates the node group and node pools which contain all the servers from the service. In my example case, it will be the local cluster node IPs, at the istio ingressgateway's https NodePort 31009.
Additional context
example yaml using istio's ingressgateway. I want to reiterate, that this all worked fine prior to AKO 1.12.x
@dfallert-rcd: Thanks for reporting this. Currently, AKO doesn't support external-name service type. We will fix crash issue in upcoming release.
@ashishnayak96 Can you please look into it?
CC: @apalsule
Describe the bug
As of AKO version 1.12.x, a panic occurs when using an ExternalName service as a backend for the ingresses used by AKO.
Reproduction steps
ExternalName
and point it to another service on the cluster, but in a different namespacepanic: runtime error: index out of range [0] with length 0
This does not occur with AKO 1.11.x
Expected behavior
AKO does not panic, and properly creates the node group and node pools which contain all the servers from the service. In my example case, it will be the local cluster node IPs, at the istio ingressgateway's https NodePort
31009
.Additional context
example yaml using istio's ingressgateway. I want to reiterate, that this all worked fine prior to AKO 1.12.x
And here's a screenshot of a VS/PoolGroup/Pool in the controller view