Skip to content

Commit

Permalink
Improve maintenance guide - add delete instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Nov 1, 2021
1 parent e2a4df5 commit 01a2859
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion maintenance_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,12 @@
- **transformers** Responsible for mapping data
- **enrichers** Extracting text from PDFs, adding locations, adding themes

### HTTPS (SSL / TLS certificates)
## HTTPS (SSL / TLS certificates)

This project uses [`cert-manager`](https://cert-manager.io/docs/) for creating certificates.
This is running as a service in kubernetes.

## Deleting resources from Elastic

- `kubectl exec elastic-0 -it -n production -- sh` get a shell in a running elastic container
- Send an HTTP DELETE to the ID: `curl -X DELETE 0.0.0.0:9200/${index}/${type}/${id}`, e.g. `curl -X DELETE 0.0.0.0:9200/ori_vlaardingen_20190809125128/_doc/1234567`

0 comments on commit 01a2859

Please sign in to comment.