Skip to content

Commit

Permalink
Indent code blocks
Browse files Browse the repository at this point in the history
Signed-off-by: Paschalis Tsilias <[email protected]>
  • Loading branch information
tpaschalis committed Dec 8, 2023
1 parent ba07088 commit 0d6556b
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions docs/sources/operator/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,51 +150,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"
```

0 comments on commit 0d6556b

Please sign in to comment.