chore(alloy): Add settings for logparsing
This commit is contained in:
parent
01e0fb9a85
commit
252de382d4
1 changed files with 36 additions and 0 deletions
|
|
@ -15,6 +15,28 @@ alloy:
|
||||||
# -- Key in ConfigMap to get config from.
|
# -- Key in ConfigMap to get config from.
|
||||||
key: config.alloy
|
key: config.alloy
|
||||||
|
|
||||||
|
# -- Minimum stability level of components and behavior to enable. Must be
|
||||||
|
# one of "experimental", "public-preview", or "generally-available".
|
||||||
|
stabilityLevel: "generally-available"
|
||||||
|
|
||||||
|
# -- Enables Grafana Alloy container's http server port for debugging purposes.
|
||||||
|
enableHttpServerPort: true
|
||||||
|
|
||||||
|
# -- Enables sending Grafana Labs anonymous usage stats to help improve Grafana Alloy.
|
||||||
|
enableReporting: false
|
||||||
|
|
||||||
|
# DAC_READ_SEARCH: this is required so that Alloy can read the kube-apiserver audit logs written as `nobody` user
|
||||||
|
securityContext:
|
||||||
|
capabilities:
|
||||||
|
add:
|
||||||
|
- DAC_READ_SEARCH
|
||||||
|
|
||||||
|
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.
|
||||||
|
dockercontainers: true
|
||||||
|
|
||||||
rbac:
|
rbac:
|
||||||
# -- Whether to create RBAC resources for Alloy.
|
# -- Whether to create RBAC resources for Alloy.
|
||||||
create: true
|
create: true
|
||||||
|
|
@ -77,6 +99,20 @@ serviceAccount:
|
||||||
# Whether the Alloy pod should automatically mount the service account token.
|
# Whether the Alloy pod should automatically mount the service account token.
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
|
|
||||||
|
controller:
|
||||||
|
# -- Type of controller to use for deploying Grafana Alloy in the cluster.
|
||||||
|
# Must be one of 'daemonset', 'deployment', or 'statefulset'.
|
||||||
|
type: "daemonset"
|
||||||
|
|
||||||
|
# -- Tolerations to apply to Grafana Alloy pods.
|
||||||
|
tolerations:
|
||||||
|
- key: node-role.kubernetes.io/control-plane
|
||||||
|
operator: Exists
|
||||||
|
effect: NoSchedule
|
||||||
|
- key: node-role.kubernetes.io/master
|
||||||
|
operator: Exists
|
||||||
|
effect: NoSchedule
|
||||||
|
|
||||||
# Options for the extra controller used for config reloading.
|
# Options for the extra controller used for config reloading.
|
||||||
configReloader:
|
configReloader:
|
||||||
# -- Enables automatically reloading when the Alloy config changes.
|
# -- Enables automatically reloading when the Alloy config changes.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue