2019-12-04 23:22:57 +08:00
|
|
|
# CRI-O
|
2018-07-30 23:47:13 +08:00
|
|
|
|
2018-12-26 14:55:17 +08: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 23:47:13 +08:00
|
|
|
|
2018-12-26 14:55:17 +08:00
|
|
|
* Kubernetes supports CRI-O on v1.11.1 or later.
|
2020-11-04 16:20:04 +08:00
|
|
|
* etcd: configure either kubeadm managed etcd or host deployment
|
2018-07-30 23:47:13 +08:00
|
|
|
|
2020-10-13 17:08:26 +08:00
|
|
|
_To use the CRI-O container runtime set the following variables:_
|
2018-07-30 23:47:13 +08:00
|
|
|
|
2019-12-04 23:22:57 +08:00
|
|
|
## all.yml
|
2018-07-30 23:47:13 +08:00
|
|
|
|
2018-12-26 14:55:17 +08:00
|
|
|
```yaml
|
2018-07-30 23:47:13 +08:00
|
|
|
download_container: false
|
|
|
|
skip_downloads: false
|
2020-11-04 16:20:04 +08:00
|
|
|
etcd_kubeadm_enabled: true
|
2018-07-30 23:47:13 +08:00
|
|
|
```
|
|
|
|
|
2019-12-04 23:22:57 +08:00
|
|
|
## k8s-cluster.yml
|
2018-07-30 23:47:13 +08:00
|
|
|
|
2018-12-26 14:55:17 +08:00
|
|
|
```yaml
|
2018-08-28 14:23:38 +08:00
|
|
|
container_manager: crio
|
2018-07-30 23:47:13 +08:00
|
|
|
```
|
2018-12-26 14:55:17 +08:00
|
|
|
|
2020-02-07 18:17:43 +08:00
|
|
|
## etcd.yml
|
|
|
|
|
|
|
|
```yaml
|
2020-11-04 16:20:04 +08:00
|
|
|
etcd_deployment_type: host # optionally and mutually exclusive with etcd_kubeadm_enabled
|
2020-02-07 18:17:43 +08:00
|
|
|
```
|
|
|
|
|
2018-12-26 14:55:17 +08:00
|
|
|
[CRI-O]: https://cri-o.io/
|