Skip to content

Commit

Permalink
Add runbook
Browse files Browse the repository at this point in the history
  • Loading branch information
bboykov committed Oct 12, 2020
1 parent c8ea56f commit 865b1fe
Show file tree
Hide file tree
Showing 2 changed files with 152 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/runbooks.yml
@@ -0,0 +1,39 @@
# These settings determine the behaviour of runbook.md's Runbook Validator bot
# https://github.com/financial-times/runbook.md

# Everything below is optional

runbooks:
# All available settings are listed below

# Disable checks for this repo
# defaults to `false`
disabled: false

### SUPPORT FOR MULTIPLE RUNBOOKS IN A SINGLE REPOSITORY

# Fail checks if `any` | `all` | `none` runbooks fail validation
# defaults to `any`
failOn: any

### SUPPORT FOR UPDATING BIZ-OPS

# Update valid Biz-Ops runbooks on merge to a specific branch
#### IF YOUR DEPLOYMENTS ARE AUTOMATED (CircleCI, Heroku Pipelines)
#### PLEASE INTEGRATE WITH CHANGE-API INSTEAD
#### https://github.com/Financial-Times/change-api#change-api---v2
# defaults to `false`
updateOnMerge: true

# Merges to this branch trigger Biz-Ops updates updateOnMerge is `true`
# defaults to `master`
updateBranch: master

### UPDATING BIZ-OPS REQUIRES EACH RUNBOOK TO BE TIED TO A VALID SYSTEM CODE
# Mappings between paths and system codes
# unless a custom mapping is specified here
# runbook.md tries to parse the system code from the runbook's filename (format: my-sys-code_runbook.md)
systemCodes:
# paths are relative to root, omitting ./ (case-insensitive)
public-people-api: runbooks/runbook.md

113 changes: 113 additions & 0 deletions runbooks/runbook.md
@@ -0,0 +1,113 @@
# UPP - Public People Api

The Public People API is a micro-service which aims to provide Person and
related data given a Person identifier.

## Code

public-people-api

## Primary URL

<https://github.com/Financial-Times/public-people-api>

## Service Tier

Bronze

## Lifecycle Stage

Production

## Delivered By

content

## Supported By

content

## Known About By

- hristo.georgiev
- robert.marinov
- tsvetan.dimitrov
- elina.kaneva
- georgi.ivanov

## Host Platform

AWS

## Architecture

The Public People API is a micro-service which aims to provide Person and
related data given a Person identifier.

## Contains Personal Data

No

## Contains Sensitive Data

No

## Failover Architecture Type

ActiveActive

## Failover Process Type

FullyAutomated

## Failback Process Type

PartiallyAutomated

## Failover Details

The service is deployed in the delivery clusters as a deployment.

## Data Recovery Process Type

NotApplicable

## Data Recovery Details

The service does not store data, so it does not require any data recovery steps.

## Release Process Type

PartiallyAutomated

## Rollback Process Type

Manual

## Release Details

The release is triggered by making a Github release which is then picked up by a Jenkins multibranch pipeline. The Jenkins pipeline should be manually started in order for it to deploy the helm package to the Kubernetes clusters.

## Key Management Process Type

Manual

## Key Management Details

To access the service clients need to provide basic auth credentials.
To rotate credentials you need to login to a particular cluster and update varnish-auth secrets.

## Monitoring

Pod health:

- <https://upp-prod-delivery-eu.upp.ft.com/__health/__pods-health?service-name=public-people-api>
- <https://upp-prod-delivery-us.upp.ft.com/__health/__pods-health?service-name=public-people-api>

## First Line Troubleshooting

<https://github.com/Financial-Times/upp-docs/tree/master/guides/ops/first-line-troubleshooting>

## Second Line Troubleshooting

Please refer to the GitHub repository README for troubleshooting information.

0 comments on commit 865b1fe

Please sign in to comment.