Manually adding values to Kong but after a while values are getting deleted


#1

Running a kong kubernetes cluster which includes a kong deployment & two services kong-admin & kong-proxy. The cluster is running as expected, but when I make a POST request for services to kong-admin api, the service gets added & after some time the same service gets deleted automatically.

Why are the manually added values getting deleted ?

I’m using a postgres database which is bootstrapped. So, I don’t think that database is the issue.


#2

See here : Kong VS nginx kunernetes ingress controller

TLDR as an ingress controller, configuring via admin API doesn’t work(it will configure itself back to before the admin api call change) have to use the stored config files and update those.