postfinance / kuota-calc Goto Github PK
View Code? Open in Web Editor NEWSimple utility to calculate the resource quota needed for your k8s deployment(s)
License: MIT License
Simple utility to calculate the resource quota needed for your k8s deployment(s)
License: MIT License
"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
Detailed view displays the calculation as follows:
$ kustomize build | kuota-calc --detailed
Version Kind Name Replicas CPU Memory
apps/v1 Deployment deployment-a 2 3 6Gi
apps/v1 Deployment deployment-b 3 4 8Gi
In order to be more transparent it should possibly also show rollout strategy and the calculated result for MaxReplicas during "normal" operation.
E.g:
Version Kind Name Replicas Strategy MaxReplicas CPU Memory
apps/v1 Deployment deployment-a 2 RollingUpdate 3 3 6Gi
apps/v1 Deployment deployment-b 3 RollingUpdate 3 4 8Gi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.