You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "rdouman (via GitHub)" <gi...@apache.org> on 2024/02/07 14:30:51 UTC

Re: [I] help request: Cannot find upstream nodes in Kubernetes discovery [apisix]

rdouman commented on issue #10251:
URL: https://github.com/apache/apisix/issues/10251#issuecomment-1932170084

   I just got stuck with this same issue.  I managed to resolve this by using the port name defined for this service (http in my instance) as oppose to the port number ( 80 in your example above).  I hope this helps :)
   
   ![image](https://github.com/apache/apisix/assets/3218965/38abf411-a9cb-4af6-bd48-797e8d1987af)
   
   Snippet from the service definition:
   spec:
     ports:
       - name: http
         protocol: TCP
         port: 8081
         targetPort: 8081
   
   From the manual:
   ![image](https://github.com/apache/apisix/assets/3218965/baf34f3b-cd37-4569-a49a-6f779a43cc9b)


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org