Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/distributed-loki/1-prerequisites/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ data:
retention_period: 0s
limits_config:
ingestion_rate_strategy: global
ingestion_rate_mb: 4
ingestion_burst_size_mb: 6
ingestion_rate_mb: 20
ingestion_burst_size_mb: 40
max_label_name_length: 1024
max_label_value_length: 2048
max_label_names_per_series: 30
Expand All @@ -116,8 +116,8 @@ data:
retention_period: 24h
max_cache_freshness_per_query: 5m
max_queriers_per_tenant: 0
per_stream_rate_limit: 3MB
per_stream_rate_limit_burst: 15MB
per_stream_rate_limit: 16MB
per_stream_rate_limit_burst: 40MB
max_query_lookback: 0
min_sharding_lookback: 0s
split_queries_by_interval: 1m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
app.kubernetes.io/part-of: memberlist
app.kubernetes.io/version: 2.5.0
spec:
replicas: 2
replicas: 4
selector:
matchLabels:
app.kubernetes.io/component: ingester
Expand Down
2 changes: 1 addition & 1 deletion examples/kafka/topic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ metadata:
labels:
strimzi.io/cluster: "kafka-cluster"
spec:
partitions: 3
partitions: 24
replicas: 1
4 changes: 4 additions & 0 deletions hack/loki-distributed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ kubectl apply -n $NAMESPACE -f examples/distributed-loki/3-services/
echo ""
echo "Deployment complete"
echo ""
echo "Configure FlowCollector Loki with:"
echo " url: 'http://loki-distributed-distributor.${NAMESPACE}.svc.cluster.local:3100/'"
echo " querierUrl: 'http://loki-distributed-query-frontend.${NAMESPACE}.svc.cluster.local:3100/'"
echo ""
echo "To delete all created Kube resources, run:"
echo "kubectl delete -n $NAMESPACE --recursive -f examples/distributed-loki"
echo ""
Expand Down