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: charts/sentry-kubernetes/README.md
+41-20Lines changed: 41 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# sentry-kubernetes
2
2
3
-
[sentry-kubernetes](https://github.com/getsentry/sentry-kubernetes) is a utility that pushes Kubernetes events to [Sentry](https://sentry.io).
3
+
[sentry-kubernetes](https://github.com/getsentry/sentry-kubernetes) is a utility that pushes Kubernetes events
4
+
to [Sentry](https://sentry.io).
4
5
5
6
# Installation:
6
7
@@ -41,11 +42,13 @@ The following table lists the configurable parameters of the sentry-kubernetes c
41
42
42
43
## Usage
43
44
44
-
After installing the chart, you can configure various aspects of the sentry-kubernetes integration by modifying the `values.yaml` file or using `--set` flags during installation.
45
+
After installing the chart, you can configure various aspects of the sentry-kubernetes integration by modifying the
46
+
`values.yaml` file or using `--set` flags during installation.
45
47
46
48
### Example `values.yaml` Configuration
47
49
48
-
Here's an example `values.yaml` that sets up sentry-kubernetes with custom configurations (remove unused values for default values):
50
+
Here's an example `values.yaml` that sets up sentry-kubernetes with custom configurations (remove unused values for
51
+
default values):
49
52
50
53
```yaml
51
54
sentry:
@@ -70,21 +73,21 @@ rbac:
70
73
create: true
71
74
# Will replace the default rules
72
75
custom_rules:
73
-
- verbs:
74
-
- get
75
-
- list
76
-
- watch
77
-
apiGroups:
78
-
- 'apps'
79
-
- 'batch'
80
-
- ''
81
-
resources:
82
-
- events
83
-
- jobs
84
-
- deployments
85
-
- replicasets
86
-
- cronjobs
87
-
- pods
76
+
- verbs:
77
+
- get
78
+
- list
79
+
- watch
80
+
apiGroups:
81
+
- 'apps'
82
+
- 'batch'
83
+
- ''
84
+
resources:
85
+
- events
86
+
- jobs
87
+
- deployments
88
+
- replicasets
89
+
- cronjobs
90
+
- pods
88
91
89
92
resources:
90
93
limits:
@@ -97,7 +100,24 @@ resources:
97
100
98
101
## 📑 Schema Validation
99
102
100
-
This enables autocompletion and live validation of your values.yaml file in editors that support JSON Schema (YAML Language Server, VS Code, JetBrains, etc.).
103
+
The chart includes a [JSON Schema](https://json-schema.org/) for the `values.yaml` file, automatically generated from
Copy file name to clipboardExpand all lines: charts/sentry/README.md
+44-13Lines changed: 44 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1150,7 +1150,24 @@ Note: this table is incomplete, so have a look at the values.yaml in case you mi
1150
1150
1151
1151
## 📑 Schema Validation
1152
1152
1153
-
This enables autocompletion and live validation of your values.yaml file in editors that support JSON Schema (YAML Language Server, VS Code, JetBrains, etc.).
1153
+
The chart includes a [JSON Schema](https://json-schema.org/) for the `values.yaml` file, automatically generated from
**Editor support:** To enable autocompletion and live validation, choose one:
1156
1173
@@ -1171,22 +1188,29 @@ This enables autocompletion and live validation of your values.yaml file in edit
1171
1188
]
1172
1189
}
1173
1190
```
1174
-
* **JetBrains IDEs**: in **Settings > Languages & Frameworks > Schemas and DTDs > JSON Schema Mappings**, add the schema URL for `values.yaml`.
1191
+
* **JetBrains IDEs**: in **Settings > Languages & Frameworks > Schemas and DTDs > JSON Schema Mappings**, add the
1192
+
schema URL for `values.yaml`.
1175
1193
1176
1194
## NGINX and/or Ingress
1177
1195
1178
-
By default, NGINX is enabled to allow sending the incoming requests to [Sentry Relay](https://getsentry.github.io/relay/) or the Django backend depending on the path. When Sentry is meant to be exposed outside of the Kubernetes cluster, it is recommended to disable NGINX and let the Ingress do the same. It's recommended to go with the go to Ingress Controller, [NGINX Ingress](https://kubernetes.github.io/ingress-nginx/) but others should work as well.
1196
+
By default, NGINX is enabled to allow sending the incoming requests
1197
+
to [Sentry Relay](https://getsentry.github.io/relay/) or the Django backend depending on the path. When Sentry is meant
1198
+
to be exposed outside of the Kubernetes cluster, it is recommended to disable NGINX and let the Ingress do the same.
1199
+
It's recommended to go with the go to Ingress Controller, [NGINX Ingress](https://kubernetes.github.io/ingress-nginx/)
1200
+
but others should work as well.
1179
1201
1180
1202
## Sentry secret key
1181
1203
1182
-
If no `sentry.existingSecret` value is specified, for your security, the [`system.secret-key`](https://develop.sentry.dev/config/#general) is generated for you on the first installation and stored in a kubernetes secret.
1204
+
If no `sentry.existingSecret` value is specified, for your security, the [
1205
+
`system.secret-key`](https://develop.sentry.dev/config/#general) is generated for you on the first installation and
1206
+
stored in a kubernetes secret.
1183
1207
1184
1208
If `sentry.existingSecret` / `sentry.existingSecretKey` values are provided, those secrets will be used.
1185
1209
1186
-
1187
1210
## Symbolicator and or JavaScript source maps
1188
1211
1189
-
For getting native stacktraces and minidumps symbolicated with debug symbols (e.g. iOS/Android), you need to enable Symbolicator via
1212
+
For getting native stacktraces and minidumps symbolicated with debug symbols (e.g. iOS/Android), you need to enable
1213
+
Symbolicator via
1190
1214
1191
1215
```yaml
1192
1216
symbolicator:
@@ -1206,14 +1230,19 @@ filestore:
1206
1230
# storageClass: 'efs-storage' # see note below
1207
1231
```
1208
1232
1209
-
Note: If you need to run or cannot avoid running sentry-worker and sentry-web on different cluster nodes, you need to set `filestore.filesystem.persistence.accessMode: ReadWriteMany` or might get problems. HOWEVER, [not all volume drivers support it](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes), like AWS EBS or GCP disks.
1210
-
So you would want to create and use a `StorageClass` with a supported volume driver like [AWS EFS](https://github.com/kubernetes-sigs/aws-efs-csi-driver)
1233
+
Note: If you need to run or cannot avoid running sentry-worker and sentry-web on different cluster nodes, you need to
1234
+
set `filestore.filesystem.persistence.accessMode: ReadWriteMany` or might get problems.
1235
+
HOWEVER, [not all volume drivers support it](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes),
1236
+
like AWS EBS or GCP disks.
1237
+
So you would want to create and use a `StorageClass` with a supported volume driver
1238
+
like [AWS EFS](https://github.com/kubernetes-sigs/aws-efs-csi-driver)
1211
1239
1212
1240
Its also important having `connect_to_reserved_ips: true` in the symbolicator config file, which this Chart defaults to.
1213
1241
1214
1242
#### Source Maps
1215
1243
1216
-
To get javascript source map processing working, you need to activate sourcemaps, which in turn activates the memcached dependency:
1244
+
To get javascript source map processing working, you need to activate sourcemaps, which in turn activates the memcached
1245
+
dependency:
1217
1246
1218
1247
```yaml
1219
1248
sourcemaps:
@@ -1222,10 +1251,10 @@ sourcemaps:
1222
1251
1223
1252
For details on the background see this blog post: https://engblog.yext.com/post/sentry-js-source-maps
1224
1253
1225
-
1226
1254
## Geolocation
1227
1255
1228
-
[Geolocation of IP addresses](https://develop.sentry.dev/self-hosted/geolocation/) is supported if you provide a GeoIP database:
1256
+
[Geolocation of IP addresses](https://develop.sentry.dev/self-hosted/geolocation/) is supported if you provide a GeoIP
1257
+
database:
1229
1258
1230
1259
Example values.yaml:
1231
1260
@@ -1344,7 +1373,8 @@ externalPostgresql:
1344
1373
host: host
1345
1374
```
1346
1375
1347
-
it is possible to define which properties should be taken from secret or `values.yaml`, example below only takes `username` and `password` values from the secret:
1376
+
it is possible to define which properties should be taken from secret or `values.yaml`, example below only takes
1377
+
`username` and `password` values from the secret:
1348
1378
1349
1379
```yaml
1350
1380
externalPostgresql:
@@ -1357,7 +1387,8 @@ externalPostgresql:
1357
1387
database: sentry
1358
1388
```
1359
1389
1360
-
> ⚠️ `.Values.externalPostgresql.existingSecretKey` is deprecated, `.Values.externalPostgresql.existingSecretKeys.password` should be used instead.
1390
+
> ⚠️ `.Values.externalPostgresql.existingSecretKey` is deprecated,
1391
+
`.Values.externalPostgresql.existingSecretKeys.password` should be used instead.
0 commit comments