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
| Key | Type | Default | Description |
|---|---|---|---|
| additionalCostPerCluster | int | 0 | |
| affinity | object | {} | |
| container.port | int | 8080 | |
| container.portName | string | "http" | |
| container.portProtocol | string | "TCP" | |
| customArgs | list | [] | |
| customLinks.data | string | "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.enabled | bool | false | |
| env | object | {} | |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "hjacobs/kube-resource-report" | |
| image.tag | string | "22.11.0" | |
| imagePullSecrets | list | [] | |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "ImplementationSpecific" | |
| ingress.tls | list | [] | |
| nameOverride | string | "" | |
| nginx.image.repository | string | "nginx" | |
| nginx.image.tag | string | "alpine" | |
| nodeSelector | object | {} | |
| pricing.data | string | "dc-1,master,30.000\ndc-1,worker,500.000\n" | |
| pricing.enabled | bool | false | |
| rbac.create | bool | true | |
| replicaCount | int | 1 | |
| resourcesApp.limits.memory | string | "100Mi" | |
| resourcesApp.requests.cpu | string | "5m" | |
| resourcesApp.requests.memory | string | "50Mi" | |
| resourcesNginx.limits.memory | string | "50Mi" | |
| resourcesNginx.requests.cpu | string | "5m" | |
| resourcesNginx.requests.memory | string | "20Mi" | |
| service.port | int | 80 | |
| service.portName | string | "http" | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | nil | |
| tolerations | list | [] | |
| updateInterval | int | 1 |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkube-resource-report is pinned at v0.10.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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