From 95696fb5903c8427d53dd46e08a1361eb30e2307 Mon Sep 17 00:00:00 2001 From: xogoodnow Date: Wed, 11 Dec 2024 17:55:30 +0330 Subject: [PATCH] added resource samples Signed-off-by: xogoodnow --- operations/helm/charts/alloy/Chart.yaml | 2 +- operations/helm/charts/alloy/README.md | 4 ++-- operations/helm/charts/alloy/values.yaml | 18 +++++++++++++----- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/operations/helm/charts/alloy/Chart.yaml b/operations/helm/charts/alloy/Chart.yaml index f4159ac9c6..d8cb51b839 100644 --- a/operations/helm/charts/alloy/Chart.yaml +++ b/operations/helm/charts/alloy/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: alloy description: 'Grafana Alloy' type: application -version: 0.10.1 +version: 0.10.2 appVersion: 'v1.5.1' icon: https://raw.githubusercontent.com/grafana/alloy/main/docs/sources/assets/alloy_icon_orange.svg diff --git a/operations/helm/charts/alloy/README.md b/operations/helm/charts/alloy/README.md index 96ae52a63b..73edd13df8 100644 --- a/operations/helm/charts/alloy/README.md +++ b/operations/helm/charts/alloy/README.md @@ -1,6 +1,6 @@ # Grafana Alloy Helm chart -![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.10.1](https://img.shields.io/badge/Version-0.10.1-informational?style=flat-square) ![AppVersion: v1.5.1](https://img.shields.io/badge/AppVersion-v1.5.1-informational?style=flat-square) +![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.10.2](https://img.shields.io/badge/Version-0.10.2-informational?style=flat-square) ![AppVersion: v1.5.1](https://img.shields.io/badge/AppVersion-v1.5.1-informational?style=flat-square) Helm chart for deploying [Grafana Alloy][] to Kubernetes. @@ -64,7 +64,7 @@ useful if just using the default DaemonSet isn't sufficient. | configReloader.image.registry | string | `"ghcr.io"` | Config reloader image registry (defaults to docker.io) | | configReloader.image.repository | string | `"jimmidyson/configmap-reload"` | Repository to get config reloader image from. | | configReloader.image.tag | string | `"v0.12.0"` | Tag of image to use for config reloading. | -| configReloader.resources | object | `{"requests":{"cpu":"1m","memory":"5Mi"}}` | Resource requests and limits to apply to the config reloader container. | +| configReloader.resources | object | `{}` | Resource requests and limits to apply to the config reloader container. | | configReloader.securityContext | object | `{}` | Security context to apply to the Grafana configReloader container. | | controller.affinity | object | `{}` | Affinity configuration for pods. | | controller.autoscaling.enabled | bool | `false` | Creates a HorizontalPodAutoscaler for controller type deployment. | diff --git a/operations/helm/charts/alloy/values.yaml b/operations/helm/charts/alloy/values.yaml index 4aa892c7eb..5e73ca14f8 100644 --- a/operations/helm/charts/alloy/values.yaml +++ b/operations/helm/charts/alloy/values.yaml @@ -111,7 +111,12 @@ alloy: # -- Resource requests and limits to apply to the Grafana Alloy container. resources: {} - +# limits: +# cpu: "1" +# memory: "1Gi" +# requests: +# cpu: "1" +# memory: "1Gi" # -- Set lifecycle hooks for the Grafana Alloy container. lifecycle: {} # preStop: @@ -166,10 +171,13 @@ configReloader: # -- Override the args passed to the container. customArgs: [] # -- Resource requests and limits to apply to the config reloader container. - resources: - requests: - cpu: "1m" - memory: "5Mi" + resources: {} +# limits: +# cpu: "1m" +# memory: "5Mi" +# requests: +# cpu: "1m" +# memory: "5Mi" # -- Security context to apply to the Grafana configReloader container. securityContext: {}