From a50cca69c569c3b14b9a48391f7e723f4a97c9a7 Mon Sep 17 00:00:00 2001 From: Paschalis Tsilias Date: Fri, 8 Dec 2023 16:12:26 +0200 Subject: [PATCH] Indent code blocks Signed-off-by: Paschalis Tsilias --- docs/sources/operator/architecture.md | 84 +++++++++++++-------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/docs/sources/operator/architecture.md b/docs/sources/operator/architecture.md index 1b7dc05aba36..ba0b5c97fd06 100644 --- a/docs/sources/operator/architecture.md +++ b/docs/sources/operator/architecture.md @@ -156,51 +156,51 @@ The following examples show you how to enable sharding and replication in a Kube * To shard the data into three shards and replicate each shard to two other Grafana Agent instances, you would use the following deployment manifest: -``` -apiVersion: apps/v1 -kind: Deployment -metadata: - name: grafana-agent -spec: - replicas: 3 - selector: - matchLabels: - app: grafana-agent - template: - metadata: - labels: + ``` + apiVersion: apps/v1 + kind: Deployment + metadata: + name: grafana-agent + spec: + replicas: 3 + selector: + matchLabels: app: grafana-agent - spec: - containers: - - name: grafana-agent - image: grafana/agent:latest - args: - - "--shards=3" - - "--replicas=2" -``` + template: + metadata: + labels: + app: grafana-agent + spec: + containers: + - name: grafana-agent + image: grafana/agent:latest + args: + - "--shards=3" + - "--replicas=2" + ``` * To shard the data into 10 shards and replicate each shard to three other Grafana Agent instances, you would use the following deployment manifest: -``` -apiVersion: apps/v1 -kind: Deployment -metadata: - name: grafana-agent -spec: - replicas: 10 - selector: - matchLabels: - app: grafana-agent - template: - metadata: - labels: + ``` + apiVersion: apps/v1 + kind: Deployment + metadata: + name: grafana-agent + spec: + replicas: 10 + selector: + matchLabels: app: grafana-agent - spec: - containers: - - name: grafana-agent - image: grafana/agent:latest - args: - - "--shards=10" - - "--replicas=3" -``` + template: + metadata: + labels: + app: grafana-agent + spec: + containers: + - name: grafana-agent + image: grafana/agent:latest + args: + - "--shards=10" + - "--replicas=3" + ```