🔧 Minor fixes in DMUC refactor

This commit is contained in:
Jérôme Petazzoni
2023-09-13 16:09:26 +02:00
parent c0689cc5df
commit 971314a84f
2 changed files with 33 additions and 2 deletions

View File

@@ -545,7 +545,38 @@ clusters:
]
Success!
If it works: great!
If it complains about a "cgroup driver", check the next slide.
---
## Cgroup drivers
- Cgroups ("control groups") are a Linux kernel feature
- They're used to account and limit resources
(e.g.: memory, CPU, block I/O...)
- There are multiple ways to manipulate cgroups, including:
- through a pseudo-filesystem (typically mounted in /sys/fs/cgroup)
- through systemd
- Kubelet and the container engine need to agree on which method to use
---
## Setting the cgroup driver
- If kubelet refused to start, mentioning a cgroup driver issue, try:
```bash
kubelet --kubeconfig ~/.kube/config --cgroup-driver=systemd
```
- That *should* do the trick!
---

View File

@@ -873,7 +873,7 @@ This time, it should work.
- Enable RBAC, and generate individual certificates for each controller
(check the [certificate paths][certpath] section in the Kubernetes documentatio
(check the [certificate paths][certpath] section in the Kubernetes documentation
for a detailed list of all the certificates and keys that are used by the
control plane, and which flags are used by which components to configure them!)