gitpod/components/ws-manager-api
Kyle Brennan 1a7c50a8b5
[ws-manager-mk2] support storage quotas (#17606)
* [ws-manager-mk2] add support for storage quotas

This way, on workspace create, `ws-daemon` can set XFS limits for `/workspace`

* [preview] set smaller /workspace limits

This way we don't have to spend more on preview environments.

* [ws-daemon] warn when xfs is missing

* Partial revert of "Revert "[ws-daemon] Restart IWS if ws-daemon is restarted (#17552)" (#17645)"

This reverts commit e082b7f48885199013df927d3c71c62935f74047.

It avoids reverts on notify.go and workspace_provider.go.

* [ws-daemon] log when handling running workspaces

* [test] add test for xfs quotas
2023-05-19 20:49:53 +08:00
..
2021-06-04 16:26:37 -04:00
2022-10-04 15:17:22 +02:00

Overview

The ws-manager-api component hosts the api component of ws-manager.

Making changes to the api

First, make sure those changes are really neccesary. We want to keep the interface as trim as possible. To make changes, edit core.proto ideally in a backwards compatible manner. Then run ./generate.sh in this directory to re-generate the GO and TypeScript protocol implementations.