kubeglass

command module
v0.0.0-...-30012c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL