You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
986 B

  1. # CRI-O
  2. [CRI-O] is a lightweight container runtime for Kubernetes.
  3. Kubespray supports basic functionality for using CRI-O as the default container runtime in a cluster.
  4. * Kubernetes supports CRI-O on v1.11.1 or later.
  5. * etcd: configure either kubeadm managed etcd or host deployment
  6. _To use the CRI-O container runtime set the following variables:_
  7. ## all/all.yml
  8. ```yaml
  9. download_container: false
  10. skip_downloads: false
  11. etcd_kubeadm_enabled: true
  12. ```
  13. ## k8s-cluster/k8s-cluster.yml
  14. ```yaml
  15. container_manager: crio
  16. ```
  17. ## etcd.yml
  18. ```yaml
  19. etcd_deployment_type: host # optionally and mutually exclusive with etcd_kubeadm_enabled
  20. ```
  21. ## all/crio.yml
  22. Enable docker hub registry mirrors
  23. ```yaml
  24. crio_registries_mirrors:
  25. - prefix: docker.io
  26. insecure: false
  27. blocked: false
  28. location: registry-1.docker.io
  29. mirrors:
  30. - location: 192.168.100.100:5000
  31. insecure: true
  32. - location: mirror.gcr.io
  33. insecure: false
  34. ```
  35. [CRI-O]: https://cri-o.io/