kompanion

command module
v0.0.0-...-d5fdcf1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

README

Kompanion

Experimental KCC companion tool to help troubleshoot, analyze and gather data about KCC.

Usage

Build from source

# Assumes pwd is <REPO_ROOT>/experiments/kompanion
$ GOWORK=off go build -o kompanion

Export

Export function may take minutes to run as the tool searches all the api resources that are KCC related in every namespace. Filters can be applied with the supported flags: kompanion export -h .

	# export KCC resources across all namespaces, excludes \"kube\" namespaces by default
	kompanion export

	# exclude certain namespace prefixes
	kompanion export --exclude-namespaces=kube --exclude-namespaces=my-team

	# target only specific namespace prefixes
	kompanion export --target-namespaces=my-team

	# target only specific namespace prefixes AND specific object prefixes
	kompanion export --target-namespaces=my-team --target-objects=logging

The command will generate a timestamped report tar.gz file to use as a snapshot.

Light Roadmap

  • Debug/ audit logs for the tool itself

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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