Quantcast
Channel: User mikyll98 - Stack Overflow
Browsing all 102 articles
Browse latest View live

kubectl: List pods whose names starting with a keyword string

Using kubectl, how can I get a list of the pods whose name starts with a particular string?ExampleMy pods:$ kubectl get pods -n kongNAMESPACE NAME READY STATUS RESTARTS AGEkong foobar-cc7654c7b-htvmx...

View Article


Comment by mikyll98 on Kong Gateway: I got an error when I run docker-compose up

That doesn't seem to be an error, but a notice (globalpatches.lua), and as @AlexanderMashin said, you didn't include kong start in the docker run command

View Article


Comment by mikyll98 on Starlette/FastApi route path components with forward...

@hangc you need to include :path in the parameter, for it to work

View Article

Answer by mikyll98 for Apache APISIX in Standalone mode - route wildcards for...

Solution: radixtree_uri_with_parameterYou can enable router-radixtree with path parameters by setting apisix.router.http: radixtree_uri_with_parameter in conf/config.yaml:# [...]apisix: router: http:...

View Article

Kong Ingress Controller: How to remove a plugin entry from a configuration?

I'm learning Kong API Gateway, and I'm trying to configure it using the Kubernetes Ingress Controller.I've been able to add a service plugin, following this tutorial, but I cannot find anywhere how to...

View Article


Answer by mikyll98 for Docker compose for apisix, etcd, apisix-dashbaord

The error is in the file dashboard_conf/conf.yaml, specifically in this snippet: users: - username: admin - password: adminAppearently, this results in an empty list of users (see the configuration...

View Article

Comment by mikyll98 on apisix docker wont start

@user3090303 I'm glad to hear that :) if it helped solving your issue, please consider marking it as the accepted answer

View Article

Answer by mikyll98 for Prime Numbers In a given range in Java

As pointed out by Turamarth, you need to reset the flag at each iteration. I also suggest you to loop until i <= n2, otherwise you would miss the last number, and add an input check.public static...

View Article


Answer by mikyll98 for Flutter ThemeData: colorScheme is prioritized for...

MaterialStateProperty was deprecated after v3.19.0-0.3.pre.As noted in the breaking changes — see Breaking Changes | Rename MaterialState to WidgetState) — it has been renamed to WidgetStateProperty...

View Article


Comment by mikyll98 on How apisix disables proxy_buffering for a route

I'm also interested in this issue, could you provide a MRE? What did you test the buffering feature with?

View Article

Answer by mikyll98 for How to Externalize Lua Code in APISIX...

TL;DRYou can use loadfile() inside the serverless functions config parameter. This function allows you to load the content of a file, which you can call and execute afterwards, in case it's a...

View Article

Answer by mikyll98 for catch Android back button event on Flutter

WillPopScope is now deprecated, and shouldn't be used anymore. Reference: Android Predictive BackTo support Android 14’s Predictive Back feature, a set of ahead-of-time APIs have replaced just-in-time...

View Article

Answer by mikyll98 for apisix file logger, get body response in the log

You have to use $resp_body instead of $response_body.Example:"file-logger": {"path": "/usr/local/apisix/apisix_log/test.log", "log_format": {"ip_client": "$remote_addr","http_verb":...

View Article


Answer by mikyll98 for Getting 404 Error in Apache APISIX Docker container...

I'm pretty sure the problem is you are not passing the Host header.Your request should look like this:curl http://172.26.50.10:7011/api/cnam/test/18 -H "Host: 10.1.10.112"The host attribute in a route...

View Article

Comment by mikyll98 on etcd Cluster Setup Fails with "connection refused" and...

Probably it has to do with the environment variables you set (look for the one related to peer advertising), you should take a look at Docker Hub | bitnami/etcd, under Configuration section. I would...

View Article


Comment by mikyll98 on Unable to construct Application instance: class...

Please do not post screenshots of code or errors, copy and paste it instead. Why should I not upload images of code/data/errors?

View Article

Answer by mikyll98 for Unable to load custom plugins in Apache Apisix

You're setting the plugin list for the dashboard but not for APISIX.You have to add the custom plugin in apisix_conf/config.yaml. Example:apisix: node_listen: 9080 # APISIX listening port enable_ipv6:...

View Article


APISIX cannot match routes containing %2F (encoded slash '/')

DisclaimerI'm tagging also NGiNX and OpenResty because I'm sure this issue is related to how NGiNX handles routes match, but I don't know if there's a better way to handle this, maybe via OpenResty's...

View Article

Comment by mikyll98 on citizen:/scripting/lua/scheduler.lua:90: attempt to...

Hi, welcome to StackOverflow! Please write code/errors as text, instead of images :) (see this post)

View Article

Answer by mikyll98 for APISIX Backup and Restore Steps 3.8.0 version

Typically you deploy APISIX in a Kubernetes cluster via Helm, so I suppose your setup is based on apisix/apisix (GitHub source) or bitnami/apisix (GitHub source), which are the most popular...

View Article
Browsing all 102 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>