postfinance / kuota-calc

Simple utility to calculate the resource quota needed for your k8s deployment(s)
MIT License
24 stars 4 forks source link

support HorizontalPodAutoscaler.v2.autoscaling #12

Open ledroide opened 2 years ago

ledroide commented 2 years ago

"no kind HorizontalPodAutoscaler is registered for version autoscaling/v2" :

$ kustomize build env/dev | kubectl kuota-calc --detailed
{"level":"warn","time":"2022-09-12T10:07:45+02:00","message":"no kind \"HorizontalPodAutoscaler\" is registered for version \"autoscaling/v2\" in scheme \"pkg/runtime/scheme.go:100\""}
$ kubectl kuota-calc --version
version 0.2.2 (revision: 4f9a7c3c570b409e6ac3f2d0ed21b51d78817740)
        build date: 2021-12-21T06:24:08Z
        go version: go1.17.5