zooniverse / zoo-stats-api-graphql

0 stars 2 forks source link

avoid OOM killing and fix liveness probes #130

Closed camallen closed 4 years ago

camallen commented 4 years ago

allow more RAM for grafana and nginx to avoid OOM killer errors (see below). Also fix the liveness probe to use the / redirect target /login.

zoo-event-stats-grafana-nginx:
....
    State:          Running
      Started:      Tue, 02 Jun 2020 07:58:18 +0100
    Last State:     Terminated
      Reason:       OOMKilled
      Exit Code:    137
      Started:      Mon, 01 Jun 2020 07:45:59 +0100
      Finished:     Tue, 02 Jun 2020 07:58:15 +0100
    Ready:          True
    Restart Count:  6