Skip to content

Commit

Permalink
Update production-environment.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayanta66 committed Feb 8, 2024
1 parent a554026 commit 97201a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/topics/production-environment.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Production Environment Best Practices

## HA Cluster API Components
The clusterctl CLI will create all the four needed components cluster-api (CAPI), cluster-api-bootstrap-provider-kubeadm (CAPBK), cluster-api-control-plane-kubeadm (KCP) and cluster-api-provider-hetzner (CAPH).
It uses the respective *-components.yaml from the releases. However, these are not highly available. By scaling the components we can at least reduce the probability of failure. For whom this is not enough could add anti-affinity rules and PDBs.
The clusterctl CLI will create all four needed components, such as Cluster API (CAPI), cluster-api-bootstrap-provider-kubeadm (CAPBK), cluster-api-control-plane-kubeadm (KCP), and cluster-api-provider-hetzner (CAPH).
It uses the respective *-components.yaml from the releases. However, these are not highly available. By scaling the components, we can at least reduce the probability of failure. If this is not enough, add anti-affinity rules and PDBs.

Scale up the deployments
```shell
Expand All @@ -14,4 +14,4 @@ kubectl -n capi-kubeadm-control-plane-system scale deployment capi-kubeadm-contr

kubectl -n caph-system scale deployment caph-controller-manager --replicas=2

```
```

0 comments on commit 97201a3

Please sign in to comment.