Skip to content

Make minor improvements to Dogfood README #3361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 2, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions dogfood/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.