You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/self-hosted.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,8 @@ Our [full installation guide](../self-hosted/installation.md) provides a complet
42
42
#### Development-Only Options
43
43
For quick testing or development, the chart can deploy internal instances of Postgres and MinIO. These are enabled with the ```dev.deployPostgres``` and ```dev.deployMinio flags```.
44
44
45
-
:warning:**Warning:** These development services are not suitable for production use. They lack persistence, backup, and security configurations.
45
+
!!! warning
46
+
These development services are not suitable for production use. They lack persistence, backup, and security configurations.
Copy file name to clipboardExpand all lines: docs/self-hosted/installation.md
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Installation of the self-hosted **Logfire** requires that you have a few prerequisites before installing.
4
4
5
-
## Gathering Prerequisites
5
+
## Prerequisites
6
6
7
7
### Helm CLI
8
8
@@ -14,20 +14,21 @@ When running the helm chart, you will be required to create resources within a K
14
14
15
15
### Image Pull Secrets
16
16
17
-
You will require image pull secrets to pull down the docker images from our private repository. Get in contact with us to get a copy of them.
17
+
You will require image pull secrets to pull down the docker images from our private repository. Contact us at [[email protected]](mailto:[email protected])to get a copy.
18
18
19
19
### Postgres Database
20
20
21
21
The Helm chart does not include a production-ready Postgres Database (only a development instance). You will be required to connect to, and create databases on a Postgres instance.
22
22
23
-
You will need to create 3 databases, that are used for different things.
23
+
You will need to create 4 databases, that are used for different things.
24
24
25
25
While we are currently working on running **Logfire** on one database, for now they *must* be separated.
26
26
27
-
The 3 database in question are:
27
+
The 4 database in question are:
28
28
29
29
* Standard Postgres Database, i.e, `crud`
30
30
* Object Storage/File Metadata, i.e, `ff`
31
+
* Ingest Database, i.e, `ingest`
31
32
* Dex i.e, `dex`
32
33
33
34
While they can be named anything, we will refer to them with these identifiers in this guide.
@@ -91,7 +92,7 @@ Here's a checklist you can use to ensure you have all your prerequisites:
91
92
- [ ] Helm CLI Installed
92
93
- [ ] Image Pull Secrets
93
94
- [ ] Access to a Kubernetes cluster
94
-
- [ ] The 3 PostgreSQL database set up
95
+
- [ ] The 4 PostgreSQL database set up
95
96
- [ ] Identity Provider Configuration
96
97
- [ ] Object Storage Configuration
97
98
- [ ] HTTP Ingress information (i.e, hostname etc.)
@@ -156,7 +158,7 @@ This uses Amazon S3 as an Object Store, and Github as an Identity Provider, but
156
158
157
159
### Image Pull Secrets
158
160
159
-
You will require image pull secrets to pull down the docker images from our private repository. Get in contact with us to get a copy of them.
161
+
You will require image pull secrets to pull down the docker images from our private repository. Contact us at [[email protected]](mailto:[email protected]) to get a copy.
160
162
161
163
When you have the `key.json` file you can load it in as a secret like so:
162
164
@@ -179,16 +181,21 @@ imagePullSecrets:
179
181
180
182
With the 4 databases configured, you will need to configure Logfire & Dex within `values.yaml`.
181
183
182
-
The 2 databases for logfire (`crud`and `ff`) can be configured either via the DSNs in `values.yaml` or as a secret.
184
+
The 3 databases for logfire (`crud`, `ff` and `ingest`) can be configured either via the DSNs in `values.yaml` or as a secret.
Or if you have a secret containing `postgresDsn` and `postgresFFDsn` keys:
194
+
Or if you have a secret containing postgresDsn and postgresFFDsn keys:
195
+
196
+
!!! note
197
+
For ArgoCD users, it is highly recommended to [use an existing Kubernetes secret](https://argo-cd.readthedocs.io/en/stable/operator-manual/secret-management/) to manage your database credentials.
198
+
To do so, ensure you set `enabled: true` and provide the name of your secret.
Copy file name to clipboardExpand all lines: docs/self-hosted/troubleshooting.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,14 @@
2
2
3
3
There are occasions when you need to troubleshoot the installation. Since Logfire sends its own internal logs to the `logfire-meta` organisation, this is a good place to start.
4
4
5
+
## ErrImagePull / ImagePullBackOff
6
+
7
+
If you are seeing Image pull issues on your logfire pods, make sure you have:
8
+
9
+
* Created the required Image Pull Secret as described at the [Installation](./installation.md#image-pull-secrets_1) section
10
+
* You set the right secret name at `Values.imagePullSecrets`
11
+
* Both secret and the release are installed on the same namespace
12
+
5
13
## Accessing the Meta Organization
6
14
7
15
Logfire will send internal traces to a meta organisation that is created upon first install. This meta organisation is helpful in troubleshooting any issues that might arise when running Logfire.
0 commit comments