feat: add pod logs and delete operations

- Add pod logs button with SSE streaming (WIP: SSE connection issues with HTTP/2)
- Add pod delete button with confirmation dialog
- Use existing resp.SSE package for log streaming
- Force HTTP/1.1 for k8s client to avoid stream closing issues
- Update frontend to handle pod actions and dialogs

🤖 Generated with [Qoder][https://qoder.com]
This commit is contained in:
loveuer
2025-11-12 23:05:32 +08:00
parent db28bc0425
commit 54ed79cea3
4 changed files with 275 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ export default defineConfig({
'/api': {
target: 'http://127.0.0.1:9119',
changeOrigin: true,
ws: true,
timeout: 0,
// Removed rewrite so /api prefix is preserved for backend route /api/v1/...
},
},