github opscart/opscart-k8s-watcher v0.2
v0.2: Multi-Cluster Support

latest releases: v1.11.0, v1.10.3, v1.10.2...
6 months ago

🎉 Multi-Cluster Support

v0.2 adds the ability to scan, compare, and analyze multiple Kubernetes clusters simultaneously.

✨ New Features

  • Config management - Centralized cluster configuration (config init, config show)
  • Multi-cluster scanning - Scan all clusters with --all-clusters
  • Cluster groups - Scan by environment with --cluster-group production
  • Side-by-side comparison - Compare security posture with --compare=a,b
  • Sequential execution - Clear, readable output for multiple clusters
  • Cluster identification - Every scan shows which cluster it's analyzing

🚀 Usage

# Initialize config
./opscart-scan config init

# Scan all clusters
./opscart-scan security --all-clusters

# Scan by group
./opscart-scan resources --cluster-group production

# Compare two clusters
./opscart-scan security --compare=prod,staging

🔍 Real-World Findings During Testing

  • Found production namespace idle for 70+ days
  • Found staging namespace idle for 21+ days
  • Identified spot instance optimization opportunities across clusters
  • Scan time: ~200ms per cluster (sequential)

Backward Compatibility

100% compatible with v0.1 - All existing commands work unchanged

Installation

git clone https://github.com/opscart/opscart-k8s-watcher.git
cd opscart-k8s-watcher
git checkout v0.2
go build -o opscart-scan cmd/opscart-scan/main.go
./opscart-scan config init

What's Next (v0.3)

  • HTML report generation
  • JSON/CSV output formats
  • Full diff view for cluster comparison
  • Network policy detection

🐛 Known Issues

  • Compare mode currently only works with comma-separated format: --compare=a,b
  • Multi-cluster comparison limited to security command (other commands in v0.3)

Full Changelog: v0.1...v0.2

Don't miss a new opscart-k8s-watcher release

NewReleases is sending notifications on new releases.