magnifhir

by chgl

Helm chartv1.3.76App 1.xApache-2.0Verified publisher

A Helm chart for deploying the magniFHIR app on Kubernetes.

About this chart

magniFHIR Helm Chart

This chart deploys the magniFHIR FHIR resource browser on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes v1.21+
  • Helm v3.8+

Sample usage

helm install magnifhir oci://ghcr.io/chgl/charts/magnifhir -n magnifhir --create-namespace

Values

KeyTypeDefaultDescription
affinityobject{}affinity for pods assignment see: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
appsettingsstring""provide an appsettings object to configure the FhirServers and other settings via JSON see https://github.com/chgl/magniFHIR#configuration for details.
deploymentAnnotationsobject{}annotations applied to the server deployment
extraEnvlist[]extra env vars to set on the magnifhir container
fullnameOverridestring""fully override the release name
imagePullSecretslist[]image pull secrets used by all pods
ingress.annotationsobject{}additional annotations for the Ingress resource
ingress.enabledboolfalseif enabled, create an ingress resource to access the web ui
ingress.hosts[0].hoststring"magnifhir.127.0.0.1.nip.io"
ingress.hosts[0].paths[0]string"/"
ingress.ingressClassNamestring""name of the IngressClass resource to use for this ingress
ingress.tlslist[]TLS configuration
nameOverridestring""partially override the release name
nodeSelectorobject{}node labels for pods assignment see: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
podAnnotationsobject{}annotations applied to the server pod
replicaCountint1number of replicas
resourcesobject{}specify resource requests and limits
resourcesPresetstring"medium"set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if primary.resources is set (primary.resources is recommended for production). More information: https://github.com/chgl/charts/blob/master/charts/common/templates/_resources.tpl
service.metrics.portint8081port for the metrics endpoint
service.portint8080port for the web interface
service.typestring"ClusterIP"type of service
serviceAccount.annotationsobject{}
serviceAccount.automountServiceAccountTokenboolfalse
serviceAccount.createbooltrue
serviceAccount.namestring""
serviceMonitor.additionalLabelsobject{}additional labels to apply to the ServiceMonitor object, e.g. release: prometheus
serviceMonitor.enabledboolfalseif enabled, creates a ServiceMonitor instance for Prometheus Operator-based monitoring
tests.automountServiceAccountTokenboolfalse
tests.resourcesobject{}configure the test pods resource requests and limits
tests.resourcesPresetstring"nano"set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if primary.resources is set (primary.resources is recommended for production). More information: https://github.com/chgl/charts/blob/master/charts/common/templates/_resources.tpl
tolerationslist[]tolerati

Deploy magnifhir with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has magnifhir 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 chartmagnifhir is pinned at v1.3.76 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