Skip to content
Snippets Groups Projects
Unverified Commit cd9a03f8 authored by Florian Ruynat's avatar Florian Ruynat Committed by GitHub
Browse files

Update some docker defaults (#7499)

parent b47c21c6
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,8 @@ docker_container_storage_setup: false
## Valid options are systemd or cgroupfs, default is systemd
# docker_cgroup_driver: systemd
## Uncomment this if you have more than 3 nameservers, then we'll only use the first 3.
## Only set this if you have more than 3 nameservers:
## If true Kubespray will only use the first 3, otherwise it will fail
docker_dns_servers_strict: false
# Path used to store Docker data
......@@ -32,7 +33,7 @@ docker_bin_dir: "/usr/bin"
# keep docker packages after installation; speeds up repeated ansible provisioning runs when '1'
# kubespray deletes the docker package on each run, so caching the package makes sense
docker_rpm_keepcache: 0
docker_rpm_keepcache: 1
## An obvious use case is allowing insecure-registry access to self hosted registries.
## Can be ipaddress and domain_name.
......
......@@ -13,10 +13,6 @@ docker_repo_info:
docker_cgroup_driver: systemd
docker_dns_servers_strict: true
docker_container_storage_setup: false
yum_repo_dir: /etc/yum.repos.d
# Fedora docker-ce repo
......
......@@ -47,7 +47,7 @@
- name: check number of nameservers
fail:
msg: "Too many nameservers. You can relax this check by set docker_dns_servers_strict=false in all.yml and we will only use the first 3."
msg: "Too many nameservers. You can relax this check by set docker_dns_servers_strict=false in docker.yml and we will only use the first 3."
when: docker_dns_servers|length > 3 and docker_dns_servers_strict|bool
- name: rtrim number of nameservers to 3
......
......@@ -265,7 +265,8 @@ docker_container_storage_setup: false
## Otherwise docker-storage-setup will be executed incorrectly.
# docker_container_storage_setup_devs: /dev/vdb
## Uncomment this if you have more than 3 nameservers, then we'll only use the first 3.
## Only set this if you have more than 3 nameservers:
## If true Kubespray will only use the first 3, otherwise it will fail
docker_dns_servers_strict: false
# Path used to store Docker data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment