Skip to content

nilo19/kube-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube-timer: get the provision/deletion time of kubernetes resources easily

Install

go install github.com/nilo19/kube-timer
kube-timer -h

Usage

# Get the provision time of a LoadBalancer service.
kube-timer svc -f <service definition yaml file>

# Get the provision time of multiple LoadBalancer services (create the next service after the previous one is ready).
kube-timer svc -f <service definition yaml file> -c <number of services>

# Get the provision time of multiple LoadBalancer services (create all services and wait for them to be ready).
kube-timer svc -f <service definition yaml file> -c <number of services> -a

# Get the provision time of multiple LoadBalancer services and use event logs to calculate.
kube-timer svc -f <service definition yaml file> -c <number of services> -a --started-event-reason <reason of an event> --finished-event-reason <reason of an event>

# Get the deletion time of a LoadBalancer service.
kube-timer svc -d -n <service name> --namespace <service namespace> --started-event-reason <reason of an event> --finished-event-reason <reason of an event>

# Get the deletion times of all LoadBalancer services in the cluster.
kube-timer svc -D -n <service name> --namespace <service namespace> --started-event-reason <reason of an event> --finished-event-reason <reason of an event>

About

A lightweighted perf tool to test the provision/deletion time of kubernetes services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages