Skip to content

Question: Can kube-score provide a summarized "table view" grouped by resource type? #669

@Josca

Description

@Josca

Hey,
thank you very much for a great tool. I’m wondering if kube-score can be used to summarize rendered Kubernetes manifests (e.g. from helm template) into a compact, table-style overview grouped by resource type, with some useful info in columns, using only static information from the manifests — instead of running the full scoring checks.

Use case

When working with Helm charts, it would be extremely useful to quickly understand:

  • What kinds of resources will be created
  • How many of each resource type
  • Overall requested/limited CPU, memory, and storage
  • Key static properties like replicas, storage sizes, service types, etc.

Proposed usage example

helm template mychart/ | kube-score table-view

Example of desired static output

=== Pods (count: 12, total requests: CPU 2200m / Mem 4Gi, total limits: CPU 4000m / Mem 8Gi) ===
NAMESPACE     NAME                 CPU REQ   MEM REQ   CPU LIM   MEM LIM
default       my-app-123           200m      256Mi     500m      512Mi
default       my-worker-xyz        400m      512Mi     800m      1Gi
...

=== Deployments (count: 3) ===
NAMESPACE     NAME                 REPLICAS   STRATEGY
default       my-app               3          RollingUpdate
default       my-worker            2          Recreate
...

=== StatefulSets (count: 2) ===
NAMESPACE     NAME                 REPLICAS
data          db-cluster           3
...

=== PersistentVolumeClaims (count: 5, total requested: 120Gi) ===
NAMESPACE     NAME                 STORAGE     ACCESS MODE
default       data-pvc             20Gi        RWO
default       cache-pvc            10Gi        RWO
...

=== Services (count: 4) ===
NAMESPACE     NAME                 TYPE        PORTS
default       my-app-svc           ClusterIP   80/TCP
default       my-worker-svc        NodePort    8080/TCP
...

Key points

  • Works entirely on static manifest data (no runtime info like pod statuses or IPs).
  • Useful for auditing Helm chart outputs or large manifest sets.
  • Could be an optional mode, e.g. kube-score table-view or --summary.

Questions

  • Is there already an existing option to produce such a summarized, grouped table view?
  • If not, would you be open to considering this as a new feature?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions