sniper-xx opened a new issue #348:
URL: https://github.com/apache/apisix-ingress-controller/issues/348


   ### Issue description
   1、apisix route configuration
   ```
   apiVersion: apisix.apache.org/v2alpha1
   kind: ApisixRoute
   metadata:
     name: subscriber-ingress-v2
     namespace: quickstart-system
   spec:
     http:
     - name: subscriber-ingress
       match:
         hosts:
           - app.sniper.org
         paths:
           - /*
       backend:
         serviceName: subscriber-dapr
         servicePort: 80
         resolveGranularity: service
   ```
   2、the apisix-ingress-controller pod logs
   
   `sync ApisixRoute failed, will retry {"object": 
{"Type":2,"Object":{"Key":"quickstart-system/subscriber-ingress-v2","OldObject":{},"GroupVersion":"apisix.apache.org/v2alpha1"},"Tombstone":null},
 "error": "2 errors occurred:\n\t* object missing primary index\n\t* object 
missing primary index\n\n"}
   `
   
   how to resovle this issue? please!
   
   ### Environment
   1、kubernetes  v1.18.6
   2、apisix  v2.4
   3、apisix-ingress-controller: dev  build 3days ago;
   
   * your apisix-ingress-controller version (output of 
`apisix-ingress-controller version --long`);
   * your Kubernetes cluster version (output of `kubectl version`);
   * if you run apisix-ingress-controller in Bare-metal environment, also show 
your OS version (`uname -a`).
   
   ### Minimal test code / Steps to reproduce the issue
   
   1.
   2.
   3.
   
   ### What's the actual result? (including assertion message & call stack if 
applicable)
   
   ### What's the expected result?
   


-- 
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:
[email protected]


Reply via email to