不要优柔寡断: 如果镜像是loki3.0参考如下配置: loki.yaml: | auth_enabled: false ingester: chunk_idle_period: 3m chunk_block_size: 262144 chunk_retain_period: 1m lifecycler: ring: kvstore: store: inmemory replication_factor: 1 limits_config: reject_old_samples: true reject_old_samples_max_age: 168h schema_config: configs: - from: "2024-08-15" store: tsdb object_store: filesystem schema: v13 index: prefix: index_ period: 24h server: http_listen_port: 3100 common: path_prefix: /data/loki storage: filesystem: chunks_directory: /data/loki/chunks rules_directory: /data/loki/rules table_manager: retention_deletes_enabled: true retention_period: 48h compactor: working_directory: /data/loki/boltdb-shipper-compactor
Linux中设置cd命令后直接显示当前目录下的所有文件
Kubernetes平台部署Grafana Loki Promtail系统