939 lines
35 KiB
YAML
939 lines
35 KiB
YAML
# yamllint disable rule:line-length rule:comments-indentation
|
|
---
|
|
cluster:
|
|
# -- The name for this cluster.
|
|
# @section -- Cluster
|
|
name: ""
|
|
|
|
#
|
|
# Global settings
|
|
#
|
|
global:
|
|
# -- The specific platform for this cluster. Will enable compatibility for some platforms. Supported options: (empty) or "openshift".
|
|
# @section -- Global Settings
|
|
platform: ""
|
|
|
|
# -- How frequently to scrape metrics.
|
|
# @section -- Global Settings
|
|
scrapeInterval: 60s
|
|
|
|
# -- Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments))
|
|
# This should be at least 2x-5x your largest scrape target or samples appended rate.
|
|
# @section -- Global Settings
|
|
maxCacheSize: 100000
|
|
|
|
alloyModules:
|
|
# -- The source of the Alloy modules. The valid options are "configMap" or "git"
|
|
# @section -- Global Settings
|
|
source: configMap
|
|
|
|
# -- If using git, the branch of the git repository to use.
|
|
# @section -- Global Settings
|
|
branch: main
|
|
|
|
#
|
|
# Destinations
|
|
#
|
|
|
|
# -- The list of destinations where telemetry data will be sent.
|
|
# See the [destinations documentation](https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/docs/destinations/README.md) for more information.
|
|
# @section -- Destinations
|
|
destinations: []
|
|
|
|
#
|
|
# Features
|
|
#
|
|
|
|
# -- Cluster Monitoring enables observability and monitoring for your Kubernetes Cluster itself.
|
|
# Requires a destination that supports metrics.
|
|
# To see the valid options, please see the [Cluster Monitoring feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-cluster-metrics).
|
|
# @default -- Disabled
|
|
# @section -- Features - Cluster Metrics
|
|
clusterMetrics:
|
|
# -- Enable gathering Kubernetes Cluster metrics.
|
|
# @section -- Features - Cluster Metrics
|
|
enabled: false
|
|
|
|
# -- The destinations where cluster metrics will be sent. If empty, all metrics-capable destinations will be used.
|
|
# @section -- Features - Cluster Metrics
|
|
destinations: []
|
|
|
|
# -- Which collector to assign this feature to. Do not change this unless you are sure of what you are doing.
|
|
# @section -- Features - Cluster Metrics
|
|
# @ignored
|
|
collector: alloy-metrics
|
|
|
|
# To see additional options, please see the [Cluster Monitoring feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-cluster-metrics).
|
|
|
|
# -- Cluster events.
|
|
# Requires a destination that supports logs.
|
|
# To see the valid options, please see the [Cluster Events feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-cluster-events).
|
|
# @default -- Disabled
|
|
# @section -- Features - Cluster Events
|
|
clusterEvents:
|
|
# -- Enable gathering Kubernetes Cluster events.
|
|
# @section -- Features - Cluster Events
|
|
enabled: false
|
|
|
|
# -- The destinations where cluster events will be sent. If empty, all logs-capable destinations will be used.
|
|
# @section -- Features - Cluster Events
|
|
destinations: []
|
|
|
|
# -- Which collector to assign this feature to. Do not change this unless you are sure of what you are doing.
|
|
# @section -- Features - Cluster Events
|
|
# @ignored
|
|
collector: alloy-singleton
|
|
|
|
# To see additional options, please see the [Cluster Events feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-cluster-events).
|
|
|
|
# -- Node logs.
|
|
# Requires a destination that supports logs.
|
|
# To see the valid options, please see the [Node Logs feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-node-logs).
|
|
# @default -- Disabled
|
|
# @section -- Features - Node Logs
|
|
nodeLogs:
|
|
# -- Enable gathering Kubernetes Cluster Node logs.
|
|
# @section -- Features - Node Logs
|
|
enabled: false
|
|
|
|
# -- The destinations where logs will be sent. If empty, all logs-capable destinations will be used.
|
|
# @section -- Features - Node Logs
|
|
destinations: []
|
|
|
|
# -- Which collector to assign this feature to. Do not change this unless you are sure of what you are doing.
|
|
# @section -- Features - Node Logs
|
|
# @ignored
|
|
collector: alloy-logs
|
|
|
|
# To see additional options, please see the [Node Logs feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-node-logs).
|
|
|
|
# -- Pod logs.
|
|
# Requires a destination that supports logs.
|
|
# To see the valid options, please see the [Pod Logs feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-pod-logs).
|
|
# @default -- Disabled
|
|
# @section -- Features - Pod Logs
|
|
podLogs:
|
|
# -- Enable gathering Kubernetes Pod logs.
|
|
# @section -- Features - Pod Logs
|
|
enabled: false
|
|
|
|
# -- The destinations where logs will be sent. If empty, all logs-capable destinations will be used.
|
|
# @section -- Features - Pod Logs
|
|
destinations: []
|
|
|
|
# -- Which collector to assign this feature to. Do not change this unless you are sure of what you are doing.
|
|
# @section -- Features - Pod Logs
|
|
# @ignored
|
|
collector: alloy-logs
|
|
|
|
# To see additional options, please see the [Pod Logs feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-pod-logs).
|
|
|
|
# -- Application Observability.
|
|
# Requires destinations that supports metrics, logs, and traces.
|
|
# To see the valid options, please see the [Application Observability feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-application-observability).
|
|
# @default -- Disabled
|
|
# @section -- Features - Application Observability
|
|
applicationObservability:
|
|
# -- Enable receiving Application Observability.
|
|
# @section -- Features - Application Observability
|
|
enabled: false
|
|
|
|
# -- The destinations where application data will be sent. If empty, all capable destinations will be used.
|
|
# @section -- Features - Application Observability
|
|
destinations: []
|
|
|
|
# -- The receivers used for receiving application data.
|
|
# @section -- Features - Application Observability
|
|
receivers: {}
|
|
|
|
# -- Which collector to assign this feature to. Do not change this unless you are sure of what you are doing.
|
|
# @section -- Features - Application Observability
|
|
# @ignored
|
|
collector: alloy-receiver
|
|
|
|
# To see additional options, please see the [Application Observability feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-application-observability).
|
|
|
|
# -- Auto-Instrumentation.
|
|
# Requires destinations that supports metrics, logs, and traces.
|
|
# To see the valid options, please see the [Auto-Instrumentation feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-auto-instrumentation).
|
|
# @default -- Disabled
|
|
# @section -- Features - Auto-Instrumentation
|
|
autoInstrumentation:
|
|
# -- Enable automatic instrumentation for applications.
|
|
# @section -- Features - Auto-Instrumentation
|
|
enabled: false
|
|
|
|
# -- The destinations where application data will be sent. If empty, all capable destinations will be used.
|
|
# @section -- Features - Auto-Instrumentation
|
|
destinations: []
|
|
|
|
# -- Which collector to assign this feature to. Do not change this unless you are sure of what you are doing.
|
|
# @section -- Features - Auto-Instrumentation
|
|
# @ignored
|
|
collector: alloy-metrics
|
|
|
|
# To see additional options, please see the [Auto-Instrumentation feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-auto-instrumentation).
|
|
|
|
# -- Annotation Autodiscovery enables gathering metrics from Kubernetes Pods and Services discovered by special annotations.
|
|
# Requires a destination that supports metrics.
|
|
# To see the valid options, please see the [Annotation Autodiscovery feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-annotation-autodiscovery).
|
|
# @default -- Disabled
|
|
# @section -- Features - Annotation Autodiscovery
|
|
annotationAutodiscovery:
|
|
# -- Enable gathering metrics from Kubernetes Pods and Services discovered by special annotations.
|
|
# @section -- Features - Annotation Autodiscovery
|
|
enabled: false
|
|
|
|
# -- The destinations where cluster metrics will be sent. If empty, all metrics-capable destinations will be used.
|
|
# @section -- Features - Annotation Autodiscovery
|
|
destinations: []
|
|
|
|
# -- Which collector to assign this feature to. Do not change this unless you are sure of what you are doing.
|
|
# @section -- Features - Annotation Autodiscovery
|
|
# @ignored
|
|
collector: alloy-metrics
|
|
|
|
# To see additional options, please see the [Annotation Autodiscovery feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-annotation-autodiscovery).
|
|
|
|
# -- Prometheus Operator Objects enables the gathering of metrics from objects like Probes, PodMonitors, and
|
|
# ServiceMonitors. Requires a destination that supports metrics.
|
|
# To see the valid options, please see the [Prometheus Operator Objects feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-prometheus-operator-objects).
|
|
# @default -- Disabled
|
|
# @section -- Features - Prometheus Operator Objects
|
|
prometheusOperatorObjects:
|
|
# -- Enable gathering metrics from Prometheus Operator Objects.
|
|
# @section -- Features - Prometheus Operator Objects
|
|
enabled: false
|
|
|
|
# -- The destinations where metrics will be sent. If empty, all metrics-capable destinations will be used.
|
|
# @section -- Features - Prometheus Operator Objects
|
|
destinations: []
|
|
|
|
# -- Which collector to assign this feature to. Do not change this unless you are sure of what you are doing.
|
|
# @section -- Features - Prometheus Operator Objects
|
|
# @ignored
|
|
collector: alloy-metrics
|
|
|
|
# To see additional options, please see the [Prometheus Operator Objects feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-prometheus-operator-objects).
|
|
|
|
# -- Profiling enables gathering profiles from applications.
|
|
# Requires a destination that supports profiles.
|
|
# To see the valid options, please see the [Profiling feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-profiling).
|
|
# @default -- Disabled
|
|
# @section -- Features - Profiling
|
|
profiling:
|
|
# -- Enable gathering profiles from applications.
|
|
# @section -- Features - Profiling
|
|
enabled: false
|
|
|
|
# -- The destinations where profiles will be sent. If empty, all profiles-capable destinations will be used.
|
|
# @section -- Features - Profiling
|
|
destinations: []
|
|
|
|
# -- Which collector to assign this feature to. Do not change this unless you are sure of what you are doing.
|
|
# @section -- Features - Profiling
|
|
# @ignored
|
|
collector: alloy-profiles
|
|
|
|
# To see additional options, please see the [Profiling feature documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-profiling).
|
|
|
|
# -- Service Integrations enables gathering telemetry data for common services and applications deployed to Kubernetes.
|
|
# To see the valid options, please see the [Service Integrations documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-integrations).
|
|
# @default -- No integrations enabled
|
|
# @section -- Features - Service Integrations
|
|
integrations:
|
|
# -- The destinations where integration metrics will be sent. If empty, all metrics-capable destinations will be used.
|
|
# @section -- Features - Service Integrations
|
|
destinations: []
|
|
|
|
# -- Which collectors to assign this feature to. Do not change this unless you are sure of what you are doing.
|
|
# @section -- Features - Service Integrations
|
|
# @ignored
|
|
collector: alloy-metrics
|
|
|
|
# To see additional options, please see the [Service Integrations documentation](https://github.com/grafana/k8s-monitoring-helm/tree/main/charts/k8s-monitoring/charts/feature-integrations).
|
|
|
|
# Self-reporting creates a single metric and log that reports anonymized information about how this Helm chart was
|
|
# configured. It reports features enabled, destinations types used, and alloy instances enabled. It does not report any
|
|
# actual telemetry data, credentials or configuration, or send any data to any destination other than the ones
|
|
# configured above.
|
|
# @section -- Features - Self-reporting
|
|
selfReporting:
|
|
# -- Enable Self-reporting.
|
|
# @section -- Features - Self-reporting
|
|
enabled: true
|
|
|
|
# -- The destinations where self-report metrics will be sent. If empty, all metrics-capable destinations will be used.
|
|
# @section -- Features - Self-reporting
|
|
destinations: []
|
|
|
|
# -- How frequently to generate self-report metrics. This does utilize the global scrapeInterval setting.
|
|
# @default -- 60s
|
|
# @section -- Features - Self-reporting
|
|
scrapeInterval: ""
|
|
|
|
#
|
|
# Collectors (Alloy instances)
|
|
#
|
|
|
|
# An Alloy instance for collecting metrics.
|
|
# To see additional valid options, please see the [Alloy Helm chart documentation](https://github.com/grafana/alloy/tree/main/operations/helm/charts/alloy).
|
|
alloy-metrics:
|
|
# -- Deploy the Alloy instance for collecting metrics.
|
|
# @section -- Collectors - Alloy Metrics
|
|
enabled: false
|
|
|
|
# -- Extra Alloy configuration to be added to the configuration file.
|
|
# @section -- Collectors - Alloy Metrics
|
|
extraConfig: ""
|
|
|
|
# Remote configuration from a remote config server.
|
|
remoteConfig:
|
|
# -- Enable fetching configuration from a remote config server.
|
|
# @section -- Collectors - Alloy Metrics
|
|
enabled: false
|
|
|
|
# -- The URL of the remote config server.
|
|
# @section -- Collectors - Alloy Metrics
|
|
url: ""
|
|
|
|
auth:
|
|
# -- The type of authentication to use for the remote config server.
|
|
# @section -- Collectors - Alloy Metrics
|
|
type: "none"
|
|
|
|
# -- The username to use for the remote config server.
|
|
# @section -- Collectors - Alloy Metrics
|
|
username: ""
|
|
# -- The key for storing the username in the secret.
|
|
# @section -- Collectors - Alloy Metrics
|
|
usernameKey: "username"
|
|
# -- Raw config for accessing the password.
|
|
# @section -- Collectors - Alloy Metrics
|
|
usernameFrom: ""
|
|
|
|
# -- The password to use for the remote config server.
|
|
# @section -- Collectors - Alloy Metrics
|
|
password: ""
|
|
# -- The key for storing the password in the secret.
|
|
# @section -- Collectors - Alloy Metrics
|
|
passwordKey: "password"
|
|
# -- Raw config for accessing the password.
|
|
# @section -- Collectors - Alloy Metrics
|
|
passwordFrom: ""
|
|
|
|
secret:
|
|
# -- Whether to create a secret for the remote config server.
|
|
# @section -- Collectors - Alloy Metrics
|
|
create: true
|
|
# -- If true, skip secret creation and embed the credentials directly into the configuration.
|
|
# @section -- Collectors - Alloy Metrics
|
|
embed: false
|
|
# -- The name of the secret to create.
|
|
# @section -- Collectors - Alloy Metrics
|
|
name: ""
|
|
# -- The namespace for the secret.
|
|
# @section -- Collectors - Alloy Metrics
|
|
namespace: ""
|
|
|
|
# -- The frequency at which to poll the remote config server for updates.
|
|
# @section -- Collectors - Alloy Metrics
|
|
pollFrequency: 5m
|
|
|
|
# -- Attributes to be added to this collector when requesting configuration.
|
|
# @section -- Collectors - Alloy Metrics
|
|
extraAttributes: {}
|
|
|
|
logging:
|
|
# -- Level at which Alloy log lines should be written.
|
|
# @section -- Collectors - Alloy Metrics
|
|
level: info
|
|
# -- Format to use for writing Alloy log lines.
|
|
# @section -- Collectors - Alloy Metrics
|
|
format: logfmt
|
|
|
|
liveDebugging:
|
|
# -- Enable live debugging for the Alloy instance.
|
|
# Requires stability level to be set to "experimental".
|
|
# @section -- Collectors - Alloy Metrics
|
|
enabled: false
|
|
|
|
# @ignored
|
|
alloy:
|
|
configMap: {create: false}
|
|
|
|
# Enable clustering to ensure that scraping is distributed across all instances.
|
|
# @ignored
|
|
clustering:
|
|
name: alloy-metrics
|
|
enabled: true
|
|
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
add: ["CHOWN", "DAC_OVERRIDE", "FOWNER", "FSETID", "KILL", "SETGID", "SETUID", "SETPCAP", "NET_BIND_SERVICE", "NET_RAW", "SYS_CHROOT", "MKNOD", "AUDIT_WRITE", "SETFCAP"]
|
|
seccompProfile:
|
|
type: "RuntimeDefault"
|
|
|
|
# Set resource requests and limits. [Guidelines](https://grafana.com/docs/alloy/latest/introduction/estimate-resource-usage/).
|
|
# resources:
|
|
# requests: {}
|
|
# limits: {}
|
|
|
|
controller:
|
|
# -- The type of controller to use for the Alloy Metrics instance.
|
|
# @section -- Collectors - Alloy Metrics
|
|
type: statefulset
|
|
|
|
# -- The number of replicas for the Alloy Metrics instance.
|
|
# @section -- Collectors - Alloy Metrics
|
|
replicas: 1
|
|
|
|
# @ignored
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
|
|
# @ignored
|
|
podAnnotations:
|
|
k8s.grafana.com/logs.job: integrations/alloy
|
|
|
|
# Skip installation of the Grafana Alloy CRDs, since we don't use them in this chart
|
|
# @ignored
|
|
crds: {create: false}
|
|
|
|
# An Alloy instance for data sources required to be deployed on a single replica.
|
|
# To see additional valid options, please see the [Alloy Helm chart documentation](https://github.com/grafana/alloy/tree/main/operations/helm/charts/alloy).
|
|
alloy-singleton:
|
|
# -- Deploy the Alloy instance for data sources required to be deployed on a single replica.
|
|
# @section -- Collectors - Alloy Singleton
|
|
enabled: false
|
|
|
|
# -- Extra Alloy configuration to be added to the configuration file.
|
|
# @section -- Collectors - Alloy Singleton
|
|
extraConfig: ""
|
|
|
|
# Remote configuration from a remote config server.
|
|
remoteConfig:
|
|
# -- Enable fetching configuration from a remote config server.
|
|
# @section -- Collectors - Alloy Singleton
|
|
enabled: false
|
|
|
|
# -- The URL of the remote config server.
|
|
# @section -- Collectors - Alloy Singleton
|
|
url: ""
|
|
|
|
auth:
|
|
# -- The type of authentication to use for the remote config server.
|
|
# @section -- Collectors - Alloy Singleton
|
|
type: "none"
|
|
|
|
# -- The username to use for the remote config server.
|
|
# @section -- Collectors - Alloy Singleton
|
|
username: ""
|
|
# -- The key for storing the username in the secret.
|
|
# @section -- Collectors - Alloy Singleton
|
|
usernameKey: "username"
|
|
# -- Raw config for accessing the username.
|
|
# @section -- Collectors - Alloy Singleton
|
|
usernameFrom: ""
|
|
|
|
# -- The password to use for the remote config server.
|
|
# @section -- Collectors - Alloy Singleton
|
|
password: ""
|
|
# -- The key for storing the password in the secret.
|
|
# @section -- Collectors - Alloy Singleton
|
|
passwordKey: "password"
|
|
# -- Raw config for accessing the password.
|
|
# @section -- Collectors - Alloy Singleton
|
|
passwordFrom: ""
|
|
|
|
secret:
|
|
# -- Whether to create a secret for the remote config server.
|
|
# @section -- Collectors - Alloy Singleton
|
|
create: true
|
|
# -- If true, skip secret creation and embed the credentials directly into the configuration.
|
|
# @section -- Collectors - Alloy Singleton
|
|
embed: false
|
|
# -- The name of the secret to create.
|
|
# @section -- Collectors - Alloy Singleton
|
|
name: ""
|
|
# -- The namespace for the secret.
|
|
# @section -- Collectors - Alloy Singleton
|
|
namespace: ""
|
|
|
|
# -- The frequency at which to poll the remote config server for updates.
|
|
# @section -- Collectors - Alloy Singleton
|
|
pollFrequency: 5m
|
|
|
|
# -- Attributes to be added to this collector when requesting configuration.
|
|
# @section -- Collectors - Alloy Singleton
|
|
extraAttributes: {}
|
|
|
|
logging:
|
|
# -- Level at which Alloy log lines should be written.
|
|
# @section -- Collectors - Alloy Singleton
|
|
level: info
|
|
# -- Format to use for writing Alloy log lines.
|
|
# @section -- Collectors - Alloy Singleton
|
|
format: logfmt
|
|
|
|
liveDebugging:
|
|
# -- Enable live debugging for the Alloy instance.
|
|
# Requires stability level to be set to "experimental".
|
|
# @section -- Collectors - Alloy Singleton
|
|
enabled: false
|
|
|
|
# @ignored
|
|
alloy:
|
|
# This chart is creating the configuration, so the alloy chart does not need to.
|
|
configMap: {create: false}
|
|
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
add: ["CHOWN", "DAC_OVERRIDE", "FOWNER", "FSETID", "KILL", "SETGID", "SETUID", "SETPCAP", "NET_BIND_SERVICE", "NET_RAW", "SYS_CHROOT", "MKNOD", "AUDIT_WRITE", "SETFCAP"]
|
|
seccompProfile:
|
|
type: "RuntimeDefault"
|
|
|
|
# Set resource requests and limits. [Guidelines](https://grafana.com/docs/alloy/latest/introduction/estimate-resource-usage/).
|
|
# resources:
|
|
# requests: {}
|
|
# limits: {}
|
|
|
|
controller:
|
|
# -- The type of controller to use for the Alloy Singleton instance.
|
|
# @section -- Collectors - Alloy Singleton
|
|
type: deployment
|
|
# -- The number of replicas for the Alloy Singleton instance.
|
|
# This should remain a single instance to avoid duplicate data.
|
|
# @section -- Collectors - Alloy Singleton
|
|
replicas: 1
|
|
|
|
# @ignored
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
|
|
# @ignored
|
|
podAnnotations:
|
|
k8s.grafana.com/logs.job: integrations/alloy
|
|
|
|
# Skip installation of the Grafana Alloy CRDs, since we don't use them in this chart
|
|
# @ignored
|
|
crds: {create: false}
|
|
|
|
# An Alloy instance for collecting log data.
|
|
# To see additional valid options, please see the [Alloy Helm chart documentation](https://github.com/grafana/alloy/tree/main/operations/helm/charts/alloy).
|
|
alloy-logs:
|
|
# -- Deploy the Alloy instance for collecting log data.
|
|
# @section -- Collectors - Alloy Logs
|
|
enabled: false
|
|
|
|
# -- Extra Alloy configuration to be added to the configuration file.
|
|
# @section -- Collectors - Alloy Logs
|
|
extraConfig: ""
|
|
|
|
# Remote configuration from a remote config server.
|
|
remoteConfig:
|
|
# -- Enable fetching configuration from a remote config server.
|
|
# @section -- Collectors - Alloy Logs
|
|
enabled: false
|
|
|
|
# -- The URL of the remote config server.
|
|
# @section -- Collectors - Alloy Logs
|
|
url: ""
|
|
|
|
auth:
|
|
# -- The type of authentication to use for the remote config server.
|
|
# @section -- Collectors - Alloy Logs
|
|
type: "none"
|
|
|
|
# -- The username to use for the remote config server.
|
|
# @section -- Collectors - Alloy Logs
|
|
username: ""
|
|
# -- The key for storing the username in the secret.
|
|
# @section -- Collectors - Alloy Logs
|
|
usernameKey: "username"
|
|
# -- Raw config for accessing the username.
|
|
# @section -- Collectors - Alloy Logs
|
|
usernameFrom: ""
|
|
|
|
# -- The password to use for the remote config server.
|
|
# @section -- Collectors - Alloy Logs
|
|
password: ""
|
|
# -- The key for storing the username in the secret.
|
|
# @section -- Collectors - Alloy Logs
|
|
passwordKey: "password"
|
|
# -- Raw config for accessing the password.
|
|
# @section -- Collectors - Alloy Logs
|
|
passwordFrom: ""
|
|
|
|
secret:
|
|
# -- Whether to create a secret for the remote config server.
|
|
# @section -- Collectors - Alloy Logs
|
|
create: true
|
|
# -- If true, skip secret creation and embed the credentials directly into the configuration.
|
|
# @section -- Collectors - Alloy Logs
|
|
embed: false
|
|
# -- The name of the secret to create.
|
|
# @section -- Collectors - Alloy Logs
|
|
name: ""
|
|
# -- The namespace for the secret.
|
|
# @section -- Collectors - Alloy Logs
|
|
namespace: ""
|
|
|
|
# -- The frequency at which to poll the remote config server for updates.
|
|
# @section -- Collectors - Alloy Logs
|
|
pollFrequency: 5m
|
|
|
|
# -- Attributes to be added to this collector when requesting configuration.
|
|
# @section -- Collectors - Alloy Logs
|
|
extraAttributes: {}
|
|
|
|
logging:
|
|
# -- Level at which Alloy log lines should be written.
|
|
# @section -- Collectors - Alloy Logs
|
|
level: info
|
|
# -- Format to use for writing Alloy log lines.
|
|
# @section -- Collectors - Alloy Logs
|
|
format: logfmt
|
|
|
|
liveDebugging:
|
|
# -- Enable live debugging for the Alloy instance.
|
|
# Requires stability level to be set to "experimental".
|
|
# @section -- Collectors - Alloy Logs
|
|
enabled: false
|
|
|
|
# @ignored
|
|
alloy:
|
|
# This chart is creating the configuration, so the alloy chart does not need to.
|
|
configMap: {create: false}
|
|
|
|
# Disabling clustering by default, because the default log gathering format does not require clusters.
|
|
clustering: {enabled: false}
|
|
|
|
# @ignored
|
|
mounts:
|
|
# Mount /var/log from the host into the container for log collection.
|
|
varlog: true
|
|
# Mount /var/lib/docker/containers from the host into the container for log
|
|
# collection. Set to true if your cluster puts log files inside this directory.
|
|
dockercontainers: true
|
|
|
|
# @ignored
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
add: ["CHOWN", "DAC_OVERRIDE", "FOWNER", "FSETID", "KILL", "SETGID", "SETUID", "SETPCAP", "NET_BIND_SERVICE", "NET_RAW", "SYS_CHROOT", "MKNOD", "AUDIT_WRITE", "SETFCAP"]
|
|
seccompProfile:
|
|
type: "RuntimeDefault"
|
|
|
|
# Set resource requests and limits. [Guidelines](https://grafana.com/docs/alloy/latest/introduction/estimate-resource-usage/).
|
|
# resources:
|
|
# requests: {}
|
|
# limits: {}
|
|
|
|
controller:
|
|
# -- The type of controller to use for the Alloy Logs instance.
|
|
# @section -- Collectors - Alloy Logs
|
|
type: daemonset
|
|
|
|
# @ignored
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
|
|
# @ignored
|
|
podAnnotations:
|
|
k8s.grafana.com/logs.job: integrations/alloy
|
|
|
|
# Skip installation of the Grafana Alloy CRDs, since we don't use them in this chart
|
|
# @ignored
|
|
crds: {create: false}
|
|
|
|
# An Alloy instance for opening receivers to collect application data.
|
|
# To see additional valid options, please see the [Alloy Helm chart documentation](https://github.com/grafana/alloy/tree/main/operations/helm/charts/alloy).
|
|
alloy-receiver:
|
|
# -- Deploy the Alloy instance for opening receivers to collect application data.
|
|
# @section -- Collectors - Alloy Receiver
|
|
enabled: false
|
|
|
|
# -- Extra Alloy configuration to be added to the configuration file.
|
|
# @section -- Collectors - Alloy Receiver
|
|
extraConfig: ""
|
|
|
|
# Remote configuration from a remote config server.
|
|
remoteConfig:
|
|
# -- Enable fetching configuration from a remote config server.
|
|
# @section -- Collectors - Alloy Receiver
|
|
enabled: false
|
|
|
|
# -- The URL of the remote config server.
|
|
# @section -- Collectors - Alloy Receiver
|
|
url: ""
|
|
|
|
auth:
|
|
# -- The type of authentication to use for the remote config server.
|
|
# @section -- Collectors - Alloy Receiver
|
|
type: "none"
|
|
|
|
# -- The username to use for the remote config server.
|
|
# @section -- Collectors - Alloy Receiver
|
|
username: ""
|
|
# -- The key for storing the username in the secret.
|
|
# @section -- Collectors - Alloy Receiver
|
|
usernameKey: "username"
|
|
# -- Raw config for accessing the username.
|
|
# @section -- Collectors - Alloy Receiver
|
|
usernameFrom: ""
|
|
|
|
# -- The password to use for the remote config server.
|
|
# @section -- Collectors - Alloy Receiver
|
|
password: ""
|
|
# -- The key for storing the password in the secret.
|
|
# @section -- Collectors - Alloy Receiver
|
|
passwordKey: "password"
|
|
# -- Raw config for accessing the password.
|
|
# @section -- Collectors - Alloy Receiver
|
|
passwordFrom: ""
|
|
|
|
secret:
|
|
# -- Whether to create a secret for the remote config server.
|
|
# @section -- Collectors - Alloy Receiver
|
|
create: true
|
|
# -- If true, skip secret creation and embed the credentials directly into the configuration.
|
|
# @section -- Collectors - Alloy Receiver
|
|
embed: false
|
|
# -- The name of the secret to create.
|
|
# @section -- Collectors - Alloy Receiver
|
|
name: ""
|
|
# -- The namespace for the secret.
|
|
# @section -- Collectors - Alloy Receiver
|
|
namespace: ""
|
|
|
|
# -- The frequency at which to poll the remote config server for updates.
|
|
# @section -- Collectors - Alloy Receiver
|
|
pollFrequency: 5m
|
|
|
|
# -- Attributes to be added to this collector when requesting configuration.
|
|
# @section -- Collectors - Alloy Receiver
|
|
extraAttributes: {}
|
|
|
|
logging:
|
|
# -- Level at which Alloy log lines should be written.
|
|
# @section -- Collectors - Alloy Receiver
|
|
level: info
|
|
# -- Format to use for writing Alloy log lines.
|
|
# @section -- Collectors - Alloy Receiver
|
|
format: logfmt
|
|
|
|
liveDebugging:
|
|
# -- Enable live debugging for the Alloy instance.
|
|
# Requires stability level to be set to "experimental".
|
|
# @section -- Collectors - Alloy Receiver
|
|
enabled: false
|
|
|
|
alloy:
|
|
# -- The ports to expose for the Alloy receiver.
|
|
# @section -- Collectors - Alloy Receiver
|
|
extraPorts: []
|
|
|
|
# This chart is creating the configuration, so the alloy chart does not need to.
|
|
# @ignored
|
|
configMap: {create: false}
|
|
|
|
# @ignored
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
add: ["CHOWN", "DAC_OVERRIDE", "FOWNER", "FSETID", "KILL", "SETGID", "SETUID", "SETPCAP", "NET_BIND_SERVICE", "NET_RAW", "SYS_CHROOT", "MKNOD", "AUDIT_WRITE", "SETFCAP"]
|
|
seccompProfile:
|
|
type: "RuntimeDefault"
|
|
|
|
# Set resource requests and limits. [Guidelines](https://grafana.com/docs/alloy/latest/introduction/estimate-resource-usage/).
|
|
# resources:
|
|
# requests: {}
|
|
# limits: {}
|
|
|
|
controller:
|
|
# -- The type of controller to use for the Alloy Receiver instance.
|
|
# @section -- Collectors - Alloy Receiver
|
|
type: daemonset
|
|
|
|
# @ignored
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
|
|
# @ignored
|
|
podAnnotations:
|
|
k8s.grafana.com/logs.job: integrations/alloy
|
|
|
|
# Skip installation of the Grafana Alloy CRDs, since we don't use them in this chart
|
|
# @ignored
|
|
crds: {create: false}
|
|
|
|
extraService:
|
|
# -- Create an extra service for the Alloy receiver. This service will mirror the alloy-receiver service, but its
|
|
# name can be customized to match existing application settings.
|
|
# @section -- Collectors - Alloy Receiver
|
|
enabled: false
|
|
# -- The name of the extra service to create. This will result in the format `<release-name>-<name>`.
|
|
# @section -- Collectors - Alloy Receiver
|
|
name: alloy
|
|
# -- If set, the full name of the extra service to create. This will result in the format `<fullname>`.
|
|
# @section -- Collectors - Alloy Receiver
|
|
fullname: ""
|
|
|
|
# An Alloy instance for gathering profiles.
|
|
# To see additional valid options, please see the [Alloy Helm chart documentation](https://github.com/grafana/alloy/tree/main/operations/helm/charts/alloy).
|
|
alloy-profiles:
|
|
# -- Deploy the Alloy instance for gathering profiles.
|
|
# @section -- Collectors - Alloy Profiles
|
|
enabled: false
|
|
|
|
# -- Extra Alloy configuration to be added to the configuration file.
|
|
# @section -- Collectors - Alloy Profiles
|
|
extraConfig: ""
|
|
|
|
# Remote configuration from a remote config server.
|
|
remoteConfig:
|
|
# -- Enable fetching configuration from a remote config server.
|
|
# @section -- Collectors - Alloy Profiles
|
|
enabled: false
|
|
|
|
# -- The URL of the remote config server.
|
|
# @section -- Collectors - Alloy Profiles
|
|
url: ""
|
|
|
|
auth:
|
|
# -- The type of authentication to use for the remote config server.
|
|
# @section -- Collectors - Alloy Profiles
|
|
type: "none"
|
|
|
|
# -- The username to use for the remote config server.
|
|
# @section -- Collectors - Alloy Profiles
|
|
username: ""
|
|
# -- The key for storing the username in the secret.
|
|
# @section -- Collectors - Alloy Profiles
|
|
usernameKey: "username"
|
|
# -- Raw config for accessing the username.
|
|
# @section -- Collectors - Alloy Profiles
|
|
usernameFrom: ""
|
|
|
|
# -- The password to use for the remote config server.
|
|
# @section -- Collectors - Alloy Profiles
|
|
password: ""
|
|
# -- The key for storing the password in the secret.
|
|
# @section -- Collectors - Alloy Profiles
|
|
passwordKey: "password"
|
|
# -- Raw config for accessing the password.
|
|
# @section -- Collectors - Alloy Profiles
|
|
passwordFrom: ""
|
|
|
|
secret:
|
|
# -- Whether to create a secret for the remote config server.
|
|
# @section -- Collectors - Alloy Profiles
|
|
create: true
|
|
# -- If true, skip secret creation and embed the credentials directly into the configuration.
|
|
# @section -- Collectors - Alloy Profiles
|
|
embed: false
|
|
# -- The name of the secret to create.
|
|
# @section -- Collectors - Alloy Profiles
|
|
name: ""
|
|
# -- The namespace for the secret.
|
|
# @section -- Collectors - Alloy Profiles
|
|
namespace: ""
|
|
|
|
# -- The frequency at which to poll the remote config server for updates.
|
|
# @section -- Collectors - Alloy Profiles
|
|
pollFrequency: 5m
|
|
|
|
# -- Attributes to be added to this collector when requesting configuration.
|
|
# @section -- Collectors - Alloy Profiles
|
|
extraAttributes: {}
|
|
|
|
logging:
|
|
# -- Level at which Alloy log lines should be written.
|
|
# @section -- Collectors - Alloy Profiles
|
|
level: info
|
|
# -- Format to use for writing Alloy log lines.
|
|
# @section -- Collectors - Alloy Profiles
|
|
format: logfmt
|
|
|
|
liveDebugging:
|
|
# -- Enable live debugging for the Alloy instance.
|
|
# Requires stability level to be set to "experimental".
|
|
# @section -- Collectors - Alloy Profiles
|
|
enabled: false
|
|
|
|
# @ignored
|
|
alloy:
|
|
# Pyroscope components are currently in public preview
|
|
stabilityLevel: public-preview
|
|
|
|
# This chart is creating the configuration, so the alloy chart does not need to.
|
|
configMap: {create: false}
|
|
|
|
# Disabling clustering because each instance will gather profiles for the workloads on the same node.
|
|
clustering:
|
|
name: alloy-profiles
|
|
enabled: false
|
|
|
|
securityContext:
|
|
privileged: true
|
|
runAsGroup: 0
|
|
runAsUser: 0
|
|
|
|
# Set resource requests and limits. [Guidelines](https://grafana.com/docs/alloy/latest/introduction/estimate-resource-usage/).
|
|
# resources:
|
|
# requests: {}
|
|
# limits: {}
|
|
|
|
controller:
|
|
# -- The type of controller to use for the Alloy Profiles instance.
|
|
# @section -- Collectors - Alloy Profiles
|
|
type: daemonset
|
|
|
|
# @ignored
|
|
hostPID: true
|
|
|
|
# @ignored
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
|
|
# @ignored
|
|
podAnnotations:
|
|
k8s.grafana.com/logs.job: integrations/alloy
|
|
|
|
# @ignored
|
|
tolerations:
|
|
- effect: NoSchedule
|
|
operator: Exists
|
|
|
|
# Skip installation of the Grafana Alloy CRDs, since we don't use them in this chart
|
|
# @ignored
|
|
crds: {create: false}
|
|
|
|
# -- Deploy additional manifest objects
|
|
extraObjects: []
|
|
# - apiVersion: external-secrets.io/v1beta1
|
|
# kind: ExternalSecret
|
|
# metadata:
|
|
# name: prometheus-secret
|
|
# spec:
|
|
# refreshInterval: 1h
|
|
# secretStoreRef:
|
|
# kind: SecretStore
|
|
# name: example
|
|
# target:
|
|
# template:
|
|
# data:
|
|
# prometheus_host: "{{ .Values.externalServices.prometheus.host }}"
|
|
# username: "{{`{{ .username }}`}}"
|
|
# password: "{{`{{ .password }}`}}"
|
|
# dataFrom:
|
|
# - extract:
|
|
# key: mysecret
|