kube-resource-report

by rlex

Helm chartv0.10.1App 0.7.1

Report Kubernetes cluster and pod resource requests vs usage and generate static HTML

About this chart

kube-resource-report

Report Kubernetes cluster and pod resource requests vs usage and generate static HTML

Forked from official but unsupported chart with some fixes

Values

KeyTypeDefaultDescription
additionalCostPerClusterint0
affinityobject{}
container.portint8080
container.portNamestring"http"
container.portProtocolstring"TCP"
customArgslist[]
customLinks.datastring"team:\n- href: \"https://people.mycorp.example.org/search?q=team:{id}\"\n title: \"Search team {id} on people.mycorp\"\n icon: search\n"
customLinks.enabledboolfalse
envobject{}
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"hjacobs/kube-resource-report"
image.tagstring"22.11.0"
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
nameOverridestring""
nginx.image.repositorystring"nginx"
nginx.image.tagstring"alpine"
nodeSelectorobject{}
pricing.datastring"dc-1,master,30.000\ndc-1,worker,500.000\n"
pricing.enabledboolfalse
rbac.createbooltrue
replicaCountint1
resourcesApp.limits.memorystring"100Mi"
resourcesApp.requests.cpustring"5m"
resourcesApp.requests.memorystring"50Mi"
resourcesNginx.limits.memorystring"50Mi"
resourcesNginx.requests.cpustring"5m"
resourcesNginx.requests.memorystring"20Mi"
service.portint80
service.portNamestring"http"
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestringnil
tolerationslist[]
updateIntervalint1

Upgrading

A major chart version change indicates that there is an incompatible breaking change needing manual actions.

Deploy kube-resource-report with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kube-resource-report on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkube-resource-report is pinned at v0.10.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply