-
Story
-
Resolution: Unresolved
-
Major
-
None
Title: Multi-Cluster Pipeline Logs – Hub Cluster View
The OpenShift Pipelines Console Plugin to show spoke cluster logs in the hub cluster console so that user can view pipelines logs centrally.
Background (Required)
Currently, logs are only available in the single cluster. In multi-cluster setups, users must access each spoke cluster individually to view pipeline logs. Centralized log visibility in the hub improves monitoring efficiency.
Approach (Required)
- Cluster Registration: Hub maintains a registry of spoke clusters with connection credentials.
- API Proxy: Extend hub API to fetch logs from spoke clusters via WebSocket or HTTP.
- Log Streaming: Hub handles streaming, with retry/fallback for unreachable clusters.
Dependencies
- Multi-cluster OpenShift setup (Hub + Spoke)
- Tekton Results API in spoke clusters
- DEVCONSOLE_PROXY flag for hub proxy
Acceptance Criteria (Mandatory)
- Spoke cluster logs visible in hub console under PipelineRun details
- WebSocket streaming works for live pods
- Fallback to HTTP or Tekton Results API for terminated pods
- Correct error handling for unreachable spoke clusters
INVEST Checklist
- Dependencies identified
- Blockers noted
- Design implementable
- Acceptance criteria agreed
- Story estimated
Done Checklist
- Code reviewed, documented, checked in
- CD pipelines can deploy changes
- Customer/API documentation updated
- Acceptance criteria met