@@ -268,13 +268,12 @@ Use the following commands to install CRI-O on your system:
268
268
269
269
{{< note >}}
270
270
The CRI-O major and minor versions must match the Kubernetes major and minor versions.
271
- For more information, see the [ CRI-O compatibility matrix] ( https://github.com/cri-o/cri-o ) .
271
+ For more information, see the [ CRI-O compatibility matrix] ( https://github.com/cri-o/cri-o#compatibility-matrix-cri-o--kubernetes ) .
272
272
{{< /note >}}
273
273
274
274
Install and configure prerequisites:
275
275
276
276
``` shell
277
-
278
277
# Create the .conf file to load the modules at bootup
279
278
cat << EOF | sudo tee /etc/modules-load.d/crio.conf
280
279
overlay
@@ -307,9 +306,9 @@ to the appropriate value from the following table:
307
306
308
307
<br />
309
308
Then, set ` $VERSION ` to the CRI-O version that matches your Kubernetes version.
310
- For instance, if you want to install CRI-O 1.18 , set ` VERSION=1.18 ` .
309
+ For instance, if you want to install CRI-O 1.20 , set ` VERSION=1.20 ` .
311
310
You can pin your installation to a specific release.
312
- To install version 1.18.3 , set ` VERSION=1.18 :1.18.3 ` .
311
+ To install version 1.20.0 , set ` VERSION=1.20 :1.20.0 ` .
313
312
<br />
314
313
315
314
Then run
@@ -343,9 +342,9 @@ To install on the following operating systems, set the environment variable `OS`
343
342
344
343
<br />
345
344
Then, set ` $VERSION ` to the CRI-O version that matches your Kubernetes version.
346
- For instance, if you want to install CRI-O 1.18 , set ` VERSION=1.18 ` .
345
+ For instance, if you want to install CRI-O 1.20 , set ` VERSION=1.20 ` .
347
346
You can pin your installation to a specific release.
348
- To install version 1.18.3 , set ` VERSION=1.18 :1.18.3 ` .
347
+ To install version 1.20.0 , set ` VERSION=1.20 :1.20.0 ` .
349
348
<br />
350
349
351
350
Then run
@@ -377,9 +376,9 @@ To install on the following operating systems, set the environment variable `OS`
377
376
378
377
<br />
379
378
Then, set ` $VERSION ` to the CRI-O version that matches your Kubernetes version.
380
- For instance, if you want to install CRI-O 1.18 , set ` VERSION=1.18 ` .
379
+ For instance, if you want to install CRI-O 1.20 , set ` VERSION=1.20 ` .
381
380
You can pin your installation to a specific release.
382
- To install version 1.18.3 , set ` VERSION=1.18 :1.18.3 ` .
381
+ To install version 1.20.0 , set ` VERSION=1.20 :1.20.0 ` .
383
382
<br />
384
383
385
384
Then run
@@ -400,7 +399,7 @@ sudo zypper install cri-o
400
399
{{% tab name="Fedora" %}}
401
400
402
401
Set ` $VERSION ` to the CRI-O version that matches your Kubernetes version.
403
- For instance, if you want to install CRI-O 1.18 , ` VERSION=1.18 ` .
402
+ For instance, if you want to install CRI-O 1.20 , ` VERSION=1.20 ` .
404
403
405
404
You can find available versions with:
406
405
``` shell
@@ -424,10 +423,26 @@ sudo systemctl daemon-reload
424
423
sudo systemctl start crio
425
424
```
426
425
427
- Refer to the [ CRI-O installation guide] ( https://github.com/kubernetes-sigs /cri-o#getting-started )
426
+ Refer to the [ CRI-O installation guide] ( https://github.com/cri-o /cri-o/blob/master/install.md )
428
427
for more information.
429
428
430
429
430
+ #### cgroup driver
431
+
432
+ CRI-O uses the systemd cgroup driver per default. To switch to the ` cgroupfs `
433
+ cgroup driver, either edit ` /etc/crio/crio.conf ` or place a drop-in
434
+ configuration in ` /etc/crio/crio.conf.d/02-cgroup-manager.conf ` , for example:
435
+
436
+ ``` toml
437
+ [crio .runtime ]
438
+ conmon_cgroup = " pod"
439
+ cgroup_manager = " cgroupfs"
440
+ ```
441
+
442
+ Please also note the changed ` conmon_cgroup ` , which has to be set to the value
443
+ ` pod ` when using CRI-O with ` cgroupfs ` . It is generally necessary to keep the
444
+ cgroup driver configuration of the kubelet (usually done via kubeadm) and CRI-O
445
+ in sync.
431
446
432
447
### Docker
433
448
0 commit comments