Document image_command_tool and image_command_tool_on_localhost (#8409)

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
This commit is contained in:
Mathieu Parent 2022-01-12 00:35:24 +01:00 committed by GitHub
parent 1337c9c244
commit 43d128362f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View file

@ -30,4 +30,13 @@ containerd_registries:
- "https://registry-1.docker.io" - "https://registry-1.docker.io"
``` ```
`containerd_registries` is ignored for pulling images when `image_command_tool=nerdctl`
(the default for `container_manager=containerd`). Use `crictl` instead, it supports
`containerd_registries` but lacks proper multi-arch support (see
[#8375](https://github.com/kubernetes-sigs/kubespray/issues/8375)):
```yaml
image_command_tool: crictl
```
[containerd]: https://containerd.io/ [containerd]: https://containerd.io/

View file

@ -52,7 +52,11 @@ Kubernetes needs some parameters in order to get deployed. These are the
following default cluster parameters: following default cluster parameters:
* *cluster_name* - Name of cluster (default is cluster.local) * *cluster_name* - Name of cluster (default is cluster.local)
* *container_manager* - Container Runtime to install in the nodes (default is docker) * *container_manager* - Container Runtime to install in the nodes (default is containerd)
* *image_command_tool* - Tool used to pull images (default depends on `container_manager`
and is `nerdctl` for `containerd`, `crictl` for `crio`, `docker` for `docker`)
* *image_command_tool_on_localhost* - Tool used to pull images on localhost
(default is equal to `image_command_tool`)
* *dns_domain* - Name of cluster DNS domain (default is cluster.local) * *dns_domain* - Name of cluster DNS domain (default is cluster.local)
* *kube_network_plugin* - Plugin to use for container networking * *kube_network_plugin* - Plugin to use for container networking
* *kube_service_addresses* - Subnet for cluster IPs (default is * *kube_service_addresses* - Subnet for cluster IPs (default is