feat: add Loki + Promtail logging stack

This commit is contained in:
admin
2026-01-04 11:58:01 +01:00
parent c99f347fd0
commit 8999a868ef
12 changed files with 545 additions and 0 deletions

38
apps/loki/service.yaml Normal file
View File

@@ -0,0 +1,38 @@
apiVersion: v1
kind: Service
metadata:
name: loki
namespace: loki
labels:
app.kubernetes.io/name: loki
spec:
type: ClusterIP
ports:
- name: http
port: 3100
targetPort: http
protocol: TCP
- name: grpc
port: 9096
targetPort: grpc
protocol: TCP
selector:
app.kubernetes.io/name: loki
---
apiVersion: v1
kind: Service
metadata:
name: loki-headless
namespace: loki
labels:
app.kubernetes.io/name: loki
spec:
type: ClusterIP
clusterIP: None
ports:
- name: http
port: 3100
targetPort: http
protocol: TCP
selector:
app.kubernetes.io/name: loki