【发布时间】:2018-08-14 14:38:02
【问题描述】:
我是新掌舵人。我正在构建一个带有大量 conf 文件的 splunk helm 图表。我目前在 configmap 中使用类似的东西 ..
apiVersion: v1
kind: ConfigMap
metadata:
name: splunk-master-configmap
data:
indexes.conf: |
# global settings
# Inheritable by all indexes: no hot/warm bucket can exceed 1 TB.
# Individual indexes can override this setting.
homePath.maxDataSizeMB = 1000000
但我希望将 conf 文件放在单独的文件夹中,例如configs/helloworld.conf 并遇到了“tpl”,但我很难理解如何实现它。 - 任何人都可以建议最佳做法。在旁注中,splunk 具有总统顺序 >> 因此可能有许多 index.conf 文件在不同位置使用。有人对如何最好地实现这一点有任何想法吗?!??!
干杯。
【问题讨论】:
标签: templates kubernetes splunk configmap kubernetes-helm