I have set a KongPlugin with below yaml configuration
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: default-ratelimit
config:
limit:
- 1
window_size:
- 60
identifier: ip
sync_rate: 10
strategy: cluster
plugin: rate-limiting-advancedbut when i try to create/apply this KongPlugin, it is rejected. Could you tell me why?
Error from server: error when creating "kongplugin.yaml": admission webhook "validations.kong.konghq.com" denied the request: KongPlugin.configuration.konghq.com "default-ratelimit" is invalid: could not validate plugin schema: schema violation ([rate-limiting-advanced] strategy 'cluster' is not supported with Hybrid deployments or DB-less mode. If you did not specify the strategy, please use 'redis' strategy, 'local' strategy or set 'sync_rate' to -1.)