update default helm values setup
This commit is contained in:
parent
e7fb506118
commit
fcf742127f
27
v1-config-in-helm/helm-values.yaml
Normal file
27
v1-config-in-helm/helm-values.yaml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
alloy:
|
||||||
|
resources: {} # resource 설정 가능
|
||||||
|
|
||||||
|
configMap:
|
||||||
|
create: true
|
||||||
|
content: |-
|
||||||
|
// 여기서부터 컴포넌트 코드 작성
|
||||||
|
// Alloy 에서는 //, /* */를 주석으로 사용합니다.
|
||||||
|
discovery.kubernetes "kube_system_pods" {
|
||||||
|
role = "pod"
|
||||||
|
|
||||||
|
namespaces {
|
||||||
|
names = ["kube-system"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
loki.source.kubernetes "kube_system_pods" {
|
||||||
|
targets = discovery.kubernetes.kube_system_pods.targets
|
||||||
|
forward_to = [loki.write.loki_instance.receiver]
|
||||||
|
}
|
||||||
|
|
||||||
|
loki.write "loki_instance" {
|
||||||
|
endpoint {
|
||||||
|
url = "<LOKI_ENDPOINT>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user