|
| 1 | +# k8s-image-availability-exporter |
| 2 | + |
| 3 | +  |
| 4 | + |
| 5 | +Application for monitoring the cluster workloads image presence in a container registry. |
| 6 | + |
| 7 | +## Requirements |
| 8 | + |
| 9 | +Kubernetes: `>=1.14.0-0` |
| 10 | + |
| 11 | +## Introduction |
| 12 | + |
| 13 | +This chart bootstraps a [k8s-image-availability-exporter](https://github.com/flant/k8s-image-availability-exporter) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. |
| 14 | + |
| 15 | +## Values |
| 16 | + |
| 17 | +| Key | Type | Default | Description | |
| 18 | +|-----|------|---------|-------------| |
| 19 | +| k8sImageAvailabilityExporter.image.repository | string | `"registry.deckhouse.io/k8s-image-availability-exporter/k8s-image-availability-exporter"` | Repository to use for the k8s-image-availability-exporter deployment | |
| 20 | +| k8sImageAvailabilityExporter.image.tag | string | `""` | Image tag override for the default value (chart appVersion) | |
| 21 | +| k8sImageAvailabilityExporter.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy to use for the k8s-image-availability-exporter deployment | |
| 22 | +| k8sImageAvailabilityExporter.replicas | int | `1` | Number of instances to deploy for a k8s-image-availability-exporter deployment | |
| 23 | +| k8sImageAvailabilityExporter.resources | object | `{}` | Resource limits for k8s-image-availability-exporter | |
| 24 | +| k8sImageAvailabilityExporter.args | list | `["--bind-address=:8080"]` | Command line arguments for the exporter | |
| 25 | +| serviceMonitor.enabled | bool | `false` | Create [Prometheus Operator](https://github.com/coreos/prometheus-operator) serviceMonitor resource | |
| 26 | +| serviceMonitor.interval | string | `"15s"` | Scrape interval for serviceMonitor | |
| 27 | +| prometheusRule.enabled | bool | `false` | Create [Prometheus Operator](https://github.com/coreos/prometheus-operator) prometheusRule resource | |
| 28 | +| prometheusRule.defaultGroupsEnabled | bool | `true` | Setup default alerts (works only if prometheusRule.enabled is set to true) | |
| 29 | +| prometheusRule.additionalGroups | list | `[]` | Additional PrometheusRule groups | |
| 30 | + |
| 31 | +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, |
| 32 | + |
| 33 | +```bash |
| 34 | +helm install my-release k8s-image-availability-exporter --set k8sImageAvailabilityExporter.replicas=2 |
| 35 | +``` |
| 36 | + |
| 37 | +Alternatively, one or more YAML files that specify the values for the above parameters can be provided while installing the chart. For example, |
| 38 | + |
| 39 | +```bash |
| 40 | +helm install my-release k8s-image-availability-exporter -f values1.yaml,values2.yaml |
| 41 | +``` |
0 commit comments