adding alloy
This commit is contained in:
parent
2dd86e526f
commit
905099c96c
14
alloy/values.yaml
Normal file
14
alloy/values.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
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
|
||||||
29
argo/apps/alloy.yaml
Normal file
29
argo/apps/alloy.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: loki
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.james-mellors.com/mello/Monitoring.git
|
||||||
|
targetRevision: main
|
||||||
|
ref: valuesRef # Arbitrary reference namey
|
||||||
|
- repoURL: https://grafana.github.io/helm-charts
|
||||||
|
chart: alloy
|
||||||
|
targetRevision: 1.0.2 # The chart version
|
||||||
|
helm:
|
||||||
|
# Reference the values stored in 'valuesRef' from the first source
|
||||||
|
valueFiles:
|
||||||
|
- $valuesRef/alloy/values.yaml # Path within the Git repo
|
||||||
|
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: monitoring
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- ServerSideApply=true
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|
||||||
@ -3,4 +3,5 @@ resources:
|
|||||||
- ntfy.yaml
|
- ntfy.yaml
|
||||||
- kube-prometheus-stack.yaml
|
- kube-prometheus-stack.yaml
|
||||||
- istio-ingress-manager.yaml
|
- istio-ingress-manager.yaml
|
||||||
- loki.yaml
|
- loki.yaml
|
||||||
|
- alloy.yaml
|
||||||
Loading…
x
Reference in New Issue
Block a user