From a7674c8cba9b0011e996ab86b93cd7d5510a4165 Mon Sep 17 00:00:00 2001 From: adinhodovic Date: Tue, 28 May 2024 22:20:12 +0200 Subject: [PATCH] docs: Add helm example docs --- charts/celery-exporter/README.md | 116 ++++++++++++++++++------------- 1 file changed, 67 insertions(+), 49 deletions(-) diff --git a/charts/celery-exporter/README.md b/charts/celery-exporter/README.md index 3852b64..7c2b336 100644 --- a/charts/celery-exporter/README.md +++ b/charts/celery-exporter/README.md @@ -6,60 +6,78 @@ Prometheus exporter for Celery **Homepage:** +## Installation + +Add the helm repository: + +```bash +helm repo add danihodovic https://danihodovic.github.io/helm-charts +``` + +Install the chart: + +```bash +helm install celery-exporter danihodovic/celery-exporter +``` + + +You'll need to set the enviroment variable `CELERY_BROKER_URL` to the broker url of your celery instance. + +For example: + +```bash +helm install celery-exporter danihodovic/celery-exporter --set env[0].name=CELERY_BROKER_URL,env[0].value=redis://redis:6379/0 +``` + ## Maintainers -| Name | Email | Url | -| ----------- | ----- | --- | -| danihodovic | | | -| adinhodovic | | | +| Name | Email | Url | +| ---- | ------ | --- | +| danihodovic | | | +| adinhodovic | | | ## Source Code -- +* ## Values -| Key | Type | Default | Description | -| ---------------------------------- | ------ | ------------------------------- | ----------- | -| affinity | object | `{}` | | -| fullnameOverride | string | `""` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"danihodovic/celery-exporter"` | | -| image.tag | string | `""` | | -| imagePullSecrets | list | `[]` | | -| ingress.annotations | object | `{}` | | -| ingress.className | string | `""` | | -| ingress.enabled | bool | `false` | | -| ingress.hosts[0].host | string | `"celery-exporter.example"` | | -| ingress.hosts[0].paths[0].path | string | `"/"` | | -| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | -| ingress.tls | list | `[]` | | -| nameOverride | string | `""` | | -| nodeSelector | object | `{}` | | -| podAnnotations | object | `{}` | | -| podSecurityContext | object | `{}` | | -| replicaCount | int | `1` | | -| resources | object | `{}` | | -| securityContext | object | `{}` | | -| service.port | int | `9808` | | -| service.type | string | `"ClusterIP"` | | -| serviceAccount.annotations | object | `{}` | | -| serviceAccount.create | bool | `true` | | -| serviceAccount.name | string | `""` | | -| serviceMonitor.additionalLabels | object | `{}` | | -| serviceMonitor.enabled | bool | `false` | | -| serviceMonitor.metricRelabelings | list | `[]` | | -| serviceMonitor.namespace | string | `""` | | -| serviceMonitor.namespaceSelector | object | `{}` | | -| serviceMonitor.relabelings | list | `[]` | | -| serviceMonitor.scrapeInterval | string | `"30s"` | | -| serviceMonitor.targetLabels | list | `[]` | | -| tolerations | list | `[]` | | -| livenessProbe.timeoutSeconds | object | `5` | | -| livenessProbe.failureThreshold | object | `5` | | -| livenessProbe.periodSeconds | object | `10` | | -| livenessProbe.successThreshold | object | `1` | | -| readinessProbe.timeoutSeconds | object | `5` | | -| readinessProbe.failureThreshold | object | `5` | | -| readinessProbe.periodSeconds | object | `10` | | -| readinessProbe.namespaceSelector | object | `1` | | +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| affinity | object | `{}` | | +| env | list | `[]` | | +| fullnameOverride | string | `""` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.repository | string | `"danihodovic/celery-exporter"` | | +| image.tag | string | `""` | | +| imagePullSecrets | list | `[]` | | +| ingress.annotations | object | `{}` | | +| ingress.className | string | `""` | | +| ingress.enabled | bool | `false` | | +| ingress.hosts[0].host | string | `"celery-exporter.example"` | | +| ingress.hosts[0].paths[0].path | string | `"/"` | | +| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | +| ingress.tls | list | `[]` | | +| livenessProbe | object | `{}` | | +| nameOverride | string | `""` | | +| nodeSelector | object | `{}` | | +| podAnnotations | object | `{}` | | +| podSecurityContext | object | `{}` | | +| readinessProbe | object | `{}` | | +| replicaCount | int | `1` | | +| resources | object | `{}` | | +| securityContext | object | `{}` | | +| service.port | int | `9808` | | +| service.type | string | `"ClusterIP"` | | +| serviceAccount.annotations | object | `{}` | | +| serviceAccount.create | bool | `true` | | +| serviceAccount.name | string | `""` | | +| serviceMonitor.additionalLabels | object | `{}` | | +| serviceMonitor.enabled | bool | `false` | | +| serviceMonitor.metricRelabelings | list | `[]` | | +| serviceMonitor.namespace | string | `""` | | +| serviceMonitor.namespaceSelector | object | `{}` | | +| serviceMonitor.relabelings | list | `[]` | | +| serviceMonitor.scrapeInterval | string | `"30s"` | | +| serviceMonitor.targetLabels | list | `[]` | | +| tolerations | list | `[]` | |