watchall

command module
v0.0.0-...-479bc51 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 1 Imported by: 0

README

Watch all Resources in a Kubernetes Cluster

watchall is a tool which records changes to Kubernetes resources.

At the moment I use it mostly to record how conditions of CRDs change over time.

Next: sql model

How to get the yaml into a useful db schema?

GVK, Name, Namespace, Conditions

OwnerRefs

Annotations, Labels,

how to visualize the many yaml files?

Diff the yaml or diff the html created from a yaml file?

Timeline

Show every change of every resource by time. Scroll vertical or scroll horizontal?

I think scroll up/down like the git-tree usually gets shown.

In a mgt-cluster with one small wl-cluster are roughly 500 resources.

Hide all resources which have not changed during the recording.

Analyzing: Set markers

During analyzing the output, I want to be able set markers.

For example the timestamp that the cluster was deleted because the timeout was reached.

What do you want to search for?

  • Kind (for example Deployment)
  • Name of a resource
  • Fulltext

Maybe via k=foo n=foo t=foo

--> CEL?

Or store data in SQLight.

I think SQLight would be better.

Flat table: All resources are in one table.

Deduplication? Not now, optimize later.

Collection: During e2e test

We use envTest, so how to integrate there?

Documentation

Overview

Copyright © 2023 Thomas Güttler <info@thomas-guettler.de> See LICENSE file.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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