KnetzHub/Knetz

Real Kubernetes Resource Discovery

Open

#10 opened on Oct 24, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (0 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

Difficulty: ⭐⭐⭐ (Medium)
Dependencies: Issue #8
Component: Service Discovery

Description: Implement actual Kubernetes resource discovery by querying real clusters instead of using mock data. This involves discovering Deployments, StatefulSets, and DaemonSets across all accessible namespaces, extracting version information from standard Kubernetes labels like app.kubernetes.io/version and custom annotations, parsing container image tags to extract semantic versions when labels aren't available, and detecting Helm releases by examining Helm storage secrets or configmaps to get chart versions. Add support for OpenShift-specific resources like DeploymentConfigs which are commonly used in enterprise environments, implement configurable namespace filtering to exclude system namespaces and focus on application workloads, and add discovery result caching to improve performance for frequently scanned clusters. Handle different Kubernetes versions gracefully and provide clear error messages when resources can't be accessed due to RBAC restrictions.

Acceptance Criteria:

  • Discover real Deployments, StatefulSets, DaemonSets
  • Extract actual version information from labels/annotations
  • Parse container image tags for version extraction
  • Support Helm release detection
  • Add OpenShift DeploymentConfig support
  • Implement namespace filtering

Why Now: Core functionality that enables all subsequent features.

Contributor guide