Module static_analyzer

Module static_analyzer 

Source
Expand description

Static analysis of Kubernetes manifests. Static analysis of Kubernetes manifests for resource optimization.

Analyzes Kubernetes manifests to detect over-provisioned or under-provisioned resources without requiring cluster access.

Supports:

  • Kubernetes YAML manifests
  • Terraform HCL files with kubernetes_* provider resources
  • Helm charts - Renders with helm template before analysis
  • Kustomize directories - Builds with kustomize build before analysis

Functionsยง

analyze
Analyze Kubernetes manifests from a path.
analyze_content
Analyze YAML content directly.
analyze_file
Analyze a single YAML file.