An API installed locally on kthcloud servers. This API exposed the host's information to the kthcloud platform, such as CPU, memory, disk, and GPU information. The API is installed automatically when the host is provisioned, see kthcloud/ansible-setup-host for more information.
Exposes the host's CPU, memory, and disk information.
Exposes the host's GPU information, including slot, bus, vendor, vendor ID, and device ID.
Exposes the host's status, such as the temperature and usage of CPU, RAM and network.
Exposes the host's node information, such as the zone.
Install the dependencies and start the API.
$ bun install
Start the API, either in production or development mode.
Development mode will use mock data.
$ bun start
$ bun run dev