a Kong with DB for basic auth management. This is because we have an increasing number of customers, thus we don’t want to maintain them in a declarative yaml.
a Kong in DB-less mode. This is for the routing part where declarative yaml is better than DB.
Question is - Is it a bad practice to have a nested Kong setup? If so, what’s the recommendation to our scenario.
You can chose to run a single DB where you are configuring everything except consumers and their credentials in a declarative fashion. And then use the Admin API to configure consumers and their credentials dynamically.
I re-installed Kong for Kubernetes, without realizing that the DB does not get removed along with it. After re-install, any new configure cannot be written to the database due to following error in ingress-controller
"failed to update kong configuration: inserting target into state: entity already exists"
I removed the database from Cassandra before re-install, and it worked fine.