simple-krr-dashboard

by DevOps IA

Helm chartv1.6.4App 1.6.6Verified publisher

A Helm chart to deploy Simple KRR Dashboard

About this chart

simple-krr-dashboard

A Helm chart to deploy Simple KRR Dashboard

Maintainers

NameEmailUrl
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

KeyTypeDefaultDescription
affinityobject{}Affinity for pod assignment Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
annotationsobject{}Configure annotations on Deployment
argslist[]Configure args Ref: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/
autoscalingobject{"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/
commandlist[]Configure command Ref: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/
configMapsobject{}ConfigMap values to create configuration files Generate ConfigMap with following name: - Ref: https://kubernetes.io/docs/concepts/configuration/configmap/
dnsConfigobject{}Configure DNS Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
dnsPolicystring"ClusterFirst"Configure DNS policy Options: ClusterFirst, Default, ClusterFirstWithHostNet, None Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
envobject{}Environment variables to configure application Ref: https://github.com/devops-ia/simple-krr-dashboard?tab=readme-ov-file#environment-variables
envFromConfigMapobject{}Variables from configMap
envFromFileslist[]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
envFromSecretsobject{}Variables from secrets
extraObjectslist[]Extra Kubernetes manifests to deploy
fullnameOverridestring""String to fully override simple-krr-dashboard.fullname template
gatewayobject{"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.annotationsobject{}Annotations for the HTTPRoute
gateway.classNamestring""GatewayClass name — required when create is true
gateway.createboolfalseSet to false to attach to a pre-existing Gateway via parentRefs.
gateway.filterslist[]Additional request/response filters
gateway.hostnameslist[]Hostnames to match (leave empty to match all hostnames)
gateway.labelsobject{}Additional labels for the HTTPRoute
gateway.listenerslist[{"name":"http","port":80,"protocol":"HTTP"}]Gateway listeners — used only when create is true
gateway.parentRefslist[{"name":"","namespace":""}]Ignored when create is true (auto-wired to the chart-managed Gateway).
gateway.ruleslist[{"matches":[{"path":{"type":"PathPrefix","value":"/"}}]}]Route rules (backendRefs are auto-generated from service config)
hostAliaseslist[]Configure hostAliases Ref: https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/
imageobject{"pullPolicy":"IfNotPresent","repository":"ghcr.io/devops-ia/simple-krr-dashboard","tag":""}Image registry The image configuration for the base service
imagePullSecretslist[]Docker registry secret names as an array
ingressobject{"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/
initContainerslist[]Configure additional containers Ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
jobobject{"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.affinityobject{}Affinity for the job
job.annotationsobject{"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.argslist[]Arguments for the job container
job.backoffLimitint1Number of retries before marking job as failed
job.backoffLimitPerIndexint1Number of retries per index before marking job as failed
job.commandlist["/bin/bash","-c"]Command for the job container
job.completionModestring"Indexed"Completion mode for the job
job.completionsint1Number of completions required for the job
job.concurrencyPolicystring"Forbid"Concurrency policy for the cronjob
job.cronJobAnnotationsobject{}Annotations for the CronJob (regular resource, no hook annotations)
job.dnsConfigobject{}Configure DNS
job.dnsPolicystring"ClusterFirst"Configure DNS policy
job.enabledbooltrueEnable or disable the cronjob
job.envobject{}Environment variables to configure the job
job.envFromConfigMapobject{}Variables from configMap
job.envFromFileslist[]Variables from files managed by you
job.envFromSecretsobject{}Variables from secrets
job.failedJobsHistoryLimitint1Number of failed jobs to keep
job.imageobject{"pullPolicy":"IfNotPresent","repository":"robustadev/krr","tag":"v1.31.1"}Image configuration for the job
job.initialJobbooltrueEnable or disable the initial job
job.kubectlInitContainerobject{"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.labelsobject{}Labels for the job
job.maxFailedIndexesint1Maximum number of failed indexes
job.nodeSelectorobject{}Node selector for the job
job.parallelismint1Number of parallel jobs
job.podAnnotationsobject{}Pod annotations for the job
job.podLabelsobject{}Pod labels for the job
job.podSecurityContextobject{}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.resourcesobject{}Resource limits and requests for the job
job.restartPolicystring"Never"Restart policy for the job
job.schedulestring"0 0 * * *"The schedule in Cron format
job.securityContextobject{}Defines privilege and access control settings for the job container Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
job.successfulJobsHistoryLimitint1Number of successful jobs to keep
job.terminationGracePeriodSecondsint30Termination grace period in seconds
job.tolerationslist[]Tolerations for the job
job.volumeMountslist[]Volume mounts for the job
job.volumeslist[]Volumes for the job
labelsobject{}Configure labels on Deployment
lifecycleobject{}Configure lifecycle hooks Ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/ Ref: https://learnk8s.io/graceful-shutdown
livenessProbeobject{"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
livenessProbeCustomobject{}Custom livenessProbe
nameOverridestring""String to partially override simple-krr-dashboard.fullname template (will maintain the release name)
networkPolicyobject{"egress":[],"enabled":false,"ingress":[],"policyTypes":[]}NetworkPolicy configuration Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
networkPolicy.enabledboolfalseEnable or disable NetworkPolicy
networkPolicy.policyTypeslist[]Policy types
nodeSelectorobject{}Node labels for pod assignment Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
persistentVolumeobject{"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.accessModeslist["ReadWriteOnce"]Persistent Volume access modes Must match those of existing PV or dynamic provisioner Ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
persistentVolume.annotationsobject{}Persistent Volume annotations
persistentVolume.enabledboolfalseEnable or disable persistence
persistentVolume.labelsobject{}Persistent Volume labels
persistentVolume.selectorobject{}Persistent Volume Claim Selector Useful if Persistent Volumes have been provisioned in advance Ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#selector
persistentVolume.sizestring"8Gi"Persistent Volume size
persistentVolume.storageClassstring""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.volumeBindingModestring""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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsimple-krr-dashboard is pinned at v1.6.4 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