Skip to content

Commit 228646e

Browse files
committed
add upgrade configuration references documents
1 parent 02afd82 commit 228646e

File tree

2 files changed

+122
-0
lines changed

2 files changed

+122
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Configuration Reference
2+
3+
## Overview
4+
5+
These references outline configuration changes between `wire-server` versions.
6+
It is intended for users who:
7+
8+
- Maintain custom deployment templates
9+
- Use non-standard `wire-server-deploy` Ansible/Helm deployment
10+
- Need to know exact configuration changes to adapt their setups
11+
12+
## Categories
13+
14+
- Mandatory (breaking) changes - configuration changes that **must** be applied or services will fail to start
15+
- Optional changes - new features, enhancements or monitoring/logging options
16+
- Deprecated - configuration settings that can be removed or omitted, have no impact on the upgrade
17+
18+
## How to use
19+
20+
### Identify your versions
21+
22+
- Current version you are running
23+
- Target version you want to upgrade to
24+
25+
### Review all intermediate versions
26+
27+
Configuration changes are cumulative. Review each version reference for mandatory changes.
28+
29+
### Apply config to your templates
30+
31+
Apply each configuration change to your templates as applicable to your model.
32+
33+
## References
34+
35+
- [Wire Server 5.24.0](config-references/wire-server-5.24.0.md)
36+
37+
## Contributing
38+
39+
If you find configuration changes not documented here, please report them to us directly or through a GitHub issue in our [documentation repository](https://github.com/wireapp/wire-docs). Include version numbers, configuration section and exact change needed.
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Wire-Server 5.24.0 release
2+
3+
## Mandatory (breaking) changes
4+
5+
### `background-worker`
6+
7+
```yaml
8+
background-worker:
9+
config:
10+
federationDomain: "example.com" # must match federation domain used for the instance in other services (brig etc.)
11+
cassandraBrig:
12+
host: your-cassandra-host-or-service # same as your current cassandra.host value
13+
cassandraGalley:
14+
host: your-cassandra-host-or-service # same as your current cassandra.host value
15+
```
16+
17+
#### Conversation Data Migration
18+
19+
The following configuration is only mandatory if you decide to migrate conversation data to PostgreSQL at this stage.
20+
21+
Starting this release, migrating conversation data to PostgreSQL from Cassandra is possible. This is only required for channel search and channel management from Team Settings. Follow [this document](../../../developer/reference/config-options.md#using-postgresql-for-storing-conversation-data) for the steps and configuration required.
22+
23+
If you do so, the following configurations are for `background-worker` are required.
24+
25+
```yaml
26+
background-worker:
27+
config:
28+
postgresql:
29+
host: your-postgresql-host-or-service
30+
```
31+
32+
And for secrets:
33+
34+
```yaml
35+
background-worker:
36+
secrets:
37+
pgPassword: "your-postgresql-password"
38+
```
39+
40+
### `gundeck`
41+
42+
Upstream Helm chart for `redis-ephemeral` has been replaced. New Redis service hostname has been changed from `{{ .Release.Name }}-master` to `{{ .Release.Name }}`. Verify your Redis service name with:
43+
44+
```bash
45+
kubectl get svc | grep redis
46+
```
47+
48+
Then set accordingly:
49+
50+
```yaml
51+
gundeck:
52+
config:
53+
redis:
54+
host: "your-redis-service"
55+
```
56+
57+
## Optional changes
58+
59+
### `background-worker`
60+
61+
New settings, change only if required. The following are defaults as they come in charts
62+
63+
```yaml
64+
background-worker:
65+
postgresql:
66+
host: postgresql # This one is already referenced in the mandatory category
67+
port: "5432"
68+
user: wire-server
69+
dbname: wire-server
70+
# Background jobs consumer configuration
71+
backgroundJobs:
72+
# Maximum number of in-flight jobs per process
73+
concurrency: 8
74+
# Per-attempt timeout in seconds
75+
jobTimeout: 60s
76+
# Total attempts, including the first try
77+
maxAttempts: 3
78+
postgresqlPool:
79+
size: 5
80+
acquisitionTimeout: 10s
81+
agingTimeout: 1d
82+
idlenessTimeout: 10m
83+
```

0 commit comments

Comments
 (0)