Jenkins url changes after jenkins master pod restarts. jenkins on kubernetes

we have jenkins running in azure kubernetes. we access through nginx ingress. anytime the jenkins master pod restarts, the jenkins url goes back to the local url instead of ingress url. how can we set the url permanent? setting thru UI-configsystem does not persist.

That sounds like to me that your not persisting your configs, and its just grabbing the URL somehow each time. I’m not aware of anything that would reset it.

Are you using the helm chart? I know its designed to explicitly set some values on startup.