simple-krr-dashboard
by DevOps IA
A Helm chart to deploy Simple KRR Dashboard
About this chart
simple-krr-dashboard
A Helm chart to deploy Simple KRR Dashboard
Maintainers
| Name | Url | |
|---|---|---|
| ialejandro | [email protected] | https://ialejandro.rocks |
Prerequisites
- Helm 3+
Add repository
helm repo add simple-krr-dashboard https://devops-ia.github.io/helm-simple-krr-dashboard
helm repo update
Install Helm chart (repository mode)
helm install [RELEASE_NAME] simple-krr-dashboard/simple-krr-dashboard
This install all the Kubernetes components associated with the chart and creates the release.
See helm install for command documentation.
Install Helm chart (OCI mode)
Charts are also available in OCI format. The list of available charts can be found here.
helm install [RELEASE_NAME] oci://ghcr.io/devops-ia/helm-simple-krr-dashboard/simple-krr-dashboard --version=[version]
Uninstall Helm chart
helm uninstall [RELEASE_NAME]
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
Examples
See examples directory.
Configuration
See Customizing the chart before installing. To see all configurable options with comments:
helm show values simple-krr-dashboard/simple-krr-dashboard
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity for pod assignment Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity |
| annotations | object | {} | Configure annotations on Deployment |
| args | list | [] | Configure args Ref: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ |
| autoscaling | object | {"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80} | Autoscaling with CPU or memory utilization percentage Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ |
| command | list | [] | Configure command Ref: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/ |
| configMaps | object | {} | ConfigMap values to create configuration files Generate ConfigMap with following name: - Ref: https://kubernetes.io/docs/concepts/configuration/configmap/ |
| dnsConfig | object | {} | Configure DNS Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/ |
| dnsPolicy | string | "ClusterFirst" | Configure DNS policy Options: ClusterFirst, Default, ClusterFirstWithHostNet, None Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/ |
| env | object | {} | Environment variables to configure application Ref: https://github.com/devops-ia/simple-krr-dashboard?tab=readme-ov-file#environment-variables |
| envFromConfigMap | object | {} | Variables from configMap |
| envFromFiles | list | [] | Variables from files managed by you Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#configure-all-key-value-pairs-in-a-configmap-as-container-environment-variables |
| envFromSecrets | object | {} | Variables from secrets |
| extraObjects | list | [] | Extra Kubernetes manifests to deploy |
| fullnameOverride | string | "" | String to fully override simple-krr-dashboard.fullname template |
| gateway | object | {"annotations":{},"className":"","create":false,"enabled":false,"filters":[],"hostnames":[],"labels":{},"listeners":[{"name":"http","port":80,"protocol":"HTTP"}],"parentRefs":[{"name":"","namespace":""}],"rules":[{"matches":[{"path":{"type":"PathPrefix","value":"/"}}]}]} | Gateway API configuration (Gateway + HTTPRoute resources) Ref: https://gateway-api.sigs.k8s.io/ Requires Gateway API CRDs installed in the cluster. TLS is configured at the Gateway listener level, not the HTTPRoute. |
| gateway.annotations | object | {} | Annotations for the HTTPRoute |
| gateway.className | string | "" | GatewayClass name — required when create is true |
| gateway.create | bool | false | Set to false to attach to a pre-existing Gateway via parentRefs. |
| gateway.filters | list | [] | Additional request/response filters |
| gateway.hostnames | list | [] | Hostnames to match (leave empty to match all hostnames) |
| gateway.labels | object | {} | Additional labels for the HTTPRoute |
| gateway.listeners | list | [{"name":"http","port":80,"protocol":"HTTP"}] | Gateway listeners — used only when create is true |
| gateway.parentRefs | list | [{"name":"","namespace":""}] | Ignored when create is true (auto-wired to the chart-managed Gateway). |
| gateway.rules | list | [{"matches":[{"path":{"type":"PathPrefix","value":"/"}}]}] | Route rules (backendRefs are auto-generated from service config) |
| hostAliases | list | [] | Configure hostAliases Ref: https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/ |
| image | object | {"pullPolicy":"IfNotPresent","repository":"ghcr.io/devops-ia/simple-krr-dashboard","tag":""} | Image registry The image configuration for the base service |
| imagePullSecrets | list | [] | Docker registry secret names as an array |
| ingress | object | {"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]} | Ingress configuration to expose app Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/ |
| initContainers | list | [] | Configure additional containers Ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ |
| job | object | {"affinity":{},"annotations":{"helm.sh/hook":"post-install,post-upgrade","helm.sh/hook-delete-policy":"before-hook-creation,hook-succeeded","helm.sh/hook-weight":"1"},"args":[],"backoffLimit":1,"backoffLimitPerIndex":1,"command":["/bin/bash","-c"],"completionMode":"Indexed","completions":1,"concurrencyPolicy":"Forbid","cronJobAnnotations":{},"dnsConfig":{},"dnsPolicy":"ClusterFirst","enabled":true,"env":{},"envFromConfigMap":{},"envFromFiles":[],"envFromSecrets":{},"failedJobsHistoryLimit":1,"image":{"pullPolicy":"IfNotPresent","repository":"robustadev/krr","tag":"v1.31.1"},"initialJob":true,"krrExtraArguments":"","kubectlInitContainer":{"image":{"pullPolicy":"IfNotPresent","repository":"alpine/kubectl","tag":"1.35.2"}},"labels":{},"maxFailedIndexes":1,"nodeSelector":{},"parallelism":1,"podAnnotations":{},"podLabels":{},"podSecurityContext":{},"resources":{},"restartPolicy":"Never","schedule":"0 0 * * *","securityContext":{},"successfulJobsHistoryLimit":1,"terminationGracePeriodSeconds":30,"tolerations":[],"volumeMounts":[],"volumes":[]} | CronJob configuration (also used by initial Job if enabled) Ref: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/ |
| job.affinity | object | {} | Affinity for the job |
| job.annotations | object | {"helm.sh/hook":"post-install,post-upgrade","helm.sh/hook-delete-policy":"before-hook-creation,hook-succeeded","helm.sh/hook-weight":"1"} | Annotations for the initial Job (Helm hook lifecycle only) |
| job.args | list | [] | Arguments for the job container |
| job.backoffLimit | int | 1 | Number of retries before marking job as failed |
| job.backoffLimitPerIndex | int | 1 | Number of retries per index before marking job as failed |
| job.command | list | ["/bin/bash","-c"] | Command for the job container |
| job.completionMode | string | "Indexed" | Completion mode for the job |
| job.completions | int | 1 | Number of completions required for the job |
| job.concurrencyPolicy | string | "Forbid" | Concurrency policy for the cronjob |
| job.cronJobAnnotations | object | {} | Annotations for the CronJob (regular resource, no hook annotations) |
| job.dnsConfig | object | {} | Configure DNS |
| job.dnsPolicy | string | "ClusterFirst" | Configure DNS policy |
| job.enabled | bool | true | Enable or disable the cronjob |
| job.env | object | {} | Environment variables to configure the job |
| job.envFromConfigMap | object | {} | Variables from configMap |
| job.envFromFiles | list | [] | Variables from files managed by you |
| job.envFromSecrets | object | {} | Variables from secrets |
| job.failedJobsHistoryLimit | int | 1 | Number of failed jobs to keep |
| job.image | object | {"pullPolicy":"IfNotPresent","repository":"robustadev/krr","tag":"v1.31.1"} | Image configuration for the job |
| job.initialJob | bool | true | Enable or disable the initial job |
| job.kubectlInitContainer | object | {"image":{"pullPolicy":"IfNotPresent","repository":"alpine/kubectl","tag":"1.35.2"}} | Init container that provides kubectl to the job container via a shared volume. The KRR image (robustadev/krr) does not ship kubectl, so this init container is required for the default args to work. Use the image tag to pin a specific kubectl version for compatibility with your Kubernetes server version (ref: Dockerfile FROM alpine/kubectl). |
| job.labels | object | {} | Labels for the job |
| job.maxFailedIndexes | int | 1 | Maximum number of failed indexes |
| job.nodeSelector | object | {} | Node selector for the job |
| job.parallelism | int | 1 | Number of parallel jobs |
| job.podAnnotations | object | {} | Pod annotations for the job |
| job.podLabels | object | {} | Pod labels for the job |
| job.podSecurityContext | object | {} | Defines privilege and access control settings for the job Pod Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ The init container runs as root (runAsUser: 0) to copy the kubectl binary. Set fsGroup: 1000 to match the krr user in the dashboard image so the emptyDir volume is group-readable without relying on world-execute permissions. |
| job.resources | object | {} | Resource limits and requests for the job |
| job.restartPolicy | string | "Never" | Restart policy for the job |
| job.schedule | string | "0 0 * * *" | The schedule in Cron format |
| job.securityContext | object | {} | Defines privilege and access control settings for the job container Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ |
| job.successfulJobsHistoryLimit | int | 1 | Number of successful jobs to keep |
| job.terminationGracePeriodSeconds | int | 30 | Termination grace period in seconds |
| job.tolerations | list | [] | Tolerations for the job |
| job.volumeMounts | list | [] | Volume mounts for the job |
| job.volumes | list | [] | Volumes for the job |
| labels | object | {} | Configure labels on Deployment |
| lifecycle | object | {} | Configure lifecycle hooks Ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/ Ref: https://learnk8s.io/graceful-shutdown |
| livenessProbe | object | {"enabled":false,"failureThreshold":3,"initialDelaySeconds":180,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5} | Configure liveness checker Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-startup-probes |
| livenessProbeCustom | object | {} | Custom livenessProbe |
| nameOverride | string | "" | String to partially override simple-krr-dashboard.fullname template (will maintain the release name) |
| networkPolicy | object | {"egress":[],"enabled":false,"ingress":[],"policyTypes":[]} | NetworkPolicy configuration Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/ |
| networkPolicy.enabled | bool | false | Enable or disable NetworkPolicy |
| networkPolicy.policyTypes | list | [] | Policy types |
| nodeSelector | object | {} | Node labels for pod assignment Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector |
| persistentVolume | object | {"accessModes":["ReadWriteOnce"],"annotations":{},"enabled":false,"labels":{},"selector":{},"size":"8Gi","storageClass":"","volumeBindingMode":"","volumeName":""} | Persistent Volume configuration Ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/ |
| persistentVolume.accessModes | list | ["ReadWriteOnce"] | Persistent Volume access modes Must match those of existing PV or dynamic provisioner Ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ |
| persistentVolume.annotations | object | {} | Persistent Volume annotations |
| persistentVolume.enabled | bool | false | Enable or disable persistence |
| persistentVolume.labels | object | {} | Persistent Volume labels |
| persistentVolume.selector | object | {} | Persistent Volume Claim Selector Useful if Persistent Volumes have been provisioned in advance Ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#selector |
| persistentVolume.size | string | "8Gi" | Persistent Volume size |
| persistentVolume.storageClass | string | "" | Persistent Volume Storage Class If defined, storageClassName: If set to "-", storageClassName: "", which disables dynamic provisioning If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner. (gp2 on AWS, standard on GKE, AWS & OpenStack) |
| persistentVolume.volumeBindingMode | string | "" | Persistent Volume Binding Mode If defined, volumeBindingMode: If undefined (the default) or set to null, no volumeBindingMode spec is set, choosing the default mode. |
| persistentVolume.volumeN |
Deploy simple-krr-dashboard with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has simple-krr-dashboard 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 chartsimple-krr-dashboard is pinned at v1.6.4 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