Comments (13)
No knowledge of this sorry, let's wait for others to pitch in.
from apisix-ingress-controller.
I'll take a loot at it tomorrow. Currently I am busy with other tasks. Thanks for reporting.
from apisix-ingress-controller.
@Revolyssup You can try using a very long host field, it will not take effect
from apisix-ingress-controller.
from apisix-ingress-controller.
I need to add that this situation only occurs when two resources are updated simultaneously. If I only update one of the resources, it will work normally
[root@iZ0jlcmvdsbq3e5h9ronw8Z ~]# kubectl get apisixroutes.apisix.apache.org -n admin
NAME HOSTS URIS AGE
180.grff3d3f.w51izhca.8.130.98.199.nip.iop-ps-s ["80.grff3d3f.w51izhca.8.130.98.199.nip.io","lyck6.cn"] ["/*"] 3s
1lyck6.cnp-ps-s ["lyck6.cn"] ["/*"] 3s
Look lyck6.cn
is repetitive
I suspect it's due to the Host field being too long
80.grff3d3f.w51izhca.8.130.98.199.nip.io
Because I tested, if the host route is too long, it will not take effect. Is this a bug ?
from apisix-ingress-controller.
@DokiDoki1103 When you check the error and response of .Update(), what do you see?
from apisix-ingress-controller.
@DokiDoki1103 When you check the error and response of .Update(), what do you see?
No errors were reported ,But I have pinpointed the problem, it's because the host field is too long
from apisix-ingress-controller.
@DokiDoki1103 I need to be able to reproduce the issue. Can you paste the full route configuration which I can use to reproduce, for both cases when it works and when it doesnt?
from apisix-ingress-controller.
I used the SDK to update URI field where the Host was long as you suggested and it was updated successfully.
from apisix-ingress-controller.
Are you sure there are no reported errors from Update(), please show the logs where you log the returned response and error. Also show the complete configuration that you used.
from apisix-ingress-controller.
I know he can successfully generate it, but he cannot work, and I am not sure if it is a bug in Apisix
from apisix-ingress-controller.
I know he can successfully generate it, but he cannot work, and I am not sure if it is a bug in Apisix
Can you clarify what you said? What do you mean by "cannot work" and do you mean that update is successful in ingress but the configuration doesn't take effect in APISIX?
from apisix-ingress-controller.
@DokiDoki1103 Any updates?
from apisix-ingress-controller.
Related Issues (20)
- Sorry for asking the wrong question
- release of 1.8 HOT 3
- request help: 502 Bad Gateway while requesting an Ingress resource HOT 7
- help request: Datadog plugin config - can't define DogStatsD target with CRDs HOT 10
- request help: Apisix displayed error logs while installing by `alauda/captain` HOT 1
- request help: Need help on installing Apisix 3.6.0 in kubernetes through yaml files. HOT 3
- request help: failed to create stream_route: unexpected status code 400; error message: {"error_msg":"unknown plugin [key-auth]"} HOT 1
- feat: add support for installing apisix ingress composite mode via helm chart HOT 10
- request help: Not able to hit kubernetes local service using ApisixRoute and ApisixUpstream HOT 2
- feat: Add a "namespace" parameter to the "plugin_config" of apisixRoute, to share the same apisixPluginConfig between all namespaces of apisixRoutes HOT 2
- bug: APISIX ingress controller helm chart attempts to create resources that do not support lower than 1.19
- request help: Need help in installing Apisix 3.1 with yaml files in kubernetes cluster HOT 5
- feat: Is it possible to make the ingress controller work without allowing read access to all secrets in the cluster? HOT 3
- request help: How to start multiple unrelated ingress-apisix-composite-deployment to load traffic from different sources HOT 11
- bug: create ApisixRoute failed by k8s dynamic client-go HOT 3
- bug: CVE-2023-48795 Vulnerability
- request help: Chinese document plan
- bug: library etcd-adapter fixed a concurrent issue, need upgrade dependency mod version HOT 1
- bug: support skip_mtls_uri_regex for CRD kind: ApisixTls HOT 1
- help request: Apisix 3.8.0 version - ingress controller deployment issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apisix-ingress-controller.