node-problem-detector

by Delivery Hero

Helm chartv2.4.2App v1.35.1Verified publisher

This chart installs a [node-problem-detector](https://github.com/kubernetes/node-problem-detector) daemonset. This tool aims to make various node problems visible to the upstream layers in cluster management stack. It is a daemon which runs on each node, detects node problems and reports them to apiserver.

About this chart

node-problem-detector

This chart installs a node-problem-detector daemonset. This tool aims to make various node problems visible to the upstream layers in cluster management stack. It is a daemon which runs on each node, detects node problems and reports them to apiserver.

Homepage: https://github.com/kubernetes/node-problem-detector

How to install this chart

A simple install with default values, latest chart version and generated name:

helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-problem-detector

To install a specific version of this chart:

helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-problem-detector --version 2.4.2

To install the chart with the release name my-release:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/node-problem-detector

To install with some set values:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/node-problem-detector --set values_key1=value1 --set values_key2=value2

To install with custom values file:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/node-problem-detector -f values.yaml

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
annotationsobject{}
dnsConfigobject{}
dnsPolicystring"ClusterFirst"
envstringnil
extraContainerslist[]
extraVolumeMountslist[]
extraVolumeslist[]
fullnameOverridestring""
hostNetworkboolfalseRun pod on host network Flag to run Node Problem Detector on the host's network. This is typically not recommended, but may be useful for certain use cases.
hostPIDboolfalse
hostUsersbooltrueUse host user namespace (true) or create pod user namespace (false) Set to false to enable user namespaces for enhanced security isolation Default is true (uses host user namespace). See Use a User Namespace With a Pod.
image.digeststring""the image digest. If given it takes precedence over a given tag.
image.pullPolicystring"IfNotPresent"
image.repositorystring"registry.k8s.io/node-problem-detector/node-problem-detector"
image.tagstring"v1.35.1"
imagePullSecretslist[]
initContainerslist[]
labelsobject{}
livenessProbeobject{}Liveness probe for the node-problem-detector container
logDir.hoststring"/var/log/"log directory on k8s host
logDir.podstring""log directory in pod (volume mount), use logDir.host if empty
maxUnavailableint1The max pods unavailable during an update
metrics.annotationsobject{}Override all default annotations when metrics.enabled=true with specified values.
metrics.enabledboolfalseExpose metrics in Prometheus format with default configuration.
metrics.prometheusRule.additionalLabelsobject{}
metrics.prometheusRule.additionalRuleslist[]
metrics.prometheusRule.defaultRules.createbooltrue
metrics.prometheusRule.defaultRules.disabledlist[]
metrics.prometheusRule.enabledboolfalse
metrics.serviceMonitor.additionalLabelsobject{}
metrics.serviceMonitor.additionalRelabelingslist[]
metrics.serviceMonitor.attachMetadata.nodeboolfalse
metrics.serviceMonitor.enabledboolfalse
metrics.serviceMonitor.metricRelabelingslist[]
nameOverridestring""
nodeSelectorobject{}
priorityClassNamestring"system-node-critical"
rbac.clusterRole.extraRuleslist[]
rbac.createbooltrue
rbac.pspEnabledboolfalse
readinessProbeobject{}Readiness probe for the node-problem-detector container
resizePolicylist[]Container resize policy for in-place vertical scaling See https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/
resourcesobject{}
securityContext.privilegedbooltrue
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.labelsobject{}
serviceAccount.namestringnil
settings.custom_monitor_definitionsobject{}Custom plugin monitor config files
settings.custom_plugin_monitorslist[]
settings.extraArgslist[]
settings.heartBeatPeriodstring"5m0s"Syncing interval with API server
settings.log_monitorslist["/config/kernel-monitor.json","/config/docker-monitor.json","/config/readonly-monitor.json"]User-specified custom monitor definitions
settings.prometheus_addressstring"0.0.0.0"Prometheus exporter address
settings.prometheus_portint20257Prometheus exporter port
tolerations[0].effectstring"NoSchedule"
tolerations[0].operatorstring"Exists"
updateStrategystring"RollingUpdate"Manage the daemonset update strategy
volume.localtime.enabledbooltrue
volume.localtime.typestring"FileOrCreate"

Maintainers

NameEmailUrl
max-rocket-internethttps://github.com/max-rocket-internet

Chart source and versions

Chart source: github.com/deliveryhero/helm-charts/node-problem-detector

Older chart versions: github.com/deliveryhero/helm-charts/pkgs/container/helm-charts/node-problem-detector

Deploy node-problem-detector with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has node-problem-detector 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 chartnode-problem-detector is pinned at v2.4.2 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