init commit

This commit is contained in:
2026-04-25 14:43:45 +00:00
commit 30af3165e4
26 changed files with 16629 additions and 0 deletions
@@ -0,0 +1,100 @@
---
"kind": "StatefulSet"
"apiVersion": "apps/v1"
"metadata":
"name": "loki"
"namespace": "loki"
"spec":
"replicas": 1
"selector":
"matchLabels":
"app": "loki"
"template":
"metadata":
"labels":
"app": "loki"
"spec":
"volumes":
-
"name": "config"
"configMap":
"name": "loki-config"
"defaultMode": 420
-
"name": "storage"
"persistentVolumeClaim":
"claimName": "loki-data"
"containers":
-
"name": "loki"
"image": "grafana/loki:3.4.2"
"args":
- "-config.file=/etc/loki/config/loki.yaml"
"ports":
-
"name": "http-metrics"
"containerPort": 3100
"protocol": "TCP"
-
"name": "grpc"
"containerPort": 9096
"protocol": "TCP"
"resources":
"limits":
"cpu": "1"
"memory": "1Gi"
"requests":
"cpu": "100m"
"memory": "256Mi"
"volumeMounts":
-
"name": "storage"
"mountPath": "/loki"
-
"name": "config"
"mountPath": "/etc/loki/config"
"livenessProbe":
"httpGet":
"path": "/ready"
"port": "http-metrics"
"scheme": "HTTP"
"initialDelaySeconds": 45
"timeoutSeconds": 1
"periodSeconds": 10
"successThreshold": 1
"failureThreshold": 3
"readinessProbe":
"httpGet":
"path": "/ready"
"port": "http-metrics"
"scheme": "HTTP"
"initialDelaySeconds": 45
"timeoutSeconds": 1
"periodSeconds": 10
"successThreshold": 1
"failureThreshold": 3
"terminationMessagePath": "/dev/termination-log"
"terminationMessagePolicy": "File"
"imagePullPolicy": "IfNotPresent"
"restartPolicy": "Always"
"terminationGracePeriodSeconds": 30
"dnsPolicy": "ClusterFirst"
"serviceAccountName": "loki"
"serviceAccount": "loki"
"securityContext":
"runAsUser": 10001
"runAsGroup": 10001
"runAsNonRoot": true
"fsGroup": 10001
"schedulerName": "default-scheduler"
"serviceName": "loki"
"podManagementPolicy": "OrderedReady"
"updateStrategy":
"type": "RollingUpdate"
"rollingUpdate":
"partition": 0
"maxUnavailable": 1
"revisionHistoryLimit": 10
"persistentVolumeClaimRetentionPolicy":
"whenDeleted": "Retain"
"whenScaled": "Retain"