2019-12-04 15:22:57 +00:00
|
|
|
# CRI-O
|
2018-07-30 15:47:13 +00:00
|
|
|
|
2018-12-26 06:55:17 +00:00
|
|
|
[CRI-O] is a lightweight container runtime for Kubernetes.
|
|
|
|
Kubespray supports basic functionality for using CRI-O as the default container runtime in a cluster.
|
2018-07-30 15:47:13 +00:00
|
|
|
|
2018-12-26 06:55:17 +00:00
|
|
|
* Kubernetes supports CRI-O on v1.11.1 or later.
|
|
|
|
* `scale.yml` and `upgrade-cluster.yml` are not supported on clusters using CRI-O.
|
2018-07-30 15:47:13 +00:00
|
|
|
|
2020-10-13 09:08:26 +00:00
|
|
|
_To use the CRI-O container runtime set the following variables:_
|
2018-07-30 15:47:13 +00:00
|
|
|
|
2019-12-04 15:22:57 +00:00
|
|
|
## all.yml
|
2018-07-30 15:47:13 +00:00
|
|
|
|
2018-12-26 06:55:17 +00:00
|
|
|
```yaml
|
2018-07-30 15:47:13 +00:00
|
|
|
download_container: false
|
|
|
|
skip_downloads: false
|
|
|
|
```
|
|
|
|
|
2019-12-04 15:22:57 +00:00
|
|
|
## k8s-cluster.yml
|
2018-07-30 15:47:13 +00:00
|
|
|
|
2018-12-26 06:55:17 +00:00
|
|
|
```yaml
|
2018-08-28 06:23:38 +00:00
|
|
|
container_manager: crio
|
2018-07-30 15:47:13 +00:00
|
|
|
```
|
2018-12-26 06:55:17 +00:00
|
|
|
|
2020-02-07 10:17:43 +00:00
|
|
|
## etcd.yml
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
etcd_deployment_type: host
|
|
|
|
```
|
|
|
|
|
2018-12-26 06:55:17 +00:00
|
|
|
[CRI-O]: https://cri-o.io/
|