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:
# 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
extraVolumes:
extraContainers:
- name: grafana-alloy
image: grafana/alloy:latest
ports:
- containerPort: 12345
volumeMounts:
- name: sidecar-container-alloy-config
configMap:
name: sidecar-container-alloy-config
mountPath: /etc/alloy
subPath: config.yaml
args:
- --config.file=/etc/alloy/config.yaml
# extraVolumes:
# - name: sidecar-container-alloy-config
# configMap:
# name: sidecar-container-alloy-config
postStart:
- sh