panniyuyu opened a new issue, #1791:
URL: https://github.com/apache/apisix-ingress-controller/issues/1791
### Issue description
this is ingress controller config
# log options
log_level: "debug"
log_output: "stderr"
cert_file: "/etc/webhook/certs/cert.pem"
key_file: "/etc/webhook/certs/key.pem"
http_listen: ":8080"
https_listen: ":8443"
ingress_publish_service: ""
enable_profiling: true
apisix-resource-sync-interval: 1h
kubernetes:
kubeconfig: ""
resync_interval: "6h"
namespace_selector:
- "apisix.ingress=watching"
election_id: "ingress-apisix-leader"
ingress_class: "apisix"
ingress_version: "networking/v1"
watch_endpointslices: false
apisix_route_version: "apisix.apache.org/v2"
enable_gateway_api: false
apisix_version: "apisix.apache.org/v2"
plugin_metadata_cm: ""
apisix:
admin_api_version: "v3"
default_cluster_base_url: http://10.0.70.7:9180/apisix/admin
default_cluster_admin_key: "edd1c9f034335f136f87ad84b625c8f1"
default_cluster_name: "default"
this is ApisixRoute
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
name: httpserver-route
spec:
http:
- name: rule1
match:
hosts:
- local.httpbin.org
paths:
- /*
backends:
- serviceName: httpbin
servicePort: 80
and i only find ApisixRoute event log like this.
kubectl logs -f apisix-ingress-controller-5558c55ffb-6s7tz -napisix |grep
'ApisixRoute'
I0414 10:27:03.051636 33450 request.go:665] Waited for 1.133296466s due to
client-side throttling, not priority and fairness, request:
GET:https://10.0.72.249:8443/apis/apm.k8s.elastic.co/v1beta1?timeout=32s
2023-04-14T09:55:17+08:00 debug apisix/apisix_route.go:546
ApisixRoute add event arrived {"key": "demo/httpserver-route", "object":
{"kind":"ApisixRoute","apiVersion":"apisix.apache.org/v2","metadata":{"name":"httpserver-route","namespace":"demo","selfLink":"/apis/apisix.apache.org/v2/namespaces/demo/apisixroutes/httpserver-route","uid":"5b819770-68b8-4173-a3be-2982dd74126c","resourceVersion":"1899227381","generation":1,"creationTimestamp":"2023-04-14T01:53:27Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"apisix.apache.org/v2\",\"kind\":\"ApisixRoute\",\"metadata\":{\"annotations\":{},\"name\":\"httpserver-route\",\"namespace\":\"demo\"},\"spec\":{\"http\":[{\"backends\":[{\"serviceName\":\"httpbin\",\"servicePort\":80}],\"match\":{\"hosts\":[\"local.httpbin.org\"],\"paths\":[\"/*\"]},\"name\":\"rule1\"}]}}\n"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"apisix.apache.org/v2","time":"2023-04-14
T01:53:27Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{".":{},"f:http":{}}}}]},"spec":{"http":[{"name":"rule1","match":{"paths":["/*"],"hosts":["local.httpbin.org"]},"backends":[{"serviceName":"httpbin","servicePort":80,"weight":null}],"websocket":false,"authentication":{"enable":false,"type":"","keyAuth":{},"jwtAuth":{}}}]},"status":{}}}
2023-04-14T09:56:51+08:00 debug apisix/apisix_route.go:611
ApisixRoute delete event arrived {"key": "demo/httpserver-route", "final
state": {}}
2023-04-14T09:57:09+08:00 debug apisix/apisix_route.go:546
ApisixRoute add event arrived {"key": "demo/httpserver-route", "object":
{"metadata":{"name":"httpserver-route","namespace":"demo","selfLink":"/apis/apisix.apache.org/v2/namespaces/demo/apisixroutes/httpserver-route","uid":"18d5cb8d-3c05-4b6c-b9d3-f53b1e3e8d7e","resourceVersion":"1899241017","generation":1,"creationTimestamp":"2023-04-14T01:57:09Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"apisix.apache.org/v2\",\"kind\":\"ApisixRoute\",\"metadata\":{\"annotations\":{},\"name\":\"httpserver-route\",\"namespace\":\"demo\"},\"spec\":{\"http\":[{\"backends\":[{\"serviceName\":\"httpbin\",\"servicePort\":80}],\"match\":{\"hosts\":[\"local.httpbin.org\"],\"paths\":[\"/*\"]},\"name\":\"rule1\"}]}}\n"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"apisix.apache.org/v2","time":"2023-04-14T01:57:09Z","fieldsType":"FieldsV1","fieldsV1":{"f:metada
ta":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{".":{},"f:http":{}}}}]},"spec":{"http":[{"name":"rule1","match":{"paths":["/*"],"hosts":["local.httpbin.org"]},"backends":[{"serviceName":"httpbin","servicePort":80,"weight":null}],"websocket":false,"authentication":{"enable":false,"type":"","keyAuth":{},"jwtAuth":{}}}]},"status":{}}}
2023-04-14T10:36:47+08:00 debug apisix/apisix_route.go:611
ApisixRoute delete event arrived {"key": "demo/httpserver-route", "final
state": {}}
2023-04-14T10:36:58+08:00 debug apisix/apisix_route.go:546
ApisixRoute add event arrived {"key": "demo/httpserver-route", "object":
{"metadata":{"name":"httpserver-route","namespace":"demo","selfLink":"/apis/apisix.apache.org/v2/namespaces/demo/apisixroutes/httpserver-route","uid":"aef7f965-f4e6-43c3-b39f-2d2a4fef8f33","resourceVersion":"1899370731","generation":1,"creationTimestamp":"2023-04-14T02:36:58Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"apisix.apache.org/v2\",\"kind\":\"ApisixRoute\",\"metadata\":{\"annotations\":{},\"name\":\"httpserver-route\",\"namespace\":\"demo\"},\"spec\":{\"http\":[{\"backends\":[{\"serviceName\":\"httpbin\",\"servicePort\":80}],\"match\":{\"hosts\":[\"local.httpbin.org\"],\"paths\":[\"/*\"]},\"name\":\"rule1\"}]}}\n"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"apisix.apache.org/v2","time":"2023-04-14T02:36:58Z","fieldsType":"FieldsV1","fieldsV1":{"f:metada
ta":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{".":{},"f:http":{}}}}]},"spec":{"http":[{"name":"rule1","match":{"paths":["/*"],"hosts":["local.httpbin.org"]},"backends":[{"serviceName":"httpbin","servicePort":80,"weight":null}],"websocket":false,"authentication":{"enable":false,"type":"","keyAuth":{},"jwtAuth":{}}}]},"status":{}}}
and it don't have any log when i grep translate
kubectl logs -f apisix-ingress-controller-5558c55ffb-6s7tz -napisix |grep
'translate'
### Environment
- apisix-ingress-controller version 1.6.1
- Kubernetes cluster version v1.18.6
--
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]