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:
@@ -73,6 +73,8 @@ func Init(ctx context.Context, address string, db *gorm.DB, store store.Store) (
|
||||
k8sAPI.Get("/statefulset/list", k8s.K8sStatefulSetList(ctx, db, store))
|
||||
k8sAPI.Get("/configmap/list", k8s.K8sConfigMapList(ctx, db, store))
|
||||
k8sAPI.Get("/pod/list", k8s.K8sPodList(ctx, db, store))
|
||||
k8sAPI.Get("/pod/logs", k8s.K8sPodLogs(ctx, db, store))
|
||||
k8sAPI.Delete("/pod/delete", k8s.K8sPodDelete(ctx, db, store))
|
||||
k8sAPI.Get("/pv/list", k8s.K8sPVList(ctx, db, store))
|
||||
k8sAPI.Get("/pvc/list", k8s.K8sPVCList(ctx, db, store))
|
||||
k8sAPI.Get("/service/list", k8s.K8sServiceList(ctx, db, store))
|
||||
|
||||
Reference in New Issue
Block a user