2024-02-26 16:40:18 +00:00
|
|
|
image:
|
|
|
|
repository: grafana/agent-operator
|
|
|
|
pullPolicy: IfNotPresent
|
2024-03-05 16:55:48 +00:00
|
|
|
tag: v0.39.2@sha256:841e8e1365758116d4058aa561d8d0f9deb3f6339d17548eadeeecc46889307f
|
2024-02-26 16:40:18 +00:00
|
|
|
|
|
|
|
podOptions:
|
|
|
|
automountServiceAccountToken: true
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: false
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
2024-03-05 16:55:48 +00:00
|
|
|
args:
|
2024-02-26 16:40:18 +00:00
|
|
|
- "--kubelet-service={{ .Values.kubeletService.namespace }}/{{ .Values.kubeletService.serviceName }}"
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
readiness:
|
|
|
|
enabled: false
|
|
|
|
startup:
|
|
|
|
enabled: false
|
2024-03-05 16:55:48 +00:00
|
|
|
|
2024-02-26 16:40:18 +00:00
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
rbac:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
clusterWide: true
|
|
|
|
rules:
|
|
|
|
- apiGroups: [monitoring.grafana.com]
|
|
|
|
resources:
|
2024-03-05 16:55:48 +00:00
|
|
|
- grafanaagents
|
|
|
|
- metricsinstances
|
|
|
|
- logsinstances
|
|
|
|
- podlogs
|
|
|
|
- integrations
|
2024-02-26 16:40:18 +00:00
|
|
|
verbs: [get, list, watch]
|
|
|
|
- apiGroups: [monitoring.grafana.com]
|
|
|
|
resources:
|
2024-03-05 16:55:48 +00:00
|
|
|
- grafanaagents/finalizers
|
|
|
|
- metricsinstances/finalizers
|
|
|
|
- logsinstances/finalizers
|
|
|
|
- podlogs/finalizers
|
|
|
|
- integrations/finalizers
|
2024-02-26 16:40:18 +00:00
|
|
|
verbs: [get, list, watch, update]
|
|
|
|
- apiGroups: [monitoring.coreos.com]
|
|
|
|
resources:
|
2024-03-05 16:55:48 +00:00
|
|
|
- podmonitors
|
|
|
|
- probes
|
|
|
|
- servicemonitors
|
2024-02-26 16:40:18 +00:00
|
|
|
verbs: [get, list, watch]
|
|
|
|
- apiGroups: [monitoring.coreos.com]
|
|
|
|
resources:
|
2024-03-05 16:55:48 +00:00
|
|
|
- podmonitors/finalizers
|
|
|
|
- probes/finalizers
|
|
|
|
- servicemonitors/finalizers
|
2024-02-26 16:40:18 +00:00
|
|
|
verbs: [get, list, watch, update]
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources:
|
2024-03-05 16:55:48 +00:00
|
|
|
- namespaces
|
|
|
|
- nodes
|
2024-02-26 16:40:18 +00:00
|
|
|
verbs: [get, list, watch]
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources:
|
2024-03-05 16:55:48 +00:00
|
|
|
- secrets
|
|
|
|
- services
|
|
|
|
- configmaps
|
|
|
|
- endpoints
|
2024-02-26 16:40:18 +00:00
|
|
|
verbs: [get, list, watch, create, update, patch, delete]
|
|
|
|
- apiGroups: ["apps"]
|
|
|
|
resources:
|
2024-03-05 16:55:48 +00:00
|
|
|
- statefulsets
|
|
|
|
- daemonsets
|
|
|
|
- deployments
|
2024-02-26 16:40:18 +00:00
|
|
|
verbs: [get, list, watch, create, update, patch, delete]
|
|
|
|
# -- The service account the pods will use to interact with the Kubernetes API
|
|
|
|
serviceAccount:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
2024-03-05 16:55:48 +00:00
|
|
|
|
2024-02-26 16:40:18 +00:00
|
|
|
# -- If both are set, Agent Operator will create and maintain a service for scraping kubelets
|
|
|
|
# https://grafana.com/docs/agent/latest/operator/getting-started/#monitor-kubelets
|
|
|
|
kubeletService:
|
|
|
|
namespace: default
|
|
|
|
serviceName: kubelet
|