yangvipguang opened a new issue, #2756:
URL: https://github.com/apache/apisix-ingress-controller/issues/2756
个人觉得以下问题希望官方可以优化下默认值,如果第一次使用真的是让人有些费解。
1、 ingressClassName: apisix
这部分必须添加,否则Controller无法正常同步,当然也不报错。只是日志一直提示:{"service_number": 0}
2026-04-30T06:15:15.803Z INFO provider.client client/client.go:177
syncing all resources
2026-04-30T06:15:15.803Z INFO provider.client client/client.go:201
syncing resources for config {"service_number": 0}
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
name: simplest-demo
namespace: portal
spec:
http:
- backends:
- serviceName: nginx-v1
servicePort: 80
match:
paths:
- /*
name: demo-rule
ingressClassName: apisix ## 必须添加
2、Err: socket hang up: 这里需要修改一下参数:
2.1:apisix.nginx.keepaliveTimeout from 60s to 120s ,提高这个超时时间。
2026-04-28T07:31:03.677Z ERROR provider.client client/client.go:210
failed to sync resources {"name":
"GatewayProxy/ingress-apisix/apisix-config", "error": "ADC execution errors:
[ADC execution error for GatewayProxy/ingress-apisix/apisix-config:
[ServerAddr: http://71.65.81.118:9180, Err: socket hang up]]"}
2026-04-28T07:31:03.677Z ERROR provider apisix/provider.go:282
failed to sync {"error": "failed to sync 1 configs:
GatewayProxy/ingress-apisix/apisix-config"}
--
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]