Tyk Pump Configuration on Kubernetes

Hello,
I have tyk-ce on Kubernetes and would like to monitor it via Prometheus.

Reagrding to the documentation here;
https://tyk.io/docs/tyk-pump/tyk-pump-configuration/tyk-pump-dashboard-config/

  1. Set “use_sharded_analytics” to true in “tyk_analytics.conf” //// How/where should I set it in helm file?
  2. Use the following pump.conf: … /// How/where can I use pump.conf in Kubernetes environment?
  3. Mongo is mentioned in all documentation but I don’t have Mongo; do I have to have a Mongo for monitoring?

Reagrds

  1. Set “use_sharded_analytics” to true in “tyk_analytics.conf” //// How/where should I set it in helm file?

I have not installed tried the dashboard out yet on k8. My guess is that there is an editable config data somewhere in ConfigMaps. Or you could use environment variables (in this case = TYK_DB_USESHARDEDANALYTICS). Just to confirm, what license do you have, OSS or Self Managed? The self managed comes with a dashboard.

  1. Use the following pump.conf: … /// How/where can I use pump.conf in Kubernetes environment?

If you can add environment variables, then you could also use that for pump as well. the prefix is TYK_PMP_. You can read more here Tyk Pump Environment Variables

  1. Mongo is mentioned in all documentation but I don’t have Mongo; do I have to have a Mongo for monitoring?

No, you do not need Mongo for monitoring.

Thank you @Olu Things are clearer in my mind now.