Skip to content
Merged
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
60 changes: 30 additions & 30 deletions docs/manuals/spaces/howtos/self-hosted/configure-ha.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,34 +192,34 @@ Ensure control plane components can survive node and zone failures.
weight: 100
```

<!-- ### Configure tolerations -->
### Configure tolerations -->

<!-- Allow control plane pods to schedule on the tainted dedicated nodes (available -->
<!-- in Spaces v1.14+). -->
Allow control plane pods to schedule on the tainted dedicated nodes (available
in Spaces v1.14+).

<!-- 1. Add tolerations for `etcd` pods -->
1. Add tolerations for `etcd` pods

<!-- ```yaml -->
<!-- controlPlanes: -->
<!-- etcd: -->
<!-- tolerations: -->
<!-- - key: "target" -->
<!-- operator: "Equal" -->
<!-- value: "etcd" -->
<!-- effect: "NoSchedule" -->
<!-- ``` -->
```yaml -->
controlPlanes:
etcd:
tolerations:
- key: "target"
operator: "Equal"
value: "etcd"
effect: "NoSchedule"
```

<!-- 2. Add tolerations for API server pods -->
2. Add tolerations for API server pods

<!-- ```yaml -->
<!-- controlPlanes: -->
<!-- vcluster: -->
<!-- tolerations: -->
<!-- - key: "target" -->
<!-- operator: "Equal" -->
<!-- value: "apiserver" -->
<!-- effect: "NoSchedule" -->
<!-- ``` -->
```yaml
controlPlanes:
vcluster:
tolerations:
- key: "target"
operator: "Equal"
value: "apiserver"
effect: "NoSchedule"
```

<!-- vale Google.Headings = NO -->
## Configure autoscaling for Spaces components
Expand All @@ -234,7 +234,7 @@ Set up the Spaces system components to handle variable load automatically.
```yaml
api:
replicaCount: 2

features:
alpha:
apollo:
Expand Down Expand Up @@ -282,7 +282,7 @@ scaling.
controller:
resources:
requests:
cpu: "500m"
cpu: "500m"
memory: "1Gi"
limits:
cpu: "2000m"
Expand Down Expand Up @@ -350,15 +350,15 @@ Monitor key metrics to ensure healthy scaling and identify issues quickly.
Track these `spaces-controller` metrics:

1. **Total control planes**

```
spaces_control_plane_exists
```

Tracks the total number of control planes in the system.

2. **Degraded control planes**

```
spaces_control_plane_degraded
```
Expand All @@ -367,19 +367,19 @@ Track these `spaces-controller` metrics:
`Healthy` state.

3. **Stuck control planes**

```
spaces_control_plane_stuck
```

Control planes stuck in a provisioning state.

4. **Deletion issues**

```
spaces_control_plane_deletion_stuck
```

Control planes stuck during deletion.

### Alerting
Expand Down