You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/23 02:57:53 UTC

[GitHub] [apisix-ingress-controller] tokers commented on issue #403: request help: apply -f upstrem.yaml cannot find the service

tokers commented on issue #403:
URL: https://github.com/apache/apisix-ingress-controller/issues/403#issuecomment-825350897


   As per the error log, your ApisixUpstream object was created in the **default** namespace, while the `web2` service is in `gray-ns` namespace.
   
   > 2021-04-23T10:33:14+08:00 warn controller/apisix_upstream.go:182 sync ApisixUpstream failed, will retry {"object": {"Type":3,"Object":"default/web2","Tombstone":{"metadata":{"name":"web2","namespace":"**default**","selfLink":"/apis/apisix.apache.org/v1/namespaces/default/apisixupstreams/web2","uid":"e1fd33bf-5b04-4460-b9b6-dfb2db6183b3","resourceVersion":"38021690","generation":1,"creationTimestamp":"2021-04-23T02:31:51Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{"apiVersion":"apisix.apache.org/v1","kind":"ApisixUpstream","metadata":{"annotations":{},"name":"web2","namespace":"default"},"spec":{"loadbalancer":{"hashOn":"header","key":"user-agent","type":"chash"}}}\n"}},"spec":{"loadbalancer":{"type":"chash","hashOn":"header","key":"user-agent"}}}}, "error": "service "web2" not found"}


-- 
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.

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