nphariharan commented on issue #2097:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/2097#issuecomment-1853568218

   I followed this link for installation
   https://apisix.apache.org/docs/ingress-controller/deployments/aws/
   
   ADMIN_API_VERSION=v3
   helm install apisix apisix/apisix \
     --set gateway.type=LoadBalancer \
     --set ingress-controller.enabled=true \
     --create-namespace \
     --namespace ingress-apisix \
     --set ingress-controller.config.apisix.serviceNamespace=ingress-apisix \
     --set ingress-controller.config.apisix.adminAPIVersion=$ADMIN_API_VERSION \
     --set gateway.tls.enabled=true \
     --set 
gateway.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-type"=nlb
   
   Post installation, the below pods are running fine in the namespace 
"ingress-apisix"
   ingress-apisix      apisix-54b6cc5b5d-6ps4h     Running              
   ingress-apisix      apisix-etcd-0               Running       
   ingress-apisix      apisix-etcd-1               Running       
   ingress-apisix      apisix-etcd-2               Running       
   ingress-apisix      apisix-ingress-controller-598b5d56f4-wgz69   Running
   
   --------------------------------------------
   
   Below are my ApisixRoute & ApisixUpstream yaml files.
   
   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: httpbin-internal-route
   spec:
     http:
       - name: rule1
         match:
           hosts:
             - internal.httpbin.org
           paths:
             - /*
         upstreams:
           - name: httpbin-internal-upstream
   --------------------------------------------
   apiVersion: apisix.apache.org/v2
   kind: ApisixUpstream
   metadata:
     name: httpbin-internal-upstream
   spec:
     discovery:
       type: dns
       serviceName: httpbin.default.svc.cluster.local
   --------------------------------------------
   
   Also I have added below config in my apisix-configmap for dns discovery.
   discovery:
     dns:
       servers:
         - "172.20.0.10:53"
   
   Please kindly help to resolve this issue.
   
   Thanks,
   Hariharan.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to