fhir-server-exporter

by chgl

Helm chartv1.2.45App 3.xApache-2.0Verified publisher

A Helm chart for deploying the FHIR® server exporter on Kubernetes.

About this chart

fhir-server-exporter

FHIR® Server Exporter - Helm chart for deploying the Prometheus FHIR® server exporter

TL;DR;

helm install fhir-server-exporter oci://ghcr.io/chgl/charts/fhir-server-exporter --create-namespace -n fhir

Introduction

This chart deploys the FHIR® server exporter. on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes v1.18+
  • Helm v3

Installing the Chart

To install the chart with the release name fhir-server-exporter:

helm install fhir-server-exporter oci://ghcr.io/chgl/charts/fhir-server-exporter -n fhir

The command deploys the FHIR® server exporter. on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall the fhir-server-exporter:

helm uninstall fhir-server-exporter -n fhir

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the fhir-server-exporter chart and their default values.

ParameterDescriptionDefault
fhirServerUrlthe URL of the FHIR server whose metrics should be scraped. Interpreted as a template.""
fhirServerNamethe name of the FHIR server (included in the metrics as server_name). Interpreted as a template.""
fetchIntervalSecondsFHIR server exporter fetch interval in seconds300
serviceMonitor.enabledif enabled, creates a ServiceMonitor instance for Prometheus Operator-based monitoringfalse
replicaCountnumber of replicas1
nameOverride""
fullnameOverride""
service.typeClusterIP
service.port8080
serviceAccount.createSpecifies whether a service account should be created.true
serviceAccount.nameThe name of the service account to use. If not set and create is true, a name is generated using the fullname template""
serviceAccount.automountServiceAccountTokenwhether to automount the SA tokenfalse
resourcesPresetset 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"micro"
podDisruptionBudget.enabledcreate a PodDisruptionBudget resource for the podsfalse
podDisruptionBudget.minAvailableMinimum available instances; ignored if there is no PodDisruptionBudget1
podDisruptionBudget.maxUnavailableMaximum unavailable instances; ignored if there is no PodDisruptionBudget""
tests.automountServiceAccountTokenfalse
tests.resourcesPresetset 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"nano"
networkPolicy.enabledwhether to create a default NetworkPolicy for each processor deployment. extra rules can be added on a per-processor level as .networkPolicy.extraIngress/Egressfalse

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example:

helm install fhir-server-exporter oci://ghcr.io/chgl/charts/fhir-server-exporter -n fhir --set fetchIntervalSeconds=300

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:

helm install fhir-server-exporter oci://ghcr.io/chgl/charts/fhir-server-exporter -n fhir --values values.yaml

Deploy fhir-server-exporter with OpenTenant

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