Skip to content

Commit 65e9d8b

Browse files
authored
Revert Postgres to 9.4 for the 3.0 release (sourcegraph#180)
* Revert "pgsql: Use smarter readiness and liveness probes (sourcegraph#179)" This reverts commit cb627e3. * pgsql: Revert Postgres to 9.4
1 parent cb627e3 commit 65e9d8b

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

base/pgsql/pgsql.Deployment.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,11 @@ spec:
2626
spec:
2727
containers:
2828
- env:
29-
image: sourcegraph/postgres-11.1:19-01-30_3d7f09aa@sha256:6d47f2fbc71b2a24869920fe9c9ad579dab616b37ad5e8b3ab5beb33d9a85cfe
30-
readinessProbe:
31-
exec:
32-
command:
33-
- /ready.sh
29+
image: sourcegraph/postgres:18-11-26_9.4_a9463ecc@sha256:ca9964a200beb9756704279f82f13caea39eaee8ee9e9e13eba57f2de4952f71
3430
livenessProbe:
3531
initialDelaySeconds: 15
36-
exec:
37-
command:
38-
- /liveness.sh
32+
tcpSocket:
33+
port: 5432
3934
name: pgsql
4035
ports:
4136
- containerPort: 5432
@@ -45,7 +40,7 @@ spec:
4540
cpu: "4"
4641
memory: 2Gi
4742
requests:
48-
cpu: "4"
43+
cpu: "4"
4944
memory: 2Gi
5045
volumeMounts:
5146
- mountPath: /data

docs/sourcegraph-3.0.migrate.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,3 @@ Sourcegraph 3.0 removed lsp-proxy and automatic language server deployment in fa
1313
Sourcegraph 3.0 removed HTTPS / TLS features from Sourcegraph in favor of relying on [Kubernetes Ingress Resources](https://kubernetes.io/docs/concepts/services-networking/ingress/). As a consequence, Sourcegraph 3.0 does not expose TLS as the NodePort 30433. Instead you need to ensure you have setup and configured an ingress controller. See [ingress controller documentation](configure.md#ingress-controller-recommended) and [configure TLS/SSL documentation](configure.md#configure-tlsssl).
1414

1515
If you previously configured `TLS_KEY` and `TLS_CERT` environment variables, you can remove them from [base/frontend/sourcegraph-frontend.Deployment.yaml](../base/frontend/sourcegraph-frontend.Deployment.yaml)
16-
17-
## Postgres 11.1
18-
19-
Sourcegraph 3.0 has been upgraded to work with Postgres 11.1 (from 9.4). Follow the below upgrade procedure before deploying Sourcegraph 3.0.
20-
21-
**To be written.**

0 commit comments

Comments
 (0)