Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.32 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.32 KB

KubeGlass 🔮

Overview

Make kubernetes API changes between versions as transparent as glass.

NOTE: This program only works with kubernetes versions 1.28+.

Description

KubeGlass allows to compare 2 kubernetes versions and see what changed on the different APIs between them.

Installation

Run go install github.com/clebs/kubeglass.

Usage

Online

To compare 2 kubernetes versions run kubeglass --from=1.28 --to=1.29. This will show the following output: kubeglass output

This usage requires internet connection as it downloads all necessary information to compare APIs based on the given versions.

Offline

For those cases where an internet connection is not available, the aggregated discovery API files can be downloaded from the Kubernetes GitHub (e.g. here). Then running kubeglass as follows: kubeglass --from=./relative/path/to/file/aggregated-api-1.28.json --to=/absolute/path/to/file/aggregated-api-1.29.json

Roadmap

  • Persistent caching of downloaded data
  • Airgapped support
    • Allow -f/--from and -t/--to flags to take input files.
  • Richtext and colored printing to stdout
  • Krew support
  • Scan running clusters via the /apis endpoint