22 lines
543 B
YAML
22 lines
543 B
YAML
alloy:
|
|
extraPorts:
|
|
- name: otlp-grpc
|
|
port: 4317
|
|
targetPort: 4317
|
|
protocol: TCP
|
|
- name: otlp-http
|
|
port: 4318
|
|
targetPort: 4318
|
|
protocol: TCP
|
|
|
|
mounts:
|
|
# -- Mount /var/log from the host into the container for log collection.
|
|
varlog: true
|
|
|
|
configMap:
|
|
# -- Create a new ConfigMap for the config file.
|
|
create: false
|
|
# -- Name of existing ConfigMap to use. Used when create is false.
|
|
name: alloy-config-custom
|
|
# -- Key in ConfigMap to get config from.
|
|
key: alloy.config |