You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "lianfulei (via GitHub)" <gi...@apache.org> on 2024/12/24 13:11:53 UTC
[I] bug: k8s服务发现discovery参数shared_size 调整为100m报错 [apisix]
lianfulei opened a new issue, #11857:
URL: https://github.com/apache/apisix/issues/11857
### Current Behavior
1
### Expected Behavior
_No response_
### Error Logs
apisix配置文件部分内容如下
discovery:
kubernetes:
- id: test
service:
schema: https
host: 192.168.1.1
port: "6443"
client:
token: **********
shared_size: 100m
shared_size参数从90m调整为100m为何报错呢?
报错如下:
apisix start
/usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua start
invalid discovery kubernetes configuration: object matches none of the required
### Steps to Reproduce
1
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
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
Re: [I] bug: k8s服务发现discovery参数shared_size 调整为100m报错 [apisix]
Posted by "lianfulei (via GitHub)" <gi...@apache.org>.
lianfulei commented on issue #11857:
URL: https://github.com/apache/apisix/issues/11857#issuecomment-2574328717
> 应该不会错,你试下调回90m ,看看是否是这个参数影响.
为何到不了100m呢?你试了吗?
--
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
Re: [I] bug: k8s服务发现discovery参数shared_size 调整为100m报错 [apisix]
Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #11857:
URL: https://github.com/apache/apisix/issues/11857#issuecomment-2777735641
This is because the schema allows the shared size to be a maximum of 99m
This is the regex pattern - [[^[1-9][0-9]?m$]].
--
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
Re: [I] bug: k8s服务发现discovery参数shared_size 调整为100m报错 [apisix]
Posted by "moonming (via GitHub)" <gi...@apache.org>.
moonming closed issue #11857: bug: k8s服务发现discovery参数shared_size 调整为100m报错
URL: https://github.com/apache/apisix/issues/11857
--
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
Re: [I] bug: k8s服务发现discovery参数shared_size 调整为100m报错 [apisix]
Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #11857:
URL: https://github.com/apache/apisix/issues/11857#issuecomment-2777743331
I will create a PR to fix this.
--
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
Re: [I] bug: k8s服务发现discovery参数shared_size 调整为100m报错 [apisix]
Posted by "hanqingwu (via GitHub)" <gi...@apache.org>.
hanqingwu commented on issue #11857:
URL: https://github.com/apache/apisix/issues/11857#issuecomment-2563502218
应该不会错,你试下调回90m ,看看是否是这个参数影响.
--
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
Re: [I] bug: k8s服务发现discovery参数shared_size 调整为100m报错 [apisix]
Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #11857:
URL: https://github.com/apache/apisix/issues/11857#issuecomment-2709348612
what's the error log?
--
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