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 2022/08/09 09:59:38 UTC

[GitHub] [apisix-ingress-controller] jhon-ye opened a new issue, #1236: request help:

jhon-ye opened a new issue, #1236:
URL: https://github.com/apache/apisix-ingress-controller/issues/1236

   ### Issue description
   
   when i use  the below config to create stream_route failed
   `apiVersion: apisix.apache.org/v2beta3
   kind: ApisixRoute
   metadata:
     name: tcp-route
   spec:
     stream:
       - name: tcp-route-rule1
         protocol: TCP
         match:
           ingressPort: 8848
         backend:
           serviceName: mysql
           servicePort: 3306`
   
   can not get stream route
   
   
   the log belows
   `2022-08-09T17:53:04+08:00       debug   ingress/apisix_route.go:341     ApisixRoute add event arrived   {"object": {"metadata":{"name":"tcp-route","namespace":"default","uid":"65b0fa75-fb58-4f40-ade5-e92ca5198372","resourceVersion":"16316650","generation":1,"creationTimestamp":"2022-08-09T09:53:04Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"apisix.apache.org/v2beta3\",\"kind\":\"ApisixRoute\",\"metadata\":{\"annotations\":{},\"name\":\"tcp-route\",\"namespace\":\"default\"},\"spec\":{\"stream\":[{\"backend\":{\"serviceName\":\"mysql\",\"servicePort\":3306},\"match\":{\"ingressPort\":8848},\"name\":\"tcp-route-rule1\",\"protocol\":\"TCP\"}]}}\n"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"apisix.apache.org/v2beta3","time":"2022-08-09T09:53:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{".":{},
 "f:stream":{}}}}]},"spec":{"stream":[{"name":"tcp-route-rule1","protocol":"TCP","match":{"ingressPort":8848},"backend":{"serviceName":"mysql","servicePort":3306}}]},"status":{}}}
   2022-08-09T17:53:04+08:00       debug   ingress/apisix_route.go:182     translated ApisixRoute  {"routes": null, "upstreams": [{"id":"aa4ab360","name":"default_mysql_3306","desc":"Created by apisix-ingress-controller, DO NOT modify it manually","labels":{"managed-by":"apisix-ingress-controller"},"type":"roundrobin","nodes":[{"host":"10.244.1.59","port":3306,"weight":100}],"scheme":"http"}], "apisix_route": {}, "pluginConfigs": null}
   2022-08-09T17:53:04+08:00       debug   apisix/upstream.go:136  try to create upstream  {"name": "default_mysql_3306", "url": "http://apisix-admin.apisix.svc.cluster.local:9180/apisix/admin/upstreams", "cluster": "default"}
   2022-08-09T17:53:04+08:00       debug   apisix/upstream.go:151  creating upstream       {"body": "{\"id\":\"aa4ab360\",\"name\":\"default_mysql_3306\",\"desc\":\"Created by apisix-ingress-controller, DO NOT modify it manually\",\"labels\":{\"managed-by\":\"apisix-ingress-controller\"},\"type\":\"roundrobin\",\"nodes\":[{\"host\":\"10.244.1.59\",\"port\":3306,\"weight\":100}],\"scheme\":\"http\"}", "url": "http://apisix-admin.apisix.svc.cluster.local:9180/apisix/admin/upstreams/aa4ab360"}
   2022-08-09T17:53:04+08:00       debug   apisix/resource.go:123  got upstream: {"pass_host":"pass","hash_on":"vars","nodes":[{"host":"10.244.1.59","weight":100,"port":3306,"priority":0}],"desc":"Created by apisix-ingress-controller, DO NOT modify it manually","type":"roundrobin","create_time":1660038784,"name":"default_mysql_3306","id":"aa4ab360","labels":{"managed-by":"apisix-ingress-controller"},"scheme":"http","update_time":1660038784}
   2022-08-09T17:53:04+08:00       debug   ingress/apisix_route.go:370     ApisixRoute update event arrived        {"new object": {}, "old object": {}}
   2022-08-09T17:53:04+08:00       debug   ingress/apisix_route.go:182     translated ApisixRoute  {"routes": null, "upstreams": [{"id":"aa4ab360","name":"default_mysql_3306","desc":"Created by apisix-ingress-controller, DO NOT modify it manually","labels":{"managed-by":"apisix-ingress-controller"},"type":"roundrobin","nodes":[{"host":"10.244.1.59","port":3306,"weight":100}],"scheme":"http"}], "apisix_route": {}, "pluginConfigs": null}`
   
   ### Environment
   
   - apisix-ingress-controller version (1.5.0)
   - apisix version(2.15.0-alpine)
   
   


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

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


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1236: request help: apisix-ingress-controller create stream_route

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1236:
URL: https://github.com/apache/apisix-ingress-controller/issues/1236#issuecomment-1364608405

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


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


[GitHub] [apisix-ingress-controller] github-actions[bot] closed issue #1236: request help: apisix-ingress-controller create stream_route

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1236: request help: apisix-ingress-controller create stream_route
URL: https://github.com/apache/apisix-ingress-controller/issues/1236


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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1236: request help: apisix-ingress-controller create stream_route

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1236:
URL: https://github.com/apache/apisix-ingress-controller/issues/1236#issuecomment-1211063751

   Please format the description.
   
   And I didn't see any errors from what you provided. Please provide more clarification


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


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1236: request help: apisix-ingress-controller create stream_route

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1236:
URL: https://github.com/apache/apisix-ingress-controller/issues/1236#issuecomment-1325835185

   This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


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