extraContainers:

- name: grafana-alloy
     image: grafana/alloy:latest
     ports:
       - containerPort: 12345
     volumeMounts:
       - name: sidecar-container-alloy-config
         mountPath: /etc/alloy
         subPath: config.yaml
     args:
       - --config.file=/etc/alloy/config.yaml
This commit is contained in:
miwr 2025-03-17 14:23:11 +01:00
parent 7b77d870c6
commit f0632db48b

View file

@ -1,20 +1,20 @@
server: server:
# extraContainers: extraContainers:
# - name: grafana-alloy - name: grafana-alloy
# image: grafana/alloy:latest image: grafana/alloy:latest
# ports: ports:
# - containerPort: 12345 - containerPort: 12345
# volumeMounts: volumeMounts:
# - name: sidecar-container-alloy-config - name: sidecar-container-alloy-config
# mountPath: /etc/alloy mountPath: /etc/alloy
# subPath: config.yaml subPath: config.yaml
# args: args:
# - --config.file=/etc/alloy/config.yaml - --config.file=/etc/alloy/config.yaml
extraVolumes: # extraVolumes:
- name: sidecar-container-alloy-config # - name: sidecar-container-alloy-config
configMap: # configMap:
name: sidecar-container-alloy-config # name: sidecar-container-alloy-config
postStart: postStart:
- sh - sh