# Kong ingress controller and custom CRDs

**URL:** <https://discuss.konghq.com/t/kong-ingress-controller-and-custom-crds/4388>\
**Category:** Questions\
**Tags:** kubernetes\
**Created:** [September 9, 2019, 12:45pm UTC](https://discuss.konghq.com/t/kong-ingress-controller-and-custom-crds/4388 "2019-09-09T12:45:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishekvrshny](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/abhishekvrshny/32/1613_2.png) [@Abhishekvrshny](https://discuss.konghq.com/u/Abhishekvrshny)\
**Post date:** [September 9, 2019, 12:45pm UTC](https://discuss.konghq.com/t/kong-ingress-controller-and-custom-crds/4388/1 "2019-09-09T12:45:49Z")

</div>

Hi,

I have a use-case where I would want to use kong as an ingress controller to k8s and also act as an API gateway. The following [doc](https://github.com/Kong/kubernetes-ingress-controller/blob/master/docs/concepts/deployment.md) mentions 2 ways in which this can be achieved i.e without a database and with a database. I have the following queries:

1. Can I deploy an ingress controller with cassandra (the doc only mentions postgres) ?
2. kong seems to create several CRDs for routes, plugins, consumers etc. Wouldn’t this generate unwanted load on k8s’ etcd if lot of consumers are created?
3. Is it possible to just update services’ CRDs in the control path through ingress controller and skip creating custom CRDs for consumers, plugins etc?

Any other suggestion that you might have in this regard.

Thanks  
Abhishek

---

<div class="post-metadata">

**Author:** ![hbagdi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/hbagdi/32/562_2.png) [@hbagdi](https://discuss.konghq.com/u/hbagdi)\
**Post date:** [September 10, 2019, 4:50pm UTC](https://discuss.konghq.com/t/kong-ingress-controller-and-custom-crds/4388/2 "2019-09-10T16:50:01Z")

</div>

> [@Abhishekvrshny](#):
>
> Can I deploy an ingress controller with cassandra (the doc only mentions postgres) ?

Yes, this is possible as long as you can provide a stable Cassandra cluster (outside or inside k8s).

> [@Abhishekvrshny](#):
>
> kong seems to create several CRDs for routes, plugins, consumers etc. Wouldn’t this generate unwanted load on k8s’ etcd if lot of consumers are created?

Yes. If your use-case warrants creating a lot of consumers (more than a few thousands), it is recommended that you instead provision consumers directly using the Admin interface of Kong and skip creating the CRDs.

> [@Abhishekvrshny](#):
>
> Is it possible to just update services’ CRDs in the control path through ingress controller and skip creating custom CRDs for consumers, plugins etc?

Not sure what you mean here. Could you elaborate?  
You can of course only setup routing via the Ingress controller and not use plugins and consumers features.

Hope this helps!
