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.

101 lines
2.8 KiB

6 years ago
  1. ---
  2. crio_cgroup_manager: "{{ kubelet_cgroup_driver | default('systemd') }}"
  3. crio_conmon: "{{ bin_dir }}/conmon"
  4. crio_default_runtime: "crun"
  5. crio_libexec_dir: "/usr/libexec/crio"
  6. crio_enable_metrics: false
  7. crio_log_level: "info"
  8. crio_metrics_port: "9090"
  9. crio_pause_image: "{{ pod_infra_image_repo }}:{{ pod_infra_version }}"
  10. # Registries defined within cri-o.
  11. # By default unqualified images are not allowed for security reasons
  12. crio_registries: []
  13. # - prefix: docker.io
  14. # insecure: false
  15. # blocked: false
  16. # location: registry-1.docker.io ## REQUIRED
  17. # unqualified: false
  18. # mirrors:
  19. # - location: 172.20.100.52:5000
  20. # insecure: true
  21. # - location: mirror.gcr.io
  22. # insecure: false
  23. crio_registry_auth: []
  24. # - registry: 10.0.0.2:5000
  25. # username: user
  26. # password: pass
  27. crio_seccomp_profile: ""
  28. crio_selinux: "{{ (preinstall_selinux_state == 'enforcing') | lower }}"
  29. crio_signature_policy: "{% if ansible_os_family == 'ClearLinux' %}/usr/share/defaults/crio/policy.json{% endif %}"
  30. # Override system default for storage driver
  31. # crio_storage_driver: "overlay"
  32. crio_stream_port: "10010"
  33. crio_required_version: "{{ kube_version | regex_replace('^v(?P<major>\\d+).(?P<minor>\\d+).(?P<patch>\\d+)$', '\\g<major>.\\g<minor>') }}"
  34. crio_root: "/var/lib/containers/storage"
  35. # The crio_runtimes variable defines a list of OCI compatible runtimes.
  36. crio_runtimes:
  37. - name: crun
  38. path: "{{ crio_runtime_bin_dir }}/crun"
  39. type: oci
  40. root: /run/crun
  41. # Kata Containers is an OCI runtime, where containers are run inside lightweight
  42. # VMs. Kata provides additional isolation towards the host, minimizing the host attack
  43. # surface and mitigating the consequences of containers breakout.
  44. kata_runtimes:
  45. # Kata Containers with the default configured VMM
  46. - name: kata-qemu
  47. path: /usr/local/bin/containerd-shim-kata-qemu-v2
  48. type: vm
  49. root: /run/kata-containers
  50. privileged_without_host_devices: true
  51. runc_runtime:
  52. name: runc
  53. path: "{{ crio_runtime_bin_dir }}/runc"
  54. type: oci
  55. root: /run/runc
  56. # crun is a fast and low-memory footprint OCI Container Runtime fully written in C.
  57. crun_runtime:
  58. name: crun
  59. path: "{{ crio_runtime_bin_dir }}/crun"
  60. type: oci
  61. root: /run/crun
  62. # youki is an implementation of the OCI runtime-spec in Rust, similar to runc.
  63. youki_runtime:
  64. name: youki
  65. path: "{{ youki_bin_dir }}/youki"
  66. type: oci
  67. root: /run/youki
  68. # Reserve 16M uids and gids for user namespaces (256 pods * 65536 uids/gids)
  69. # at the end of the uid/gid space
  70. crio_remap_enable: false
  71. crio_remap_user: containers
  72. crio_subuid_start: 2130706432
  73. crio_subuid_length: 16777216
  74. crio_subgid_start: 2130706432
  75. crio_subgid_length: 16777216
  76. # cri-o manual files
  77. crio_man_files:
  78. 5:
  79. - crio.conf
  80. - crio.conf.d
  81. 8:
  82. - crio
  83. - crio-status
  84. # If set to true, it will enable the CRIU support in cri-o
  85. crio_criu_support_enabled: false