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/deployment/kubernetes.mdx
+24-5
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,11 @@ Using Briefer's Helm chart is the easiest way of setting up Briefer on your Kube
52
52
Feel free to change the namespace if you want to. If you're using an existing namespace, please remove the `--create-namespace` flag.
53
53
4. After installing Briefer's Helm chart, you can confirm that the manifests have been applied by listing all the pods in the chart's target namespace (usually `kubectl get pods -n briefer`).
54
54
<Note>
55
-
If you're running a Postgres instance within your cluster, it might be that
56
-
the API will be ready before the Postgres instance is up. In that case,
57
-
you'll see that the API pod will keep restarting for a few minutes. That's
58
-
_normal_. It happens because the API needs to connect to the database to
59
-
start, so it'll just keep trying to start until Postgres is ready.
55
+
If you're running a Postgres instance within your cluster, it might be that
56
+
the API will be ready before the Postgres instance is up. In that case,
57
+
you'll see that the API pod will keep restarting for a few minutes. That's
58
+
_normal_. It happens because the API needs to connect to the database to
59
+
start, so it'll just keep trying to start until Postgres is ready.
60
60
</Note>
61
61
5. Create the necessary `Ingress` resources so that you can access Briefer's API and Web containers.
62
62
Make sure to use the same URLs you've configured in step 2.
@@ -105,6 +105,25 @@ api:
105
105
postgresPassword: password
106
106
```
107
107
108
+
### Using more than one replica for Briefers' services
109
+
110
+
If you want to use more than one replica for Briefer's services, you must set the `replicas` for each service in your `values.yaml` file.
111
+
112
+
After doing that, make sure to enable sticky sessions in your `Ingress` resources. Without sticky sessions (also known as Session Affinity), Briefer will not work correctly when using multiple replicas.
113
+
114
+
If you're using NGINX as your Ingress controller, you can enable sticky sessions by adding the annotations below to your `Ingress` resources, for example.
0 commit comments