Page MenuHomePhabricator

Create a readiness probe for zotero
Open, NormalPublic

Description

We had been having pages lately due to zotero congestion and eventual restarts, creating a proper readiness probe should help with those pages and will instruct kubernetes to restart the pod if the service is unresponsive.

Current proposals to achieve this:

  • Create a swagger spec definition for zotero and check the service using service-checker.
  • Do a curl to local service passing a well known url for citations and check output.
  • Create a proper health endpoint in the service.

The easiest low hanging fruit seems to be the curl so we will start there

Event Timeline

fsero created this task.Jan 14 2019, 11:03 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 14 2019, 11:03 AM

Change 481170 had a related patch set uploaded (by Mvolz; owner: Mvolz):
[mediawiki/services/zotero@master] Add spec.yaml

https://gerrit.wikimedia.org/r/481170

CDanis triaged this task as Normal priority.Jan 14 2019, 2:37 PM
Mvolz moved this task from Backlog to Production on the Citoid board.Feb 26 2019, 9:43 AM

Change 481170 had a related patch set uploaded (by Alexandros Kosiaris; owner: Mvolz):
[mediawiki/services/zotero@master] Add spec.yaml

https://gerrit.wikimedia.org/r/481170