volumes:
- name: alloy-data emptyDir: {}
This commit is contained in:
parent
27dc5966e9
commit
872c9dc8e5
1 changed files with 19 additions and 12 deletions
|
@ -1,20 +1,27 @@
|
|||
server:
|
||||
extraContainers:
|
||||
- name: grafana-alloy
|
||||
image: grafana/alloy:latest
|
||||
ports:
|
||||
- containerPort: 12345
|
||||
volumeMounts:
|
||||
- name: sidecar-container-alloy-config
|
||||
mountPath: /etc/alloy/config.yaml
|
||||
subPath: config.yaml
|
||||
- name: grafana-alloy
|
||||
image: grafana/alloy:latest
|
||||
ports:
|
||||
- containerPort: 12345
|
||||
# volumeMounts:
|
||||
# - name: sidecar-container-alloy-config
|
||||
# mountPath: /etc/alloy/config.yaml
|
||||
# subPath: config.yaml
|
||||
# args:
|
||||
# - --config.file=/etc/alloy/config.yaml
|
||||
|
||||
volumeMounts:
|
||||
- name: alloy-data
|
||||
mountPath: /var/lib/alloy/data
|
||||
|
||||
volumes:
|
||||
- name: sidecar-container-alloy-config
|
||||
configMap:
|
||||
name: sidecar-container-alloy-config
|
||||
- name: alloy-data
|
||||
emptyDir: {}
|
||||
|
||||
# volumes:
|
||||
# - name: sidecar-container-alloy-config
|
||||
# configMap:
|
||||
# name: sidecar-container-alloy-config
|
||||
|
||||
postStart:
|
||||
- sh
|
||||
|
|
Loading…
Reference in a new issue