Rate limiting seems not working in kubernetes

Hello
We are trying Kong on kubernetes but maybe i miss something.
rate-limiting seems not working on my ingress.
here my ingress
Name: app-ingress
Namespace: default
Address: 192.168.1.161
Default backend: default-http-backend:80 (<error: endpoints “default-http-backend” not found>)
Rules:
Host Path Backends


www.nextvision.com
/users user-service:80 10.244.1.34:80)
/customer customer-service:80 10.244.1.35:80)
Annotations: konghq.com/plugins: rate-limit
kubernetes.io/ingress.class: kong
Events:
root@k1master:/home/azizg/kubedata# k get kongplugins
NAME PLUGIN-TYPE AGE
rate-limit rate-limiting 18m

and here is the plugin
NAME PLUGIN-TYPE AGE
rate-limit rate-limiting 18m
root@k1master:/home/azizg/kubedata# k describe kongplugins rate-limit
Name: rate-limit
Namespace: default
Labels:
Annotations:
API Version: configuration.konghq.com/v1
Config:
Miniute: 2
Policy: local
Kind: KongPlugin
Metadata:
Creation Timestamp: 2020-11-08T12:10:11Z
Generation: 1
Managed Fields:
API Version: configuration.konghq.com/v1
Fields Type: FieldsV1
fieldsV1:
f:config:
.:
f:miniute:
f:policy:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:plugin:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2020-11-08T12:10:11Z
Resource Version: 173762
Self Link: /apis/configuration.konghq.com/v1/namespaces/default/kongplugins/rate-limit
UID: 0b3c7948-56f9-4ca9-8cb3-96e39288a853
Plugin: rate-limiting
Events:

the service still respond indefenitly…
could you please tell what is wrong ?
thank you for your help

Can you provide examples of the requests you’re sending with their request and response headers (e.g. by using something like curl -svo /dev/null http://www.nextvision.com/users)?

If you check the Kong Admin API, is your plugin present? Although it’s not usually exposed outside the Pod for controller-managed instances, you can use a port forward to access it from your local machine–most configurations serve it over HTTPS on port 8444.

Using code blocks (the example is near the bottom) will help us spot the issue a bit more easily–what you’ve shown looks correct, but it’s a bit hard to read because our forum software won’t preserve indentation in normal text.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ