From 84ef72b2f0428f34bb331018952ad8bcce428e96 Mon Sep 17 00:00:00 2001 From: Ammar Bandukwala Date: Tue, 2 Aug 2022 21:04:35 +0000 Subject: [PATCH 1/2] Make minor improvements to Dogfood README --- dogfood/README.md | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/dogfood/README.md b/dogfood/README.md index e4ffc192e95e7..0ad67e0bc5ced 100644 --- a/dogfood/README.md +++ b/dogfood/README.md @@ -2,25 +2,23 @@ Ammar is this template's admin. -This template runs the `gcr.io/coder-dogfood/master/coder-dev-ubuntu` Docker -image in a `sysbox-runc` container. - ## Personalization The startup script runs your `~/personalize` file if it exists. -## How is this hosted? +## Hosting + +Coder dogfoods on a beefy, single Teraswitch machine. + +- We decided to use a bare metal provider for best-in-class cost-to-performance. +- We decided to use a single machine for to leverage vertical scaling for fast parallelized builds and tests. -Coder dogfoods on a beefy, single Teraswitch machine. We decided to use -a bare metal provider for best-in-class cost-to-performance. We decided to -use a single machine for crazy fast parallelized builds and tests. +## Provisioner Configuration -## How is the provisioner configured? +Our dogfood coderd box runs an SSH tunnel to our dogfood Docker host's docker socket. -Our dogfood VM runs an SSH tunnel to our dogfood Docker host's docker socket. -The socket is mounted on `/var/run/dogfood-docker.sock`. +The socket is mounted onto `/var/run/dogfood-docker.sock` in the coderd box. -The SSH command can be found hanging out in the screen session named -`forward`. +The SSH tunnel command can be found hanging out in the screen session named `forward`. -The tunnel and corresponding SSH key is under the root user. +The tunnel and corresponding SSH key is owned by root. From 40cbe288dbd01a79c4750735f7f1109f211abb0f Mon Sep 17 00:00:00 2001 From: Ammar Bandukwala Date: Tue, 2 Aug 2022 21:06:07 +0000 Subject: [PATCH 2/2] fixup! Make minor improvements to Dogfood README --- dogfood/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dogfood/README.md b/dogfood/README.md index 0ad67e0bc5ced..36db0cd4e1577 100644 --- a/dogfood/README.md +++ b/dogfood/README.md @@ -11,7 +11,7 @@ The startup script runs your `~/personalize` file if it exists. Coder dogfoods on a beefy, single Teraswitch machine. - We decided to use a bare metal provider for best-in-class cost-to-performance. -- We decided to use a single machine for to leverage vertical scaling for fast parallelized builds and tests. +- We decided to use a single machine (vertical scaling) for fast parallelized builds and tests. ## Provisioner Configuration