I’ve opened up a PR which fixes the problems with persistence in the headless chart. However, it still behaves in a way that seems unusable so I’m assuming something is misconfigured or I have a misunderstanding about how it’s supposed to be used.
When creating APIs using the REST API (
/tyk/apis) the resulting api object is written to the the
app_path as a json file. However, using the list apis endpoint (
/tyk/apis) won’t show that API until you send a SIGUSR2 signal to the gateway to request a config reload. However, sending that signal causes the pod to restart which creates a service outage. Additionally, the restart is considered a crash by Kubernetes and causes a CrashLoopBackoff state further extending the outage.
Every part of Tyk headless seems to have major usability problems with state persistence and state consistency. Am I missing something here?