Files
deprecated-helm-charts/stable/node-problem-detector/README.md
T
David J. M. Karlsen 921e968df1 [node-problem-detector] parameterize location of logdir to make it run on RHEL and upgrade to latest release (#10404)
* parameterize location of logdir to make it run on RHEL

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>

* upgrade to latest node problem detector release

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
2019-01-04 16:15:41 -08:00

58 lines
3.2 KiB
Markdown

# Kubernetes Node Problem Detector
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.
## TL;DR;
```console
$ 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:
```console
$ helm install --name my-release stable/node-problem-detector
```
## Uninstalling the Chart
To delete the chart:
```console
$ helm delete my-release
```
## Configuration
Custom System log monitor config files can be created, see [here](https://github.com/kubernetes/node-problem-detector/tree/master/config) for examples.
The following table lists the configurable parameters for this chart and their default values.
| Parameter | Description | Default |
| ------------------------|--------------------------------------------|--------------------------------------------------------------|
| `affinity` | Map of node/pod affinities | `{}` |
| `annotations` | Optional daemonset annotations | `{}` |
| `fullnameOverride` | Override the fullname of the chart | `nil` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.repository` | Image | `k8s.gcr.io/node-problem-detector` |
| `image.tag` | Image tag | `v0.6.1` |
| `nameOverride` | Override the name of the chart | `nil` |
| `rbac.create` | RBAC | `true` |
| `resources` | Pod resource requests and limits | `{}` |
| `settings.log_monitors` | System log monitor config files | `/config/kernel-monitor.json`, `/config/docker-monitor.json` |
| `serviceAccount.create` | Whether a ServiceAccount should be created | `true` |
| `serviceAccount.name` | Name of the ServiceAccount to create | Generated value from template |
| `tolerations` | Optional 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:
```console
$ helm install --name my-release stable/node-problem-detector --values values.yaml
```