init k8s guide

This commit is contained in:
2023-08-19 19:53:44 +02:00
parent 79f27c64e8
commit 0426392a90

View File

@ -28,6 +28,8 @@ terraform {
Let's begin with automatic upgrades management.
### Monitoring stack
### Automatic reboot
When OS kernel is upgraded, the system needs to be rebooted to apply it. This is a critical operation for a Kubernetes cluster as can cause downtime. To avoid this, we'll use [kured](https://github.com/kubereboot/kured) that will take care of cordon & drains before rebooting nodes one by one.
@ -56,6 +58,11 @@ resource "helm_release" "kubereboot" {
name = "tolerations[0].operator"
value = "Exists"
}
set {
name = "metrics.create"
value = "true"
}
}
```