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/self-hosting/kubernetes.mdx
+35-19Lines changed: 35 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,11 @@ Should the burden ever get too much, we'd be happy to see you on [Trigger.dev cl
16
16
### Prerequisites
17
17
- Kubernetes cluster 1.19+
18
18
- Helm 3.8+
19
-
- Kubectl configured with cluster access
19
+
- Kubectl with cluster access
20
20
21
-
### Resource requirements
21
+
### Resources
22
22
23
-
The following are minimum requirements for running the entire Trigger.dev stack on Kubernetes:
23
+
The following are minimum requirements for running the entire stack on Kubernetes:
24
24
25
25
**Cluster resources:**
26
26
- 6+ vCPU total
@@ -53,11 +53,15 @@ webapp:
53
53
54
54
### Quick start
55
55
56
+
<Note>
57
+
The examples in this guide do NOT use the latest chart version. Please check [this page](https://github.com/triggerdotdev/trigger.dev/pkgs/container/charts%2Ftrigger).
58
+
</Note>
59
+
56
60
1. Install with default values (for testing only):
@@ -82,8 +86,6 @@ While v4 is in beta, always use `@v4-beta` instead of `@latest`. For example: `n
82
86
83
87
## Configuration
84
88
85
-
The default installation uses insecure secrets and is only suitable for testing. You _will_ need to configure your own secrets as a bare minimum.
86
-
87
89
Most values map directly to the environment variables documented in the [webapp](/self-hosting/env/webapp) and [supervisor](/self-hosting/env/supervisor) environment variable overview.
88
90
89
91
**Naming convention:**
@@ -100,19 +102,28 @@ config:
100
102
appOrigin: "https://trigger.example.com"
101
103
```
102
104
105
+
### Default values
106
+
107
+
The default values are insecure and are only suitable for testing. You _will_ need to configure your own secrets as a bare minimum. The following commands will display the default values:
108
+
109
+
```bash
110
+
helm show values oci://ghcr.io/triggerdotdev/charts/trigger:4.0.0-beta.5
111
+
```
112
+
103
113
### Custom values
104
114
105
-
Create a `values-custom.yaml` file. For example:
115
+
Create a `values-custom.yaml` file to override the default values. For example:
106
116
107
117
```yaml
108
118
# Generate new secrets with `openssl rand -hex 16`
109
-
# WARNING: You should probably use existingSecret instead of hardcoding here
119
+
# WARNING: You should probably use an existingSecret instead
110
120
secrets:
121
+
enabled: true
111
122
sessionSecret: "your-32-char-hex-secret-1"
112
123
magicLinkSecret: "your-32-char-hex-secret-2"
113
124
# ...
114
125
115
-
# Recommended: Use existing secret - must contain at least the following keys:
126
+
# Recommended: existingSecret, must contain at least the following keys:
116
127
# - SESSION_SECRET
117
128
# - MAGIC_LINK_SECRET
118
129
# - ENCRYPTION_KEY
@@ -153,7 +164,7 @@ Deploy with your custom values:
See the [Docker registry setup](/self-hosting/docker#registry-setup) for conceptual information. The configuration is specified in your `values.yaml`:
244
255
@@ -261,7 +272,7 @@ registry:
261
272
The internal registry (`registry.external: false`) is experimental and requires proper TLS setup and additional cluster configuration. Use an external registry for production.
262
273
</Note>
263
274
264
-
## Object Storage
275
+
## Object storage
265
276
266
277
See the [Docker object storage setup](/self-hosting/docker#object-storage) for conceptual information. The defaults will use built-in MinIO, but you can use an external S3-compatible storage. The configuration is specified in your `values.yaml`:
0 commit comments