apiVersion: apps/v1 kind: DaemonSet metadata: name: alloy namespace: default spec: selector: matchLabels: app: alloy template: metadata: labels: app: alloy spec: serviceAccountName: alloy tolerations: - key: node-role.kubernetes.io/master effect: NoSchedule containers: - name: alloy image: grafana/alloy:v1.16.3 imagePullPolicy: IfNotPresent args: - run - /etc/alloy/config.alloy - --storage.path=/var/lib/alloy/data - --server.http.listen-addr=0.0.0.0:12345 ports: - containerPort: 12345 name: http volumeMounts: - name: config mountPath: /etc/alloy - name: data mountPath: /var/lib/alloy/data resources: limits: cpu: 200m memory: 128Mi requests: cpu: 50m memory: 64Mi volumes: - name: config configMap: name: alloy-config - name: data emptyDir: {}