Skip to content

Commit

Permalink
apps: updated migration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavan-Gunda committed May 4, 2022
1 parent a156ce3 commit b64b548
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions migration/v0.20.x-v0.21.x/upgrade-apps.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Upgrade v0.20.x to v0.21.x

## Prerequisites
1. Run this, so you have all the latest required binaries installed locally

```bash
ansible-playbook -e 'ansible_python_interpreter=/usr/bin/python3' --ask-become-pass --connection local --inventory 127.0.0.1, get-requirements.yaml
```
## Steps

1. Update apps configuration:
Expand All @@ -14,10 +18,14 @@

2. Remove grafana-ops chart with all the dashboards: `migration/v0.20.x-v0.21.x/remove-grafana-ops.sh`

3. Rollover all streams to make fluentd have all logging fields/mappings: `migration/v0.20.x-v0.21.x/data-stream-rollovers.sh`

4. Upgrade applications:
3. Upgrade applications:

```bash
bin/ck8s apply {sc|wc}
```

4. After the upgrade, if you see errors that log
```log
Rejected by OpenSearch [error type]: mapper_parsing_exception
```
Rollover all streams to make fluentd have all logging fields/mappings: `migration/v0.20.x-v0.21.x/data-stream-rollovers.sh`

0 comments on commit b64b548

Please sign in to comment.