Snorlax helps reduce resource usage by tracking requests on ingresses and scaling apps up/down based on timeouts and requests. It will scale up apps when they've got 0 replicas and receives traffic, and will set replicas to 0 after a given idle time.
Enable Snorlax for you application¶
Add the following
annotations to your
A more complete example:
apiVersion: nais.io/v1alpha1 kind: Application metadata: annotations: snorlax.nais.io/enabled: "true" name: myapplication namespace: myteam spec: ...