zhaomingcheng01 opened a new issue, #11807:
URL: https://github.com/apache/apisix/issues/11807

   ### Current Behavior
   
   目前没有流量进入到测试的项目,代码是同一份代码发了两个版本,不存在没有接口的情况
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: paas-k8s-demo-mirror
     namespace: rollout
   spec:
     http:
       - backends:
           - serviceName: paas-k8s-demo-stable
             servicePort: 8080
         match:
           hosts:
             - evo-paas.transsion.com
           paths:
             - /k8s-demo1/*
         name: sroute
         plugins:
           - config:
               regex_uri:
                 - ^/k8s-demo1/(.*)
                 - /$1
             enable: true
             name: proxy-rewrite
           - config:
               host: 'http://paas-k8s-demo-canary:8080'
             enable: true
             name: proxy-mirror
         timeout:
           connect: 10s
           read: 15s
           send: 15s
         websocket: true
   ---
   kind: Service
   apiVersion: v1
   metadata:
     name: paas-k8s-demo-stable
     namespace: rollout
   spec:
     ports:
       - name: port0
         protocol: TCP
         port: 8080
         targetPort: 8080
     selector:
       app: paas-k8s-demo
       component: ks-dev
     type: ClusterIP
   ---
   kind: Service
   apiVersion: v1
   metadata:
     name: paas-k8s-demo-canary
     namespace: rollout
   spec:
     ports:
       - name: port0
         protocol: TCP
         port: 8080
         targetPort: 8080
     selector:
       app: paas-k8s-demo
       component: ks-dev
     type: ClusterIP
   ---
   
![image](https://github.com/user-attachments/assets/72797e9f-18a8-4fb9-a3a1-a1309c813aee)
   
![image](https://github.com/user-attachments/assets/3e9ce759-949a-4751-a8a8-e751d71628b3)
   
![image](https://github.com/user-attachments/assets/d98e046e-a359-464a-9324-5c890d4279a3)
   
![image](https://github.com/user-attachments/assets/c093839b-9949-4750-9dfb-5ebb42be446b)
   
![image](https://github.com/user-attachments/assets/58e79ca2-4648-48d0-ae7d-c94f30a15b3c)
   
   这个是正常的有流量的pod
   
![image](https://github.com/user-attachments/assets/78914679-6f4f-47e5-98de-445247a96ef8)
   
![image](https://github.com/user-attachments/assets/5ee89953-e36c-4778-b6da-61aa2921d122)
   
   这个是镜像的pod,没有流量进来就
   
![image](https://github.com/user-attachments/assets/4ca6e715-02ae-4198-ba8a-770528cad8c7)
   
   
   ### Environment
   
   apisix version 3.2.2-debian
   apisix-ingress-controller 1.7.1


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