From d2b64c9d257906bc143d1480586a434e5e165de9 Mon Sep 17 00:00:00 2001 From: Arcadie Condrat Date: Mon, 15 Jul 2019 18:41:04 +0100 Subject: [PATCH] Adding acondrat to prometheus-to-sd owners (#14827) Signed-off-by: Arcadie Condrat version bump Signed-off-by: Arcadie Condrat updating to latest version Signed-off-by: Arcadie Condrat --source is now mandatory so adding a default value Signed-off-by: Arcadie Condrat bump chart version Signed-off-by: Arcadie Condrat --- stable/prometheus-to-sd/Chart.yaml | 4 ++-- stable/prometheus-to-sd/OWNERS | 4 ++++ stable/prometheus-to-sd/README.md | 18 +++++++++--------- stable/prometheus-to-sd/values.yaml | 5 +++-- 4 files changed, 18 insertions(+), 13 deletions(-) create mode 100644 stable/prometheus-to-sd/OWNERS diff --git a/stable/prometheus-to-sd/Chart.yaml b/stable/prometheus-to-sd/Chart.yaml index 35b2dfbdec..7e8bda1426 100644 --- a/stable/prometheus-to-sd/Chart.yaml +++ b/stable/prometheus-to-sd/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -appVersion: 0.2.2 +appVersion: 0.5.2 description: Scrape metrics stored in prometheus format and push them to the Stackdriver home: https://github.com/GoogleCloudPlatform/k8s-stackdriver/tree/master/prometheus-to-sd keywords: @@ -9,4 +9,4 @@ maintainers: - name: acondrat email: arcadie.condrat@gmail.com name: prometheus-to-sd -version: 0.1.1 +version: 0.2.0 diff --git a/stable/prometheus-to-sd/OWNERS b/stable/prometheus-to-sd/OWNERS new file mode 100644 index 0000000000..493906f569 --- /dev/null +++ b/stable/prometheus-to-sd/OWNERS @@ -0,0 +1,4 @@ +approvers: +- acondrat +reviewers: +- acondrat diff --git a/stable/prometheus-to-sd/README.md b/stable/prometheus-to-sd/README.md index 2334a25515..960aaa3a75 100644 --- a/stable/prometheus-to-sd/README.md +++ b/stable/prometheus-to-sd/README.md @@ -38,15 +38,15 @@ The command removes all the Kubernetes components associated with the chart and The following table lists the configurable parameters and their default values. -| Parameter | Description | Default | -| ------------------ | ----------------------------------------------------------------------------------------- | ------------------------------------------- | -| `image.repository` | prometheus-to-sd image repository | `gcr.io/google-containers/prometheus-to-sd` | -| `image.tag` | prometheus-to-sd image tag | `v0.2.2` | -| `image.pullPolicy` | Image pull policy | `IfNotPresent` | -| `resources` | CPU/Memory resource requests/limits | `{}` | -| `port` | Profiler port | `6060` | -| `metricSources` | Sources for metrics in the next format: component-name:http://host:port?whitelisted=a,b,c | `{}` | -| `nodeSelector` | node labels for pod assignment | `{}` | +| Parameter | Description | Default | +| ------------------ | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------- | +| `image.repository` | prometheus-to-sd image repository | `gcr.io/google-containers/prometheus-to-sd` | +| `image.tag` | prometheus-to-sd image tag | `v0.5.2` | +| `image.pullPolicy` | Image pull policy | `IfNotPresent` | +| `resources` | CPU/Memory resource requests/limits | `{}` | +| `port` | Profiler port | `6060` | +| `metricSources` | Sources for metrics in the next format: component-name:http://host:port?whitelisted=a,b,c | `{"kube-state-metrics": "http://kube-state-metrics:8080"}` | +| `nodeSelector` | node labels for pod assignment | `{}` | For more information please refer to the [prometheus-to-sd](https://github.com/GoogleCloudPlatform/k8s-stackdriver/tree/master/prometheus-to-sd) documentation. diff --git a/stable/prometheus-to-sd/values.yaml b/stable/prometheus-to-sd/values.yaml index 5ba9bfe5a3..364bfd1c36 100644 --- a/stable/prometheus-to-sd/values.yaml +++ b/stable/prometheus-to-sd/values.yaml @@ -1,9 +1,10 @@ replicaCount: 1 image: repository: gcr.io/google-containers/prometheus-to-sd - tag: v0.2.2 + tag: v0.5.2 pullPolicy: IfNotPresent resources: {} port: 6060 -metricsSources: {} +metricsSources: + kube-state-metrics: http://kube-state-metrics:8080 nodeSelector: {}