monitor-api

by NTP Pool Project

Helm chartv2.0.0App 4.0.0Verified publisher

NTP Pool Monitoring API server

About this chart

monitor-api

NTP Pool Monitoring API server

Maintainers

NameEmailUrl
abh[email protected]

Requirements

Kubernetes: >=1.16.0-0

RepositoryNameVersion
https://bjw-s-labs.github.io/helm-charts/common1.1.3

Values

KeyTypeDefaultDescription
args[0]string"server"
command[0]string"/app/monitor-api"
controller.labels.tierstring"frontend"
controller.strategystring"RollingUpdate"
envobjectSee belowenvironment variables. See more environment variables in the monitor-api documentation.
env.TZstring"UTC"Set the container timezone
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"harbor.ntppool.org/ntppool/monitor-api"image repository
ingress.mainobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
persistenceobjectSee values.yamlConfigure persistence settings for the chart under this key.
podLabels.tierstring"frontend"
probes.liveness.custombooltrue
probes.liveness.spec.failureThresholdint2
probes.liveness.spec.httpGet.pathstring"/__health"
probes.liveness.spec.httpGet.portint8080
probes.liveness.spec.httpGet.schemestring"HTTP"
probes.liveness.spec.initialDelaySecondsint4
probes.liveness.spec.periodSecondsint3
probes.liveness.spec.successThresholdint1
probes.liveness.spec.timeoutSecondsint1
probes.readiness.custombooltrue
probes.readiness.spec.failureThresholdint2
probes.readiness.spec.httpGet.pathstring"/__health"
probes.readiness.spec.httpGet.portint8080
probes.readiness.spec.httpGet.schemestring"HTTP"
probes.readiness.spec.initialDelaySecondsint4
probes.readiness.spec.periodSecondsint3
probes.readiness.spec.successThresholdint1
probes.readiness.spec.timeoutSecondsint1
resources.limits.cpuint1
resources.limits.memorystring"512Mi"
resources.requests.cpustring"100m"
resources.requests.memorystring"128Mi"
serviceobjectSee values.yamlConfigures service settings for the chart.
serviceMonitor.main.enabledboolfalseEnables or disables the serviceMonitor.
serviceMonitor.main.endpoints[0].intervalstring"20s"
serviceMonitor.main.endpoints[0].pathstring"/metrics"
serviceMonitor.main.endpoints[0].portstring"http"
serviceMonitor.main.endpoints[0].schemestring"http"
serviceMonitor.main.endpoints[0].scrapeTimeoutstring"15s"

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy monitor-api with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has monitor-api 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 chartmonitor-api is pinned at v2.0.0 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