Hi,
We are planning to use Kong in DB-less mode along with the Kong ingress controller. In this case, do you still need to run “Kong migrations up” and “Kong migrations finished” command. I didn’t find any specific documentation on DB-less mode but since there is no data store associated, I am assuming we don’t need to run these commands. Please let me know if that’s not true!
@hbagdi, in dbless mode, can you let me know where the kong runtime objects like consumers, enabled plugins info is stored? I am following up with a new question so that anyone looking for kong dbless mode and ingress controller information can see all this information at one place. Hope it’s ok!
@hbagdi, Thank you so much for the quick response. If it is stored in memory, what is the best way to handle kong reload? Earlier, we had been using kong with Cassandra db (without ingress controller) and now we are moving to Kong ingress controller + db less mode. We also use custom nginx templates.
So our kong reload has been using the following command:
kong reload --conf /etc/kong/kong.conf --nginx-conf /etc/kong/kong_nginx.conf --vv
When I run reload on dbless, the routes are being lost as it complains with error
{
“message”: “no Route matched with those values”
}
This issue is not seen when I restart kong though!
Also, we had been writing custom plugins and also extended admin api (implemented api.lua), will this still work with this dbless config + kong ingress controller deployment?
Any pointers to how this can be resolved will be very helpful.
@hbagdi, I went over the link provided for using custom entities. This seems to be specific to custom plugins but how can I handle the ssl certs reload that are configured in kong.conf and nginx.conf files?
Also, would you always need to create a consumer, if the access management to a route/service is being handled by our proprietary module? In other words, when would you use a kong consumer? The kong documentation just mentions the following about consumer object:
Consumers are associated to individuals using your API, and can be used for tracking, access management, and more.