jialechan commented on issue #11543:
URL: https://github.com/apache/apisix/issues/11543#issuecomment-2324237622

   > It looks like the connection is established but there isn't a route at the 
path you requested 🤔
   
   ## step one: Install by helm and get ip/port
   
![image](https://github.com/user-attachments/assets/7f7ca205-22a6-437c-9b2c-3752cf4e9dc2)
   
   ## stop two: create httpbin deployment and svc; create apisixroute;
   ```yaml
   apiVersion: apps/v1
   kind: Deployment
   metadata:
     name: httpbin
     labels:
       app: default
   spec:
     replicas: 1
     selector:
       matchLabels:
         app: httpbin
     template:
       metadata:
         labels:
           app: httpbin
       spec:
         containers:
         - name: httpbin
           image: kennethreitz/httpbin:latest
           ports:
           - containerPort: 80
   ---
   apiVersion: v1
   kind: Service
   metadata:
     name: httpbin
   spec:
     selector:
       app: httpbin
     ports:
       - name: httpbin
         protocol: TCP
         port: 80
         targetPort: 80
   ---
   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: httpbin
     namespace: default
   spec:
     http:
       - backends:
           - serviceName: httpbin
             servicePort: 80
         match:
           paths:
             - /*
         name: route1
   ```
   
   ## step three: check by curl use http2
   
![image](https://github.com/user-attachments/assets/f61fd822-8da9-4be6-b544-e72040c9f5c9)
   **Not working, expected to be http2, resulting in http1.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