Skip to content

help request: Apisix for api ratelimit and ingress #12636

@sabarigirish88

Description

@sabarigirish88

Description

Dear team,

i installed apisix and controller via helm on k8s. following below steps

helm upgrade apisix apisix/apisix
--namespace apisix
--set gateway.tls.enabled=true
--set apisix.ssl.enabled=true
--set etcd.enabled=true
--set etcd.persistence.enabled=true
--set etcd.persistence.storageClass="vultr-block-storage-hdd"
--set etcd.persistence.size="40Gi"

helm install apisix apisix/apisix --set gateway.type=NodePort --set ingress-controller.enabled=true --set gateway.tls.enabled=true --set ingress-controller.config.apisix.serviceNamespace=default

helm upgrade apisix-ingress-controller apisix/apisix-ingress-controller --namespace ingress-apisix --set apisix.serviceNamespace=apisix --set apisix.serviceName=apisix-admin --set config.kubernetes.enableGatewayAPI=true --set ingress-controller.config.apisix.adminAPIVersion=$ADMIN_API_VERSION

intially i faced ssl issue as the domain is in CF, i had used cloudflare cert to manually createe the secret and the SSL issue was resolved now the pods are up for apisix and ingress controller.

however the traffic from outside is not reaching the server(checked the apisix ngress pod logs) i had deployed a test nginx with svc and added ingress route as below

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nginx-ingress
annotations:
#cert-manager.io/cluster-issuer: "letsencrypt"
spec:
ingressClassName: apisix
tls:
- hosts:
- nginx.ibee.co.in
secretName: test-ibbe-tls
rules:
- host: nginx.ib**.co.in
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginx-service
port:
number: 80
~
pls guide me further to get the ingress route and then to set the api ratelimit

Environment

  • APISIX version (run apisix version): 3.13
  • Operating system (run uname -a): ubuntu 20
  • 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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionlabel for questions asked by users

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions