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:
|
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/config.yaml
|
# mountPath: /etc/alloy/config.yaml
|
||||||
subPath: config.yaml
|
# subPath: config.yaml
|
||||||
# args:
|
# args:
|
||||||
# - --config.file=/etc/alloy/config.yaml
|
# - --config.file=/etc/alloy/config.yaml
|
||||||
|
volumeMounts:
|
||||||
|
- name: alloy-data
|
||||||
|
mountPath: /var/lib/alloy/data
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: sidecar-container-alloy-config
|
- name: alloy-data
|
||||||
configMap:
|
emptyDir: {}
|
||||||
name: sidecar-container-alloy-config
|
|
||||||
|
# volumes:
|
||||||
|
# - name: sidecar-container-alloy-config
|
||||||
|
# configMap:
|
||||||
|
# name: sidecar-container-alloy-config
|
||||||
|
|
||||||
postStart:
|
postStart:
|
||||||
- sh
|
- sh
|
||||||
|
|
Loading…
Reference in a new issue