Skip to content

Commit

Permalink
Add runbook
Browse files Browse the repository at this point in the history
  • Loading branch information
elizhuh committed Apr 24, 2020
1 parent a725ba0 commit ef50fb5
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/runbooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 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)
native-ingester: runbooks/runbook.md
121 changes: 121 additions & 0 deletions runbooks/runbook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
# UPP - Native Ingester

Native ingester consumes messages from Kafka topics (both content and metadata flows) and propagates them further to be written by rw services in Native store accoridngly

## Primary URL

https://upp-prod-publishing-glb.upp.ft.com/__native-ingester/

## Service Tier

Platinum

## Lifecycle Stage

Production

## Delivered By

content

## Supported By

content

## Known About By

- hristo.georgiev
- robert.marinov
- elina.kaneva
- tsvetan.dimitrov
- elitsa.pavlova
- ivan.nikolov
- miroslav.gatsanoga
- kalin.arsov
- mihail.mihaylov
- dimitar.terziev

## Host Platform

AWS

## Architecture

Native ingester consumes messages containing native CMS content or native CMS metadata from ONE queue topic. According to the data source, native ingester sends the content or metadata to be written to a specific db collection. Optionally, it forwards consumed messages to a different queue.

## Contains Personal Data

No

## Contains Sensitive Data

No

## Dependencies

- upp-kafka
- native-writer

## Failover Architecture Type

ActivePassive

## Failover Process Type

FullyAutomated

## Failback Process Type

FullyAutomated

## Failover Details

The service is deployed in both publishing clusters. The failover guide for the cluster is located here:
https://github.com/Financial-Times/upp-docs/tree/master/failover-guides/publishing-cluster

## 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

Manual failover is needed when a new version of the service is deployed to production. Otherwise, an automated failover is going to take place when releasing.
For more details about the failover process please see: https://github.com/Financial-Times/upp-docs/tree/master/failover-guides/publishing-cluster

## 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

- Pub-Prod-EU health:
https://upp-prod-publish-eu.upp.ft.com/__health/__pods-health?service-name=native-ingester-cms
https://upp-prod-publish-eu.upp.ft.com/__health/__pods-health?service-name=native-ingester-metadata
- Pub-Prod-US health:
https://upp-prod-publish-us.upp.ft.com/__health/__pods-health?service-name=native-ingester-cms
https://upp-prod-publish-us.upp.ft.com/__health/__pods-health?service-name=native-ingester-metadata

## 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 ef50fb5

Please sign in to comment.