feat(userbot): add Kubernetes control panel

Manage Telegram instances through Kubernetes with legacy adoption for forust and anna. Build and deploy the panel image alongside the runtime.
This commit is contained in:
2026-07-26 19:39:09 +02:00
parent 30e6f05584
commit 71cddd6a91
41 changed files with 8268 additions and 21 deletions
@@ -0,0 +1,17 @@
<script lang="ts">
import type { InstanceStatus } from '../lib/types';
export let status: InstanceStatus;
const labels: Record<InstanceStatus, string> = {
running: 'Работает',
stopped: 'Остановлен',
pending: 'Запускается',
error: 'Ошибка',
};
</script>
<span class="status status-{status}">
<span class="status-dot" aria-hidden="true"></span>
{labels[status]}
</span>