node-problem-detector

by joaquinito2051

Helm chartv1.4.2App v0.6.1

Installs the node-problem-detector daemonset for monitoring extra attributes on nodes

About this chart

Kubernetes 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.

TL;DR;

$ helm install <helm-repo>/node-problem-detector

$ helm install stable/node-problem-detector

Prerequisites

  • Kubernetes 1.9+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release and default configuration:

$ helm install --name my-release <helm-repo>/node-problem-detector

$ helm install --name my-release stable/node-problem-detector

Uninstalling the Chart

To delete the chart:

$ helm delete my-release

Configuration

Custom System log monitor config files can be created, see here for examples.

The following table lists the configurable parameters for this chart and their default values.

ParameterDescriptionDefault
affinityMap of node/pod affinities{}
annotationsOptional daemonset annotations{}
fullnameOverrideOverride the fullname of the chartnil
image.pullPolicyImage pull policyIfNotPresent
image.repositoryImagek8s.gcr.io/node-problem-detector
image.tagImage tagv0.6.1
nameOverrideOverride the name of the chartnil
rbac.createRBACtrue
hostNetworkRun pod on host networkfalse
priorityClassNamePriority class name""
resourcesPod resource requests and limits{}
settings.custom_monitor_definitionsUser-specified custom monitor definitions{}
settings.log_monitorsSystem log monitor config files/config/kernel-monitor.json, /config/docker-monitor.json
settings.custom_plugin_monitorsCustom plugin monitor config files[]
serviceAccount.createWhether a ServiceAccount should be createdtrue
serviceAccount.nameName of the ServiceAccount to createGenerated value from template
tolerationsOptional daemonset tolerations[]

Specify each parameter using the --set key=value[,key=value] argument to helm install or provide a YAML file containing the values for the above parameters:

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install` or provide a YAML file containing the values for the above parameters:
$ helm install --name my-release <helm-repo>/node-problem-detector --values values.yaml

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 v1.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