all: update resource constraints

1. `frontend`: 3 replicas + 4 CPU (old: 1 replica + 2 CPU).
2. `frontend-internal`: 1 replicas + 4 CPU (old: 1 replica + 2 CPU).
3. `zoekt-webserver`: 8 CPU (old: 4 CPU).
4. `zoekt-indexserver`: 6GB memory (old: 8GB memory).
5. `pgsql`: 4 CPU + 2G memory (old: 2 CPU + 1G memory).
This commit is contained in:
Stephen Gutekanst committed 2019-04-11 11:36:32 -07:00
1 parent 99a13f2730
commit a3b7d35c24
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ docker run --detach \
--name=sourcegraph-frontend-internal \
--network=sourcegraph \
--restart=always \
--cpus=2 \
--cpus=4 \
--memory=4g \
-e PGHOST=pgsql \
-e SRC_GIT_SERVERS=gitserver-0:3178 \
+1 -1
View File
@@ -13,7 +13,7 @@ docker run --detach \
--name=sourcegraph-frontend \
--network=sourcegraph \
--restart=always \
--cpus=2 \
--cpus=4 \
--memory=4g \
-e JAEGER_AGENT_HOST='jaeger-agent' \
-e PGHOST=pgsql \
+2 -2
View File
@@ -13,8 +13,8 @@ docker run --detach \
--name=pgsql \
--network=sourcegraph \
--restart=always \
--cpus=2 \
--memory=1g \
--cpus=4 \
--memory=2g \
-v ~/sourcegraph-docker/pgsql-disk:/data/pgdata \
sourcegraph/postgres:18-11-26_9.4_a9463ecc@sha256:ca9964a200beb9756704279f82f13caea39eaee8ee9e9e13eba57f2de4952f71
+1 -1
View File
@@ -14,7 +14,7 @@ docker run --detach \
--network=sourcegraph \
--restart=always \
--cpus=4 \
--memory=8g \
--memory=6g \
-e SRC_FRONTEND_INTERNAL=http://sourcegraph-frontend-internal:3090 \
-v ~/sourcegraph-docker/zoekt-shared-disk:/data/index \
sourcegraph/zoekt-indexserver:18-10-30_faca01d@sha256:36c1309d935b7faf5ec69277444a6c0eefa510a6eb20deb651cdb7ce3de3913f
+1 -1
View File
@@ -13,7 +13,7 @@ docker run --detach \
--name=zoekt-webserver \
--network=sourcegraph \
--restart=always \
--cpus=2 \
--cpus=8 \
--memory=60g \
-v ~/sourcegraph-docker/zoekt-shared-disk:/data/index \
sourcegraph/zoekt-webserver:18-10-30_faca01d@sha256:afadb33c9c254256fc41a6cbd372d2eca93140eebc1fee05367fd81059ea7205